v1beta1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudbuild.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cloudbuild.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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.

View Source
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 ApprovalConfigInitParameters added in v0.35.0

type ApprovalConfigInitParameters 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.
	ApprovalRequired *bool `json:"approvalRequired,omitempty" tf:"approval_required,omitempty"`
}

func (*ApprovalConfigInitParameters) DeepCopy added in v0.35.0

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

func (*ApprovalConfigInitParameters) DeepCopyInto added in v0.35.0

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

type ApprovalConfigObservation

type ApprovalConfigObservation 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.
	ApprovalRequired *bool `json:"approvalRequired,omitempty" tf:"approval_required,omitempty"`
}

func (*ApprovalConfigObservation) DeepCopy

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

func (*ApprovalConfigObservation) DeepCopyInto

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

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 ArtifactsInitParameters added in v0.35.0

type ArtifactsInitParameters struct {

	// 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.
	Images []*string `json:"images,omitempty" tf:"images,omitempty"`

	// A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	MavenArtifacts []MavenArtifactsInitParameters `json:"mavenArtifacts,omitempty" tf:"maven_artifacts,omitempty"`

	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	NpmPackages []NpmPackagesInitParameters `json:"npmPackages,omitempty" tf:"npm_packages,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.
	// Structure is documented below.
	Objects []ObjectsInitParameters `json:"objects,omitempty" tf:"objects,omitempty"`

	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	// 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.
	// Structure is documented below.
	PythonPackages []PythonPackagesInitParameters `json:"pythonPackages,omitempty" tf:"python_packages,omitempty"`
}

func (*ArtifactsInitParameters) DeepCopy added in v0.35.0

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

func (*ArtifactsInitParameters) DeepCopyInto added in v0.35.0

func (in *ArtifactsInitParameters) DeepCopyInto(out *ArtifactsInitParameters)

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

type ArtifactsObservation

type ArtifactsObservation struct {

	// 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.
	Images []*string `json:"images,omitempty" tf:"images,omitempty"`

	// A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	MavenArtifacts []MavenArtifactsObservation `json:"mavenArtifacts,omitempty" tf:"maven_artifacts,omitempty"`

	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	NpmPackages []NpmPackagesObservation `json:"npmPackages,omitempty" tf:"npm_packages,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.
	// Structure is documented below.
	Objects []ObjectsObservation `json:"objects,omitempty" tf:"objects,omitempty"`

	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	// 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.
	// Structure is documented below.
	PythonPackages []PythonPackagesObservation `json:"pythonPackages,omitempty" tf:"python_packages,omitempty"`
}

func (*ArtifactsObservation) DeepCopy

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

	// A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	MavenArtifacts []MavenArtifactsParameters `json:"mavenArtifacts,omitempty" tf:"maven_artifacts,omitempty"`

	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	NpmPackages []NpmPackagesParameters `json:"npmPackages,omitempty" tf:"npm_packages,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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Objects []ObjectsParameters `json:"objects,omitempty" tf:"objects,omitempty"`

	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PythonPackages []PythonPackagesParameters `json:"pythonPackages,omitempty" tf:"python_packages,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 AvailableSecretsInitParameters added in v0.35.0

type AvailableSecretsInitParameters struct {

	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	// Structure is documented below.
	SecretManager []SecretManagerInitParameters `json:"secretManager,omitempty" tf:"secret_manager,omitempty"`
}

func (*AvailableSecretsInitParameters) DeepCopy added in v0.35.0

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

func (*AvailableSecretsInitParameters) DeepCopyInto added in v0.35.0

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

type AvailableSecretsObservation

type AvailableSecretsObservation struct {

	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	// Structure is documented below.
	SecretManager []SecretManagerObservation `json:"secretManager,omitempty" tf:"secret_manager,omitempty"`
}

func (*AvailableSecretsObservation) DeepCopy

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

func (*AvailableSecretsObservation) DeepCopyInto

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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SecretManager []SecretManagerParameters `json:"secretManager" tf:"secret_manager,omitempty"`
}

func (*AvailableSecretsParameters) DeepCopy

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

func (*AvailableSecretsParameters) DeepCopyInto

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

type BitbucketServerTriggerConfigInitParameters added in v0.35.0

type BitbucketServerTriggerConfigInitParameters struct {

	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource *string `json:"bitbucketServerConfigResource,omitempty" tf:"bitbucket_server_config_resource,omitempty"`

	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Filter to match changes in pull requests.
	// Structure is documented below.
	PullRequest []PullRequestInitParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Filter to match changes in refs like branches, tags.
	// Structure is documented below.
	Push []PushInitParameters `json:"push,omitempty" tf:"push,omitempty"`

	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug *string `json:"repoSlug,omitempty" tf:"repo_slug,omitempty"`
}

func (*BitbucketServerTriggerConfigInitParameters) DeepCopy added in v0.35.0

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

func (*BitbucketServerTriggerConfigInitParameters) DeepCopyInto added in v0.35.0

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

type BitbucketServerTriggerConfigObservation added in v0.29.0

type BitbucketServerTriggerConfigObservation struct {

	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource *string `json:"bitbucketServerConfigResource,omitempty" tf:"bitbucket_server_config_resource,omitempty"`

	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Filter to match changes in pull requests.
	// Structure is documented below.
	PullRequest []PullRequestObservation `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Filter to match changes in refs like branches, tags.
	// Structure is documented below.
	Push []PushObservation `json:"push,omitempty" tf:"push,omitempty"`

	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug *string `json:"repoSlug,omitempty" tf:"repo_slug,omitempty"`
}

func (*BitbucketServerTriggerConfigObservation) DeepCopy added in v0.29.0

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

func (*BitbucketServerTriggerConfigObservation) DeepCopyInto added in v0.29.0

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

type BitbucketServerTriggerConfigParameters added in v0.29.0

type BitbucketServerTriggerConfigParameters struct {

	// The Bitbucket server config resource that this trigger config maps to.
	// +kubebuilder:validation:Optional
	BitbucketServerConfigResource *string `json:"bitbucketServerConfigResource" tf:"bitbucket_server_config_resource,omitempty"`

	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey" tf:"project_key,omitempty"`

	// Filter to match changes in pull requests.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PullRequest []PullRequestParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Filter to match changes in refs like branches, tags.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Push []PushParameters `json:"push,omitempty" tf:"push,omitempty"`

	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	// +kubebuilder:validation:Optional
	RepoSlug *string `json:"repoSlug" tf:"repo_slug,omitempty"`
}

func (*BitbucketServerTriggerConfigParameters) DeepCopy added in v0.29.0

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

func (*BitbucketServerTriggerConfigParameters) DeepCopyInto added in v0.29.0

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

type BuildInitParameters added in v0.35.0

