Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.gcp.v1.Platform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Platform extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Platform stores all the global configuration that all machinesets use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(String computeSubnet, String controlPlaneSubnet, MachinePool defaultMachinePlatform, String network, String networkProjectID, String projectID, String region, List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint> serviceEndpoints, List<UserLabel> userLabels, String userProvisionedDNS, List<UserTag> userTags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()StringgetComputeSubnet()ComputeSubnet is an existing subnet where the compute nodes will be deployed.StringgetControlPlaneSubnet()ControlPlaneSubnet is an existing subnet where the control plane will be deployed.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.StringgetNetwork()Network specifies an existing VPC where the cluster should be created rather than provisioning a new one.StringgetNetworkProjectID()NetworkProjectID specifies which project the network and subnets exist in when they are not in the main ProjectID.StringgetProjectID()ProjectID is the the project that will be used for the cluster.StringgetRegion()Region specifies the GCP region where the cluster will be created.List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint>getServiceEndpoints()ServiceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services.List<UserLabel>getUserLabels()userLabels has additional keys and values that the installer will add as labels to all resources that it creates on GCP.StringgetUserProvisionedDNS()UserProvisionedDNS indicates if the customer is providing their own DNS solution in place of the default provisioned by the Installer.List<UserTag>getUserTags()userTags has additional keys and values that the installer will add as tags to all resources that it creates on GCP.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetComputeSubnet(String computeSubnet)ComputeSubnet is an existing subnet where the compute nodes will be deployed.voidsetControlPlaneSubnet(String controlPlaneSubnet)ControlPlaneSubnet is an existing subnet where the control plane will be deployed.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetNetwork(String network)Network specifies an existing VPC where the cluster should be created rather than provisioning a new one.voidsetNetworkProjectID(String networkProjectID)NetworkProjectID specifies which project the network and subnets exist in when they are not in the main ProjectID.voidsetProjectID(String projectID)ProjectID is the the project that will be used for the cluster.voidsetRegion(String region)Region specifies the GCP region where the cluster will be created.voidsetServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint> serviceEndpoints)ServiceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services.voidsetUserLabels(List<UserLabel> userLabels)userLabels has additional keys and values that the installer will add as labels to all resources that it creates on GCP.voidsetUserProvisionedDNS(String userProvisionedDNS)UserProvisionedDNS indicates if the customer is providing their own DNS solution in place of the default provisioned by the Installer.voidsetUserTags(List<UserTag> userTags)userTags has additional keys and values that the installer will add as tags to all resources that it creates on GCP.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String computeSubnet, String controlPlaneSubnet, MachinePool defaultMachinePlatform, String network, String networkProjectID, String projectID, String region, List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint> serviceEndpoints, List<UserLabel> userLabels, String userProvisionedDNS, List<UserTag> userTags)
-
-
Method Detail
-
getComputeSubnet
public String getComputeSubnet()
ComputeSubnet is an existing subnet where the compute nodes will be deployed. The value should be the name of the subnet.
-
setComputeSubnet
public void setComputeSubnet(String computeSubnet)
ComputeSubnet is an existing subnet where the compute nodes will be deployed. The value should be the name of the subnet.
-
getControlPlaneSubnet
public String getControlPlaneSubnet()
ControlPlaneSubnet is an existing subnet where the control plane will be deployed. The value should be the name of the subnet.
-
setControlPlaneSubnet
public void setControlPlaneSubnet(String controlPlaneSubnet)
ControlPlaneSubnet is an existing subnet where the control plane will be deployed. The value should be the name of the subnet.
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores all the global configuration that all machinesets use.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores all the global configuration that all machinesets use.
-
getNetwork
public String getNetwork()
Network specifies an existing VPC where the cluster should be created rather than provisioning a new one.
-
setNetwork
public void setNetwork(String network)
Network specifies an existing VPC where the cluster should be created rather than provisioning a new one.
-
getNetworkProjectID
public String getNetworkProjectID()
NetworkProjectID specifies which project the network and subnets exist in when they are not in the main ProjectID.
-
setNetworkProjectID
public void setNetworkProjectID(String networkProjectID)
NetworkProjectID specifies which project the network and subnets exist in when they are not in the main ProjectID.
-
getProjectID
public String getProjectID()
ProjectID is the the project that will be used for the cluster.
-
setProjectID
public void setProjectID(String projectID)
ProjectID is the the project that will be used for the cluster.
-
getRegion
public String getRegion()
Region specifies the GCP region where the cluster will be created.
-
setRegion
public void setRegion(String region)
Region specifies the GCP region where the cluster will be created.
-
getServiceEndpoints
public List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint> getServiceEndpoints()
ServiceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.
-
setServiceEndpoints
public void setServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint> serviceEndpoints)
ServiceEndpoints list contains custom endpoints which will override default service endpoint of GCP Services. There must be only one ServiceEndpoint for a service.
-
getUserLabels
public List<UserLabel> getUserLabels()
userLabels has additional keys and values that the installer will add as labels to all resources that it creates on GCP. Resources created by the cluster itself may not include these labels.
-
setUserLabels
public void setUserLabels(List<UserLabel> userLabels)
userLabels has additional keys and values that the installer will add as labels to all resources that it creates on GCP. Resources created by the cluster itself may not include these labels.
-
getUserProvisionedDNS
public String getUserProvisionedDNS()
UserProvisionedDNS indicates if the customer is providing their own DNS solution in place of the default provisioned by the Installer.
-
setUserProvisionedDNS
public void setUserProvisionedDNS(String userProvisionedDNS)
UserProvisionedDNS indicates if the customer is providing their own DNS solution in place of the default provisioned by the Installer.
-
getUserTags
public List<UserTag> getUserTags()
userTags has additional keys and values that the installer will add as tags to all resources that it creates on GCP. Resources created by the cluster itself may not include these tags. Tag key and tag value should be the shortnames of the tag key and tag value resource.
-
setUserTags
public void setUserTags(List<UserTag> userTags)
userTags has additional keys and values that the installer will add as tags to all resources that it creates on GCP. Resources created by the cluster itself may not include these tags. Tag key and tag value should be the shortnames of the tag key and tag value resource.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-