Documentation ¶
Index ¶
- type Trigger
- type TriggerArgs
- type TriggerBuild
- type TriggerBuildArgs
- func (TriggerBuildArgs) ElementType() reflect.Type
- func (i TriggerBuildArgs) ToTriggerBuildOutput() TriggerBuildOutput
- func (i TriggerBuildArgs) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput
- func (i TriggerBuildArgs) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput
- func (i TriggerBuildArgs) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput
- type TriggerBuildInput
- type TriggerBuildOutput
- func (TriggerBuildOutput) ElementType() reflect.Type
- func (o TriggerBuildOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildOutput) Steps() TriggerBuildStepArrayOutput
- func (o TriggerBuildOutput) Tags() pulumi.StringArrayOutput
- func (o TriggerBuildOutput) Timeout() pulumi.StringPtrOutput
- func (o TriggerBuildOutput) ToTriggerBuildOutput() TriggerBuildOutput
- func (o TriggerBuildOutput) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput
- func (o TriggerBuildOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput
- func (o TriggerBuildOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput
- type TriggerBuildPtrInput
- type TriggerBuildPtrOutput
- func (o TriggerBuildPtrOutput) Elem() TriggerBuildOutput
- func (TriggerBuildPtrOutput) ElementType() reflect.Type
- func (o TriggerBuildPtrOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildPtrOutput) Steps() TriggerBuildStepArrayOutput
- func (o TriggerBuildPtrOutput) Tags() pulumi.StringArrayOutput
- func (o TriggerBuildPtrOutput) Timeout() pulumi.StringPtrOutput
- func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput
- func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput
- type TriggerBuildStep
- type TriggerBuildStepArgs
- type TriggerBuildStepArray
- type TriggerBuildStepArrayInput
- type TriggerBuildStepArrayOutput
- func (TriggerBuildStepArrayOutput) ElementType() reflect.Type
- func (o TriggerBuildStepArrayOutput) Index(i pulumi.IntInput) TriggerBuildStepOutput
- func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput
- func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutputWithContext(ctx context.Context) TriggerBuildStepArrayOutput
- type TriggerBuildStepInput
- type TriggerBuildStepOutput
- func (o TriggerBuildStepOutput) Args() pulumi.StringArrayOutput
- func (o TriggerBuildStepOutput) Dir() pulumi.StringPtrOutput
- func (TriggerBuildStepOutput) ElementType() reflect.Type
- func (o TriggerBuildStepOutput) Entrypoint() pulumi.StringPtrOutput
- func (o TriggerBuildStepOutput) Envs() pulumi.StringArrayOutput
- func (o TriggerBuildStepOutput) Id() pulumi.StringPtrOutput
- func (o TriggerBuildStepOutput) Name() pulumi.StringOutput
- func (o TriggerBuildStepOutput) SecretEnvs() pulumi.StringArrayOutput
- func (o TriggerBuildStepOutput) Timeout() pulumi.StringPtrOutput
- func (o TriggerBuildStepOutput) Timing() pulumi.StringPtrOutput
- func (o TriggerBuildStepOutput) ToTriggerBuildStepOutput() TriggerBuildStepOutput
- func (o TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext(ctx context.Context) TriggerBuildStepOutput
- func (o TriggerBuildStepOutput) Volumes() TriggerBuildStepVolumeArrayOutput
- func (o TriggerBuildStepOutput) WaitFors() pulumi.StringArrayOutput
- type TriggerBuildStepVolume
- type TriggerBuildStepVolumeArgs
- type TriggerBuildStepVolumeArray
- func (TriggerBuildStepVolumeArray) ElementType() reflect.Type
- func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput
- func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput
- type TriggerBuildStepVolumeArrayInput
- type TriggerBuildStepVolumeArrayOutput
- func (TriggerBuildStepVolumeArrayOutput) ElementType() reflect.Type
- func (o TriggerBuildStepVolumeArrayOutput) Index(i pulumi.IntInput) TriggerBuildStepVolumeOutput
- func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput
- func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput
- type TriggerBuildStepVolumeInput
- type TriggerBuildStepVolumeOutput
- func (TriggerBuildStepVolumeOutput) ElementType() reflect.Type
- func (o TriggerBuildStepVolumeOutput) Name() pulumi.StringOutput
- func (o TriggerBuildStepVolumeOutput) Path() pulumi.StringOutput
- func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput
- func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutputWithContext(ctx context.Context) TriggerBuildStepVolumeOutput
- type TriggerGithub
- type TriggerGithubArgs
- func (TriggerGithubArgs) ElementType() reflect.Type
- func (i TriggerGithubArgs) ToTriggerGithubOutput() TriggerGithubOutput
- func (i TriggerGithubArgs) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput
- func (i TriggerGithubArgs) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput
- func (i TriggerGithubArgs) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput
- type TriggerGithubInput
- type TriggerGithubOutput
- func (TriggerGithubOutput) ElementType() reflect.Type
- func (o TriggerGithubOutput) Name() pulumi.StringPtrOutput
- func (o TriggerGithubOutput) Owner() pulumi.StringPtrOutput
- func (o TriggerGithubOutput) PullRequest() TriggerGithubPullRequestPtrOutput
- func (o TriggerGithubOutput) Push() TriggerGithubPushPtrOutput
- func (o TriggerGithubOutput) ToTriggerGithubOutput() TriggerGithubOutput
- func (o TriggerGithubOutput) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput
- func (o TriggerGithubOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput
- func (o TriggerGithubOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput
- type TriggerGithubPtrInput
- type TriggerGithubPtrOutput
- func (o TriggerGithubPtrOutput) Elem() TriggerGithubOutput
- func (TriggerGithubPtrOutput) ElementType() reflect.Type
- func (o TriggerGithubPtrOutput) Name() pulumi.StringPtrOutput
- func (o TriggerGithubPtrOutput) Owner() pulumi.StringPtrOutput
- func (o TriggerGithubPtrOutput) PullRequest() TriggerGithubPullRequestPtrOutput
- func (o TriggerGithubPtrOutput) Push() TriggerGithubPushPtrOutput
- func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput
- func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput
- type TriggerGithubPullRequest
- type TriggerGithubPullRequestArgs
- func (TriggerGithubPullRequestArgs) ElementType() reflect.Type
- func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput
- func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput
- func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
- func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput
- type TriggerGithubPullRequestInput
- type TriggerGithubPullRequestOutput
- func (o TriggerGithubPullRequestOutput) Branch() pulumi.StringOutput
- func (o TriggerGithubPullRequestOutput) CommentControl() pulumi.StringPtrOutput
- func (TriggerGithubPullRequestOutput) ElementType() reflect.Type
- func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput
- func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput
- func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
- func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput
- type TriggerGithubPullRequestPtrInput
- type TriggerGithubPullRequestPtrOutput
- func (o TriggerGithubPullRequestPtrOutput) Branch() pulumi.StringPtrOutput
- func (o TriggerGithubPullRequestPtrOutput) CommentControl() pulumi.StringPtrOutput
- func (o TriggerGithubPullRequestPtrOutput) Elem() TriggerGithubPullRequestOutput
- func (TriggerGithubPullRequestPtrOutput) ElementType() reflect.Type
- func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
- func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput
- type TriggerGithubPush
- type TriggerGithubPushArgs
- func (TriggerGithubPushArgs) ElementType() reflect.Type
- func (i TriggerGithubPushArgs) ToTriggerGithubPushOutput() TriggerGithubPushOutput
- func (i TriggerGithubPushArgs) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput
- func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
- func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput
- type TriggerGithubPushInput
- type TriggerGithubPushOutput
- func (o TriggerGithubPushOutput) Branch() pulumi.StringPtrOutput
- func (TriggerGithubPushOutput) ElementType() reflect.Type
- func (o TriggerGithubPushOutput) Tag() pulumi.StringPtrOutput
- func (o TriggerGithubPushOutput) ToTriggerGithubPushOutput() TriggerGithubPushOutput
- func (o TriggerGithubPushOutput) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput
- func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
- func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput
- type TriggerGithubPushPtrInput
- type TriggerGithubPushPtrOutput
- func (o TriggerGithubPushPtrOutput) Branch() pulumi.StringPtrOutput
- func (o TriggerGithubPushPtrOutput) Elem() TriggerGithubPushOutput
- func (TriggerGithubPushPtrOutput) ElementType() reflect.Type
- func (o TriggerGithubPushPtrOutput) Tag() pulumi.StringPtrOutput
- func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
- func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput
- type TriggerState
- type TriggerTriggerTemplate
- type TriggerTriggerTemplateArgs
- func (TriggerTriggerTemplateArgs) ElementType() reflect.Type
- func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput
- func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput
- func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
- func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput
- type TriggerTriggerTemplateInput
- type TriggerTriggerTemplateOutput
- func (o TriggerTriggerTemplateOutput) BranchName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplateOutput) CommitSha() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplateOutput) Dir() pulumi.StringPtrOutput
- func (TriggerTriggerTemplateOutput) ElementType() reflect.Type
- func (o TriggerTriggerTemplateOutput) ProjectId() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplateOutput) RepoName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplateOutput) TagName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput
- func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput
- func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
- func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput
- type TriggerTriggerTemplatePtrInput
- type TriggerTriggerTemplatePtrOutput
- func (o TriggerTriggerTemplatePtrOutput) BranchName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) CommitSha() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) Dir() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) Elem() TriggerTriggerTemplateOutput
- func (TriggerTriggerTemplatePtrOutput) ElementType() reflect.Type
- func (o TriggerTriggerTemplatePtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) RepoName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) TagName() pulumi.StringPtrOutput
- func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
- func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput
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
- [Automating builds using build triggers](https://cloud.google.com/cloud-build/docs/running-builds/automate-builds)
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 ¶
func (o TriggerBuildOutput) Images() pulumi.StringArrayOutput
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 ¶
func (o TriggerBuildOutput) Steps() TriggerBuildStepArrayOutput
The operations to be performed on the workspace. Structure is documented below.
func (TriggerBuildOutput) Tags ¶
func (o TriggerBuildOutput) Tags() pulumi.StringArrayOutput
Tags for annotation of a Build. These are not docker tags.
func (TriggerBuildOutput) Timeout ¶
func (o TriggerBuildOutput) Timeout() pulumi.StringPtrOutput
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
func TriggerBuildPtr ¶
func TriggerBuildPtr(v *TriggerBuildArgs) TriggerBuildPtrInput
type TriggerBuildPtrOutput ¶
type TriggerBuildPtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildPtrOutput) Elem ¶
func (o TriggerBuildPtrOutput) Elem() TriggerBuildOutput
func (TriggerBuildPtrOutput) ElementType ¶
func (TriggerBuildPtrOutput) ElementType() reflect.Type
func (TriggerBuildPtrOutput) Images ¶
func (o TriggerBuildPtrOutput) Images() pulumi.StringArrayOutput
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 ¶
func (o TriggerBuildPtrOutput) Steps() TriggerBuildStepArrayOutput
The operations to be performed on the workspace. Structure is documented below.
func (TriggerBuildPtrOutput) Tags ¶
func (o TriggerBuildPtrOutput) Tags() pulumi.StringArrayOutput
Tags for annotation of a Build. These are not docker tags.
func (TriggerBuildPtrOutput) Timeout ¶
func (o TriggerBuildPtrOutput) Timeout() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (TriggerBuildStepArrayOutput) Index ¶
func (o TriggerBuildStepArrayOutput) Index(i pulumi.IntInput) TriggerBuildStepOutput
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 ¶
func (o TriggerBuildStepOutput) Args() pulumi.StringArrayOutput
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 ¶
func (o TriggerBuildStepOutput) Dir() pulumi.StringPtrOutput
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 ¶
func (o TriggerBuildStepOutput) Entrypoint() pulumi.StringPtrOutput
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 ¶
func (o TriggerBuildStepOutput) Envs() pulumi.StringArrayOutput
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 ¶
func (o TriggerBuildStepOutput) Id() pulumi.StringPtrOutput
Unique identifier for this build step, used in `waitFor` to reference this build step as a dependency.
func (TriggerBuildStepOutput) Name ¶
func (o TriggerBuildStepOutput) Name() pulumi.StringOutput
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 ¶
func (o TriggerBuildStepOutput) SecretEnvs() pulumi.StringArrayOutput
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 ¶
func (o TriggerBuildStepOutput) Timeout() pulumi.StringPtrOutput
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 ¶
func (o TriggerBuildStepOutput) Timing() pulumi.StringPtrOutput
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 ¶
func (o TriggerBuildStepOutput) Volumes() TriggerBuildStepVolumeArrayOutput
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 ¶
func (o TriggerBuildStepOutput) WaitFors() pulumi.StringArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (TriggerBuildStepVolumeArrayOutput) Index ¶
func (o TriggerBuildStepVolumeArrayOutput) Index(i pulumi.IntInput) TriggerBuildStepVolumeOutput
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) ElementType() reflect.Type
func (TriggerBuildStepVolumeOutput) Name ¶
func (o TriggerBuildStepVolumeOutput) Name() pulumi.StringOutput
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 ¶
func (o TriggerBuildStepVolumeOutput) Path() pulumi.StringOutput
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 ¶
func (o TriggerGithubOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o TriggerGithubOutput) Owner() pulumi.StringPtrOutput
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
func (TriggerGithubOutput) PullRequest ¶
func (o TriggerGithubOutput) PullRequest() TriggerGithubPullRequestPtrOutput
filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.
func (TriggerGithubOutput) Push ¶
func (o TriggerGithubOutput) Push() TriggerGithubPushPtrOutput
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
func TriggerGithubPtr ¶
func TriggerGithubPtr(v *TriggerGithubArgs) TriggerGithubPtrInput
type TriggerGithubPtrOutput ¶
type TriggerGithubPtrOutput struct{ *pulumi.OutputState }
func (TriggerGithubPtrOutput) Elem ¶
func (o TriggerGithubPtrOutput) Elem() TriggerGithubOutput
func (TriggerGithubPtrOutput) ElementType ¶
func (TriggerGithubPtrOutput) ElementType() reflect.Type
func (TriggerGithubPtrOutput) Name ¶
func (o TriggerGithubPtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o TriggerGithubPtrOutput) Owner() pulumi.StringPtrOutput
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
func (TriggerGithubPtrOutput) PullRequest ¶
func (o TriggerGithubPtrOutput) PullRequest() TriggerGithubPullRequestPtrOutput
filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.
func (TriggerGithubPtrOutput) Push ¶
func (o TriggerGithubPtrOutput) Push() TriggerGithubPushPtrOutput
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 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) ElementType() reflect.Type
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 ¶
func (o TriggerGithubPullRequestOutput) Branch() pulumi.StringOutput
Regex of branches to match. Specify only one of branch or tag.
func (TriggerGithubPullRequestOutput) CommentControl ¶
func (o TriggerGithubPullRequestOutput) CommentControl() pulumi.StringPtrOutput
Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
func (TriggerGithubPullRequestOutput) ElementType ¶
func (TriggerGithubPullRequestOutput) ElementType() reflect.Type
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
func TriggerGithubPullRequestPtr ¶
func TriggerGithubPullRequestPtr(v *TriggerGithubPullRequestArgs) TriggerGithubPullRequestPtrInput
type TriggerGithubPullRequestPtrOutput ¶
type TriggerGithubPullRequestPtrOutput struct{ *pulumi.OutputState }
func (TriggerGithubPullRequestPtrOutput) Branch ¶
func (o TriggerGithubPullRequestPtrOutput) Branch() pulumi.StringPtrOutput
Regex of branches to match. Specify only one of branch or tag.
func (TriggerGithubPullRequestPtrOutput) CommentControl ¶
func (o TriggerGithubPullRequestPtrOutput) CommentControl() pulumi.StringPtrOutput
Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
func (TriggerGithubPullRequestPtrOutput) Elem ¶
func (o TriggerGithubPullRequestPtrOutput) Elem() TriggerGithubPullRequestOutput
func (TriggerGithubPullRequestPtrOutput) ElementType ¶
func (TriggerGithubPullRequestPtrOutput) ElementType() reflect.Type
func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput ¶
func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext ¶
func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput
type TriggerGithubPush ¶
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 ¶
func (o TriggerGithubPushOutput) Branch() pulumi.StringPtrOutput
Regex of branches to match. Specify only one of branch or tag.
func (TriggerGithubPushOutput) ElementType ¶
func (TriggerGithubPushOutput) ElementType() reflect.Type
func (TriggerGithubPushOutput) Tag ¶
func (o TriggerGithubPushOutput) Tag() pulumi.StringPtrOutput
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
func TriggerGithubPushPtr ¶
func TriggerGithubPushPtr(v *TriggerGithubPushArgs) TriggerGithubPushPtrInput
type TriggerGithubPushPtrOutput ¶
type TriggerGithubPushPtrOutput struct{ *pulumi.OutputState }
func (TriggerGithubPushPtrOutput) Branch ¶
func (o TriggerGithubPushPtrOutput) Branch() pulumi.StringPtrOutput
Regex of branches to match. Specify only one of branch or tag.
func (TriggerGithubPushPtrOutput) Elem ¶
func (o TriggerGithubPushPtrOutput) Elem() TriggerGithubPushOutput
func (TriggerGithubPushPtrOutput) ElementType ¶
func (TriggerGithubPushPtrOutput) ElementType() reflect.Type
func (TriggerGithubPushPtrOutput) Tag ¶
func (o TriggerGithubPushPtrOutput) Tag() pulumi.StringPtrOutput
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 ¶
func (o TriggerTriggerTemplateOutput) BranchName() pulumi.StringPtrOutput
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 ¶
func (o TriggerTriggerTemplateOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
func (TriggerTriggerTemplateOutput) Dir ¶
func (o TriggerTriggerTemplateOutput) Dir() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (TriggerTriggerTemplateOutput) ProjectId ¶
func (o TriggerTriggerTemplateOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (TriggerTriggerTemplateOutput) RepoName ¶
func (o TriggerTriggerTemplateOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
func (TriggerTriggerTemplateOutput) TagName ¶
func (o TriggerTriggerTemplateOutput) TagName() pulumi.StringPtrOutput
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
func TriggerTriggerTemplatePtr ¶
func TriggerTriggerTemplatePtr(v *TriggerTriggerTemplateArgs) TriggerTriggerTemplatePtrInput
type TriggerTriggerTemplatePtrOutput ¶
type TriggerTriggerTemplatePtrOutput struct{ *pulumi.OutputState }
func (TriggerTriggerTemplatePtrOutput) BranchName ¶
func (o TriggerTriggerTemplatePtrOutput) BranchName() pulumi.StringPtrOutput
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 ¶
func (o TriggerTriggerTemplatePtrOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
func (TriggerTriggerTemplatePtrOutput) Dir ¶
func (o TriggerTriggerTemplatePtrOutput) Dir() pulumi.StringPtrOutput
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 (o TriggerTriggerTemplatePtrOutput) Elem() TriggerTriggerTemplateOutput
func (TriggerTriggerTemplatePtrOutput) ElementType ¶
func (TriggerTriggerTemplatePtrOutput) ElementType() reflect.Type
func (TriggerTriggerTemplatePtrOutput) ProjectId ¶
func (o TriggerTriggerTemplatePtrOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (TriggerTriggerTemplatePtrOutput) RepoName ¶
func (o TriggerTriggerTemplatePtrOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
func (TriggerTriggerTemplatePtrOutput) TagName ¶
func (o TriggerTriggerTemplatePtrOutput) TagName() pulumi.StringPtrOutput
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