cloudbuild

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// Contents of the build template. Either a filename or build template must be provided.  Structure is documented below.
	Build TriggerBuildPtrOutput `pulumi:"build"`
	// Time when the trigger was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Human-readable description of the trigger.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrOutput `pulumi:"filename"`
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.  Structure is documented below.
	Github TriggerGithubPtrOutput `pulumi:"github"`
	// 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 ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayOutput `pulumi:"ignoredFiles"`
	// 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 pulumi.StringArrayOutput `pulumi:"includedFiles"`
	// 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 pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapOutput `pulumi:"substitutions"`
	// The unique identifier for the trigger.
	TriggerId pulumi.StringOutput `pulumi:"triggerId"`
	// 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 `triggerTemplate` or `github` must be provided.  Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrOutput `pulumi:"triggerTemplate"`
}

Configuration for an automated build in response to source repository changes.

To get more information about Trigger, see:

* [API documentation](https://cloud.google.com/cloud-build/docs/api/reference/rest/) * How-to Guides

func GetTrigger

func GetTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)

GetTrigger gets an existing Trigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTrigger

func NewTrigger(ctx *pulumi.Context,
	name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)

NewTrigger registers a new resource with the given unique name, arguments, and options.

type TriggerArgs

type TriggerArgs struct {
	// Contents of the build template. Either a filename or build template must be provided.  Structure is documented below.
	Build TriggerBuildPtrInput
	// Human-readable description of the trigger.
	Description pulumi.StringPtrInput
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrInput
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrInput
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.  Structure is documented below.
	Github TriggerGithubPtrInput
	// 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 ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayInput
	// 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 pulumi.StringArrayInput
	// 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 pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapInput
	// 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 `triggerTemplate` or `github` must be provided.  Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerBuild

type TriggerBuild 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 `pulumi:"images"`
	// The operations to be performed on the workspace.  Structure is documented below.
	Steps []TriggerBuildStep `pulumi:"steps"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags []string `pulumi:"tags"`
	// 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 `pulumi:"timeout"`
}

type TriggerBuildArgs

type TriggerBuildArgs 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 pulumi.StringArrayInput `pulumi:"images"`
	// The operations to be performed on the workspace.  Structure is documented below.
	Steps TriggerBuildStepArrayInput `pulumi:"steps"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// 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 pulumi.StringPtrInput `pulumi:"timeout"`
}

func (TriggerBuildArgs) ElementType

func (TriggerBuildArgs) ElementType() reflect.Type

func (TriggerBuildArgs) ToTriggerBuildOutput

func (i TriggerBuildArgs) ToTriggerBuildOutput() TriggerBuildOutput

func (TriggerBuildArgs) ToTriggerBuildOutputWithContext

func (i TriggerBuildArgs) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput

func (TriggerBuildArgs) ToTriggerBuildPtrOutput

func (i TriggerBuildArgs) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildArgs) ToTriggerBuildPtrOutputWithContext

func (i TriggerBuildArgs) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildInput

type TriggerBuildInput interface {
	pulumi.Input

	ToTriggerBuildOutput() TriggerBuildOutput
	ToTriggerBuildOutputWithContext(context.Context) TriggerBuildOutput
}

TriggerBuildInput is an input type that accepts TriggerBuildArgs and TriggerBuildOutput values. You can construct a concrete instance of `TriggerBuildInput` via:

TriggerBuildArgs{...}

type TriggerBuildOutput

type TriggerBuildOutput struct{ *pulumi.OutputState }

func (TriggerBuildOutput) ElementType

func (TriggerBuildOutput) ElementType() reflect.Type

func (TriggerBuildOutput) Images

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.

func (TriggerBuildOutput) Steps

The operations to be performed on the workspace. Structure is documented below.

func (TriggerBuildOutput) Tags

Tags for annotation of a Build. These are not docker tags.

func (TriggerBuildOutput) Timeout

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.

func (TriggerBuildOutput) ToTriggerBuildOutput

func (o TriggerBuildOutput) ToTriggerBuildOutput() TriggerBuildOutput

func (TriggerBuildOutput) ToTriggerBuildOutputWithContext

func (o TriggerBuildOutput) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput

func (TriggerBuildOutput) ToTriggerBuildPtrOutput

func (o TriggerBuildOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildOutput) ToTriggerBuildPtrOutputWithContext

func (o TriggerBuildOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildPtrInput

type TriggerBuildPtrInput interface {
	pulumi.Input

	ToTriggerBuildPtrOutput() TriggerBuildPtrOutput
	ToTriggerBuildPtrOutputWithContext(context.Context) TriggerBuildPtrOutput
}

TriggerBuildPtrInput is an input type that accepts TriggerBuildArgs, TriggerBuildPtr and TriggerBuildPtrOutput values. You can construct a concrete instance of `TriggerBuildPtrInput` via:

		 TriggerBuildArgs{...}

 or:

		 nil

type TriggerBuildPtrOutput

type TriggerBuildPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildPtrOutput) Elem

func (TriggerBuildPtrOutput) ElementType

func (TriggerBuildPtrOutput) ElementType() reflect.Type

func (TriggerBuildPtrOutput) Images

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.

func (TriggerBuildPtrOutput) Steps

The operations to be performed on the workspace. Structure is documented below.

func (TriggerBuildPtrOutput) Tags

Tags for annotation of a Build. These are not docker tags.

func (TriggerBuildPtrOutput) Timeout

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.

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutput

func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext

func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildStep

type TriggerBuildStep struct {
	// A list of arguments that will be presented to the step when it is started.
	// If the image used to run the step's container has an entrypoint, the args
	// are used as arguments to that entrypoint. If the image does not define an
	// entrypoint, the first element in args is used as the entrypoint, and the
	// remainder will be used as arguments.
	Args []string `pulumi:"args"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir *string `pulumi:"dir"`
	// Entrypoint to be used instead of the build step image's
	// default entrypoint.
	// If unset, the image's default entrypoint is used
	Entrypoint *string `pulumi:"entrypoint"`
	// 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".
	Envs []string `pulumi:"envs"`
	// Unique identifier for this build step, used in `waitFor` to
	// reference this build step as a dependency.
	Id *string `pulumi:"id"`
	// 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 `pulumi:"name"`
	// 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`.
	SecretEnvs []string `pulumi:"secretEnvs"`
	// 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 `pulumi:"timeout"`
	// Output only. Stores timing information for executing this
	// build step.
	Timing *string `pulumi:"timing"`
	// 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 []TriggerBuildStepVolume `pulumi:"volumes"`
	// 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 `waitFor`
	// have completed successfully. If `waitFor` is empty, this build step
	// will start when all previous build steps in the `Build.Steps` list
	// have completed successfully.
	WaitFors []string `pulumi:"waitFors"`
}

type TriggerBuildStepArgs

type TriggerBuildStepArgs struct {
	// A list of arguments that will be presented to the step when it is started.
	// If the image used to run the step's container has an entrypoint, the args
	// are used as arguments to that entrypoint. If the image does not define an
	// entrypoint, the first element in args is used as the entrypoint, and the
	// remainder will be used as arguments.
	Args pulumi.StringArrayInput `pulumi:"args"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// Entrypoint to be used instead of the build step image's
	// default entrypoint.
	// If unset, the image's default entrypoint is used
	Entrypoint pulumi.StringPtrInput `pulumi:"entrypoint"`
	// 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".
	Envs pulumi.StringArrayInput `pulumi:"envs"`
	// Unique identifier for this build step, used in `waitFor` to
	// reference this build step as a dependency.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// 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 pulumi.StringInput `pulumi:"name"`
	// 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`.
	SecretEnvs pulumi.StringArrayInput `pulumi:"secretEnvs"`
	// 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 pulumi.StringPtrInput `pulumi:"timeout"`
	// Output only. Stores timing information for executing this
	// build step.
	Timing pulumi.StringPtrInput `pulumi:"timing"`
	// 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 TriggerBuildStepVolumeArrayInput `pulumi:"volumes"`
	// 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 `waitFor`
	// have completed successfully. If `waitFor` is empty, this build step
	// will start when all previous build steps in the `Build.Steps` list
	// have completed successfully.
	WaitFors pulumi.StringArrayInput `pulumi:"waitFors"`
}

func (TriggerBuildStepArgs) ElementType

func (TriggerBuildStepArgs) ElementType() reflect.Type

func (TriggerBuildStepArgs) ToTriggerBuildStepOutput

func (i TriggerBuildStepArgs) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepArgs) ToTriggerBuildStepOutputWithContext

func (i TriggerBuildStepArgs) ToTriggerBuildStepOutputWithContext(ctx context.Context) TriggerBuildStepOutput

type TriggerBuildStepArray

type TriggerBuildStepArray []TriggerBuildStepInput

func (TriggerBuildStepArray) ElementType

