Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the containerattached 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/containerattached +k8s:defaulter-gen=TypeMeta +groupName=containerattached.cnrm.cloud.google.com
Index ¶
- Variables
- type ClusterAuthorization
- type ClusterBinaryAuthorization
- type ClusterComponentConfig
- type ClusterErrorsStatus
- type ClusterFleet
- type ClusterLoggingConfig
- type ClusterManagedPrometheusConfig
- type ClusterMonitoringConfig
- type ClusterOidcConfig
- type ClusterWorkloadIdentityConfigStatus
- type ContainerAttachedCluster
- type ContainerAttachedClusterList
- type ContainerAttachedClusterSpec
- type ContainerAttachedClusterStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "containerattached.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 ContainerAttachedClusterGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ContainerAttachedCluster{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ClusterAuthorization ¶
type ClusterAuthorization struct { /* Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the 'cluster-admin' ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles. */ // +optional AdminUsers []string `json:"adminUsers,omitempty"` }
func (*ClusterAuthorization) DeepCopy ¶
func (in *ClusterAuthorization) DeepCopy() *ClusterAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAuthorization.
func (*ClusterAuthorization) DeepCopyInto ¶
func (in *ClusterAuthorization) DeepCopyInto(out *ClusterAuthorization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBinaryAuthorization ¶
type ClusterBinaryAuthorization struct { /* Configure Binary Authorization evaluation mode. Possible values: ["DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE"]. */ // +optional EvaluationMode *string `json:"evaluationMode,omitempty"` }
func (*ClusterBinaryAuthorization) DeepCopy ¶
func (in *ClusterBinaryAuthorization) DeepCopy() *ClusterBinaryAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBinaryAuthorization.
func (*ClusterBinaryAuthorization) DeepCopyInto ¶
func (in *ClusterBinaryAuthorization) DeepCopyInto(out *ClusterBinaryAuthorization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterComponentConfig ¶
type ClusterComponentConfig struct { /* The components to be enabled. Possible values: ["SYSTEM_COMPONENTS", "WORKLOADS"]. */ // +optional EnableComponents []string `json:"enableComponents,omitempty"` }
func (*ClusterComponentConfig) DeepCopy ¶
func (in *ClusterComponentConfig) DeepCopy() *ClusterComponentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterComponentConfig.
func (*ClusterComponentConfig) DeepCopyInto ¶
func (in *ClusterComponentConfig) DeepCopyInto(out *ClusterComponentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterErrorsStatus ¶
type ClusterErrorsStatus struct { /* Human-friendly description of the error. */ // +optional Message *string `json:"message,omitempty"` }
func (*ClusterErrorsStatus) DeepCopy ¶
func (in *ClusterErrorsStatus) DeepCopy() *ClusterErrorsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterErrorsStatus.
func (*ClusterErrorsStatus) DeepCopyInto ¶
func (in *ClusterErrorsStatus) DeepCopyInto(out *ClusterErrorsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterFleet ¶
type ClusterFleet struct { /* The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects/<project-number>/locations/global/membership/<cluster-id>. */ // +optional Membership *string `json:"membership,omitempty"` /* The number of the Fleet host project where this cluster will be registered. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` }
func (*ClusterFleet) DeepCopy ¶
func (in *ClusterFleet) DeepCopy() *ClusterFleet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFleet.
func (*ClusterFleet) DeepCopyInto ¶
func (in *ClusterFleet) DeepCopyInto(out *ClusterFleet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterLoggingConfig ¶
type ClusterLoggingConfig struct { /* The configuration of the logging components. */ // +optional ComponentConfig *ClusterComponentConfig `json:"componentConfig,omitempty"` }
func (*ClusterLoggingConfig) DeepCopy ¶
func (in *ClusterLoggingConfig) DeepCopy() *ClusterLoggingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLoggingConfig.
func (*ClusterLoggingConfig) DeepCopyInto ¶
func (in *ClusterLoggingConfig) DeepCopyInto(out *ClusterLoggingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterManagedPrometheusConfig ¶
type ClusterManagedPrometheusConfig struct { /* Enable Managed Collection. */ // +optional Enabled *bool `json:"enabled,omitempty"` }
func (*ClusterManagedPrometheusConfig) DeepCopy ¶
func (in *ClusterManagedPrometheusConfig) DeepCopy() *ClusterManagedPrometheusConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterManagedPrometheusConfig.
func (*ClusterManagedPrometheusConfig) DeepCopyInto ¶
func (in *ClusterManagedPrometheusConfig) DeepCopyInto(out *ClusterManagedPrometheusConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMonitoringConfig ¶
type ClusterMonitoringConfig struct { /* Enable Google Cloud Managed Service for Prometheus in the cluster. */ // +optional ManagedPrometheusConfig *ClusterManagedPrometheusConfig `json:"managedPrometheusConfig,omitempty"` }
func (*ClusterMonitoringConfig) DeepCopy ¶
func (in *ClusterMonitoringConfig) DeepCopy() *ClusterMonitoringConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMonitoringConfig.
func (*ClusterMonitoringConfig) DeepCopyInto ¶
func (in *ClusterMonitoringConfig) DeepCopyInto(out *ClusterMonitoringConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterOidcConfig ¶
type ClusterOidcConfig struct { /* Immutable. A JSON Web Token (JWT) issuer URI. 'issuer' must start with 'https://'. */ IssuerUrl string `json:"issuerUrl"` /* Immutable. OIDC verification keys in JWKS format (RFC 7517). */ // +optional Jwks *string `json:"jwks,omitempty"` }
func (*ClusterOidcConfig) DeepCopy ¶
func (in *ClusterOidcConfig) DeepCopy() *ClusterOidcConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOidcConfig.
func (*ClusterOidcConfig) DeepCopyInto ¶
func (in *ClusterOidcConfig) DeepCopyInto(out *ClusterOidcConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterWorkloadIdentityConfigStatus ¶
type ClusterWorkloadIdentityConfigStatus struct { /* The ID of the OIDC Identity Provider (IdP) associated to the Workload Identity Pool. */ // +optional IdentityProvider *string `json:"identityProvider,omitempty"` /* The OIDC issuer URL for this cluster. */ // +optional IssuerUri *string `json:"issuerUri,omitempty"` /* The Workload Identity Pool associated to the cluster. */ // +optional WorkloadPool *string `json:"workloadPool,omitempty"` }
func (*ClusterWorkloadIdentityConfigStatus) DeepCopy ¶
func (in *ClusterWorkloadIdentityConfigStatus) DeepCopy() *ClusterWorkloadIdentityConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadIdentityConfigStatus.
func (*ClusterWorkloadIdentityConfigStatus) DeepCopyInto ¶
func (in *ClusterWorkloadIdentityConfigStatus) DeepCopyInto(out *ClusterWorkloadIdentityConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerAttachedCluster ¶
type ContainerAttachedCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContainerAttachedClusterSpec `json:"spec,omitempty"` Status ContainerAttachedClusterStatus `json:"status,omitempty"` }
ContainerAttachedCluster is the Schema for the containerattached API +k8s:openapi-gen=true
func (*ContainerAttachedCluster) DeepCopy ¶
func (in *ContainerAttachedCluster) DeepCopy() *ContainerAttachedCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedCluster.
func (*ContainerAttachedCluster) DeepCopyInto ¶
func (in *ContainerAttachedCluster) DeepCopyInto(out *ContainerAttachedCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerAttachedCluster) DeepCopyObject ¶
func (in *ContainerAttachedCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerAttachedClusterList ¶
type ContainerAttachedClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContainerAttachedCluster `json:"items"` }
ContainerAttachedClusterList contains a list of ContainerAttachedCluster
func (*ContainerAttachedClusterList) DeepCopy ¶
func (in *ContainerAttachedClusterList) DeepCopy() *ContainerAttachedClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterList.
func (*ContainerAttachedClusterList) DeepCopyInto ¶
func (in *ContainerAttachedClusterList) DeepCopyInto(out *ContainerAttachedClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerAttachedClusterList) DeepCopyObject ¶
func (in *ContainerAttachedClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerAttachedClusterSpec ¶
type ContainerAttachedClusterSpec struct { /* Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. */ // +optional Annotations map[string]string `json:"annotations,omitempty"` /* Configuration related to the cluster RBAC settings. */ // +optional Authorization *ClusterAuthorization `json:"authorization,omitempty"` /* Binary Authorization configuration. */ // +optional BinaryAuthorization *ClusterBinaryAuthorization `json:"binaryAuthorization,omitempty"` /* Policy to determine what flags to send on delete. */ // +optional DeletionPolicy *string `json:"deletionPolicy,omitempty"` /* A human readable description of this attached cluster. Cannot be longer than 255 UTF-8 encoded bytes. */ // +optional Description *string `json:"description,omitempty"` /* Immutable. The Kubernetes distribution of the underlying attached cluster. Supported values: "eks", "aks". */ Distribution string `json:"distribution"` /* Fleet configuration. */ Fleet ClusterFleet `json:"fleet"` /* Immutable. The location for the resource. */ Location string `json:"location"` /* Logging configuration. */ // +optional LoggingConfig *ClusterLoggingConfig `json:"loggingConfig,omitempty"` /* Monitoring configuration. */ // +optional MonitoringConfig *ClusterMonitoringConfig `json:"monitoringConfig,omitempty"` /* OIDC discovery information of the target cluster. Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This fields indicates how GCP services validate KSA tokens in order to allow system workloads (such as GKE Connect and telemetry agents) to authenticate back to GCP. Both clusters with public and private issuer URLs are supported. Clusters with public issuers only need to specify the 'issuer_url' field while clusters with private issuers need to provide both 'issuer_url' and 'jwks'. */ OidcConfig ClusterOidcConfig `json:"oidcConfig"` /* The platform version for the cluster (e.g. '1.23.0-gke.1'). */ PlatformVersion string `json:"platformVersion"` /* The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ 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"` }
func (*ContainerAttachedClusterSpec) DeepCopy ¶
func (in *ContainerAttachedClusterSpec) DeepCopy() *ContainerAttachedClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterSpec.
func (*ContainerAttachedClusterSpec) DeepCopyInto ¶
func (in *ContainerAttachedClusterSpec) DeepCopyInto(out *ContainerAttachedClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerAttachedClusterStatus ¶
type ContainerAttachedClusterStatus struct { /* Conditions represent the latest available observations of the ContainerAttachedCluster's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The region where this cluster runs. For EKS clusters, this is an AWS region. For AKS clusters, this is an Azure region. */ // +optional ClusterRegion *string `json:"clusterRegion,omitempty"` /* Output only. The time at which this cluster was created. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* A set of errors found in the cluster. */ // +optional Errors []ClusterErrorsStatus `json:"errors,omitempty"` /* The Kubernetes version of the cluster. */ // +optional KubernetesVersion *string `json:"kubernetesVersion,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"` /* If set, there are currently changes in flight to the cluster. */ // +optional Reconciling *bool `json:"reconciling,omitempty"` /* The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED. */ // +optional State *string `json:"state,omitempty"` /* A globally unique identifier for the cluster. */ // +optional Uid *string `json:"uid,omitempty"` /* The time at which this cluster was last updated. */ // +optional UpdateTime *string `json:"updateTime,omitempty"` /* Workload Identity settings. */ // +optional WorkloadIdentityConfig []ClusterWorkloadIdentityConfigStatus `json:"workloadIdentityConfig,omitempty"` }
func (*ContainerAttachedClusterStatus) DeepCopy ¶
func (in *ContainerAttachedClusterStatus) DeepCopy() *ContainerAttachedClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterStatus.
func (*ContainerAttachedClusterStatus) DeepCopyInto ¶
func (in *ContainerAttachedClusterStatus) DeepCopyInto(out *ContainerAttachedClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.