Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudbuild.gcp.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ApprovalConfigObservation
- type ApprovalConfigParameters
- type ArtifactsObservation
- type ArtifactsParameters
- type AvailableSecretsObservation
- type AvailableSecretsParameters
- type BuildObservation
- type BuildParameters
- type GitFileSourceObservation
- type GitFileSourceParameters
- type GithubObservation
- type GithubParameters
- type NetworkConfigObservation
- type NetworkConfigParameters
- type ObjectsObservation
- type ObjectsParameters
- type OptionsObservation
- type OptionsParameters
- type PubsubConfigObservation
- type PubsubConfigParameters
- type PullRequestObservation
- type PullRequestParameters
- type PushObservation
- type PushParameters
- type RepoSourceObservation
- type RepoSourceParameters
- type SecretManagerObservation
- type SecretManagerParameters
- type SecretObservation
- type SecretParameters
- type SourceObservation
- type SourceParameters
- type SourceToBuildObservation
- type SourceToBuildParameters
- type StepObservation
- type StepParameters
- type StepVolumesObservation
- type StepVolumesParameters
- type StorageSourceObservation
- type StorageSourceParameters
- type TimingObservation
- type TimingParameters
- type Trigger
- func (in *Trigger) DeepCopy() *Trigger
- func (in *Trigger) DeepCopyInto(out *Trigger)
- func (in *Trigger) DeepCopyObject() runtime.Object
- func (mg *Trigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Trigger) GetConnectionDetailsMapping() map[string]string
- func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Trigger) GetID() string
- func (tr *Trigger) GetObservation() (map[string]interface{}, error)
- func (tr *Trigger) GetParameters() (map[string]interface{}, error)
- func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference
- func (mg *Trigger) GetProviderReference() *xpv1.Reference
- func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Trigger) GetTerraformResourceType() string
- func (tr *Trigger) GetTerraformSchemaVersion() int
- func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Trigger) LateInitialize(attrs []byte) (bool, error)
- func (mg *Trigger) SetConditions(c ...xpv1.Condition)
- func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Trigger) SetObservation(obs map[string]interface{}) error
- func (tr *Trigger) SetParameters(params map[string]interface{}) error
- func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Trigger) SetProviderReference(r *xpv1.Reference)
- func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Trigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TriggerList
- type TriggerObservation
- type TriggerParameters
- type TriggerSpec
- type TriggerStatus
- type TriggerTemplateObservation
- type TriggerTemplateParameters
- type VolumesObservation
- type VolumesParameters
- type WebhookConfigObservation
- type WebhookConfigParameters
- type WorkerConfigObservation
- type WorkerConfigParameters
- type WorkerPool
- func (in *WorkerPool) DeepCopy() *WorkerPool
- func (in *WorkerPool) DeepCopyInto(out *WorkerPool)
- func (in *WorkerPool) DeepCopyObject() runtime.Object
- func (mg *WorkerPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *WorkerPool) GetConnectionDetailsMapping() map[string]string
- func (mg *WorkerPool) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *WorkerPool) GetID() string
- func (tr *WorkerPool) GetObservation() (map[string]interface{}, error)
- func (tr *WorkerPool) GetParameters() (map[string]interface{}, error)
- func (mg *WorkerPool) GetProviderConfigReference() *xpv1.Reference
- func (mg *WorkerPool) GetProviderReference() *xpv1.Reference
- func (mg *WorkerPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *WorkerPool) GetTerraformResourceType() string
- func (tr *WorkerPool) GetTerraformSchemaVersion() int
- func (mg *WorkerPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *WorkerPool) LateInitialize(attrs []byte) (bool, error)
- func (mg *WorkerPool) SetConditions(c ...xpv1.Condition)
- func (mg *WorkerPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *WorkerPool) SetObservation(obs map[string]interface{}) error
- func (tr *WorkerPool) SetParameters(params map[string]interface{}) error
- func (mg *WorkerPool) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *WorkerPool) SetProviderReference(r *xpv1.Reference)
- func (mg *WorkerPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *WorkerPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type WorkerPoolList
- type WorkerPoolObservation
- type WorkerPoolParameters
- type WorkerPoolSpec
- type WorkerPoolStatus
Constants ¶
const ( CRDGroup = "cloudbuild.gcp.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Trigger_Kind = "Trigger" Trigger_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Trigger_Kind}.String() Trigger_KindAPIVersion = Trigger_Kind + "." + CRDGroupVersion.String() Trigger_GroupVersionKind = CRDGroupVersion.WithKind(Trigger_Kind) )
Repository type metadata.
var ( WorkerPool_Kind = "WorkerPool" WorkerPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkerPool_Kind}.String() WorkerPool_KindAPIVersion = WorkerPool_Kind + "." + CRDGroupVersion.String() WorkerPool_GroupVersionKind = CRDGroupVersion.WithKind(WorkerPool_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ApprovalConfigObservation ¶
type ApprovalConfigObservation struct { }
func (*ApprovalConfigObservation) DeepCopy ¶
func (in *ApprovalConfigObservation) DeepCopy() *ApprovalConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalConfigObservation.
func (*ApprovalConfigObservation) DeepCopyInto ¶
func (in *ApprovalConfigObservation) DeepCopyInto(out *ApprovalConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApprovalConfigParameters ¶
type ApprovalConfigParameters struct { // Whether or not approval is needed. If this is set on a build, it will become pending when run, // and will need to be explicitly approved to start. // +kubebuilder:validation:Optional ApprovalRequired *bool `json:"approvalRequired,omitempty" tf:"approval_required,omitempty"` }
func (*ApprovalConfigParameters) DeepCopy ¶
func (in *ApprovalConfigParameters) DeepCopy() *ApprovalConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalConfigParameters.
func (*ApprovalConfigParameters) DeepCopyInto ¶
func (in *ApprovalConfigParameters) DeepCopyInto(out *ApprovalConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArtifactsObservation ¶
type ArtifactsObservation struct { }
func (*ArtifactsObservation) DeepCopy ¶
func (in *ArtifactsObservation) DeepCopy() *ArtifactsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactsObservation.
func (*ArtifactsObservation) DeepCopyInto ¶
func (in *ArtifactsObservation) DeepCopyInto(out *ArtifactsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArtifactsParameters ¶
type ArtifactsParameters struct { // A list of images to be pushed upon the successful completion of all build steps. // // The images will be pushed using the builder service account's credentials. // // The digests of the pushed images will be stored in the Build resource's results field. // // If any of the images fail to be pushed, the build is marked FAILURE. // +kubebuilder:validation:Optional Images []*string `json:"images,omitempty" tf:"images,omitempty"` // A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. // // Files in the workspace matching specified paths globs will be uploaded to the // Cloud Storage location using the builder service account's credentials. // // The location and generation of the uploaded objects will be stored in the Build resource's results field. // // If any objects fail to be pushed, the build is marked FAILURE. // +kubebuilder:validation:Optional Objects []ObjectsParameters `json:"objects,omitempty" tf:"objects,omitempty"` }
func (*ArtifactsParameters) DeepCopy ¶
func (in *ArtifactsParameters) DeepCopy() *ArtifactsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactsParameters.
func (*ArtifactsParameters) DeepCopyInto ¶
func (in *ArtifactsParameters) DeepCopyInto(out *ArtifactsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailableSecretsObservation ¶
type AvailableSecretsObservation struct { }
func (*AvailableSecretsObservation) DeepCopy ¶
func (in *AvailableSecretsObservation) DeepCopy() *AvailableSecretsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableSecretsObservation.
func (*AvailableSecretsObservation) DeepCopyInto ¶
func (in *AvailableSecretsObservation) DeepCopyInto(out *AvailableSecretsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailableSecretsParameters ¶
type AvailableSecretsParameters struct { // Pairs a secret environment variable with a SecretVersion in Secret Manager. // +kubebuilder:validation:Required SecretManager []SecretManagerParameters `json:"secretManager" tf:"secret_manager,omitempty"` }
func (*AvailableSecretsParameters) DeepCopy ¶
func (in *AvailableSecretsParameters) DeepCopy() *AvailableSecretsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableSecretsParameters.
func (*AvailableSecretsParameters) DeepCopyInto ¶
func (in *AvailableSecretsParameters) DeepCopyInto(out *AvailableSecretsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildObservation ¶
type BuildObservation struct { }
func (*BuildObservation) DeepCopy ¶
func (in *BuildObservation) DeepCopy() *BuildObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildObservation.
func (*BuildObservation) DeepCopyInto ¶
func (in *BuildObservation) DeepCopyInto(out *BuildObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildParameters ¶
type BuildParameters struct { // Artifacts produced by the build that should be uploaded upon successful completion of all build steps. // +kubebuilder:validation:Optional Artifacts []ArtifactsParameters `json:"artifacts,omitempty" tf:"artifacts,omitempty"` // Secrets and secret environment variables. // +kubebuilder:validation:Optional AvailableSecrets []AvailableSecretsParameters `json:"availableSecrets,omitempty" tf:"available_secrets,omitempty"` // A list of images to be pushed upon the successful completion of all build steps. // The images are pushed using the builder service account's credentials. // The digests of the pushed images will be stored in the Build resource's results field. // If any of the images fail to be pushed, the build status is marked FAILURE. // +kubebuilder:validation:Optional Images []*string `json:"images,omitempty" tf:"images,omitempty"` // Google Cloud Storage bucket where logs should be written. // Logs file names will be of the format ${logsBucket}/log-${build_id}.txt. // +kubebuilder:validation:Optional LogsBucket *string `json:"logsBucket,omitempty" tf:"logs_bucket,omitempty"` // Special options for this build. // +kubebuilder:validation:Optional Options []OptionsParameters `json:"options,omitempty" tf:"options,omitempty"` // TTL in queue for this build. If provided and the build is enqueued longer than this value, // the build will expire and the build status will be EXPIRED. // The TTL starts ticking from createTime. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional QueueTTL *string `json:"queueTtl,omitempty" tf:"queue_ttl,omitempty"` // Secrets to decrypt using Cloud Key Management Service. // +kubebuilder:validation:Optional Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` // The location of the source files to build. // // One of 'storageSource' or 'repoSource' must be provided. // +kubebuilder:validation:Optional Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"` // The operations to be performed on the workspace. // +kubebuilder:validation:Required Step []StepParameters `json:"step" tf:"step,omitempty"` // Substitutions data for Build resource. // +kubebuilder:validation:Optional Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"` // Tags for annotation of a Build. These are not docker tags. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // Amount of time that this build should be allowed to run, to second granularity. // If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. // This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. // The expected format is the number of seconds followed by s. // Default time is ten minutes (600s). // +kubebuilder:validation:Optional Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"` }
func (*BuildParameters) DeepCopy ¶
func (in *BuildParameters) DeepCopy() *BuildParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildParameters.
func (*BuildParameters) DeepCopyInto ¶
func (in *BuildParameters) DeepCopyInto(out *BuildParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitFileSourceObservation ¶
type GitFileSourceObservation struct { }
func (*GitFileSourceObservation) DeepCopy ¶
func (in *GitFileSourceObservation) DeepCopy() *GitFileSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitFileSourceObservation.
func (*GitFileSourceObservation) DeepCopyInto ¶
func (in *GitFileSourceObservation) DeepCopyInto(out *GitFileSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitFileSourceParameters ¶
type GitFileSourceParameters struct { // The path of the file, with the repo root as the root of the path. // +kubebuilder:validation:Required Path *string `json:"path" tf:"path,omitempty"` // The type of the repo, since it may not be explicit from the repo field (e.g from a URL). // Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB"] // +kubebuilder:validation:Required RepoType *string `json:"repoType" tf:"repo_type,omitempty"` // The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the // filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions // If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path. // +kubebuilder:validation:Optional Revision *string `json:"revision,omitempty" tf:"revision,omitempty"` // The URI of the repo (optional). If unspecified, the repo from which the trigger // invocation originated is assumed to be the repo from which to read the specified path. // +kubebuilder:validation:Optional URI *string `json:"uri,omitempty" tf:"uri,omitempty"` }
func (*GitFileSourceParameters) DeepCopy ¶
func (in *GitFileSourceParameters) DeepCopy() *GitFileSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitFileSourceParameters.
func (*GitFileSourceParameters) DeepCopyInto ¶
func (in *GitFileSourceParameters) DeepCopyInto(out *GitFileSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GithubObservation ¶
type GithubObservation struct { }
func (*GithubObservation) DeepCopy ¶
func (in *GithubObservation) DeepCopy() *GithubObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubObservation.
func (*GithubObservation) DeepCopyInto ¶
func (in *GithubObservation) DeepCopyInto(out *GithubObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GithubParameters ¶
type GithubParameters struct { // Name of the repository. For example: The name for // https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Owner of the repository. For example: The owner for // https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform". // +kubebuilder:validation:Optional Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'. // +kubebuilder:validation:Optional PullRequest []PullRequestParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"` // filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'. // +kubebuilder:validation:Optional Push []PushParameters `json:"push,omitempty" tf:"push,omitempty"` }
func (*GithubParameters) DeepCopy ¶
func (in *GithubParameters) DeepCopy() *GithubParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubParameters.
func (*GithubParameters) DeepCopyInto ¶
func (in *GithubParameters) DeepCopyInto(out *GithubParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigObservation ¶
type NetworkConfigObservation struct { }
func (*NetworkConfigObservation) DeepCopy ¶
func (in *NetworkConfigObservation) DeepCopy() *NetworkConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigObservation.
func (*NetworkConfigObservation) DeepCopyInto ¶
func (in *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfigParameters ¶
type NetworkConfigParameters struct { // Required. 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. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) // +kubebuilder:validation:Required PeeredNetwork *string `json:"peeredNetwork" tf:"peered_network,omitempty"` }
func (*NetworkConfigParameters) DeepCopy ¶
func (in *NetworkConfigParameters) DeepCopy() *NetworkConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigParameters.
func (*NetworkConfigParameters) DeepCopyInto ¶
func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectsObservation ¶
type ObjectsObservation struct {
Timing []TimingObservation `json:"timing,omitempty" tf:"timing,omitempty"`
}
func (*ObjectsObservation) DeepCopy ¶
func (in *ObjectsObservation) DeepCopy() *ObjectsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectsObservation.
func (*ObjectsObservation) DeepCopyInto ¶
func (in *ObjectsObservation) DeepCopyInto(out *ObjectsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectsParameters ¶
type ObjectsParameters struct { // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". // // Files in the workspace matching any path pattern will be uploaded to Cloud Storage with // this location as a prefix. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // Path globs used to match files in the build's workspace. // +kubebuilder:validation:Optional Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"` }
func (*ObjectsParameters) DeepCopy ¶
func (in *ObjectsParameters) DeepCopy() *ObjectsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectsParameters.
func (*ObjectsParameters) DeepCopyInto ¶
func (in *ObjectsParameters) DeepCopyInto(out *ObjectsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OptionsObservation ¶
type OptionsObservation struct { }
func (*OptionsObservation) DeepCopy ¶
func (in *OptionsObservation) DeepCopy() *OptionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsObservation.
func (*OptionsObservation) DeepCopyInto ¶
func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OptionsParameters ¶
type OptionsParameters struct { // Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; // some of the space will be used by the operating system and build utilities. // Also note that this is the minimum disk size that will be allocated for the build -- // the build may run with a larger disk than requested. At present, the maximum disk size // is 1000GB; builds that request more than the maximum are rejected with an error. // +kubebuilder:validation:Optional DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` // Option to specify whether or not to apply bash style string operations to the substitutions. // // NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. // +kubebuilder:validation:Optional DynamicSubstitutions *bool `json:"dynamicSubstitutions,omitempty" tf:"dynamic_substitutions,omitempty"` // A list of global environment variable definitions that will exist for all build steps // in this build. If a variable is defined in both globally and in a build step, // the variable will use the build step value. // // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". // +kubebuilder:validation:Optional Env []*string `json:"env,omitempty" tf:"env,omitempty"` // Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"] // +kubebuilder:validation:Optional LogStreamingOption *string `json:"logStreamingOption,omitempty" tf:"log_streaming_option,omitempty"` // Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "NONE"] // +kubebuilder:validation:Optional Logging *string `json:"logging,omitempty" tf:"logging,omitempty"` // Compute Engine machine type on which to run the build. Possible values: ["UNSPECIFIED", "N1_HIGHCPU_8", "N1_HIGHCPU_32", "E2_HIGHCPU_8", "E2_HIGHCPU_32"] // +kubebuilder:validation:Optional MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"` // Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"] // +kubebuilder:validation:Optional RequestedVerifyOption *string `json:"requestedVerifyOption,omitempty" tf:"requested_verify_option,omitempty"` // A list of global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. // +kubebuilder:validation:Optional SecretEnv []*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"` // Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"] // +kubebuilder:validation:Optional SourceProvenanceHash []*string `json:"sourceProvenanceHash,omitempty" tf:"source_provenance_hash,omitempty"` // Option to specify behavior when there is an error in the substitution checks. // // NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden // in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"] // +kubebuilder:validation:Optional SubstitutionOption *string `json:"substitutionOption,omitempty" tf:"substitution_option,omitempty"` // Global list of volumes to mount for ALL build steps // // Each volume is created as an empty volume prior to starting the build process. // Upon completion of the build, volumes and their contents are discarded. Global // volume names and paths cannot conflict with the volumes defined a build step. // // Using a global volume in a build with only one step is not valid as it is indicative // of a build request with an incorrect configuration. // +kubebuilder:validation:Optional Volumes []VolumesParameters `json:"volumes,omitempty" tf:"volumes,omitempty"` // Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} // // This field is experimental. // +kubebuilder:validation:Optional WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"` }
func (*OptionsParameters) DeepCopy ¶
func (in *OptionsParameters) DeepCopy() *OptionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsParameters.
func (*OptionsParameters) DeepCopyInto ¶
func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PubsubConfigObservation ¶
type PubsubConfigObservation struct { State *string `json:"state,omitempty" tf:"state,omitempty"` Subscription *string `json:"subscription,omitempty" tf:"subscription,omitempty"` }
func (*PubsubConfigObservation) DeepCopy ¶
func (in *PubsubConfigObservation) DeepCopy() *PubsubConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubsubConfigObservation.
func (*PubsubConfigObservation) DeepCopyInto ¶
func (in *PubsubConfigObservation) DeepCopyInto(out *PubsubConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PubsubConfigParameters ¶
type PubsubConfigParameters struct { // Service account that will make the push request. // +kubebuilder:validation:Optional ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"` // The name of the topic from which this subscription is receiving messages. // +kubebuilder:validation:Required Topic *string `json:"topic" tf:"topic,omitempty"` }
func (*PubsubConfigParameters) DeepCopy ¶
func (in *PubsubConfigParameters) DeepCopy() *PubsubConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubsubConfigParameters.
func (*PubsubConfigParameters) DeepCopyInto ¶
func (in *PubsubConfigParameters) DeepCopyInto(out *PubsubConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestObservation ¶
type PullRequestObservation struct { }
func (*PullRequestObservation) DeepCopy ¶
func (in *PullRequestObservation) DeepCopy() *PullRequestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestObservation.
func (*PullRequestObservation) DeepCopyInto ¶
func (in *PullRequestObservation) DeepCopyInto(out *PullRequestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestParameters ¶
type PullRequestParameters struct { // Regex of branches to match. // +kubebuilder:validation:Required Branch *string `json:"branch" tf:"branch,omitempty"` // Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"] // +kubebuilder:validation:Optional CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"` // If true, branches that do NOT match the git_ref will trigger a build. // +kubebuilder:validation:Optional InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"` }
func (*PullRequestParameters) DeepCopy ¶
func (in *PullRequestParameters) DeepCopy() *PullRequestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestParameters.
func (*PullRequestParameters) DeepCopyInto ¶
func (in *PullRequestParameters) DeepCopyInto(out *PullRequestParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushObservation ¶
type PushObservation struct { }
func (*PushObservation) DeepCopy ¶
func (in *PushObservation) DeepCopy() *PushObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushObservation.
func (*PushObservation) DeepCopyInto ¶
func (in *PushObservation) DeepCopyInto(out *PushObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushParameters ¶
type PushParameters struct { // Regex of branches to match. Specify only one of branch or tag. // +kubebuilder:validation:Optional Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // When true, only trigger a build if the revision regex does NOT match the git_ref regex. // +kubebuilder:validation:Optional InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"` // Regex of tags to match. Specify only one of branch or tag. // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` }
func (*PushParameters) DeepCopy ¶
func (in *PushParameters) DeepCopy() *PushParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushParameters.
func (*PushParameters) DeepCopyInto ¶
func (in *PushParameters) DeepCopyInto(out *PushParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoSourceObservation ¶
type RepoSourceObservation struct { }
func (*RepoSourceObservation) DeepCopy ¶
func (in *RepoSourceObservation) DeepCopy() *RepoSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoSourceObservation.
func (*RepoSourceObservation) DeepCopyInto ¶
func (in *RepoSourceObservation) DeepCopyInto(out *RepoSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoSourceParameters ¶
type RepoSourceParameters struct { // Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax // +kubebuilder:validation:Optional BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"` // Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided. // +kubebuilder:validation:Optional CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"` // Directory, relative to the source root, in which to run the build. // This must be a relative path. If a step's dir is specified and is an absolute path, // this value is ignored for that step's execution. // +kubebuilder:validation:Optional Dir *string `json:"dir,omitempty" tf:"dir,omitempty"` // Only trigger a build if the revision regex does NOT match the revision regex. // +kubebuilder:validation:Optional InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"` // ID of the project that owns the Cloud Source Repository. // If omitted, the project ID requesting the build is assumed. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Name of the Cloud Source Repository. // +kubebuilder:validation:Required RepoName *string `json:"repoName" tf:"repo_name,omitempty"` // Substitutions to use in a triggered build. Should only be used with triggers.run // +kubebuilder:validation:Optional Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"` // Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax // +kubebuilder:validation:Optional TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"` }
func (*RepoSourceParameters) DeepCopy ¶
func (in *RepoSourceParameters) DeepCopy() *RepoSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoSourceParameters.
func (*RepoSourceParameters) DeepCopyInto ¶
func (in *RepoSourceParameters) DeepCopyInto(out *RepoSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerObservation ¶
type SecretManagerObservation struct { }
func (*SecretManagerObservation) DeepCopy ¶
func (in *SecretManagerObservation) DeepCopy() *SecretManagerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerObservation.
func (*SecretManagerObservation) DeepCopyInto ¶
func (in *SecretManagerObservation) DeepCopyInto(out *SecretManagerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerParameters ¶
type SecretManagerParameters struct { // Environment variable name to associate with the secret. Secret environment // variables must be unique across all of a build's secrets, and must be used // by at least one build step. // +kubebuilder:validation:Required Env *string `json:"env" tf:"env,omitempty"` // Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/* // +kubebuilder:validation:Required VersionName *string `json:"versionName" tf:"version_name,omitempty"` }
func (*SecretManagerParameters) DeepCopy ¶
func (in *SecretManagerParameters) DeepCopy() *SecretManagerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerParameters.
func (*SecretManagerParameters) DeepCopyInto ¶
func (in *SecretManagerParameters) DeepCopyInto(out *SecretManagerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretObservation ¶
type SecretObservation struct { }
func (*SecretObservation) DeepCopy ¶
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶
type SecretParameters struct { // Cloud KMS key name to use to decrypt these envs. // +kubebuilder:validation:Required KMSKeyName *string `json:"kmsKeyName" tf:"kms_key_name,omitempty"` // Map of environment variable name to its encrypted value. // Secret environment variables must be unique across all of a build's secrets, // and must be used by at least one build step. Values can be at most 64 KB in size. // There can be at most 100 secret values across all of a build's secrets. // +kubebuilder:validation:Optional SecretEnv map[string]*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"` }
func (*SecretParameters) DeepCopy ¶
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceObservation ¶
type SourceObservation struct { }
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct { // Location of the source in a Google Cloud Source Repository. // +kubebuilder:validation:Optional RepoSource []RepoSourceParameters `json:"repoSource,omitempty" tf:"repo_source,omitempty"` // Location of the source in an archive file in Google Cloud Storage. // +kubebuilder:validation:Optional StorageSource []StorageSourceParameters `json:"storageSource,omitempty" tf:"storage_source,omitempty"` }
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceToBuildObservation ¶
type SourceToBuildObservation struct { }
func (*SourceToBuildObservation) DeepCopy ¶
func (in *SourceToBuildObservation) DeepCopy() *SourceToBuildObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceToBuildObservation.
func (*SourceToBuildObservation) DeepCopyInto ¶
func (in *SourceToBuildObservation) DeepCopyInto(out *SourceToBuildObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceToBuildParameters ¶
type SourceToBuildParameters struct { // The branch or tag to use. Must start with "refs/" (required). // +kubebuilder:validation:Required Ref *string `json:"ref" tf:"ref,omitempty"` // The type of the repo, since it may not be explicit from the repo field (e.g from a URL). // Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB"] // +kubebuilder:validation:Required RepoType *string `json:"repoType" tf:"repo_type,omitempty"` // The URI of the repo (required). // +kubebuilder:validation:Required URI *string `json:"uri" tf:"uri,omitempty"` }
func (*SourceToBuildParameters) DeepCopy ¶
func (in *SourceToBuildParameters) DeepCopy() *SourceToBuildParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceToBuildParameters.
func (*SourceToBuildParameters) DeepCopyInto ¶
func (in *SourceToBuildParameters) DeepCopyInto(out *SourceToBuildParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepObservation ¶
type StepObservation struct { }
func (*StepObservation) DeepCopy ¶
func (in *StepObservation) DeepCopy() *StepObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepObservation.
func (*StepObservation) DeepCopyInto ¶
func (in *StepObservation) DeepCopyInto(out *StepObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepParameters ¶
type StepParameters struct { // A list of arguments that will be presented to the step when it is started. // // If the image used to run the step's container has an entrypoint, the args // are used as arguments to that entrypoint. If the image does not define an // entrypoint, the first element in args is used as the entrypoint, and the // remainder will be used as arguments. // +kubebuilder:validation:Optional Args []*string `json:"args,omitempty" tf:"args,omitempty"` // Working directory to use when running this step's container. // // If this value is a relative path, it is relative to the build's working // directory. If this value is absolute, it may be outside the build's working // directory, in which case the contents of the path may not be persisted // across build step executions, unless a 'volume' for that path is specified. // // If the build specifies a 'RepoSource' with 'dir' and a step with a // 'dir', // which specifies an absolute path, the 'RepoSource' 'dir' is ignored // for the step's execution. // +kubebuilder:validation:Optional Dir *string `json:"dir,omitempty" tf:"dir,omitempty"` // Entrypoint to be used instead of the build step image's // default entrypoint. // If unset, the image's default entrypoint is used // +kubebuilder:validation:Optional Entrypoint *string `json:"entrypoint,omitempty" tf:"entrypoint,omitempty"` // A list of environment variable definitions to be used when // running a step. // // The elements are of the form "KEY=VALUE" for the environment variable // "KEY" being given the value "VALUE". // +kubebuilder:validation:Optional Env []*string `json:"env,omitempty" tf:"env,omitempty"` // Unique identifier for this build step, used in 'wait_for' to // reference this build step as a dependency. // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the container image that will run this particular build step. // // If the image is available in the host's Docker daemon's cache, it will be // run directly. If not, the host will attempt to pull the image first, using // the builder service account's credentials if necessary. // // The Docker daemon's cache will already have the latest versions of all of // the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders // for images and examples). // The Docker daemon will also have cached many of the layers for some popular // images, like "ubuntu", "debian", but they will be refreshed at the time // you attempt to use them. // // If you built an image in a previous build step, it will be stored in the // host's Docker daemon's cache and is available to use as the name for a // later build step. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // A list of environment variables which are encrypted using // a Cloud Key // Management Service crypto key. These values must be specified in // the build's 'Secret'. // +kubebuilder:validation:Optional SecretEnv []*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"` // Time limit for executing this build step. If not defined, // the step has no // time limit and will be allowed to continue to run until either it // completes or the build itself times out. // +kubebuilder:validation:Optional Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"` // Output only. Stores timing information for executing this // build step. // +kubebuilder:validation:Optional Timing *string `json:"timing,omitempty" tf:"timing,omitempty"` // List of volumes to mount into the build step. // // Each volume is created as an empty volume prior to execution of the // build step. Upon completion of the build, volumes and their contents // are discarded. // // Using a named volume in only one step is not valid as it is // indicative of a build request with an incorrect configuration. // +kubebuilder:validation:Optional Volumes []StepVolumesParameters `json:"volumes,omitempty" tf:"volumes,omitempty"` // The ID(s) of the step(s) that this build step depends on. // // This build step will not start until all the build steps in 'wait_for' // have completed successfully. If 'wait_for' is empty, this build step // will start when all previous build steps in the 'Build.Steps' list // have completed successfully. // +kubebuilder:validation:Optional WaitFor []*string `json:"waitFor,omitempty" tf:"wait_for,omitempty"` }
func (*StepParameters) DeepCopy ¶
func (in *StepParameters) DeepCopy() *StepParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepParameters.
func (*StepParameters) DeepCopyInto ¶
func (in *StepParameters) DeepCopyInto(out *StepParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepVolumesObservation ¶
type StepVolumesObservation struct { }
func (*StepVolumesObservation) DeepCopy ¶
func (in *StepVolumesObservation) DeepCopy() *StepVolumesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepVolumesObservation.
func (*StepVolumesObservation) DeepCopyInto ¶
func (in *StepVolumesObservation) DeepCopyInto(out *StepVolumesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepVolumesParameters ¶
type StepVolumesParameters struct { // Name of the volume to mount. // // Volume names must be unique per build step and must be valid names for // Docker volumes. Each named volume must be used by at least two build steps. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Path at which to mount the volume. // // Paths must be absolute and cannot conflict with other volume paths on // the same build step or with certain reserved volume paths. // +kubebuilder:validation:Required Path *string `json:"path" tf:"path,omitempty"` }
func (*StepVolumesParameters) DeepCopy ¶
func (in *StepVolumesParameters) DeepCopy() *StepVolumesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepVolumesParameters.
func (*StepVolumesParameters) DeepCopyInto ¶
func (in *StepVolumesParameters) DeepCopyInto(out *StepVolumesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSourceObservation ¶
type StorageSourceObservation struct { }
func (*StorageSourceObservation) DeepCopy ¶
func (in *StorageSourceObservation) DeepCopy() *StorageSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSourceObservation.
func (*StorageSourceObservation) DeepCopyInto ¶
func (in *StorageSourceObservation) DeepCopyInto(out *StorageSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSourceParameters ¶
type StorageSourceParameters struct { // Google Cloud Storage bucket containing the source. // +kubebuilder:validation:Required Bucket *string `json:"bucket" tf:"bucket,omitempty"` // Google Cloud Storage generation for the object. // If the generation is omitted, the latest generation will be used // +kubebuilder:validation:Optional Generation *string `json:"generation,omitempty" tf:"generation,omitempty"` // Google Cloud Storage object containing the source. // This object must be a gzipped archive file (.tar.gz) containing source to build. // +kubebuilder:validation:Required Object *string `json:"object" tf:"object,omitempty"` }
func (*StorageSourceParameters) DeepCopy ¶
func (in *StorageSourceParameters) DeepCopy() *StorageSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSourceParameters.
func (*StorageSourceParameters) DeepCopyInto ¶
func (in *StorageSourceParameters) DeepCopyInto(out *StorageSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimingObservation ¶
type TimingObservation struct { EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*TimingObservation) DeepCopy ¶
func (in *TimingObservation) DeepCopy() *TimingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimingObservation.
func (*TimingObservation) DeepCopyInto ¶
func (in *TimingObservation) DeepCopyInto(out *TimingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimingParameters ¶
type TimingParameters struct { }
func (*TimingParameters) DeepCopy ¶
func (in *TimingParameters) DeepCopy() *TimingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimingParameters.
func (*TimingParameters) DeepCopyInto ¶
func (in *TimingParameters) DeepCopyInto(out *TimingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TriggerSpec `json:"spec"` Status TriggerStatus `json:"status,omitempty"` }
Trigger is the Schema for the Triggers API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Trigger) GetCondition ¶
func (mg *Trigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Trigger.
func (*Trigger) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Trigger
func (*Trigger) GetDeletionPolicy ¶
func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Trigger.
func (*Trigger) GetObservation ¶
GetObservation of this Trigger
func (*Trigger) GetParameters ¶
GetParameters of this Trigger
func (*Trigger) GetProviderConfigReference ¶
GetProviderConfigReference of this Trigger.
func (*Trigger) GetProviderReference ¶
GetProviderReference of this Trigger. Deprecated: Use GetProviderConfigReference.
func (*Trigger) GetPublishConnectionDetailsTo ¶
func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Trigger.
func (*Trigger) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Trigger
func (*Trigger) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Trigger) GetWriteConnectionSecretToReference ¶
func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Trigger.
func (*Trigger) LateInitialize ¶
LateInitialize this Trigger using its observed tfState. returns True if there are any spec changes for the resource.
func (*Trigger) SetConditions ¶
SetConditions of this Trigger.
func (*Trigger) SetDeletionPolicy ¶
func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Trigger.
func (*Trigger) SetObservation ¶
SetObservation for this Trigger
func (*Trigger) SetParameters ¶
SetParameters for this Trigger
func (*Trigger) SetProviderConfigReference ¶
SetProviderConfigReference of this Trigger.
func (*Trigger) SetProviderReference ¶
SetProviderReference of this Trigger. Deprecated: Use SetProviderConfigReference.
func (*Trigger) SetPublishConnectionDetailsTo ¶
func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Trigger.
func (*Trigger) SetWriteConnectionSecretToReference ¶
func (mg *Trigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Trigger.
type TriggerList ¶
type TriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Trigger `json:"items"` }
TriggerList contains a list of Triggers
func (*TriggerList) DeepCopy ¶
func (in *TriggerList) DeepCopy() *TriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerList.
func (*TriggerList) DeepCopyInto ¶
func (in *TriggerList) DeepCopyInto(out *TriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerList) DeepCopyObject ¶
func (in *TriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TriggerList) GetItems ¶
func (l *TriggerList) GetItems() []resource.Managed
GetItems of this TriggerList.
type TriggerObservation ¶
type TriggerObservation struct { CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` TriggerID *string `json:"triggerId,omitempty" tf:"trigger_id,omitempty"` }
func (*TriggerObservation) DeepCopy ¶
func (in *TriggerObservation) DeepCopy() *TriggerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObservation.
func (*TriggerObservation) DeepCopyInto ¶
func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerParameters ¶
type TriggerParameters struct { // Configuration for manual approval to start a build invocation of this BuildTrigger. // Builds created by this trigger will require approval before they execute. // Any user with a Cloud Build Approver role for the project can approve a build. // +kubebuilder:validation:Optional ApprovalConfig []ApprovalConfigParameters `json:"approvalConfig,omitempty" tf:"approval_config,omitempty"` // Contents of the build template. Either a filename or build template must be provided. // +kubebuilder:validation:Optional Build []BuildParameters `json:"build,omitempty" tf:"build,omitempty"` // Human-readable description of the trigger. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Whether the trigger is disabled or not. If true, the trigger will never result in a build. // +kubebuilder:validation:Optional Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // Path, from the source root, to a file whose contents is used for the template. // Either a filename or build template must be provided. Set this only when using trigger_template or github. // When using Pub/Sub, Webhook or Manual set the file name using git_file_source instead. // +kubebuilder:validation:Optional Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` // A Common Expression Language string. Used only with Pub/Sub and Webhook. // +kubebuilder:validation:Optional Filter *string `json:"filter,omitempty" tf:"filter,omitempty"` // The file source describing the local or remote Build template. // +kubebuilder:validation:Optional GitFileSource []GitFileSourceParameters `json:"gitFileSource,omitempty" tf:"git_file_source,omitempty"` // Describes the configuration of a trigger that creates a build whenever a GitHub event is received. // // One of 'trigger_template', 'github', 'pubsub_config' or 'webhook_config' must be provided. // +kubebuilder:validation:Optional Github []GithubParameters `json:"github,omitempty" tf:"github,omitempty"` // ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match // extended with support for '**'. // // If ignoredFiles and changed files are both empty, then they are not // used to determine whether or not to trigger a build. // // If ignoredFiles is not empty, then we ignore any files that match any // of the ignored_file globs. If the change has no files that are outside // of the ignoredFiles globs, then we do not trigger a build. // +kubebuilder:validation:Optional IgnoredFiles []*string `json:"ignoredFiles,omitempty" tf:"ignored_files,omitempty"` // ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match // extended with support for '**'. // // If any of the files altered in the commit pass the ignoredFiles filter // and includedFiles is empty, then as far as this filter is concerned, we // should trigger the build. // // If any of the files altered in the commit pass the ignoredFiles filter // and includedFiles is not empty, then we make sure that at least one of // those files matches a includedFiles glob. If not, then we do not trigger // a build. // +kubebuilder:validation:Optional IncludedFiles []*string `json:"includedFiles,omitempty" tf:"included_files,omitempty"` // Name of the trigger. Must be unique within the project. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // PubsubConfig describes the configuration of a trigger that creates // a build whenever a Pub/Sub message is published. // // One of 'trigger_template', 'github', 'pubsub_config' 'webhook_config' or 'source_to_build' must be provided. // +kubebuilder:validation:Optional PubsubConfig []PubsubConfigParameters `json:"pubsubConfig,omitempty" tf:"pubsub_config,omitempty"` // The service account used for all user-controlled operations including // triggers.patch, triggers.run, builds.create, and builds.cancel. // // If no service account is set, then the standard Cloud Build service account // ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. // // Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL} // +kubebuilder:validation:Optional ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"` // The repo and ref of the repository from which to build. // This field is used only for those triggers that do not respond to SCM events. // Triggers that respond to such events build source at whatever commit caused the event. // This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers. // // One of 'trigger_template', 'github', 'pubsub_config' 'webhook_config' or 'source_to_build' must be provided. // +kubebuilder:validation:Optional SourceToBuild []SourceToBuildParameters `json:"sourceToBuild,omitempty" tf:"source_to_build,omitempty"` // Substitutions data for Build resource. // +kubebuilder:validation:Optional Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"` // Tags for annotation of a BuildTrigger // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // Template describing the types of source changes to trigger a build. // // Branch and tag names in trigger templates are interpreted as regular // expressions. Any branch or tag change that matches that regular // expression will trigger a build. // // One of 'trigger_template', 'github', 'pubsub_config', 'webhook_config' or 'source_to_build' must be provided. // +kubebuilder:validation:Optional TriggerTemplate []TriggerTemplateParameters `json:"triggerTemplate,omitempty" tf:"trigger_template,omitempty"` // WebhookConfig describes the configuration of a trigger that creates // a build whenever a webhook is sent to a trigger's webhook URL. // // One of 'trigger_template', 'github', 'pubsub_config' 'webhook_config' or 'source_to_build' must be provided. // +kubebuilder:validation:Optional WebhookConfig []WebhookConfigParameters `json:"webhookConfig,omitempty" tf:"webhook_config,omitempty"` }
func (*TriggerParameters) DeepCopy ¶
func (in *TriggerParameters) DeepCopy() *TriggerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameters.
func (*TriggerParameters) DeepCopyInto ¶
func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerSpec ¶
type TriggerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TriggerParameters `json:"forProvider"` }
TriggerSpec defines the desired state of Trigger
func (*TriggerSpec) DeepCopy ¶
func (in *TriggerSpec) DeepCopy() *TriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpec.
func (*TriggerSpec) DeepCopyInto ¶
func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerStatus ¶
type TriggerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TriggerObservation `json:"atProvider,omitempty"` }
TriggerStatus defines the observed state of Trigger.
func (*TriggerStatus) DeepCopy ¶
func (in *TriggerStatus) DeepCopy() *TriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStatus.
func (*TriggerStatus) DeepCopyInto ¶
func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerTemplateObservation ¶
type TriggerTemplateObservation struct { }
func (*TriggerTemplateObservation) DeepCopy ¶
func (in *TriggerTemplateObservation) DeepCopy() *TriggerTemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplateObservation.
func (*TriggerTemplateObservation) DeepCopyInto ¶
func (in *TriggerTemplateObservation) DeepCopyInto(out *TriggerTemplateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerTemplateParameters ¶
type TriggerTemplateParameters struct { // Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. // This field is a regular expression. // +kubebuilder:validation:Optional BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"` // Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided. // +kubebuilder:validation:Optional CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"` // Directory, relative to the source root, in which to run the build. // // This must be a relative path. If a step's dir is specified and // is an absolute path, this value is ignored for that step's // execution. // +kubebuilder:validation:Optional Dir *string `json:"dir,omitempty" tf:"dir,omitempty"` // Only trigger a build if the revision regex does NOT match the revision regex. // +kubebuilder:validation:Optional InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"` // ID of the project that owns the Cloud Source Repository. If // omitted, the project ID requesting the build is assumed. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Name of the Cloud Source Repository. If omitted, the name "default" is assumed. // +kubebuilder:validation:Optional RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"` // Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. // This field is a regular expression. // +kubebuilder:validation:Optional TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"` }
func (*TriggerTemplateParameters) DeepCopy ¶
func (in *TriggerTemplateParameters) DeepCopy() *TriggerTemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplateParameters.
func (*TriggerTemplateParameters) DeepCopyInto ¶
func (in *TriggerTemplateParameters) DeepCopyInto(out *TriggerTemplateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesObservation ¶
type VolumesObservation struct { }
func (*VolumesObservation) DeepCopy ¶
func (in *VolumesObservation) DeepCopy() *VolumesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesObservation.
func (*VolumesObservation) DeepCopyInto ¶
func (in *VolumesObservation) DeepCopyInto(out *VolumesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesParameters ¶
type VolumesParameters struct { // Name of the volume to mount. // // Volume names must be unique per build step and must be valid names for Docker volumes. // Each named volume must be used by at least two build steps. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Path at which to mount the volume. // // Paths must be absolute and cannot conflict with other volume paths on the same // build step or with certain reserved volume paths. // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*VolumesParameters) DeepCopy ¶
func (in *VolumesParameters) DeepCopy() *VolumesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesParameters.
func (*VolumesParameters) DeepCopyInto ¶
func (in *VolumesParameters) DeepCopyInto(out *VolumesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConfigObservation ¶
type WebhookConfigObservation struct {
State *string `json:"state,omitempty" tf:"state,omitempty"`
}
func (*WebhookConfigObservation) DeepCopy ¶
func (in *WebhookConfigObservation) DeepCopy() *WebhookConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfigObservation.
func (*WebhookConfigObservation) DeepCopyInto ¶
func (in *WebhookConfigObservation) DeepCopyInto(out *WebhookConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConfigParameters ¶
type WebhookConfigParameters struct { // Resource name for the secret required as a URL parameter. // +kubebuilder:validation:Required Secret *string `json:"secret" tf:"secret,omitempty"` }
func (*WebhookConfigParameters) DeepCopy ¶
func (in *WebhookConfigParameters) DeepCopy() *WebhookConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfigParameters.
func (*WebhookConfigParameters) DeepCopyInto ¶
func (in *WebhookConfigParameters) DeepCopyInto(out *WebhookConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerConfigObservation ¶
type WorkerConfigObservation struct { }
func (*WorkerConfigObservation) DeepCopy ¶
func (in *WorkerConfigObservation) DeepCopy() *WorkerConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerConfigObservation.
func (*WorkerConfigObservation) DeepCopyInto ¶
func (in *WorkerConfigObservation) DeepCopyInto(out *WorkerConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerConfigParameters ¶
type WorkerConfigParameters struct { // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. // +kubebuilder:validation:Optional DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` // Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. // +kubebuilder:validation:Optional MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"` // If true, workers are created without any public address, which prevents network egress to public IPs. // +kubebuilder:validation:Optional NoExternalIP *bool `json:"noExternalIp,omitempty" tf:"no_external_ip,omitempty"` }
func (*WorkerConfigParameters) DeepCopy ¶
func (in *WorkerConfigParameters) DeepCopy() *WorkerConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerConfigParameters.
func (*WorkerConfigParameters) DeepCopyInto ¶
func (in *WorkerConfigParameters) DeepCopyInto(out *WorkerConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerPool ¶
type WorkerPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WorkerPoolSpec `json:"spec"` Status WorkerPoolStatus `json:"status,omitempty"` }
WorkerPool is the Schema for the WorkerPools API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}
func (*WorkerPool) DeepCopy ¶
func (in *WorkerPool) DeepCopy() *WorkerPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPool.
func (*WorkerPool) DeepCopyInto ¶
func (in *WorkerPool) DeepCopyInto(out *WorkerPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerPool) DeepCopyObject ¶
func (in *WorkerPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkerPool) GetCondition ¶
func (mg *WorkerPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this WorkerPool.
func (*WorkerPool) GetConnectionDetailsMapping ¶
func (tr *WorkerPool) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this WorkerPool
func (*WorkerPool) GetDeletionPolicy ¶
func (mg *WorkerPool) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this WorkerPool.
func (*WorkerPool) GetID ¶
func (tr *WorkerPool) GetID() string
GetID returns ID of underlying Terraform resource of this WorkerPool
func (*WorkerPool) GetObservation ¶
func (tr *WorkerPool) GetObservation() (map[string]interface{}, error)
GetObservation of this WorkerPool
func (*WorkerPool) GetParameters ¶
func (tr *WorkerPool) GetParameters() (map[string]interface{}, error)
GetParameters of this WorkerPool
func (*WorkerPool) GetProviderConfigReference ¶
func (mg *WorkerPool) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this WorkerPool.
func (*WorkerPool) GetProviderReference ¶
func (mg *WorkerPool) GetProviderReference() *xpv1.Reference
GetProviderReference of this WorkerPool. Deprecated: Use GetProviderConfigReference.
func (*WorkerPool) GetPublishConnectionDetailsTo ¶
func (mg *WorkerPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this WorkerPool.
func (*WorkerPool) GetTerraformResourceType ¶
func (mg *WorkerPool) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this WorkerPool
func (*WorkerPool) GetTerraformSchemaVersion ¶
func (tr *WorkerPool) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*WorkerPool) GetWriteConnectionSecretToReference ¶
func (mg *WorkerPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this WorkerPool.
func (*WorkerPool) LateInitialize ¶
func (tr *WorkerPool) LateInitialize(attrs []byte) (bool, error)
LateInitialize this WorkerPool using its observed tfState. returns True if there are any spec changes for the resource.
func (*WorkerPool) SetConditions ¶
func (mg *WorkerPool) SetConditions(c ...xpv1.Condition)
SetConditions of this WorkerPool.
func (*WorkerPool) SetDeletionPolicy ¶
func (mg *WorkerPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this WorkerPool.
func (*WorkerPool) SetObservation ¶
func (tr *WorkerPool) SetObservation(obs map[string]interface{}) error
SetObservation for this WorkerPool
func (*WorkerPool) SetParameters ¶
func (tr *WorkerPool) SetParameters(params map[string]interface{}) error
SetParameters for this WorkerPool
func (*WorkerPool) SetProviderConfigReference ¶
func (mg *WorkerPool) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this WorkerPool.
func (*WorkerPool) SetProviderReference ¶
func (mg *WorkerPool) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this WorkerPool. Deprecated: Use SetProviderConfigReference.
func (*WorkerPool) SetPublishConnectionDetailsTo ¶
func (mg *WorkerPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this WorkerPool.
func (*WorkerPool) SetWriteConnectionSecretToReference ¶
func (mg *WorkerPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this WorkerPool.
type WorkerPoolList ¶
type WorkerPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WorkerPool `json:"items"` }
WorkerPoolList contains a list of WorkerPools
func (*WorkerPoolList) DeepCopy ¶
func (in *WorkerPoolList) DeepCopy() *WorkerPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolList.
func (*WorkerPoolList) DeepCopyInto ¶
func (in *WorkerPoolList) DeepCopyInto(out *WorkerPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerPoolList) DeepCopyObject ¶
func (in *WorkerPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkerPoolList) GetItems ¶
func (l *WorkerPoolList) GetItems() []resource.Managed
GetItems of this WorkerPoolList.
type WorkerPoolObservation ¶
type WorkerPoolObservation struct { CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` DeleteTime *string `json:"deleteTime,omitempty" tf:"delete_time,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` State *string `json:"state,omitempty" tf:"state,omitempty"` UID *string `json:"uid,omitempty" tf:"uid,omitempty"` UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` }
func (*WorkerPoolObservation) DeepCopy ¶
func (in *WorkerPoolObservation) DeepCopy() *WorkerPoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolObservation.
func (*WorkerPoolObservation) DeepCopyInto ¶
func (in *WorkerPoolObservation) DeepCopyInto(out *WorkerPoolObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerPoolParameters ¶
type WorkerPoolParameters struct { // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. // +kubebuilder:validation:Optional Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` // A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // The location for the resource // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // User-defined name of the `WorkerPool`. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Network configuration for the `WorkerPool`. // +kubebuilder:validation:Optional NetworkConfig []NetworkConfigParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"` // The project for the resource // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Configuration to be used for a creating workers in the `WorkerPool`. // +kubebuilder:validation:Optional WorkerConfig []WorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"` }
func (*WorkerPoolParameters) DeepCopy ¶
func (in *WorkerPoolParameters) DeepCopy() *WorkerPoolParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolParameters.
func (*WorkerPoolParameters) DeepCopyInto ¶
func (in *WorkerPoolParameters) DeepCopyInto(out *WorkerPoolParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerPoolSpec ¶
type WorkerPoolSpec struct { v1.ResourceSpec `json:",inline"` ForProvider WorkerPoolParameters `json:"forProvider"` }
WorkerPoolSpec defines the desired state of WorkerPool
func (*WorkerPoolSpec) DeepCopy ¶
func (in *WorkerPoolSpec) DeepCopy() *WorkerPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolSpec.
func (*WorkerPoolSpec) DeepCopyInto ¶
func (in *WorkerPoolSpec) DeepCopyInto(out *WorkerPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerPoolStatus ¶
type WorkerPoolStatus struct { v1.ResourceStatus `json:",inline"` AtProvider WorkerPoolObservation `json:"atProvider,omitempty"` }
WorkerPoolStatus defines the observed state of WorkerPool.
func (*WorkerPoolStatus) DeepCopy ¶
func (in *WorkerPoolStatus) DeepCopy() *WorkerPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolStatus.
func (*WorkerPoolStatus) DeepCopyInto ¶
func (in *WorkerPoolStatus) DeepCopyInto(out *WorkerPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.