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 ClusterObservedStateStatus
- 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 { /* Optional. 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 { /* Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED. 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 { /* Output only. 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 id 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 ClusterObservedStateStatus ¶ added in v1.124.0
type ClusterObservedStateStatus struct { /* Output only. 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>`. This field mirrors the Spec.Fleet.Membership field. */ // +optional FleetMembership *string `json:"fleetMembership,omitempty"` }
func (*ClusterObservedStateStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterObservedStateStatus) DeepCopy() *ClusterObservedStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservedStateStatus.
func (*ClusterObservedStateStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterObservedStateStatus) DeepCopyInto(out *ClusterObservedStateStatus)
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, Optional. OIDC verification keys in JWKS format (RFC 7517). It contains a list of OIDC verification keys that can be used to verify OIDC JWTs. This field is required for cluster that doesn't have a publicly available discovery endpoint. When provided, it will be directly used to verify the OIDC JWT asserted by the IDP. */ // +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"` /* Optional. Configuration related to the cluster RBAC settings. */ // +optional Authorization *ClusterAuthorization `json:"authorization,omitempty"` /* Optional. Binary Authorization configuration for this cluster. */ // +optional BinaryAuthorization *ClusterBinaryAuthorization `json:"binaryAuthorization,omitempty"` /* Optional. Policy to determine what flags to send on delete. */ // +optional DeletionPolicy *string `json:"deletionPolicy,omitempty"` /* Optional. 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", "generic"]. */ Distribution string `json:"distribution"` /* Required. Fleet configuration. */ Fleet ClusterFleet `json:"fleet"` /* Immutable. The location for the resource. */ Location string `json:"location"` /* Optional. Logging configuration for this cluster. */ // +optional LoggingConfig *ClusterLoggingConfig `json:"loggingConfig,omitempty"` /* Optional. Monitoring configuration for this cluster. */ // +optional MonitoringConfig *ClusterMonitoringConfig `json:"monitoringConfig,omitempty"` /* Required. OpenID Connect (OIDC) discovery information of the target cluster. Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This field 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 'issuerUrl' field while clusters with private issuers need to provide both 'issuerUrl' and 'jwks'. */ OidcConfig ClusterOidcConfig `json:"oidcConfig"` /* Required. The platform version for the cluster (e.g. `1.30.0-gke.1`). */ PlatformVersion string `json:"platformVersion"` /* The ID of the project in which the resource belongs. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable, Optional. The ContainerAttachedCluster name. If not given, the metadata.name will be used. */ // +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"` /* 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"` /* The time at which this cluster was registered. */ // +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"` /* ObservedState is the state of the resource as most recently observed in GCP. */ // +optional ObservedState *ClusterObservedStateStatus `json:"observedState,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.