type BuildInitParameters struct {

	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	// Structure is documented below.
	Artifacts []ArtifactsInitParameters `json:"artifacts,omitempty" tf:"artifacts,omitempty"`

	// Secrets and secret environment variables.
	// Structure is documented below.
	AvailableSecrets []AvailableSecretsInitParameters `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.
	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.
	LogsBucket *string `json:"logsBucket,omitempty" tf:"logs_bucket,omitempty"`

	// Special options for this build.
	// Structure is documented below.
	Options []OptionsInitParameters `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".
	QueueTTL *string `json:"queueTtl,omitempty" tf:"queue_ttl,omitempty"`

	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secret []SecretInitParameters `json:"secret,omitempty" tf:"secret,omitempty"`

	// The location of the source files to build.
	// One of storageSource or repoSource must be provided.
	// Structure is documented below.
	Source []SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"`

	// The operations to be performed on the workspace.
	// Structure is documented below.
	Step []StepInitParameters `json:"step,omitempty" tf:"step,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"`

	// Tags for annotation of a Build. These are not docker tags.
	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).
	Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

func (*BuildInitParameters) DeepCopy added in v0.35.0

func (in *BuildInitParameters) DeepCopy() *BuildInitParameters

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

func (*BuildInitParameters) DeepCopyInto added in v0.35.0

func (in *BuildInitParameters) DeepCopyInto(out *BuildInitParameters)

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

type BuildObservation

type BuildObservation struct {

	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	// Structure is documented below.
	Artifacts []ArtifactsObservation `json:"artifacts,omitempty" tf:"artifacts,omitempty"`

	// Secrets and secret environment variables.
	// Structure is documented below.
	AvailableSecrets []AvailableSecretsObservation `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.
	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.
	LogsBucket *string `json:"logsBucket,omitempty" tf:"logs_bucket,omitempty"`

	// Special options for this build.
	// Structure is documented below.
	Options []OptionsObservation `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".
	QueueTTL *string `json:"queueTtl,omitempty" tf:"queue_ttl,omitempty"`

	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secret []SecretObservation `json:"secret,omitempty" tf:"secret,omitempty"`

	// The location of the source files to build.
	// One of storageSource or repoSource must be provided.
	// Structure is documented below.
	Source []SourceObservation `json:"source,omitempty" tf:"source,omitempty"`

	// The operations to be performed on the workspace.
	// Structure is documented below.
	Step []StepObservation `json:"step,omitempty" tf:"step,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"`

	// Tags for annotation of a Build. These are not docker tags.
	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).
	Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Artifacts []ArtifactsParameters `json:"artifacts,omitempty" tf:"artifacts,omitempty"`

	// Secrets and secret environment variables.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"`

	// The operations to be performed on the workspace.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Step []StepParameters `json:"step" tf:"step,omitempty"`

	// Substitutions data for Build resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	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 GitFileSourceInitParameters added in v0.35.0

type GitFileSourceInitParameters struct {

	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The path of the file, with the repo root as the root of the path.
	Path *string `json:"path,omitempty" 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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	RepoType *string `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename . 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.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The URI of the repo . If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*GitFileSourceInitParameters) DeepCopy added in v0.35.0

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

func (*GitFileSourceInitParameters) DeepCopyInto added in v0.35.0

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

type GitFileSourceObservation

type GitFileSourceObservation struct {

	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The path of the file, with the repo root as the root of the path.
	Path *string `json:"path,omitempty" 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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	RepoType *string `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename . 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.
	Revision *string `json:"revision,omitempty" tf:"revision,omitempty"`

	// The URI of the repo . If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*GitFileSourceObservation) DeepCopy

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 full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	// +kubebuilder:validation:Optional
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	// +kubebuilder:validation:Optional
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The path of the file, with the repo root as the root of the path.
	// +kubebuilder:validation:Optional
	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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	// +kubebuilder:validation:Optional
	RepoType *string `json:"repoType" tf:"repo_type,omitempty"`

	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// 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
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename . 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 . 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

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 GithubInitParameters added in v0.35.0

type GithubInitParameters struct {

	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName *string `json:"enterpriseConfigResourceName,omitempty" tf:"enterprise_config_resource_name,omitempty"`

	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	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".
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// filter to match changes in pull requests. Specify only one of pull_request or push.
	// Structure is documented below.
	PullRequest []GithubPullRequestInitParameters `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.
	// Structure is documented below.
	Push []GithubPushInitParameters `json:"push,omitempty" tf:"push,omitempty"`
}

func (*GithubInitParameters) DeepCopy added in v0.35.0

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

func (*GithubInitParameters) DeepCopyInto added in v0.35.0

func (in *GithubInitParameters) DeepCopyInto(out *GithubInitParameters)

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

type GithubObservation

type GithubObservation struct {

	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName *string `json:"enterpriseConfigResourceName,omitempty" tf:"enterprise_config_resource_name,omitempty"`

	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	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".
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// filter to match changes in pull requests. Specify only one of pull_request or push.
	// Structure is documented below.
	PullRequest []GithubPullRequestObservation `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.
	// Structure is documented below.
	Push []GithubPushObservation `json:"push,omitempty" tf:"push,omitempty"`
}

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 {

	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	// +kubebuilder:validation:Optional
	EnterpriseConfigResourceName *string `json:"enterpriseConfigResourceName,omitempty" tf:"enterprise_config_resource_name,omitempty"`

	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PullRequest []GithubPullRequestParameters `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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Push []GithubPushParameters `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 GithubPullRequestInitParameters added in v0.35.0

type GithubPullRequestInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*GithubPullRequestInitParameters) DeepCopy added in v0.35.0

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

func (*GithubPullRequestInitParameters) DeepCopyInto added in v0.35.0

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

type GithubPullRequestObservation added in v0.29.0

type GithubPullRequestObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*GithubPullRequestObservation) DeepCopy added in v0.29.0

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

func (*GithubPullRequestObservation) DeepCopyInto added in v0.29.0

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

type GithubPullRequestParameters added in v0.29.0

type GithubPullRequestParameters struct {

	// Regex of branches to match.
	// 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
	Branch *string `json:"branch" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	// +kubebuilder:validation:Optional
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,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"`
}

func (*GithubPullRequestParameters) DeepCopy added in v0.29.0

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

func (*GithubPullRequestParameters) DeepCopyInto added in v0.29.0

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

type GithubPushInitParameters added in v0.35.0

type GithubPushInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*GithubPushInitParameters) DeepCopy added in v0.35.0

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

func (*GithubPushInitParameters) DeepCopyInto added in v0.35.0

func (in *GithubPushInitParameters) DeepCopyInto(out *GithubPushInitParameters)

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

type GithubPushObservation added in v0.29.0

type GithubPushObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*GithubPushObservation) DeepCopy added in v0.29.0

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

func (*GithubPushObservation) DeepCopyInto added in v0.29.0

