v1beta1

package
v1.124.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBinaryAuthorization.

func (*ClusterBinaryAuthorization) DeepCopyInto

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterManagedPrometheusConfig.

func (*ClusterManagedPrometheusConfig) DeepCopyInto

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservedStateStatus.

func (*ClusterObservedStateStatus) DeepCopyInto added in v1.124.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadIdentityConfigStatus.

func (*ClusterWorkloadIdentityConfigStatus) DeepCopyInto

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterList.

func (*ContainerAttachedClusterList) DeepCopyInto

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. If it is not provided, the provider project is used. */
	// +optional
	ProjectRef *v1alpha1.ResourceRef `json:"projectRef,omitempty"`

	/* Immutable, Optional. The ContainerAttachedCluster name. If not given, the metadata.name will be used. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*ContainerAttachedClusterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterSpec.

func (*ContainerAttachedClusterSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAttachedClusterStatus.

func (*ContainerAttachedClusterStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL