Class 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 Detail

      • Platform

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

        public Platform​(List<String> computeSubnets,
                        List<String> controlPlaneSubnets,
                        MachinePool defaultMachinePlatform,
                        String networkResourceGroupName,
                        String region,
                        String resourceGroupName,
                        List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints,
                        String vpcName)
    • Method Detail

      • getComputeSubnets

        public List<String> getComputeSubnets()
        ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.
      • setComputeSubnets

        public void setComputeSubnets​(List<String> computeSubnets)
        ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.
      • getControlPlaneSubnets

        public List<String> getControlPlaneSubnets()
        ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.
      • setControlPlaneSubnets

        public void setControlPlaneSubnets​(List<String> controlPlaneSubnets)
        ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.
      • 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.
      • getNetworkResourceGroupName

        public String getNetworkResourceGroupName()
        NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.
      • setNetworkResourceGroupName

        public void setNetworkResourceGroupName​(String networkResourceGroupName)
        NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.
      • getRegion

        public String getRegion()
        Region specifies the IBM Cloud region where the cluster will be created.
      • setRegion

        public void setRegion​(String region)
        Region specifies the IBM Cloud region where the cluster will be created.
      • getResourceGroupName

        public String getResourceGroupName()
        ResourceGroupName is the name of an already existing resource group where the cluster should be installed. If empty, a new resource group will be created for the cluster.
      • setResourceGroupName

        public void setResourceGroupName​(String resourceGroupName)
        ResourceGroupName is the name of an already existing resource group where the cluster should be installed. If empty, a new resource group will be created for the cluster.
      • getServiceEndpoints

        public List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> getServiceEndpoints()
        ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
      • setServiceEndpoints

        public void setServiceEndpoints​(List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints)
        ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
      • getVpcName

        public String getVpcName()
        VPCName is the name of an already existing VPC to be used during cluster creation.
      • setVpcName

        public void setVpcName​(String vpcName)
        VPCName is the name of an already existing VPC to be used during cluster creation.
      • getAdditionalProperties

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

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

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