func (in *GithubPushObservation) DeepCopyInto(out *GithubPushObservation)

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

type GithubPushParameters added in v0.29.0

type GithubPushParameters struct {

	// Regex of branches to match.
	// 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
	Branch *string `json:"branch,omitempty" tf:"branch,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"`

	// Regex of tags to match.
	// 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
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*GithubPushParameters) DeepCopy added in v0.29.0

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

func (*GithubPushParameters) DeepCopyInto added in v0.29.0

func (in *GithubPushParameters) DeepCopyInto(out *GithubPushParameters)

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

type MavenArtifactsInitParameters added in v1.0.0

type MavenArtifactsInitParameters struct {

	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactID *string `json:"artifactId,omitempty" tf:"artifact_id,omitempty"`

	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Maven version value used when uploading the artifact to Artifact Registry.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MavenArtifactsInitParameters) DeepCopy added in v1.0.0

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

func (*MavenArtifactsInitParameters) DeepCopyInto added in v1.0.0

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

type MavenArtifactsObservation added in v1.0.0

type MavenArtifactsObservation struct {

	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactID *string `json:"artifactId,omitempty" tf:"artifact_id,omitempty"`

	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Maven version value used when uploading the artifact to Artifact Registry.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MavenArtifactsObservation) DeepCopy added in v1.0.0

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

func (*MavenArtifactsObservation) DeepCopyInto added in v1.0.0

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

type MavenArtifactsParameters added in v1.0.0

type MavenArtifactsParameters struct {

	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	// +kubebuilder:validation:Optional
	ArtifactID *string `json:"artifactId,omitempty" tf:"artifact_id,omitempty"`

	// Maven groupId value used when uploading the artifact to Artifact Registry.
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,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"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Maven version value used when uploading the artifact to Artifact Registry.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MavenArtifactsParameters) DeepCopy added in v1.0.0

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

func (*MavenArtifactsParameters) DeepCopyInto added in v1.0.0

func (in *MavenArtifactsParameters) DeepCopyInto(out *MavenArtifactsParameters)

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

type NetworkConfigInitParameters added in v0.35.0

type NetworkConfigInitParameters 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. 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 (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PeeredNetwork *string `json:"peeredNetwork,omitempty" tf:"peered_network,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" tf:"peered_network_ip_range,omitempty"`

	// Reference to a Network in compute to populate peeredNetwork.
	// +kubebuilder:validation:Optional
	PeeredNetworkRef *v1.Reference `json:"peeredNetworkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate peeredNetwork.
	// +kubebuilder:validation:Optional
	PeeredNetworkSelector *v1.Selector `json:"peeredNetworkSelector,omitempty" tf:"-"`
}

func (*NetworkConfigInitParameters) DeepCopy added in v0.35.0

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

func (*NetworkConfigInitParameters) DeepCopyInto added in v0.35.0

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

type NetworkConfigObservation

type NetworkConfigObservation 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. 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 (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
	PeeredNetwork *string `json:"peeredNetwork,omitempty" tf:"peered_network,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" tf:"peered_network_ip_range,omitempty"`
}

func (*NetworkConfigObservation) DeepCopy

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 {

	// 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 (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PeeredNetwork *string `json:"peeredNetwork,omitempty" tf:"peered_network,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.
	// +kubebuilder:validation:Optional
	PeeredNetworkIPRange *string `json:"peeredNetworkIpRange,omitempty" tf:"peered_network_ip_range,omitempty"`

	// Reference to a Network in compute to populate peeredNetwork.
	// +kubebuilder:validation:Optional
	PeeredNetworkRef *v1.Reference `json:"peeredNetworkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate peeredNetwork.
	// +kubebuilder:validation:Optional
	PeeredNetworkSelector *v1.Selector `json:"peeredNetworkSelector,omitempty" tf:"-"`
}

func (*NetworkConfigParameters) DeepCopy

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 NpmPackagesInitParameters added in v1.0.0

type NpmPackagesInitParameters struct {

	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath *string `json:"packagePath,omitempty" tf:"package_path,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*NpmPackagesInitParameters) DeepCopy added in v1.0.0

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

func (*NpmPackagesInitParameters) DeepCopyInto added in v1.0.0

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

type NpmPackagesObservation added in v1.0.0

type NpmPackagesObservation struct {

	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath *string `json:"packagePath,omitempty" tf:"package_path,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*NpmPackagesObservation) DeepCopy added in v1.0.0

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

func (*NpmPackagesObservation) DeepCopyInto added in v1.0.0

func (in *NpmPackagesObservation) DeepCopyInto(out *NpmPackagesObservation)

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

type NpmPackagesParameters added in v1.0.0

type NpmPackagesParameters struct {

	// Path to the package.json. e.g. workspace/path/to/package
	// +kubebuilder:validation:Optional
	PackagePath *string `json:"packagePath,omitempty" tf:"package_path,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*NpmPackagesParameters) DeepCopy added in v1.0.0

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

func (*NpmPackagesParameters) DeepCopyInto added in v1.0.0

func (in *NpmPackagesParameters) DeepCopyInto(out *NpmPackagesParameters)

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

type ObjectsInitParameters added in v0.35.0

type ObjectsInitParameters 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.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`
}

func (*ObjectsInitParameters) DeepCopy added in v0.35.0

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

func (*ObjectsInitParameters) DeepCopyInto added in v0.35.0

func (in *ObjectsInitParameters) DeepCopyInto(out *ObjectsInitParameters)

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

type ObjectsObservation

type ObjectsObservation 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.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// Output only. Stores timing information for executing this
	// build step.
	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. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	// +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 OptionsInitParameters added in v0.35.0

type OptionsInitParameters 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.
	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.
	DynamicSubstitutions *bool `json:"dynamicSubstitutions,omitempty" tf:"dynamic_substitutions,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".
	Env []*string `json:"env,omitempty" tf:"env,omitempty"`

	// Option to define build log streaming behavior to Google Cloud Storage.
	// Possible values are: STREAM_DEFAULT, STREAM_ON, STREAM_OFF.
	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 are: LOGGING_UNSPECIFIED, LEGACY, GCS_ONLY, STACKDRIVER_ONLY, CLOUD_LOGGING_ONLY, NONE.
	Logging *string `json:"logging,omitempty" tf:"logging,omitempty"`

	// Compute Engine machine type on which to run the build.
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

	// Requested verifiability options.
	// Possible values are: NOT_VERIFIED, VERIFIED.
	RequestedVerifyOption *string `json:"requestedVerifyOption,omitempty" tf:"requested_verify_option,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.
	SecretEnv []*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"`

	// Requested hash for SourceProvenance.
	// Each value may be one of: NONE, SHA256, MD5.
	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 are: MUST_MATCH, ALLOW_LOOSE.
	SubstitutionOption *string `json:"substitutionOption,omitempty" tf:"substitution_option,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.
	// Structure is documented below.
	Volumes []VolumesInitParameters `json:"volumes,omitempty" tf:"volumes,omitempty"`

	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	// This field is experimental.
	WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"`
}

func (*OptionsInitParameters) DeepCopy added in v0.35.0

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

func (*OptionsInitParameters) DeepCopyInto added in v0.35.0

func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters)

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

type OptionsObservation

type OptionsObservation 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.
	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.
	DynamicSubstitutions *bool `json:"dynamicSubstitutions,omitempty" tf:"dynamic_substitutions,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".
	Env []*string `json:"env,omitempty" tf:"env,omitempty"`

	// Option to define build log streaming behavior to Google Cloud Storage.
	// Possible values are: STREAM_DEFAULT, STREAM_ON, STREAM_OFF.
	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 are: LOGGING_UNSPECIFIED, LEGACY, GCS_ONLY, STACKDRIVER_ONLY, CLOUD_LOGGING_ONLY, NONE.
	Logging *string `json:"logging,omitempty" tf:"logging,omitempty"`

	// Compute Engine machine type on which to run the build.
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

	// Requested verifiability options.
	// Possible values are: NOT_VERIFIED, VERIFIED.
	RequestedVerifyOption *string `json:"requestedVerifyOption,omitempty" tf:"requested_verify_option,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.
	SecretEnv []*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"`

	// Requested hash for SourceProvenance.
	// Each value may be one of: NONE, SHA256, MD5.
	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 are: MUST_MATCH, ALLOW_LOOSE.
	SubstitutionOption *string `json:"substitutionOption,omitempty" tf:"substitution_option,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.
	// Structure is documented below.
	Volumes []VolumesObservation `json:"volumes,omitempty" tf:"volumes,omitempty"`

	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	// This field is experimental.
	WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"`
}

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

	// Option to define build log streaming behavior to Google Cloud Storage.
	// Possible values are: 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 are: LOGGING_UNSPECIFIED, LEGACY, GCS_ONLY, STACKDRIVER_ONLY, CLOUD_LOGGING_ONLY, NONE.
	// +kubebuilder:validation:Optional
	Logging *string `json:"logging,omitempty" tf:"logging,omitempty"`

	// Compute Engine machine type on which to run the build.
	// +kubebuilder:validation:Optional
	MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`

	// Requested verifiability options.
	// Possible values are: NOT_VERIFIED, VERIFIED.
	// +kubebuilder:validation:Optional
	RequestedVerifyOption *string `json:"requestedVerifyOption,omitempty" tf:"requested_verify_option,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"`

	// Requested hash for SourceProvenance.
	// Each value may be one of: 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 are: MUST_MATCH, ALLOW_LOOSE.
	// +kubebuilder:validation:Optional
	SubstitutionOption *string `json:"substitutionOption,omitempty" tf:"substitution_option,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.
	// Structure is documented below.
	// +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 PubsubConfigInitParameters added in v0.35.0

