Documentation ¶
Overview ¶
Generate deepcopy object for workstations/v1alpha1 API group
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 ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "workstations.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 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 ¶
func (in *WorkstationclusterDetailsStatus) DeepCopy() *WorkstationclusterDetailsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationclusterDetailsStatus.
func (*WorkstationclusterDetailsStatus) DeepCopyInto ¶
func (in *WorkstationclusterDetailsStatus) DeepCopyInto(out *WorkstationclusterDetailsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkstationclusterPrivateClusterConfig ¶
type WorkstationclusterPrivateClusterConfig struct { /* 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 ¶
func (in *WorkstationclusterPrivateClusterConfig) DeepCopy() *WorkstationclusterPrivateClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationclusterPrivateClusterConfig.
func (*WorkstationclusterPrivateClusterConfig) DeepCopyInto ¶
func (in *WorkstationclusterPrivateClusterConfig) DeepCopyInto(out *WorkstationclusterPrivateClusterConfig)
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 *int `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
func (in *WorkstationclusterResourceConditionsStatus) DeepCopy() *WorkstationclusterResourceConditionsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationclusterResourceConditionsStatus.
func (*WorkstationclusterResourceConditionsStatus) DeepCopyInto ¶ added in v1.105.0
func (in *WorkstationclusterResourceConditionsStatus) DeepCopyInto(out *WorkstationclusterResourceConditionsStatus)
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 ¶
func (in *WorkstationsWorkstationCluster) DeepCopy() *WorkstationsWorkstationCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationsWorkstationCluster.
func (*WorkstationsWorkstationCluster) DeepCopyInto ¶
func (in *WorkstationsWorkstationCluster) DeepCopyInto(out *WorkstationsWorkstationCluster)
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 ¶
func (in *WorkstationsWorkstationClusterList) DeepCopy() *WorkstationsWorkstationClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationsWorkstationClusterList.
func (*WorkstationsWorkstationClusterList) DeepCopyInto ¶
func (in *WorkstationsWorkstationClusterList) DeepCopyInto(out *WorkstationsWorkstationClusterList)
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 ¶
func (in *WorkstationsWorkstationClusterSpec) DeepCopy() *WorkstationsWorkstationClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationsWorkstationClusterSpec.
func (*WorkstationsWorkstationClusterSpec) DeepCopyInto ¶
func (in *WorkstationsWorkstationClusterSpec) DeepCopyInto(out *WorkstationsWorkstationClusterSpec)
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 *int `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 ¶
func (in *WorkstationsWorkstationClusterStatus) DeepCopy() *WorkstationsWorkstationClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkstationsWorkstationClusterStatus.
func (*WorkstationsWorkstationClusterStatus) DeepCopyInto ¶
func (in *WorkstationsWorkstationClusterStatus) DeepCopyInto(out *WorkstationsWorkstationClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.