func (TriggerBuildStepArray) ElementType() reflect.Type

func (TriggerBuildStepArray) ToTriggerBuildStepArrayOutput

func (i TriggerBuildStepArray) ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput

func (TriggerBuildStepArray) ToTriggerBuildStepArrayOutputWithContext

func (i TriggerBuildStepArray) ToTriggerBuildStepArrayOutputWithContext(ctx context.Context) TriggerBuildStepArrayOutput

type TriggerBuildStepArrayInput

type TriggerBuildStepArrayInput interface {
	pulumi.Input

	ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput
	ToTriggerBuildStepArrayOutputWithContext(context.Context) TriggerBuildStepArrayOutput
}

TriggerBuildStepArrayInput is an input type that accepts TriggerBuildStepArray and TriggerBuildStepArrayOutput values. You can construct a concrete instance of `TriggerBuildStepArrayInput` via:

TriggerBuildStepArray{ TriggerBuildStepArgs{...} }

type TriggerBuildStepArrayOutput

type TriggerBuildStepArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepArrayOutput) ElementType

func (TriggerBuildStepArrayOutput) Index

func (TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutput

func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput

func (TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutputWithContext

func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutputWithContext(ctx context.Context) TriggerBuildStepArrayOutput

type TriggerBuildStepInput

type TriggerBuildStepInput interface {
	pulumi.Input

	ToTriggerBuildStepOutput() TriggerBuildStepOutput
	ToTriggerBuildStepOutputWithContext(context.Context) TriggerBuildStepOutput
}

TriggerBuildStepInput is an input type that accepts TriggerBuildStepArgs and TriggerBuildStepOutput values. You can construct a concrete instance of `TriggerBuildStepInput` via:

TriggerBuildStepArgs{...}

type TriggerBuildStepOutput

type TriggerBuildStepOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepOutput) Args

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.

func (TriggerBuildStepOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerBuildStepOutput) ElementType

func (TriggerBuildStepOutput) ElementType() reflect.Type

func (TriggerBuildStepOutput) Entrypoint

Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used

func (TriggerBuildStepOutput) Envs

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

func (TriggerBuildStepOutput) Id

Unique identifier for this build step, used in `waitFor` to reference this build step as a dependency.

func (TriggerBuildStepOutput) Name

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.

func (TriggerBuildStepOutput) SecretEnvs

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

func (TriggerBuildStepOutput) Timeout

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.

func (TriggerBuildStepOutput) Timing

Output only. Stores timing information for executing this build step.

func (TriggerBuildStepOutput) ToTriggerBuildStepOutput

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext(ctx context.Context) TriggerBuildStepOutput

func (TriggerBuildStepOutput) Volumes

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.

func (TriggerBuildStepOutput) WaitFors

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 `waitFor` have completed successfully. If `waitFor` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.

type TriggerBuildStepVolume

type TriggerBuildStepVolume 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 `pulumi:"name"`
	// 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 `pulumi:"path"`
}

type TriggerBuildStepVolumeArgs

type TriggerBuildStepVolumeArgs 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 pulumi.StringInput `pulumi:"name"`
	// 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 pulumi.StringInput `pulumi:"path"`
}

func (TriggerBuildStepVolumeArgs) ElementType

func (TriggerBuildStepVolumeArgs) ElementType() reflect.Type

func (TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutput

func (i TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput

func (TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutputWithContext

func (i TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutputWithContext(ctx context.Context) TriggerBuildStepVolumeOutput

type TriggerBuildStepVolumeArray

type TriggerBuildStepVolumeArray []TriggerBuildStepVolumeInput

func (TriggerBuildStepVolumeArray) ElementType

func (TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutput

func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput

func (TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutputWithContext

func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeArrayInput

type TriggerBuildStepVolumeArrayInput interface {
	pulumi.Input

	ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput
	ToTriggerBuildStepVolumeArrayOutputWithContext(context.Context) TriggerBuildStepVolumeArrayOutput
}

TriggerBuildStepVolumeArrayInput is an input type that accepts TriggerBuildStepVolumeArray and TriggerBuildStepVolumeArrayOutput values. You can construct a concrete instance of `TriggerBuildStepVolumeArrayInput` via:

TriggerBuildStepVolumeArray{ TriggerBuildStepVolumeArgs{...} }

type TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepVolumeArrayOutput) ElementType

func (TriggerBuildStepVolumeArrayOutput) Index

func (TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutput

func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput

func (TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutputWithContext

func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeInput

type TriggerBuildStepVolumeInput interface {
	pulumi.Input

	ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput
	ToTriggerBuildStepVolumeOutputWithContext(context.Context) TriggerBuildStepVolumeOutput
}

TriggerBuildStepVolumeInput is an input type that accepts TriggerBuildStepVolumeArgs and TriggerBuildStepVolumeOutput values. You can construct a concrete instance of `TriggerBuildStepVolumeInput` via:

TriggerBuildStepVolumeArgs{...}

type TriggerBuildStepVolumeOutput

type TriggerBuildStepVolumeOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepVolumeOutput) ElementType

func (TriggerBuildStepVolumeOutput) Name

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.

func (TriggerBuildStepVolumeOutput) Path

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.

func (TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutput

func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput

func (TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutputWithContext

func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutputWithContext(ctx context.Context) TriggerBuildStepVolumeOutput

type TriggerGithub

type TriggerGithub 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 `pulumi:"name"`
	// Owner of the repository. For example: The owner for
	// https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
	Owner *string `pulumi:"owner"`
	// filter to match changes in pull requests.  Specify only one of pullRequest or push.  Structure is documented below.
	PullRequest *TriggerGithubPullRequest `pulumi:"pullRequest"`
	// filter to match changes in refs, like branches or tags.  Specify only one of pullRequest or push.  Structure is documented below.
	Push *TriggerGithubPush `pulumi:"push"`
}

type TriggerGithubArgs

type TriggerGithubArgs 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 pulumi.StringPtrInput `pulumi:"name"`
	// Owner of the repository. For example: The owner for
	// https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
	Owner pulumi.StringPtrInput `pulumi:"owner"`
	// filter to match changes in pull requests.  Specify only one of pullRequest or push.  Structure is documented below.
	PullRequest TriggerGithubPullRequestPtrInput `pulumi:"pullRequest"`
	// filter to match changes in refs, like branches or tags.  Specify only one of pullRequest or push.  Structure is documented below.
	Push TriggerGithubPushPtrInput `pulumi:"push"`
}

func (TriggerGithubArgs) ElementType

func (TriggerGithubArgs) ElementType() reflect.Type

func (TriggerGithubArgs) ToTriggerGithubOutput

func (i TriggerGithubArgs) ToTriggerGithubOutput() TriggerGithubOutput

func (TriggerGithubArgs) ToTriggerGithubOutputWithContext

func (i TriggerGithubArgs) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput

func (TriggerGithubArgs) ToTriggerGithubPtrOutput

func (i TriggerGithubArgs) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubArgs) ToTriggerGithubPtrOutputWithContext

func (i TriggerGithubArgs) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubInput

type TriggerGithubInput interface {
	pulumi.Input

	ToTriggerGithubOutput() TriggerGithubOutput
	ToTriggerGithubOutputWithContext(context.Context) TriggerGithubOutput
}

TriggerGithubInput is an input type that accepts TriggerGithubArgs and TriggerGithubOutput values. You can construct a concrete instance of `TriggerGithubInput` via:

TriggerGithubArgs{...}

type TriggerGithubOutput

type TriggerGithubOutput struct{ *pulumi.OutputState }

func (TriggerGithubOutput) ElementType

func (TriggerGithubOutput) ElementType() reflect.Type

func (TriggerGithubOutput) Name

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.

func (TriggerGithubOutput) Owner

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

func (TriggerGithubOutput) PullRequest

filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubOutput) Push

filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubOutput) ToTriggerGithubOutput

func (o TriggerGithubOutput) ToTriggerGithubOutput() TriggerGithubOutput

func (TriggerGithubOutput) ToTriggerGithubOutputWithContext

func (o TriggerGithubOutput) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput

func (TriggerGithubOutput) ToTriggerGithubPtrOutput

func (o TriggerGithubOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubOutput) ToTriggerGithubPtrOutputWithContext

func (o TriggerGithubOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubPtrInput

type TriggerGithubPtrInput interface {
	pulumi.Input

	ToTriggerGithubPtrOutput() TriggerGithubPtrOutput
	ToTriggerGithubPtrOutputWithContext(context.Context) TriggerGithubPtrOutput
}

TriggerGithubPtrInput is an input type that accepts TriggerGithubArgs, TriggerGithubPtr and TriggerGithubPtrOutput values. You can construct a concrete instance of `TriggerGithubPtrInput` via:

		 TriggerGithubArgs{...}

 or:

		 nil

type TriggerGithubPtrOutput

type TriggerGithubPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPtrOutput) Elem

func (TriggerGithubPtrOutput) ElementType

func (TriggerGithubPtrOutput) ElementType() reflect.Type

func (TriggerGithubPtrOutput) Name

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.

func (TriggerGithubPtrOutput) Owner

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

func (TriggerGithubPtrOutput) PullRequest

filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubPtrOutput) Push

filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutput

func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext

func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubPullRequest

type TriggerGithubPullRequest struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch string `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
	CommentControl *string `pulumi:"commentControl"`
}

type TriggerGithubPullRequestArgs

type TriggerGithubPullRequestArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringInput `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
	CommentControl pulumi.StringPtrInput `pulumi:"commentControl"`
}

func (TriggerGithubPullRequestArgs) ElementType

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutput

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutputWithContext

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutput

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutputWithContext

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestInput

type TriggerGithubPullRequestInput interface {
	pulumi.Input

	ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput
	ToTriggerGithubPullRequestOutputWithContext(context.Context) TriggerGithubPullRequestOutput
}

TriggerGithubPullRequestInput is an input type that accepts TriggerGithubPullRequestArgs and TriggerGithubPullRequestOutput values. You can construct a concrete instance of `TriggerGithubPullRequestInput` via:

TriggerGithubPullRequestArgs{...}

type TriggerGithubPullRequestOutput

type TriggerGithubPullRequestOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPullRequestOutput) CommentControl

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.

func (TriggerGithubPullRequestOutput) ElementType

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutput

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutputWithContext

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutput

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutputWithContext

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestPtrInput

type TriggerGithubPullRequestPtrInput interface {
	pulumi.Input

	ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
	ToTriggerGithubPullRequestPtrOutputWithContext(context.Context) TriggerGithubPullRequestPtrOutput
}

TriggerGithubPullRequestPtrInput is an input type that accepts TriggerGithubPullRequestArgs, TriggerGithubPullRequestPtr and TriggerGithubPullRequestPtrOutput values. You can construct a concrete instance of `TriggerGithubPullRequestPtrInput` via:

		 TriggerGithubPullRequestArgs{...}

 or:

		 nil

type TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestPtrOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPullRequestPtrOutput) CommentControl

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.

func (TriggerGithubPullRequestPtrOutput) Elem

func (TriggerGithubPullRequestPtrOutput) ElementType

func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput

func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext

func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPush

type TriggerGithubPush struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch *string `pulumi:"branch"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag *string `pulumi:"tag"`
}

type TriggerGithubPushArgs

type TriggerGithubPushArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (TriggerGithubPushArgs) ElementType

func (TriggerGithubPushArgs) ElementType() reflect.Type

func (TriggerGithubPushArgs) ToTriggerGithubPushOutput

func (i TriggerGithubPushArgs) ToTriggerGithubPushOutput() TriggerGithubPushOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushOutputWithContext

func (i TriggerGithubPushArgs) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushPtrOutput

func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushPtrOutputWithContext

func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerGithubPushInput

type TriggerGithubPushInput interface {
	pulumi.Input

	ToTriggerGithubPushOutput() TriggerGithubPushOutput
	ToTriggerGithubPushOutputWithContext(context.Context) TriggerGithubPushOutput
}

TriggerGithubPushInput is an input type that accepts TriggerGithubPushArgs and TriggerGithubPushOutput values. You can construct a concrete instance of `TriggerGithubPushInput` via:

TriggerGithubPushArgs{...}

type TriggerGithubPushOutput

type TriggerGithubPushOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPushOutput) ElementType

func (TriggerGithubPushOutput) ElementType() reflect.Type

func (TriggerGithubPushOutput) Tag

Regex of tags to match. Specify only one of branch or tag.

func (TriggerGithubPushOutput) ToTriggerGithubPushOutput

func (o TriggerGithubPushOutput) ToTriggerGithubPushOutput() TriggerGithubPushOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushOutputWithContext

func (o TriggerGithubPushOutput) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushPtrOutput

func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushPtrOutputWithContext

func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerGithubPushPtrInput

type TriggerGithubPushPtrInput interface {
	pulumi.Input

	ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
	ToTriggerGithubPushPtrOutputWithContext(context.Context) TriggerGithubPushPtrOutput
}

TriggerGithubPushPtrInput is an input type that accepts TriggerGithubPushArgs, TriggerGithubPushPtr and TriggerGithubPushPtrOutput values. You can construct a concrete instance of `TriggerGithubPushPtrInput` via:

		 TriggerGithubPushArgs{...}

 or:

		 nil

type TriggerGithubPushPtrOutput

type TriggerGithubPushPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushPtrOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPushPtrOutput) Elem

func (TriggerGithubPushPtrOutput) ElementType

func (TriggerGithubPushPtrOutput) ElementType() reflect.Type

func (TriggerGithubPushPtrOutput) Tag

Regex of tags to match. Specify only one of branch or tag.

func (TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput

func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext

func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerState

type TriggerState struct {
	// Contents of the build template. Either a filename or build template must be provided.  Structure is documented below.
	Build TriggerBuildPtrInput
	// Time when the trigger was created.
	CreateTime pulumi.StringPtrInput
	// Human-readable description of the trigger.
	Description pulumi.StringPtrInput
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrInput
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrInput
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.  Structure is documented below.
	Github TriggerGithubPtrInput
	// 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 ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayInput
	// 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 pulumi.StringArrayInput
	// 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 pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapInput
	// The unique identifier for the trigger.
	TriggerId pulumi.StringPtrInput
	// 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 `triggerTemplate` or `github` must be provided.  Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type TriggerTriggerTemplate

type TriggerTriggerTemplate 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 `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha *string `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir *string `pulumi:"dir"`
	// ID of the project that owns the Cloud Source Repository. If
	// omitted, the project ID requesting the build is assumed.
	ProjectId *string `pulumi:"projectId"`
	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	RepoName *string `pulumi:"repoName"`
	// 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 `pulumi:"tagName"`
}

type TriggerTriggerTemplateArgs

type TriggerTriggerTemplateArgs 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 pulumi.StringPtrInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringPtrInput `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// ID of the project that owns the Cloud Source Repository. If
	// omitted, the project ID requesting the build is assumed.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	RepoName pulumi.StringPtrInput `pulumi:"repoName"`
	// 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 pulumi.StringPtrInput `pulumi:"tagName"`
}