type PubsubConfigInitParameters struct {

	// Service account that will make the push request.
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// The name of the topic from which this subscription is receiving messages.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`

	// Reference to a Topic in pubsub to populate topic.
	// +kubebuilder:validation:Optional
	TopicRef *v1.Reference `json:"topicRef,omitempty" tf:"-"`

	// Selector for a Topic in pubsub to populate topic.
	// +kubebuilder:validation:Optional
	TopicSelector *v1.Selector `json:"topicSelector,omitempty" tf:"-"`
}

func (*PubsubConfigInitParameters) DeepCopy added in v0.35.0

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

func (*PubsubConfigInitParameters) DeepCopyInto added in v0.35.0

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

type PubsubConfigObservation

type PubsubConfigObservation struct {

	// Service account that will make the push request.
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// (Output)
	// Output only. Name of the subscription.
	Subscription *string `json:"subscription,omitempty" tf:"subscription,omitempty"`

	// The name of the topic from which this subscription is receiving messages.
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*PubsubConfigObservation) DeepCopy

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.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`

	// Reference to a Topic in pubsub to populate topic.
	// +kubebuilder:validation:Optional
	TopicRef *v1.Reference `json:"topicRef,omitempty" tf:"-"`

	// Selector for a Topic in pubsub to populate topic.
	// +kubebuilder:validation:Optional
	TopicSelector *v1.Selector `json:"topicSelector,omitempty" tf:"-"`
}

func (*PubsubConfigParameters) DeepCopy

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 PullRequestInitParameters added in v0.35.0

type PullRequestInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*PullRequestInitParameters) DeepCopy added in v0.35.0

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

func (*PullRequestInitParameters) DeepCopyInto added in v0.35.0

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

type PullRequestObservation

type PullRequestObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*PullRequestObservation) DeepCopy

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.
	// 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
	Branch *string `json:"branch" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	// +kubebuilder:validation:Optional
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,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"`
}

func (*PullRequestParameters) DeepCopy

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 PushInitParameters added in v0.35.0

type PushInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*PushInitParameters) DeepCopy added in v0.35.0

func (in *PushInitParameters) DeepCopy() *PushInitParameters

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

func (*PushInitParameters) DeepCopyInto added in v0.35.0

func (in *PushInitParameters) DeepCopyInto(out *PushInitParameters)

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

type PushObservation

type PushObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

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.
	// 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
	Branch *string `json:"branch,omitempty" tf:"branch,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"`

	// Regex of tags to match.
	// 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
	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 PythonPackagesInitParameters added in v1.0.0

type PythonPackagesInitParameters struct {

	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*PythonPackagesInitParameters) DeepCopy added in v1.0.0

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

func (*PythonPackagesInitParameters) DeepCopyInto added in v1.0.0

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

type PythonPackagesObservation added in v1.0.0

type PythonPackagesObservation struct {

	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*PythonPackagesObservation) DeepCopy added in v1.0.0

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

func (*PythonPackagesObservation) DeepCopyInto added in v1.0.0

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

type PythonPackagesParameters added in v1.0.0

type PythonPackagesParameters struct {

	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	// +kubebuilder:validation:Optional
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*PythonPackagesParameters) DeepCopy added in v1.0.0

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

func (*PythonPackagesParameters) DeepCopyInto added in v1.0.0

func (in *PythonPackagesParameters) DeepCopyInto(out *PythonPackagesParameters)

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

type RepoSourceInitParameters added in v0.35.0

type RepoSourceInitParameters 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.
	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.
	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.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	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.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,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.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*RepoSourceInitParameters) DeepCopy added in v0.35.0

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

func (*RepoSourceInitParameters) DeepCopyInto added in v0.35.0

func (in *RepoSourceInitParameters) DeepCopyInto(out *RepoSourceInitParameters)

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

type RepoSourceObservation

