Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the configcontroller v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/configcontroller +k8s:defaulter-gen=TypeMeta +groupName=configcontroller.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "configcontroller.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme ConfigControllerInstanceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ConfigControllerInstance{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ConfigControllerInstance ¶
type ConfigControllerInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigControllerInstanceSpec `json:"spec,omitempty"` Status ConfigControllerInstanceStatus `json:"status,omitempty"` }
ConfigControllerInstance is the Schema for the configcontroller API +k8s:openapi-gen=true
func (*ConfigControllerInstance) DeepCopy ¶
func (in *ConfigControllerInstance) DeepCopy() *ConfigControllerInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstance.
func (*ConfigControllerInstance) DeepCopyInto ¶
func (in *ConfigControllerInstance) DeepCopyInto(out *ConfigControllerInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigControllerInstance) DeepCopyObject ¶
func (in *ConfigControllerInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigControllerInstanceList ¶
type ConfigControllerInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConfigControllerInstance `json:"items"` }
ConfigControllerInstanceList contains a list of ConfigControllerInstance
func (*ConfigControllerInstanceList) DeepCopy ¶
func (in *ConfigControllerInstanceList) DeepCopy() *ConfigControllerInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceList.
func (*ConfigControllerInstanceList) DeepCopyInto ¶
func (in *ConfigControllerInstanceList) DeepCopyInto(out *ConfigControllerInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigControllerInstanceList) DeepCopyObject ¶
func (in *ConfigControllerInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigControllerInstanceSpec ¶
type ConfigControllerInstanceSpec struct { /* Immutable. The location for the resource */ Location string `json:"location"` /* Immutable. Configuration of the cluster management */ ManagementConfig InstanceManagementConfig `json:"managementConfig"` /* Immutable. The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. Only allow access to the master's private endpoint IP. */ // +optional UsePrivateEndpoint *bool `json:"usePrivateEndpoint,omitempty"` }
func (*ConfigControllerInstanceSpec) DeepCopy ¶
func (in *ConfigControllerInstanceSpec) DeepCopy() *ConfigControllerInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceSpec.
func (*ConfigControllerInstanceSpec) DeepCopyInto ¶
func (in *ConfigControllerInstanceSpec) DeepCopyInto(out *ConfigControllerInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigControllerInstanceStatus ¶
type ConfigControllerInstanceStatus struct { /* Conditions represent the latest available observations of the ConfigControllerInstance's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. KrmApiHost GCP self link used for identifying the underlying endpoint (GKE cluster currently). */ // +optional GkeResourceLink *string `json:"gkeResourceLink,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* Output only. The current state of the internal state machine for the KrmApiHost. Possible values: STATE_UNSPECIFIED, CREATING, RUNNING, DELETING, SUSPENDED, READ_ONLY */ // +optional State *string `json:"state,omitempty"` }
func (*ConfigControllerInstanceStatus) DeepCopy ¶
func (in *ConfigControllerInstanceStatus) DeepCopy() *ConfigControllerInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceStatus.
func (*ConfigControllerInstanceStatus) DeepCopyInto ¶
func (in *ConfigControllerInstanceStatus) DeepCopyInto(out *ConfigControllerInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceFullManagementConfig ¶ added in v1.97.0
type InstanceFullManagementConfig struct { /* Immutable. The IP address range for the cluster pod IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. */ // +optional ClusterCidrBlock *string `json:"clusterCidrBlock,omitempty"` /* Immutable. The name of the existing secondary range in the cluster's subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block can be used to automatically create a GKE-managed one. */ // +optional ClusterNamedRange *string `json:"clusterNamedRange,omitempty"` /* Immutable. Master Authorized Network. Allows access to the k8s master from this block. */ // +optional ManBlock *string `json:"manBlock,omitempty"` /* Immutable. The /28 network that the masters will use. */ // +optional MasterIPv4CidrBlock *string `json:"masterIPv4CidrBlock,omitempty"` /* Immutable. */ // +optional NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"` /* Immutable. The IP address range for the cluster service IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. */ // +optional ServicesCidrBlock *string `json:"servicesCidrBlock,omitempty"` /* Immutable. The name of the existing secondary range in the cluster's subnetwork to use for service ClusterIPs. Alternatively, services_cidr_block can be used to automatically create a GKE-managed one. */ // +optional ServicesNamedRange *string `json:"servicesNamedRange,omitempty"` }
func (*InstanceFullManagementConfig) DeepCopy ¶ added in v1.97.0
func (in *InstanceFullManagementConfig) DeepCopy() *InstanceFullManagementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceFullManagementConfig.
func (*InstanceFullManagementConfig) DeepCopyInto ¶ added in v1.97.0
func (in *InstanceFullManagementConfig) DeepCopyInto(out *InstanceFullManagementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceManagementConfig ¶
type InstanceManagementConfig struct { /* Immutable. Configuration of the full (Autopilot) cluster management */ // +optional FullManagementConfig *InstanceFullManagementConfig `json:"fullManagementConfig,omitempty"` /* Immutable. Configuration of the standard (GKE) cluster management */ // +optional StandardManagementConfig *InstanceStandardManagementConfig `json:"standardManagementConfig,omitempty"` }
func (*InstanceManagementConfig) DeepCopy ¶
func (in *InstanceManagementConfig) DeepCopy() *InstanceManagementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceManagementConfig.
func (*InstanceManagementConfig) DeepCopyInto ¶
func (in *InstanceManagementConfig) DeepCopyInto(out *InstanceManagementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStandardManagementConfig ¶
type InstanceStandardManagementConfig struct { /* Immutable. The IP address range for the cluster pod IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. */ // +optional ClusterCidrBlock *string `json:"clusterCidrBlock,omitempty"` /* Immutable. The name of the existing secondary range in the cluster's subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block can be used to automatically create a GKE-managed one. */ // +optional ClusterNamedRange *string `json:"clusterNamedRange,omitempty"` /* Immutable. Master Authorized Network. Allows access to the k8s master from this block. */ // +optional ManBlock *string `json:"manBlock,omitempty"` /* Immutable. The /28 network that the masters will use. */ MasterIPv4CidrBlock string `json:"masterIPv4CidrBlock"` /* Immutable. */ // +optional NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"` /* Immutable. The IP address range for the cluster service IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. */ // +optional ServicesCidrBlock *string `json:"servicesCidrBlock,omitempty"` /* Immutable. The name of the existing secondary range in the cluster's subnetwork to use for service ClusterIPs. Alternatively, services_cidr_block can be used to automatically create a GKE-managed one. */ // +optional ServicesNamedRange *string `json:"servicesNamedRange,omitempty"` }
func (*InstanceStandardManagementConfig) DeepCopy ¶
func (in *InstanceStandardManagementConfig) DeepCopy() *InstanceStandardManagementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStandardManagementConfig.
func (*InstanceStandardManagementConfig) DeepCopyInto ¶
func (in *InstanceStandardManagementConfig) DeepCopyInto(out *InstanceStandardManagementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.