Class NamespaceStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class NamespaceStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    NamespaceStatus is information about the current status of a Namespace.
    • Constructor Detail

      • NamespaceStatus

        public NamespaceStatus​(java.util.List<NamespaceCondition> conditions,
                               java.lang.String phase)
      • NamespaceStatus

        public NamespaceStatus()
    • Method Detail

      • getConditions

        public java.util.List<NamespaceCondition> getConditions()
        Represents the latest available observations of a namespace's current state.
      • getPhase

        public java.lang.String getPhase()
        Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/


        Possible enum values:

        - `"Active"` means the namespace is available for use in the system

        - `"Terminating"` means the namespace is undergoing graceful termination

      • setConditions

        public void setConditions​(java.util.List<NamespaceCondition> conditions)
        Represents the latest available observations of a namespace's current state.
      • setPhase

        public void setPhase​(java.lang.String phase)
        Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/


        Possible enum values:

        - `"Active"` means the namespace is available for use in the system

        - `"Terminating"` means the namespace is undergoing graceful termination

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object