type RepoSourceObservation 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.
	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.
	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.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	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.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,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.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*RepoSourceObservation) DeepCopy

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 {

	// 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" tf:"repo_name,omitempty"`

	// Substitutions data for Build resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,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 (*RepoSourceParameters) DeepCopy

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 RepositoryEventConfigInitParameters added in v0.37.0

type RepositoryEventConfigInitParameters struct {

	// Contains filter properties for matching Pull Requests.
	// Structure is documented below.
	PullRequest []RepositoryEventConfigPullRequestInitParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Contains filter properties for matching git pushes.
	// Structure is documented below.
	Push []RepositoryEventConfigPushInitParameters `json:"push,omitempty" tf:"push,omitempty"`

	// The resource name of the Repo API resource.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*RepositoryEventConfigInitParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigInitParameters) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigObservation added in v0.37.0

type RepositoryEventConfigObservation struct {

	// Contains filter properties for matching Pull Requests.
	// Structure is documented below.
	PullRequest []RepositoryEventConfigPullRequestObservation `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Contains filter properties for matching git pushes.
	// Structure is documented below.
	Push []RepositoryEventConfigPushObservation `json:"push,omitempty" tf:"push,omitempty"`

	// The resource name of the Repo API resource.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*RepositoryEventConfigObservation) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigObservation) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigParameters added in v0.37.0

type RepositoryEventConfigParameters struct {

	// Contains filter properties for matching Pull Requests.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PullRequest []RepositoryEventConfigPullRequestParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Contains filter properties for matching git pushes.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Push []RepositoryEventConfigPushParameters `json:"push,omitempty" tf:"push,omitempty"`

	// The resource name of the Repo API resource.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*RepositoryEventConfigParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigParameters) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPullRequestInitParameters added in v0.37.0

type RepositoryEventConfigPullRequestInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*RepositoryEventConfigPullRequestInitParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPullRequestInitParameters) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPullRequestObservation added in v0.37.0

type RepositoryEventConfigPullRequestObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`
}

func (*RepositoryEventConfigPullRequestObservation) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPullRequestObservation) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPullRequestParameters added in v0.37.0

type RepositoryEventConfigPullRequestParameters struct {

	// Regex of branches to match.
	// 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
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.
	// +kubebuilder:validation:Optional
	CommentControl *string `json:"commentControl,omitempty" tf:"comment_control,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"`
}

func (*RepositoryEventConfigPullRequestParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPullRequestParameters) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPushInitParameters added in v0.37.0

type RepositoryEventConfigPushInitParameters struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*RepositoryEventConfigPushInitParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPushInitParameters) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPushObservation added in v0.37.0

type RepositoryEventConfigPushObservation struct {

	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Regex of tags to match.
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*RepositoryEventConfigPushObservation) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPushObservation) DeepCopyInto added in v0.37.0

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

type RepositoryEventConfigPushParameters added in v0.37.0

type RepositoryEventConfigPushParameters struct {

	// Regex of branches to match.
	// 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
	Branch *string `json:"branch,omitempty" tf:"branch,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"`

	// Regex of tags to match.
	// 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
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*RepositoryEventConfigPushParameters) DeepCopy added in v0.37.0

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

func (*RepositoryEventConfigPushParameters) DeepCopyInto added in v0.37.0

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

type SecretInitParameters added in v0.35.0

type SecretInitParameters struct {

	// Cloud KMS key name to use to decrypt these envs.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_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.
	// +mapType=granular
	SecretEnv map[string]*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"`
}

func (*SecretInitParameters) DeepCopy added in v0.35.0

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

func (*SecretInitParameters) DeepCopyInto added in v0.35.0

func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)

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

type SecretManagerInitParameters added in v0.35.0

type SecretManagerInitParameters struct {

	// 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".
	Env *string `json:"env,omitempty" tf:"env,omitempty"`

	// Resource name of the SecretVersion. In format: projects//secrets//versions/*
	VersionName *string `json:"versionName,omitempty" tf:"version_name,omitempty"`
}

func (*SecretManagerInitParameters) DeepCopy added in v0.35.0

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

func (*SecretManagerInitParameters) DeepCopyInto added in v0.35.0

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

type SecretManagerObservation

type SecretManagerObservation struct {

	// 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".
	Env *string `json:"env,omitempty" tf:"env,omitempty"`

	// Resource name of the SecretVersion. In format: projects//secrets//versions/*
	VersionName *string `json:"versionName,omitempty" tf:"version_name,omitempty"`
}

func (*SecretManagerObservation) DeepCopy

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 {

	// 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" tf:"env,omitempty"`

	// Resource name of the SecretVersion. In format: projects//secrets//versions/*
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName" tf:"version_name,omitempty"`
}

func (*SecretManagerParameters) DeepCopy

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 {

	// Cloud KMS key name to use to decrypt these envs.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_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.
	// +mapType=granular
	SecretEnv map[string]*string `json:"secretEnv,omitempty" tf:"secret_env,omitempty"`
}

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:Optional
	KMSKeyName *string `json:"kmsKeyName" tf:"kms_key_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
	// +mapType=granular
	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 SourceInitParameters added in v0.35.0

type SourceInitParameters struct {

	// Location of the source in a Google Cloud Source Repository.
	// Structure is documented below.
	RepoSource []RepoSourceInitParameters `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// Location of the source in an archive file in Google Cloud Storage.
	// Structure is documented below.
	StorageSource []StorageSourceInitParameters `json:"storageSource,omitempty" tf:"storage_source,omitempty"`
}

func (*SourceInitParameters) DeepCopy added in v0.35.0

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

func (*SourceInitParameters) DeepCopyInto added in v0.35.0

func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters)

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

type SourceObservation

