v1beta1

package
v1.123.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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 {
	/* 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 {
	/* Configure Binary Authorization evaluation mode. 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 {
	/* 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

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

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"`

	/* 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

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"`
	/* 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

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