Documentation ¶
Overview ¶
+kcc:proto=google.cloud.gkemulticloud.v1
+kubebuilder:object:generate=true +groupName=containerattached.cnrm.cloud.google.com
Index ¶
- Variables
- type AttachedClusterError
- type AttachedClustersAuthorization
- type AttachedOidcConfig
- type AttachedProxyConfig
- type BinaryAuthorization
- type ContainerAttachedCluster
- type ContainerAttachedClusterList
- type ContainerAttachedClusterObservedState
- type ContainerAttachedClusterSpec
- type ContainerAttachedClusterStatus
- type Fleet
- type FleetProjectRef
- type KubernetesSecret
- type LoggingComponentConfig
- type LoggingConfig
- type ManagedPrometheusConfig
- type MonitoringConfig
- type WorkloadIdentityConfig
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = 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: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ContainerAttachedClusterGVK = GroupVersion.WithKind("ContainerAttachedCluster")
Functions ¶
This section is empty.
Types ¶
type AttachedClusterError ¶
type AttachedClusterError struct { // Human-friendly description of the error. Message *string `json:"message,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.AttachedClusterError
func (*AttachedClusterError) DeepCopy ¶
func (in *AttachedClusterError) DeepCopy() *AttachedClusterError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedClusterError.
func (*AttachedClusterError) DeepCopyInto ¶
func (in *AttachedClusterError) DeepCopyInto(out *AttachedClusterError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttachedClustersAuthorization ¶
type AttachedClustersAuthorization 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 AdminUsers []string `json:"adminUsers,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.AttachedClustersAuthorization
func (*AttachedClustersAuthorization) DeepCopy ¶
func (in *AttachedClustersAuthorization) DeepCopy() *AttachedClustersAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedClustersAuthorization.
func (*AttachedClustersAuthorization) DeepCopyInto ¶
func (in *AttachedClustersAuthorization) DeepCopyInto(out *AttachedClustersAuthorization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttachedOidcConfig ¶
type AttachedOidcConfig struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="IssuerURL field is immutable" // Immutable. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`. IssuerURL string `json:"issuerUrl"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Jwks field is immutable" // 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. Jwks []byte `json:"jwks,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.AttachedOidcConfig
func (*AttachedOidcConfig) DeepCopy ¶
func (in *AttachedOidcConfig) DeepCopy() *AttachedOidcConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedOidcConfig.
func (*AttachedOidcConfig) DeepCopyInto ¶
func (in *AttachedOidcConfig) DeepCopyInto(out *AttachedOidcConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttachedProxyConfig ¶
type AttachedProxyConfig struct { // The Kubernetes Secret resource that contains the HTTP(S) proxy // configuration. The secret must be a JSON encoded proxy configuration // as described in KubernetesSecret KubernetesSecret `json:"kubernetesSecret"` }
+kcc:proto=google.cloud.gkemulticloud.v1.AttachedProxyConfig
func (*AttachedProxyConfig) DeepCopy ¶
func (in *AttachedProxyConfig) DeepCopy() *AttachedProxyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedProxyConfig.
func (*AttachedProxyConfig) DeepCopyInto ¶
func (in *AttachedProxyConfig) DeepCopyInto(out *AttachedProxyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BinaryAuthorization ¶
type BinaryAuthorization struct { // Mode of operation for binauthz policy evaluation. If unspecified, defaults // to DISABLED. // Possible values: ["DISABLED", "PROJECT_SINGLETON_POLICY_ENFORCE"]. EvaluationMode *string `json:"evaluationMode,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.BinaryAuthorization
func (*BinaryAuthorization) DeepCopy ¶
func (in *BinaryAuthorization) DeepCopy() *BinaryAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryAuthorization.
func (*BinaryAuthorization) DeepCopyInto ¶
func (in *BinaryAuthorization) DeepCopyInto(out *BinaryAuthorization)
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"` Status ContainerAttachedClusterStatus `json:"status,omitempty"` }
ContainerAttachedCluster is the Schema for the ContainerAttachedCluster 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"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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 ContainerAttachedClusterObservedState ¶
type ContainerAttachedClusterObservedState 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. FleetMembership *string `json:"fleetMembership,omitempty"` }
ContainerAttachedClusterObservedState is the state of the ContainerAttachedCluster resource as most recently observed in GCP.
func (*ContainerAttachedClusterObservedState) DeepCopy ¶
func (in *ContainerAttachedClusterObservedState) DeepCopy() *ContainerAttachedClusterObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterObservedState.
func (*ContainerAttachedClusterObservedState) DeepCopyInto ¶
func (in *ContainerAttachedClusterObservedState) DeepCopyInto(out *ContainerAttachedClusterObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerAttachedClusterSpec ¶
type ContainerAttachedClusterSpec struct { /* The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ // +optional ProjectRef *refs.ProjectRef `json:"projectRef,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ResourceID field is immutable" // Immutable, Optional. // The ContainerAttachedCluster name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Location field is immutable" // Immutable. The location for the resource. Location string `json:"location"` // Optional. A human readable description of this Attached cluster. // Cannot be longer than 255 UTF-8 encoded bytes. Description *string `json:"description,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="OidcConfig field is immutable" /* 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 AttachedOidcConfig `json:"oidcConfig"` // Required. The platform version for the cluster (e.g. `1.30.0-gke.1`). PlatformVersion string `json:"platformVersion"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Distribution field is immutable" // Immutable. The Kubernetes distribution of the underlying attached cluster. // // Supported values: ["eks", "aks", "generic"]. Distribution string `json:"distribution"` // Required. Fleet configuration. Fleet Fleet `json:"fleet"` // 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. Annotations map[string]string `json:"annotations,omitempty"` // Optional. Logging configuration for this cluster. LoggingConfig *LoggingConfig `json:"loggingConfig,omitempty"` // Optional. Configuration related to the cluster RBAC settings. Authorization *AttachedClustersAuthorization `json:"authorization,omitempty"` // Optional. Monitoring configuration for this cluster. MonitoringConfig *MonitoringConfig `json:"monitoringConfig,omitempty"` // Optional. Binary Authorization configuration for this cluster. BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"` // Optional. Policy to determine what flags to send on delete. DeletionPolicy *string `json:"deletionPolicy,omitempty"` }
ContainerAttachedClusterSpec defines the desired state of ContainerAttachedCluster +kcc:proto=google.cloud.gkemulticloud.v1.AttachedCluster
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 object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,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. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A globally unique identifier for the cluster. Uid *string `json:"uid,omitempty"` // The region where this cluster runs. // // For EKS clusters, this is an AWS region. For AKS clusters, // this is an Azure region. ClusterRegion *string `json:"clusterRegion,omitempty"` // The Kubernetes version of the cluster. KubernetesVersion *string `json:"kubernetesVersion,omitempty"` // Workload Identity settings. WorkloadIdentityConfig []WorkloadIdentityConfig `json:"workloadIdentityConfig,omitempty"` // The time at which this cluster was registered. CreateTime *string `json:"createTime,omitempty"` // The time at which this cluster was last updated. UpdateTime *string `json:"updateTime,omitempty"` // If set, there are currently changes in flight to the cluster. Reconciling *bool `json:"reconciling,omitempty"` /* The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED. */ State *string `json:"state,omitempty"` // A set of errors found in the cluster. Errors []AttachedClusterError `json:"errors,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *ContainerAttachedClusterObservedState `json:"observedState,omitempty"` }
ContainerAttachedClusterStatus defines the config connector machine state of ContainerAttachedCluster
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.
type Fleet ¶
type Fleet struct { // The id of the Fleet host project where this cluster will be registered. ProjectRef FleetProjectRef `json:"projectRef"` // 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>`. Membership *string `json:"membership,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.Fleet
func (*Fleet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fleet.
func (*Fleet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FleetProjectRef ¶
type FleetProjectRef struct { /* The project of the fleet. Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).*/ External string `json:"external,omitempty"` /* Name of the project resource. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ Name string `json:"name,omitempty"` /* Namespace of the project resource. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */ Namespace string `json:"namespace,omitempty"` }
func (*FleetProjectRef) DeepCopy ¶
func (in *FleetProjectRef) DeepCopy() *FleetProjectRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetProjectRef.
func (*FleetProjectRef) DeepCopyInto ¶
func (in *FleetProjectRef) DeepCopyInto(out *FleetProjectRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSecret ¶
type KubernetesSecret struct { // Name of the kubernetes secret. Name string `json:"name"` // Namespace in which the kubernetes secret is stored. Namespace string `json:"namespace"` }
+kcc:proto=google.cloud.gkemulticloud.v1.KubernetesSecret
func (*KubernetesSecret) DeepCopy ¶
func (in *KubernetesSecret) DeepCopy() *KubernetesSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSecret.
func (*KubernetesSecret) DeepCopyInto ¶
func (in *KubernetesSecret) DeepCopyInto(out *KubernetesSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingComponentConfig ¶
type LoggingComponentConfig struct { // The components to be enabled. Possible values: ["SYSTEM_COMPONENTS", "WORKLOADS"]. EnableComponents []string `json:"enableComponents,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.LoggingComponentConfig
func (*LoggingComponentConfig) DeepCopy ¶
func (in *LoggingComponentConfig) DeepCopy() *LoggingComponentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingComponentConfig.
func (*LoggingComponentConfig) DeepCopyInto ¶
func (in *LoggingComponentConfig) DeepCopyInto(out *LoggingComponentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingConfig ¶
type LoggingConfig struct { // The configuration of the logging components; ComponentConfig *LoggingComponentConfig `json:"componentConfig,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.LoggingConfig
func (*LoggingConfig) DeepCopy ¶
func (in *LoggingConfig) DeepCopy() *LoggingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfig.
func (*LoggingConfig) DeepCopyInto ¶
func (in *LoggingConfig) DeepCopyInto(out *LoggingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedPrometheusConfig ¶
type ManagedPrometheusConfig struct { // Enable Managed Collection. Enabled *bool `json:"enabled,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.ManagedPrometheusConfig
func (*ManagedPrometheusConfig) DeepCopy ¶
func (in *ManagedPrometheusConfig) DeepCopy() *ManagedPrometheusConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrometheusConfig.
func (*ManagedPrometheusConfig) DeepCopyInto ¶
func (in *ManagedPrometheusConfig) DeepCopyInto(out *ManagedPrometheusConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfig ¶
type MonitoringConfig struct { // Enable Google Cloud Managed Service for Prometheus in the cluster. ManagedPrometheusConfig *ManagedPrometheusConfig `json:"managedPrometheusConfig,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.MonitoringConfig
func (*MonitoringConfig) DeepCopy ¶
func (in *MonitoringConfig) DeepCopy() *MonitoringConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfig.
func (*MonitoringConfig) DeepCopyInto ¶
func (in *MonitoringConfig) DeepCopyInto(out *MonitoringConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadIdentityConfig ¶
type WorkloadIdentityConfig struct { // The OIDC issuer URL for this cluster. IssuerUri *string `json:"issuerUri,omitempty"` // The Workload Identity Pool associated to the cluster. WorkloadPool *string `json:"workloadPool,omitempty"` // The ID of the OIDC Identity Provider (IdP) associated to the Workload // Identity Pool. IdentityProvider *string `json:"identityProvider,omitempty"` }
+kcc:proto=google.cloud.gkemulticloud.v1.WorkloadIdentityConfig
func (*WorkloadIdentityConfig) DeepCopy ¶
func (in *WorkloadIdentityConfig) DeepCopy() *WorkloadIdentityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadIdentityConfig.
func (*WorkloadIdentityConfig) DeepCopyInto ¶
func (in *WorkloadIdentityConfig) DeepCopyInto(out *WorkloadIdentityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.