type SourceObservation struct {

	// Location of the source in a Google Cloud Source Repository.
	// Structure is documented below.
	RepoSource []RepoSourceObservation `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// Location of the source in an archive file in Google Cloud Storage.
	// Structure is documented below.
	StorageSource []StorageSourceObservation `json:"storageSource,omitempty" tf:"storage_source,omitempty"`
}

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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	RepoSource []RepoSourceParameters `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// Location of the source in an archive file in Google Cloud Storage.
	// Structure is documented below.
	// +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 SourceToBuildInitParameters added in v0.35.0

type SourceToBuildInitParameters struct {

	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The branch or tag to use. Must start with "refs/" .
	Ref *string `json:"ref,omitempty" 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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	RepoType *string `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The URI of the repo.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*SourceToBuildInitParameters) DeepCopy added in v0.35.0

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

func (*SourceToBuildInitParameters) DeepCopyInto added in v0.35.0

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

type SourceToBuildObservation

type SourceToBuildObservation struct {

	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The branch or tag to use. Must start with "refs/" .
	Ref *string `json:"ref,omitempty" 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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	RepoType *string `json:"repoType,omitempty" tf:"repo_type,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The URI of the repo.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*SourceToBuildObservation) DeepCopy

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 full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	// +kubebuilder:validation:Optional
	BitbucketServerConfig *string `json:"bitbucketServerConfig,omitempty" tf:"bitbucket_server_config,omitempty"`

	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	// +kubebuilder:validation:Optional
	GithubEnterpriseConfig *string `json:"githubEnterpriseConfig,omitempty" tf:"github_enterprise_config,omitempty"`

	// The branch or tag to use. Must start with "refs/" .
	// +kubebuilder:validation:Optional
	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, BITBUCKET_SERVER
	// Possible values are: UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
	// +kubebuilder:validation:Optional
	RepoType *string `json:"repoType" tf:"repo_type,omitempty"`

	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The URI of the repo.
	// +kubebuilder:validation:Optional
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*SourceToBuildParameters) DeepCopy

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 StepInitParameters added in v0.35.0

type StepInitParameters struct {

	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	// If allowFailure is also specified, this field will take precedence.
	AllowExitCodes []*float64 `json:"allowExitCodes,omitempty" tf:"allow_exit_codes,omitempty"`

	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the failureDetail field.
	// allowExitCodes takes precedence over this field.
	AllowFailure *bool `json:"allowFailure,omitempty" tf:"allow_failure,omitempty"`

	// 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.
	Args []*string `json:"args,omitempty" tf:"args,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.
	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
	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".
	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.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// 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.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script *string `json:"script,omitempty" tf:"script,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.
	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.
	Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Output only. Stores timing information for executing this
	// build step.
	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.
	// Structure is documented below.
	Volumes []StepVolumesInitParameters `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.
	WaitFor []*string `json:"waitFor,omitempty" tf:"wait_for,omitempty"`
}

func (*StepInitParameters) DeepCopy added in v0.35.0

func (in *StepInitParameters) DeepCopy() *StepInitParameters

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

func (*StepInitParameters) DeepCopyInto added in v0.35.0

func (in *StepInitParameters) DeepCopyInto(out *StepInitParameters)

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

type StepObservation

type StepObservation struct {

	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	// If allowFailure is also specified, this field will take precedence.
	AllowExitCodes []*float64 `json:"allowExitCodes,omitempty" tf:"allow_exit_codes,omitempty"`

	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the failureDetail field.
	// allowExitCodes takes precedence over this field.
	AllowFailure *bool `json:"allowFailure,omitempty" tf:"allow_failure,omitempty"`

	// 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.
	Args []*string `json:"args,omitempty" tf:"args,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.
	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
	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".
	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.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// 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.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script *string `json:"script,omitempty" tf:"script,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.
	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.
	Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Output only. Stores timing information for executing this
	// build step.
	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.
	// Structure is documented below.
	Volumes []StepVolumesObservation `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.
	WaitFor []*string `json:"waitFor,omitempty" tf:"wait_for,omitempty"`
}

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 {

	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	// If allowFailure is also specified, this field will take precedence.
	// +kubebuilder:validation:Optional
	AllowExitCodes []*float64 `json:"allowExitCodes,omitempty" tf:"allow_exit_codes,omitempty"`

	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the failureDetail field.
	// allowExitCodes takes precedence over this field.
	// +kubebuilder:validation:Optional
	AllowFailure *bool `json:"allowFailure,omitempty" tf:"allow_failure,omitempty"`

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

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

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

	// 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" tf:"name,omitempty"`

	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	// +kubebuilder:validation:Optional
	Script *string `json:"script,omitempty" tf:"script,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.
	// Structure is documented below.
	// +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 StepVolumesInitParameters added in v0.35.0

type StepVolumesInitParameters 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.
	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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*StepVolumesInitParameters) DeepCopy added in v0.35.0

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

func (*StepVolumesInitParameters) DeepCopyInto added in v0.35.0

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

type StepVolumesObservation

type StepVolumesObservation 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.
	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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*StepVolumesObservation) DeepCopy

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:Optional
	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:Optional
	Path *string `json:"path" tf:"path,omitempty"`
}

func (*StepVolumesParameters) DeepCopy

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 StorageSourceInitParameters added in v0.35.0

type StorageSourceInitParameters struct {

	// Google Cloud Storage bucket containing the source.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Google Cloud Storage generation for the object.
	// If the generation is omitted, the latest generation will be used
	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.
	Object *string `json:"object,omitempty" tf:"object,omitempty"`
}

func (*StorageSourceInitParameters) DeepCopy added in v0.35.0

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

func (*StorageSourceInitParameters) DeepCopyInto added in v0.35.0

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

type StorageSourceObservation

type StorageSourceObservation struct {

	// Google Cloud Storage bucket containing the source.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Google Cloud Storage generation for the object.
	// If the generation is omitted, the latest generation will be used
	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.
	Object *string `json:"object,omitempty" tf:"object,omitempty"`
}

func (*StorageSourceObservation) DeepCopy

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:Optional
	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:Optional
	Object *string `json:"object" tf:"object,omitempty"`
}

func (*StorageSourceParameters) DeepCopy

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 TimingInitParameters added in v0.35.0

type TimingInitParameters struct {
}

func (*TimingInitParameters) DeepCopy added in v0.35.0

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

func (*TimingInitParameters) DeepCopyInto added in v0.35.0

func (in *TimingInitParameters) DeepCopyInto(out *TimingInitParameters)

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

type TimingObservation

type TimingObservation struct {

	// End of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"`

	// Start of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	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. Configuration for an automated build in response to source repository changes. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

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

func (*Trigger) DeepCopyObject

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

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

func (tr *Trigger) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Trigger

func (*Trigger) GetDeletionPolicy

func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Trigger.

func (*Trigger) GetID

func (tr *Trigger) GetID() string

GetID returns ID of underlying Terraform resource of this Trigger

func (*Trigger) GetInitParameters added in v0.35.0

func (tr *Trigger) GetInitParameters() (map[string]any, error)

GetInitParameters of this Trigger

func (*Trigger) GetManagementPolicies added in v0.35.0

func (mg *Trigger) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Trigger.

func (*Trigger) GetMergedParameters added in v0.40.0

func (tr *Trigger) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Trigger

func (*Trigger) GetObservation

func (tr *Trigger) GetObservation() (map[string]any, error)

GetObservation of this Trigger

func (*Trigger) GetParameters

func (tr *Trigger) GetParameters() (map[string]any, error)

GetParameters of this Trigger

func (*Trigger) GetProviderConfigReference

func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Trigger.

func (*Trigger) GetPublishConnectionDetailsTo

func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Trigger.

func (*Trigger) GetTerraformResourceType

func (mg *Trigger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Trigger

func (*Trigger) GetTerraformSchemaVersion

func (tr *Trigger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Trigger) GetWriteConnectionSecretToReference

func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Trigger.

func (*Trigger) Hub added in v0.41.2

func (tr *Trigger) Hub()

Hub marks this type as a conversion hub.

func (*Trigger) LateInitialize

func (tr *Trigger) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Trigger using its observed tfState. returns True if there are any spec changes for the resource.

func (*Trigger) ResolveReferences

func (mg *Trigger) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Trigger) SetConditions

func (mg *Trigger) SetConditions(c ...xpv1.Condition)

SetConditions of this Trigger.

func (*Trigger) SetDeletionPolicy

func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Trigger.

func (*Trigger) SetManagementPolicies added in v0.35.0

func (mg *Trigger) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Trigger.

func (*Trigger) SetObservation

func (tr *Trigger) SetObservation(obs map[string]any) error

SetObservation for this Trigger

func (*Trigger) SetParameters

func (tr *Trigger) SetParameters(params map[string]any) error

SetParameters for this Trigger

func (*Trigger) SetProviderConfigReference

func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Trigger.

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 TriggerInitParameters added in v0.35.0

type TriggerInitParameters 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.
	// Structure is documented below.
	ApprovalConfig []ApprovalConfigInitParameters `json:"approvalConfig,omitempty" tf:"approval_config,omitempty"`

	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	BitbucketServerTriggerConfig []BitbucketServerTriggerConfigInitParameters `json:"bitbucketServerTriggerConfig,omitempty" tf:"bitbucket_server_trigger_config,omitempty"`

	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	Build []BuildInitParameters `json:"build,omitempty" tf:"build,omitempty"`

	// Human-readable description of the trigger.
	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.
	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.
	Filename *string `json:"filename,omitempty" tf:"filename,omitempty"`

	// A Common Expression Language string. Used only with Pub/Sub and Webhook.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The file source describing the local or remote Build template.
	// Structure is documented below.
	GitFileSource []GitFileSourceInitParameters `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.
	// Structure is documented below.
	Github []GithubInitParameters `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.
	IgnoredFiles []*string `json:"ignoredFiles,omitempty" tf:"ignored_files,omitempty"`

	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: INCLUDE_BUILD_LOGS_UNSPECIFIED, INCLUDE_BUILD_LOGS_WITH_STATUS.
	IncludeBuildLogs *string `json:"includeBuildLogs,omitempty" tf:"include_build_logs,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.
	IncludedFiles []*string `json:"includedFiles,omitempty" tf:"included_files,omitempty"`

	// The Cloud Build location for the trigger.
	// If not specified, "global" is used.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the trigger. Must be unique within the project.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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.
	// Structure is documented below.
	PubsubConfig []PubsubConfigInitParameters `json:"pubsubConfig,omitempty" tf:"pubsub_config,omitempty"`

	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	RepositoryEventConfig []RepositoryEventConfigInitParameters `json:"repositoryEventConfig,omitempty" tf:"repository_event_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}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// 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.
	// Structure is documented below.
	SourceToBuild []SourceToBuildInitParameters `json:"sourceToBuild,omitempty" tf:"source_to_build,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"`

	// Tags for annotation of a BuildTrigger
	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.
	// Structure is documented below.
	TriggerTemplate []TriggerTemplateInitParameters `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.
	// Structure is documented below.
	WebhookConfig []WebhookConfigInitParameters `json:"webhookConfig,omitempty" tf:"webhook_config,omitempty"`
}

func (*TriggerInitParameters) DeepCopy added in v0.35.0

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

func (*TriggerInitParameters) DeepCopyInto added in v0.35.0

func (in *TriggerInitParameters) DeepCopyInto(out *TriggerInitParameters)

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

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 {

	// 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.
	// Structure is documented below.
	ApprovalConfig []ApprovalConfigObservation `json:"approvalConfig,omitempty" tf:"approval_config,omitempty"`

	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	BitbucketServerTriggerConfig []BitbucketServerTriggerConfigObservation `json:"bitbucketServerTriggerConfig,omitempty" tf:"bitbucket_server_trigger_config,omitempty"`

	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	Build []BuildObservation `json:"build,omitempty" tf:"build,omitempty"`

	// Time when the trigger was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Human-readable description of the trigger.
	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.
	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.
	Filename *string `json:"filename,omitempty" tf:"filename,omitempty"`

	// A Common Expression Language string. Used only with Pub/Sub and Webhook.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The file source describing the local or remote Build template.
	// Structure is documented below.
	GitFileSource []GitFileSourceObservation `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.
	// Structure is documented below.
	Github []GithubObservation `json:"github,omitempty" tf:"github,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/triggers/{{trigger_id}}
	ID *string `json:"id,omitempty" tf:"id,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.
	IgnoredFiles []*string `json:"ignoredFiles,omitempty" tf:"ignored_files,omitempty"`

	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: INCLUDE_BUILD_LOGS_UNSPECIFIED, INCLUDE_BUILD_LOGS_WITH_STATUS.
	IncludeBuildLogs *string `json:"includeBuildLogs,omitempty" tf:"include_build_logs,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.
	IncludedFiles []*string `json:"includedFiles,omitempty" tf:"included_files,omitempty"`

	// The Cloud Build location for the trigger.
	// If not specified, "global" is used.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the trigger. Must be unique within the project.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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.
	// Structure is documented below.
	PubsubConfig []PubsubConfigObservation `json:"pubsubConfig,omitempty" tf:"pubsub_config,omitempty"`

	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	RepositoryEventConfig []RepositoryEventConfigObservation `json:"repositoryEventConfig,omitempty" tf:"repository_event_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}
	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.
	// Structure is documented below.
	SourceToBuild []SourceToBuildObservation `json:"sourceToBuild,omitempty" tf:"source_to_build,omitempty"`

	// Substitutions data for Build resource.
	// +mapType=granular
	Substitutions map[string]*string `json:"substitutions,omitempty" tf:"substitutions,omitempty"`

	// Tags for annotation of a BuildTrigger
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The unique identifier for the trigger.
	TriggerID *string `json:"triggerId,omitempty" tf:"trigger_id,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.
	// Structure is documented below.
	TriggerTemplate []TriggerTemplateObservation `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.
	// Structure is documented below.
	WebhookConfig []WebhookConfigObservation `json:"webhookConfig,omitempty" tf:"webhook_config,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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ApprovalConfig []ApprovalConfigParameters `json:"approvalConfig,omitempty" tf:"approval_config,omitempty"`

	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	BitbucketServerTriggerConfig []BitbucketServerTriggerConfigParameters `json:"bitbucketServerTriggerConfig,omitempty" tf:"bitbucket_server_trigger_config,omitempty"`

	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +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"`

	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: INCLUDE_BUILD_LOGS_UNSPECIFIED, INCLUDE_BUILD_LOGS_WITH_STATUS.
	// +kubebuilder:validation:Optional
	IncludeBuildLogs *string `json:"includeBuildLogs,omitempty" tf:"include_build_logs,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"`

	// The Cloud Build location for the trigger.
	// If not specified, "global" is used.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Name of the trigger. Must be unique within the project.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	PubsubConfig []PubsubConfigParameters `json:"pubsubConfig,omitempty" tf:"pubsub_config,omitempty"`

	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	RepositoryEventConfig []RepositoryEventConfigParameters `json:"repositoryEventConfig,omitempty" tf:"repository_event_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}
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// 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.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	SourceToBuild []SourceToBuildParameters `json:"sourceToBuild,omitempty" tf:"source_to_build,omitempty"`

	// Substitutions data for Build resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	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.
	// Structure is documented below.
	// +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.
	// Structure is documented below.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TriggerInitParameters `json:"initProvider,omitempty"`
}

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 TriggerTemplateInitParameters added in v0.35.0

type TriggerTemplateInitParameters 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.
	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.
	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.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	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.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	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.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*TriggerTemplateInitParameters) DeepCopy added in v0.35.0

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

func (*TriggerTemplateInitParameters) DeepCopyInto added in v0.35.0

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

type TriggerTemplateObservation

type TriggerTemplateObservation 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.
	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.
	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.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does NOT match the revision regex.
	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.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	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.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*TriggerTemplateObservation) DeepCopy

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

func (*TriggerTemplateObservation) DeepCopyInto

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

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

func (*TriggerTemplateParameters) DeepCopyInto

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

type VolumesInitParameters added in v0.35.0

type VolumesInitParameters 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.
	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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*VolumesInitParameters) DeepCopy added in v0.35.0

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

func (*VolumesInitParameters) DeepCopyInto added in v0.35.0

func (in *VolumesInitParameters) DeepCopyInto(out *VolumesInitParameters)

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

type VolumesObservation

type VolumesObservation 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.
	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.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

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 WebhookConfigInitParameters added in v0.35.0

type WebhookConfigInitParameters struct {

	// Resource name for the secret required as a URL parameter.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta1.SecretVersion
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a SecretVersion in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a SecretVersion in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`
}

func (*WebhookConfigInitParameters) DeepCopy added in v0.35.0

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

func (*WebhookConfigInitParameters) DeepCopyInto added in v0.35.0

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

type WebhookConfigObservation

type WebhookConfigObservation struct {

	// Resource name for the secret required as a URL parameter.
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*WebhookConfigObservation) DeepCopy

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.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta1.SecretVersion
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a SecretVersion in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a SecretVersion in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`
}

func (*WebhookConfigParameters) DeepCopy

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 WorkerConfigInitParameters added in v0.35.0

type WorkerConfigInitParameters struct {

	// Size of the disk attached to the worker, in GB. See (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.
	DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"`

	// Machine type of a worker, such as n1-standard-1. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use n1-standard-1.
	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.
	NoExternalIP *bool `json:"noExternalIp,omitempty" tf:"no_external_ip,omitempty"`
}