func (TriggerTriggerTemplateArgs) ElementType

func (TriggerTriggerTemplateArgs) ElementType() reflect.Type

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutput

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutputWithContext

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutput

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutputWithContext

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplateInput

type TriggerTriggerTemplateInput interface {
	pulumi.Input

	ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput
	ToTriggerTriggerTemplateOutputWithContext(context.Context) TriggerTriggerTemplateOutput
}

TriggerTriggerTemplateInput is an input type that accepts TriggerTriggerTemplateArgs and TriggerTriggerTemplateOutput values. You can construct a concrete instance of `TriggerTriggerTemplateInput` via:

TriggerTriggerTemplateArgs{...}

type TriggerTriggerTemplateOutput

type TriggerTriggerTemplateOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplateOutput) BranchName

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.

func (TriggerTriggerTemplateOutput) CommitSha

Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.

func (TriggerTriggerTemplateOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerTriggerTemplateOutput) ElementType

func (TriggerTriggerTemplateOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerTriggerTemplateOutput) RepoName

Name of the Cloud Source Repository. If omitted, the name "default" is assumed.

func (TriggerTriggerTemplateOutput) TagName

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.

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutput

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutputWithContext

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutput

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutputWithContext

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplatePtrInput

type TriggerTriggerTemplatePtrInput interface {
	pulumi.Input

	ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
	ToTriggerTriggerTemplatePtrOutputWithContext(context.Context) TriggerTriggerTemplatePtrOutput
}

TriggerTriggerTemplatePtrInput is an input type that accepts TriggerTriggerTemplateArgs, TriggerTriggerTemplatePtr and TriggerTriggerTemplatePtrOutput values. You can construct a concrete instance of `TriggerTriggerTemplatePtrInput` via:

		 TriggerTriggerTemplateArgs{...}

 or:

		 nil

type TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplatePtrOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplatePtrOutput) BranchName

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.

func (TriggerTriggerTemplatePtrOutput) CommitSha

Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.

func (TriggerTriggerTemplatePtrOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerTriggerTemplatePtrOutput) Elem

func (TriggerTriggerTemplatePtrOutput) ElementType

func (TriggerTriggerTemplatePtrOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerTriggerTemplatePtrOutput) RepoName

Name of the Cloud Source Repository. If omitted, the name "default" is assumed.

func (TriggerTriggerTemplatePtrOutput) TagName

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.

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput

func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext

func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

Jump to

Keyboard shortcuts

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