Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the cloudbuild v1beta1 API group +kubebuilder:object:generate=true +groupName=cloudbuild.cnrm.cloud.google.com
Index ¶
- Variables
- type CloudBuildWorkerPool
- type CloudBuildWorkerPoolList
- type CloudBuildWorkerPoolObservedState
- type CloudBuildWorkerPoolSpec
- type CloudBuildWorkerPoolStatus
- type PrivatePoolV1Config
- type PrivatePoolV1Config_NetworkConfigSpec
- type PrivatePoolV1Config_NetworkConfigStatus
- type PrivatePoolV1Config_WorkerConfig
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cloudbuild.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 CloudBuildWorkerPoolKind = "CloudBuildWorkerPool" GroupVersionKind = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: CloudBuildWorkerPoolKind, } )
Functions ¶
This section is empty.
Types ¶
type CloudBuildWorkerPool ¶
type CloudBuildWorkerPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CloudBuildWorkerPoolSpec `json:"spec,omitempty"` Status CloudBuildWorkerPoolStatus `json:"status,omitempty"` }
+kubebuilder:metadata:labels="cnrm.cloud.google.com/managed-by-kcc=true";"cnrm.cloud.google.com/stability-level=beta" +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object CloudBuildWorkerPool is the Schema for the CloudBuild WorkerPool API +kubebuilder:subresource:status +kubebuilder:storageversion
func (*CloudBuildWorkerPool) DeepCopy ¶
func (in *CloudBuildWorkerPool) DeepCopy() *CloudBuildWorkerPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildWorkerPool.
func (*CloudBuildWorkerPool) DeepCopyInto ¶
func (in *CloudBuildWorkerPool) DeepCopyInto(out *CloudBuildWorkerPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudBuildWorkerPool) DeepCopyObject ¶
func (in *CloudBuildWorkerPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudBuildWorkerPoolList ¶
type CloudBuildWorkerPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudBuildWorkerPool `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object CloudBuildWorkerPoolList contains a list of WorkerPool
func (*CloudBuildWorkerPoolList) DeepCopy ¶
func (in *CloudBuildWorkerPoolList) DeepCopy() *CloudBuildWorkerPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildWorkerPoolList.
func (*CloudBuildWorkerPoolList) DeepCopyInto ¶
func (in *CloudBuildWorkerPoolList) DeepCopyInto(out *CloudBuildWorkerPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudBuildWorkerPoolList) DeepCopyObject ¶
func (in *CloudBuildWorkerPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudBuildWorkerPoolObservedState ¶
type CloudBuildWorkerPoolObservedState struct { /* The creation timestamp of the workerpool.*/ // +optional // +kubebuilder:validation:Format=date-time CreateTime *string `json:"createTime,omitempty"` /* The last update timestamp of the workerpool.*/ // +optional // +kubebuilder:validation:Format=date-time UpdateTime *string `json:"updateTime,omitempty"` // Machine configuration for the workers in the pool. // +required WorkerConfig *PrivatePoolV1Config_WorkerConfig `json:"workerConfig,omitempty"` // Network configuration for the pool. NetworkConfig *PrivatePoolV1Config_NetworkConfigStatus `json:"networkConfig,omitempty"` /* The Checksum computed by the server, using weak indicator.*/ // +optional ETag *string `json:"etag,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.WorkerPool
func (*CloudBuildWorkerPoolObservedState) DeepCopy ¶
func (in *CloudBuildWorkerPoolObservedState) DeepCopy() *CloudBuildWorkerPoolObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildWorkerPoolObservedState.
func (*CloudBuildWorkerPoolObservedState) DeepCopyInto ¶
func (in *CloudBuildWorkerPoolObservedState) DeepCopyInto(out *CloudBuildWorkerPoolObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBuildWorkerPoolSpec ¶
type CloudBuildWorkerPoolSpec struct { commonv1alpha1.CommonSpec `json:",inline"` // A user-specified, human-readable name for the `WorkerPool`. If provided, // this value must be 1-63 characters. DisplayName string `json:"displayName,omitempty"` // The `WorkerPool` name. If not given, the metadata.name will be used. // + optional ResourceID *string `json:"resourceID,omitempty"` // +required Location string `json:"location"` // Legacy Private Pool configuration. // +required PrivatePoolConfig *PrivatePoolV1Config `json:"privatePoolV1Config,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.WorkerPool CloudBuildWorkerPoolSpec defines the desired state of Instance
func (*CloudBuildWorkerPoolSpec) DeepCopy ¶
func (in *CloudBuildWorkerPoolSpec) DeepCopy() *CloudBuildWorkerPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildWorkerPoolSpec.
func (*CloudBuildWorkerPoolSpec) DeepCopyInto ¶
func (in *CloudBuildWorkerPoolSpec) DeepCopyInto(out *CloudBuildWorkerPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBuildWorkerPoolStatus ¶
type CloudBuildWorkerPoolStatus struct { commonv1alpha1.CommonStatus `json:",inline"` /* ObservedState is the state of the resource as most recently observed in GCP. */ // +optional ObservedState *CloudBuildWorkerPoolObservedState `json:"observedState,omitempty"` }
CloudBuildWorkerPoolStatus defines the observed state of Instance
func (*CloudBuildWorkerPoolStatus) DeepCopy ¶
func (in *CloudBuildWorkerPoolStatus) DeepCopy() *CloudBuildWorkerPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBuildWorkerPoolStatus.
func (*CloudBuildWorkerPoolStatus) DeepCopyInto ¶
func (in *CloudBuildWorkerPoolStatus) DeepCopyInto(out *CloudBuildWorkerPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivatePoolV1Config ¶
type PrivatePoolV1Config struct { // Machine configuration for the workers in the pool. // +required WorkerConfig *PrivatePoolV1Config_WorkerConfig `json:"workerConfig,omitempty"` // Network configuration for the pool. NetworkConfig *PrivatePoolV1Config_NetworkConfigSpec `json:"networkConfig,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.PrivatePoolV1Config
func (*PrivatePoolV1Config) DeepCopy ¶
func (in *PrivatePoolV1Config) DeepCopy() *PrivatePoolV1Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivatePoolV1Config.
func (*PrivatePoolV1Config) DeepCopyInto ¶
func (in *PrivatePoolV1Config) DeepCopyInto(out *PrivatePoolV1Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivatePoolV1Config_NetworkConfigSpec ¶
type PrivatePoolV1Config_NetworkConfigSpec struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="the field is immutable" // Immutable. The network definition that the workers are peered // to. If this section is left empty, the workers will be peered to // `WorkerPool.project_id` on the service producer network. PeeredNetworkRef refv1beta1.ComputeNetworkRef `json:"peeredNetworkRef,omitempty"` // Option to configure network egress for the workers. EgressOption *string `json:"egressOption,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="the field is immutable" // Immutable. Subnet IP range within the peered network. This is specified // in CIDR notation with a slash and the subnet prefix size. You can // optionally specify an IP address before the subnet prefix value. e.g. // `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a // prefix size of 29 bits. // `/16` would specify a prefix size of 16 bits, with an automatically // determined IP within the peered VPC. // If unspecified, a value of `/24` will be used. PeeredNetworkIPRange *string `json:"peeredNetworkIPRange,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig
func (*PrivatePoolV1Config_NetworkConfigSpec) DeepCopy ¶
func (in *PrivatePoolV1Config_NetworkConfigSpec) DeepCopy() *PrivatePoolV1Config_NetworkConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivatePoolV1Config_NetworkConfigSpec.
func (*PrivatePoolV1Config_NetworkConfigSpec) DeepCopyInto ¶
func (in *PrivatePoolV1Config_NetworkConfigSpec) DeepCopyInto(out *PrivatePoolV1Config_NetworkConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivatePoolV1Config_NetworkConfigStatus ¶
type PrivatePoolV1Config_NetworkConfigStatus struct { // Immutable. The network definition that the workers are peered // to. If this section is left empty, the workers will be peered to // `WorkerPool.project_id` on the service producer network. PeeredNetwork *string `json:"peeredNetwork,omitempty"` // Option to configure network egress for the workers. EgressOption *string `json:"egressOption,omitempty"` // Immutable. Subnet IP range within the peered network. This is specified // in CIDR notation with a slash and the subnet prefix size. You can // optionally specify an IP address before the subnet prefix value. e.g. // `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a // prefix size of 29 bits. // `/16` would specify a prefix size of 16 bits, with an automatically // determined IP within the peered VPC. // If unspecified, a value of `/24` will be used. PeeredNetworkIPRange *string `json:"peeredNetworkIPRange,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig
func (*PrivatePoolV1Config_NetworkConfigStatus) DeepCopy ¶
func (in *PrivatePoolV1Config_NetworkConfigStatus) DeepCopy() *PrivatePoolV1Config_NetworkConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivatePoolV1Config_NetworkConfigStatus.
func (*PrivatePoolV1Config_NetworkConfigStatus) DeepCopyInto ¶
func (in *PrivatePoolV1Config_NetworkConfigStatus) DeepCopyInto(out *PrivatePoolV1Config_NetworkConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivatePoolV1Config_WorkerConfig ¶
type PrivatePoolV1Config_WorkerConfig struct { // Machine type of a worker, such as `e2-medium`. // See [Worker pool config // file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). // If left blank, Cloud Build will use a sensible default. MachineType *string `json:"machineType,omitempty"` // Size of the disk attached to the worker, in GB. // See [Worker pool config // file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). // Specify a value of up to 2000. If `0` is specified, Cloud Build will use // a standard disk size. DiskSizeGb *int64 `json:"diskSizeGb,omitempty"` }
+kcc:proto=google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig
func (*PrivatePoolV1Config_WorkerConfig) DeepCopy ¶
func (in *PrivatePoolV1Config_WorkerConfig) DeepCopy() *PrivatePoolV1Config_WorkerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivatePoolV1Config_WorkerConfig.
func (*PrivatePoolV1Config_WorkerConfig) DeepCopyInto ¶
func (in *PrivatePoolV1Config_WorkerConfig) DeepCopyInto(out *PrivatePoolV1Config_WorkerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.