Class ClusterProvisionSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ClusterProvisionSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ClusterProvisionSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ClusterProvisionSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ClusterProvisionSpec defines the results of provisioning a cluster.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterProvisionSpec

        public ClusterProvisionSpec()
        No args constructor for use in serialization
      • ClusterProvisionSpec

        public ClusterProvisionSpec​(io.fabric8.kubernetes.api.model.LocalObjectReference adminKubeconfigSecretRef,
                                    io.fabric8.kubernetes.api.model.LocalObjectReference adminPasswordSecretRef,
                                    Integer attempt,
                                    io.fabric8.kubernetes.api.model.LocalObjectReference clusterDeploymentRef,
                                    String clusterID,
                                    String infraID,
                                    String installLog,
                                    Object metadata,
                                    String metadataJSON,
                                    io.fabric8.kubernetes.api.model.PodSpec podSpec,
                                    String prevClusterID,
                                    String prevInfraID,
                                    String prevProvisionName,
                                    String stage)
    • Method Detail

      • getAdminKubeconfigSecretRef

        public io.fabric8.kubernetes.api.model.LocalObjectReference getAdminKubeconfigSecretRef()
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • setAdminKubeconfigSecretRef

        public void setAdminKubeconfigSecretRef​(io.fabric8.kubernetes.api.model.LocalObjectReference adminKubeconfigSecretRef)
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • getAdminPasswordSecretRef

        public io.fabric8.kubernetes.api.model.LocalObjectReference getAdminPasswordSecretRef()
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • setAdminPasswordSecretRef

        public void setAdminPasswordSecretRef​(io.fabric8.kubernetes.api.model.LocalObjectReference adminPasswordSecretRef)
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • getAttempt

        public Integer getAttempt()
        Attempt is which attempt number of the cluster deployment that this ClusterProvision is
      • setAttempt

        public void setAttempt​(Integer attempt)
        Attempt is which attempt number of the cluster deployment that this ClusterProvision is
      • getClusterDeploymentRef

        public io.fabric8.kubernetes.api.model.LocalObjectReference getClusterDeploymentRef()
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • setClusterDeploymentRef

        public void setClusterDeploymentRef​(io.fabric8.kubernetes.api.model.LocalObjectReference clusterDeploymentRef)
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • getClusterID

        public String getClusterID()
        ClusterID is a globally unique identifier for this cluster generated during installation. Used for reporting metrics among other places.
      • setClusterID

        public void setClusterID​(String clusterID)
        ClusterID is a globally unique identifier for this cluster generated during installation. Used for reporting metrics among other places.
      • getInfraID

        public String getInfraID()
        InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.
      • setInfraID

        public void setInfraID​(String infraID)
        InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.
      • getInstallLog

        public String getInstallLog()
        InstallLog is the log from the installer.
      • setInstallLog

        public void setInstallLog​(String installLog)
        InstallLog is the log from the installer.
      • getMetadata

        public Object getMetadata()
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • setMetadata

        public void setMetadata​(Object metadata)
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • getMetadataJSON

        public String getMetadataJSON()
        MetadataJSON is a JSON representation of the ClusterMetadata produced by the installer. We don't use a runtime.RawExtension because ClusterMetadata isn't a runtime.Object. We don't use ClusterMetadata itself because we don't want our API consumers to need to pull in the installer code and its dependencies.
      • setMetadataJSON

        public void setMetadataJSON​(String metadataJSON)
        MetadataJSON is a JSON representation of the ClusterMetadata produced by the installer. We don't use a runtime.RawExtension because ClusterMetadata isn't a runtime.Object. We don't use ClusterMetadata itself because we don't want our API consumers to need to pull in the installer code and its dependencies.
      • getPodSpec

        public io.fabric8.kubernetes.api.model.PodSpec getPodSpec()
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • setPodSpec

        public void setPodSpec​(io.fabric8.kubernetes.api.model.PodSpec podSpec)
        ClusterProvisionSpec defines the results of provisioning a cluster.
      • getPrevClusterID

        public String getPrevClusterID()
        PrevClusterID is the cluster ID of the previous failed provision attempt.
      • setPrevClusterID

        public void setPrevClusterID​(String prevClusterID)
        PrevClusterID is the cluster ID of the previous failed provision attempt.
      • getPrevInfraID

        public String getPrevInfraID()
        PrevInfraID is the infra ID of the previous failed provision attempt.
      • setPrevInfraID

        public void setPrevInfraID​(String prevInfraID)
        PrevInfraID is the infra ID of the previous failed provision attempt.
      • getPrevProvisionName

        public String getPrevProvisionName()
        PrevProvisionName is the name of the previous failed provision attempt.
      • setPrevProvisionName

        public void setPrevProvisionName​(String prevProvisionName)
        PrevProvisionName is the name of the previous failed provision attempt.
      • getStage

        public String getStage()
        Stage is the stage of provisioning that the cluster deployment has reached.
      • setStage

        public void setStage​(String stage)
        Stage is the stage of provisioning that the cluster deployment has reached.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)