Class ClusterProvisionSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.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 Summary
Constructors Constructor Description ClusterProvisionSpec()No args constructor for use in serializationClusterProvisionSpec(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterProvisionSpecBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.LocalObjectReferencegetAdminKubeconfigSecretRef()ClusterProvisionSpec defines the results of provisioning a cluster.io.fabric8.kubernetes.api.model.LocalObjectReferencegetAdminPasswordSecretRef()ClusterProvisionSpec defines the results of provisioning a cluster.IntegergetAttempt()Attempt is which attempt number of the cluster deployment that this ClusterProvision isio.fabric8.kubernetes.api.model.LocalObjectReferencegetClusterDeploymentRef()ClusterProvisionSpec defines the results of provisioning a cluster.StringgetClusterID()ClusterID is a globally unique identifier for this cluster generated during installation.StringgetInfraID()InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.StringgetInstallLog()InstallLog is the log from the installer.ObjectgetMetadata()ClusterProvisionSpec defines the results of provisioning a cluster.StringgetMetadataJSON()MetadataJSON is a JSON representation of the ClusterMetadata produced by the installer.io.fabric8.kubernetes.api.model.PodSpecgetPodSpec()ClusterProvisionSpec defines the results of provisioning a cluster.StringgetPrevClusterID()PrevClusterID is the cluster ID of the previous failed provision attempt.StringgetPrevInfraID()PrevInfraID is the infra ID of the previous failed provision attempt.StringgetPrevProvisionName()PrevProvisionName is the name of the previous failed provision attempt.StringgetStage()Stage is the stage of provisioning that the cluster deployment has reached.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAdminKubeconfigSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference adminKubeconfigSecretRef)ClusterProvisionSpec defines the results of provisioning a cluster.voidsetAdminPasswordSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference adminPasswordSecretRef)ClusterProvisionSpec defines the results of provisioning a cluster.voidsetAttempt(Integer attempt)Attempt is which attempt number of the cluster deployment that this ClusterProvision isvoidsetClusterDeploymentRef(io.fabric8.kubernetes.api.model.LocalObjectReference clusterDeploymentRef)ClusterProvisionSpec defines the results of provisioning a cluster.voidsetClusterID(String clusterID)ClusterID is a globally unique identifier for this cluster generated during installation.voidsetInfraID(String infraID)InfraID is an identifier for this cluster generated during installation and used for tagging/naming resources in cloud providers.voidsetInstallLog(String installLog)InstallLog is the log from the installer.voidsetMetadata(Object metadata)ClusterProvisionSpec defines the results of provisioning a cluster.voidsetMetadataJSON(String metadataJSON)MetadataJSON is a JSON representation of the ClusterMetadata produced by the installer.voidsetPodSpec(io.fabric8.kubernetes.api.model.PodSpec podSpec)ClusterProvisionSpec defines the results of provisioning a cluster.voidsetPrevClusterID(String prevClusterID)PrevClusterID is the cluster ID of the previous failed provision attempt.voidsetPrevInfraID(String prevInfraID)PrevInfraID is the infra ID of the previous failed provision attempt.voidsetPrevProvisionName(String prevProvisionName)PrevProvisionName is the name of the previous failed provision attempt.voidsetStage(String stage)Stage is the stage of provisioning that the cluster deployment has reached.ClusterProvisionSpecBuildertoBuilder()
-
-
-
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.
-
edit
public ClusterProvisionSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterProvisionSpecBuilder>
-
toBuilder
public ClusterProvisionSpecBuilder toBuilder()
-
-