v1alpha1

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 v1alpha1 contains API Schema definitions for the workstations v1alpha1 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/workstations +k8s:defaulter-gen=TypeMeta +groupName=workstations.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: "workstations.cnrm.cloud.google.com", Version: "v1alpha1"}

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

	WorkstationsWorkstationClusterGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(WorkstationsWorkstationCluster{}).Name(),
	}
)

Functions

This section is empty.

Types

type WorkstationclusterDetailsStatus

type WorkstationclusterDetailsStatus struct {
}

func (*WorkstationclusterDetailsStatus) DeepCopy

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

func (*WorkstationclusterDetailsStatus) DeepCopyInto

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

type WorkstationclusterPrivateClusterConfig

type WorkstationclusterPrivateClusterConfig struct {
	/* Additional project IDs that are allowed to attach to the workstation cluster's service attachment.
	By default, the workstation cluster's project and the VPC host project (if different) are allowed. */
	// +optional
	AllowedProjects []string `json:"allowedProjects,omitempty"`

	/* Hostname for the workstation cluster.
	This field will be populated only when private endpoint is enabled.
	To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. */
	// +optional
	ClusterHostname *string `json:"clusterHostname,omitempty"`

	/* Immutable. Whether Workstations endpoint is private. */
	EnablePrivateEndpoint bool `json:"enablePrivateEndpoint"`

	/* Service attachment URI for the workstation cluster.
	The service attachment is created when private endpoint is enabled.
	To access workstations in the cluster, configure access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services]. */
	// +optional
	ServiceAttachmentUri *string `json:"serviceAttachmentUri,omitempty"`
}

func (*WorkstationclusterPrivateClusterConfig) DeepCopy

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

func (*WorkstationclusterPrivateClusterConfig) DeepCopyInto

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

type WorkstationclusterResourceConditionsStatus added in v1.105.0

type WorkstationclusterResourceConditionsStatus struct {
	/* The status code, which should be an enum value of google.rpc.Code. */
	// +optional
	Code *int64 `json:"code,omitempty"`

	/* A list of messages that carry the error details. */
	// +optional
	Details []WorkstationclusterDetailsStatus `json:"details,omitempty"`

	/* Human readable message indicating details about the current status. */
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*WorkstationclusterResourceConditionsStatus) DeepCopy added in v1.105.0

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

func (*WorkstationclusterResourceConditionsStatus) DeepCopyInto added in v1.105.0

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

type WorkstationsWorkstationCluster

type WorkstationsWorkstationCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkstationsWorkstationClusterSpec   `json:"spec,omitempty"`
	Status WorkstationsWorkstationClusterStatus `json:"status,omitempty"`
}

WorkstationsWorkstationCluster is the Schema for the workstations API +k8s:openapi-gen=true

func (*WorkstationsWorkstationCluster) DeepCopy

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

func (*WorkstationsWorkstationCluster) DeepCopyInto

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

func (*WorkstationsWorkstationCluster) DeepCopyObject

func (in *WorkstationsWorkstationCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkstationsWorkstationClusterList

type WorkstationsWorkstationClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WorkstationsWorkstationCluster `json:"items"`
}

WorkstationsWorkstationClusterList contains a list of WorkstationsWorkstationCluster

func (*WorkstationsWorkstationClusterList) DeepCopy

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

func (*WorkstationsWorkstationClusterList) DeepCopyInto

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

func (*WorkstationsWorkstationClusterList) DeepCopyObject

func (in *WorkstationsWorkstationClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkstationsWorkstationClusterSpec

type WorkstationsWorkstationClusterSpec struct {
	/* Client-specified annotations. This is distinct from labels. */
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	/* Human-readable name for this resource. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. The location where the workstation cluster should reside. */
	Location string `json:"location"`

	/* Immutable. The relative resource name of the VPC network on which the instance can be accessed.
	It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}". */
	Network string `json:"network"`

	/* Configuration for private cluster. */
	// +optional
	PrivateClusterConfig *WorkstationclusterPrivateClusterConfig `json:"privateClusterConfig,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The workstationClusterId 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"`

	/* Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created.
	Must be part of the subnetwork specified for this cluster. */
	Subnetwork string `json:"subnetwork"`
}

func (*WorkstationsWorkstationClusterSpec) DeepCopy

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

func (*WorkstationsWorkstationClusterSpec) DeepCopyInto

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

type WorkstationsWorkstationClusterStatus

type WorkstationsWorkstationClusterStatus struct {
	/* Conditions represent the latest available observations of the
	   WorkstationsWorkstationCluster's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Time when this resource was created. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Whether this resource is in degraded mode, in which case it may require user action to restore full functionality.
	Details can be found in the conditions field. */
	// +optional
	Degraded *bool `json:"degraded,omitempty"`

	/* Checksum computed by the server.
	May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
	// +optional
	Etag *string `json:"etag,omitempty"`

	/* The name of the cluster resource. */
	// +optional
	Name *string `json:"name,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"`

	/* Status conditions describing the current resource state. */
	// +optional
	ResourceConditions []WorkstationclusterResourceConditionsStatus `json:"resourceConditions,omitempty"`

	/* The system-generated UID of the resource. */
	// +optional
	Uid *string `json:"uid,omitempty"`
}

func (*WorkstationsWorkstationClusterStatus) DeepCopy

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

func (*WorkstationsWorkstationClusterStatus) 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