func (*WorkerConfigInitParameters) DeepCopy added in v0.35.0

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

func (*WorkerConfigInitParameters) DeepCopyInto added in v0.35.0

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

type WorkerConfigObservation

type WorkerConfigObservation struct {

	// Size of the disk attached to the worker, in GB. See (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.
	DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"`

	// Machine type of a worker, such as n1-standard-1. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use n1-standard-1.
	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.
	NoExternalIP *bool `json:"noExternalIp,omitempty" tf:"no_external_ip,omitempty"`
}

func (*WorkerConfigObservation) DeepCopy

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

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. Configuration for custom WorkerPool to run builds +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

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) GetInitParameters added in v0.35.0

func (tr *WorkerPool) GetInitParameters() (map[string]any, error)

GetInitParameters of this WorkerPool

func (*WorkerPool) GetManagementPolicies added in v0.35.0

func (mg *WorkerPool) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this WorkerPool.

func (*WorkerPool) GetMergedParameters added in v0.40.0

func (tr *WorkerPool) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this WorkerPool

func (*WorkerPool) GetObservation

func (tr *WorkerPool) GetObservation() (map[string]any, error)

GetObservation of this WorkerPool

func (*WorkerPool) GetParameters

func (tr *WorkerPool) GetParameters() (map[string]any, error)

GetParameters of this WorkerPool

func (*WorkerPool) GetProviderConfigReference

func (mg *WorkerPool) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this WorkerPool.

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) Hub added in v0.41.2

func (tr *WorkerPool) Hub()

Hub marks this type as a conversion hub.

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

func (mg *WorkerPool) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this WorkerPool.

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) SetManagementPolicies added in v0.35.0

func (mg *WorkerPool) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this WorkerPool.

func (*WorkerPool) SetObservation

func (tr *WorkerPool) SetObservation(obs map[string]any) error

SetObservation for this WorkerPool

func (*WorkerPool) SetParameters

func (tr *WorkerPool) SetParameters(params map[string]any) error

SetParameters for this WorkerPool

func (*WorkerPool) SetProviderConfigReference

func (mg *WorkerPool) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this WorkerPool.

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 WorkerPoolInitParameters added in v0.35.0

type WorkerPoolInitParameters struct {

	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// User-defined name of the WorkerPool.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Network configuration for the WorkerPool. Structure is documented below.
	NetworkConfig []NetworkConfigInitParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Configuration to be used for a creating workers in the WorkerPool. Structure is documented below.
	WorkerConfig []WorkerConfigInitParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*WorkerPoolInitParameters) DeepCopy added in v0.35.0

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

func (*WorkerPoolInitParameters) DeepCopyInto added in v0.35.0

func (in *WorkerPoolInitParameters) DeepCopyInto(out *WorkerPoolInitParameters)

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

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 {

	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// Output only. Time at which the request to create the WorkerPool was received.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Output only. Time at which the request to delete the WorkerPool was received.
	DeleteTime *string `json:"deleteTime,omitempty" tf:"delete_time,omitempty"`

	// User-defined name of the WorkerPool.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +mapType=granular
	EffectiveAnnotations map[string]*string `json:"effectiveAnnotations,omitempty" tf:"effective_annotations,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/workerPools/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Network configuration for the WorkerPool. Structure is documented below.
	NetworkConfig []NetworkConfigObservation `json:"networkConfig,omitempty" tf:"network_config,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Output only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/workerPools/{{name}}
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. Time at which the request to update the WorkerPool was received.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`

	// Configuration to be used for a creating workers in the WorkerPool. Structure is documented below.
	WorkerConfig []WorkerConfigObservation `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*WorkerPoolObservation) DeepCopy

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 {

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// User-defined name of the WorkerPool.
	// +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"`

	// Network configuration for the WorkerPool. Structure is documented below.
	// +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. Structure is documented below.
	// +kubebuilder:validation:Optional
	WorkerConfig []WorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*WorkerPoolParameters) DeepCopy

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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider WorkerPoolInitParameters `json:"initProvider,omitempty"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL