cloudbuild

package
v2.13.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll

nolint: lll

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.
	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
	// 'trigger_template' or 'github' must be provided.
	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 ignored_file 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 trigger. Must be unique within the project.
	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 'trigger_template' or 'github' must be provided.
	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

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/cloudbuild_trigger.html.markdown.

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.
	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
	// 'trigger_template' or 'github' must be provided.
	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 ignored_file 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 trigger. Must be unique within the project.
	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 'trigger_template' or 'github' must be provided.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerBuild

type TriggerBuild struct {
	Images  []string           `pulumi:"images"`
	Steps   []TriggerBuildStep `pulumi:"steps"`
	Tags    []string           `pulumi:"tags"`
	Timeout *string            `pulumi:"timeout"`
}

type TriggerBuildArgs

type TriggerBuildArgs struct {
	Images  pulumi.StringArrayInput    `pulumi:"images"`
	Steps   TriggerBuildStepArrayInput `pulumi:"steps"`
	Tags    pulumi.StringArrayInput    `pulumi:"tags"`
	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
}

type TriggerBuildOutput

type TriggerBuildOutput struct{ *pulumi.OutputState }

func (TriggerBuildOutput) ElementType

func (TriggerBuildOutput) ElementType() reflect.Type

func (TriggerBuildOutput) Images

func (TriggerBuildOutput) Steps

func (TriggerBuildOutput) Tags

func (TriggerBuildOutput) Timeout

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
}

type TriggerBuildPtrOutput

type TriggerBuildPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildPtrOutput) Elem

func (TriggerBuildPtrOutput) ElementType

func (TriggerBuildPtrOutput) ElementType() reflect.Type

func (TriggerBuildPtrOutput) Images

func (TriggerBuildPtrOutput) Steps

func (TriggerBuildPtrOutput) Tags

func (TriggerBuildPtrOutput) Timeout

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutput

func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext

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

type TriggerBuildStep

type TriggerBuildStep struct {
	Args       []string `pulumi:"args"`
	Dir        *string  `pulumi:"dir"`
	Entrypoint *string  `pulumi:"entrypoint"`
	Envs       []string `pulumi:"envs"`
	// an identifier for the resource with format `projects/{{project}}/triggers/{{trigger_id}}`
	Id         *string                  `pulumi:"id"`
	Name       string                   `pulumi:"name"`
	SecretEnvs []string                 `pulumi:"secretEnvs"`
	Timeout    *string                  `pulumi:"timeout"`
	Timing     *string                  `pulumi:"timing"`
	Volumes    []TriggerBuildStepVolume `pulumi:"volumes"`
	WaitFors   []string                 `pulumi:"waitFors"`
}

type TriggerBuildStepArgs

type TriggerBuildStepArgs struct {
	Args       pulumi.StringArrayInput `pulumi:"args"`
	Dir        pulumi.StringPtrInput   `pulumi:"dir"`
	Entrypoint pulumi.StringPtrInput   `pulumi:"entrypoint"`
	Envs       pulumi.StringArrayInput `pulumi:"envs"`
	// an identifier for the resource with format `projects/{{project}}/triggers/{{trigger_id}}`
	Id         pulumi.StringPtrInput            `pulumi:"id"`
	Name       pulumi.StringInput               `pulumi:"name"`
	SecretEnvs pulumi.StringArrayInput          `pulumi:"secretEnvs"`
	Timeout    pulumi.StringPtrInput            `pulumi:"timeout"`
	Timing     pulumi.StringPtrInput            `pulumi:"timing"`
	Volumes    TriggerBuildStepVolumeArrayInput `pulumi:"volumes"`
	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
}

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
}

type TriggerBuildStepOutput

type TriggerBuildStepOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepOutput) Args

func (TriggerBuildStepOutput) Dir

func (TriggerBuildStepOutput) ElementType

func (TriggerBuildStepOutput) ElementType() reflect.Type

func (TriggerBuildStepOutput) Entrypoint

func (TriggerBuildStepOutput) Envs

func (TriggerBuildStepOutput) Id

an identifier for the resource with format `projects/{{project}}/triggers/{{trigger_id}}`

func (TriggerBuildStepOutput) Name

func (TriggerBuildStepOutput) SecretEnvs

func (TriggerBuildStepOutput) Timeout

func (TriggerBuildStepOutput) Timing

func (TriggerBuildStepOutput) ToTriggerBuildStepOutput

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext

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

func (TriggerBuildStepOutput) Volumes

func (TriggerBuildStepOutput) WaitFors

type TriggerBuildStepVolume

type TriggerBuildStepVolume struct {
	Name string `pulumi:"name"`
	Path string `pulumi:"path"`
}

type TriggerBuildStepVolumeArgs

type TriggerBuildStepVolumeArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
	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
}

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
}

type TriggerBuildStepVolumeOutput

type TriggerBuildStepVolumeOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepVolumeOutput) ElementType

func (TriggerBuildStepVolumeOutput) Name

func (TriggerBuildStepVolumeOutput) Path

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        *string                   `pulumi:"name"`
	Owner       *string                   `pulumi:"owner"`
	PullRequest *TriggerGithubPullRequest `pulumi:"pullRequest"`
	Push        *TriggerGithubPush        `pulumi:"push"`
}

type TriggerGithubArgs

type TriggerGithubArgs struct {
	Name        pulumi.StringPtrInput            `pulumi:"name"`
	Owner       pulumi.StringPtrInput            `pulumi:"owner"`
	PullRequest TriggerGithubPullRequestPtrInput `pulumi:"pullRequest"`
	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
}

type TriggerGithubOutput

type TriggerGithubOutput struct{ *pulumi.OutputState }

func (TriggerGithubOutput) ElementType

func (TriggerGithubOutput) ElementType() reflect.Type

func (TriggerGithubOutput) Name

func (TriggerGithubOutput) Owner

func (TriggerGithubOutput) PullRequest

func (TriggerGithubOutput) Push

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
}

type TriggerGithubPtrOutput

type TriggerGithubPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPtrOutput) Elem

func (TriggerGithubPtrOutput) ElementType

func (TriggerGithubPtrOutput) ElementType() reflect.Type

func (TriggerGithubPtrOutput) Name

func (TriggerGithubPtrOutput) Owner

func (TriggerGithubPtrOutput) PullRequest

func (TriggerGithubPtrOutput) Push

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutput

func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext

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

type TriggerGithubPullRequest

type TriggerGithubPullRequest struct {
	Branch         string  `pulumi:"branch"`
	CommentControl *string `pulumi:"commentControl"`
}

type TriggerGithubPullRequestArgs

type TriggerGithubPullRequestArgs struct {
	Branch         pulumi.StringInput    `pulumi:"branch"`
	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
}

type TriggerGithubPullRequestOutput

type TriggerGithubPullRequestOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestOutput) Branch

func (TriggerGithubPullRequestOutput) CommentControl

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
}

type TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestPtrOutput) Branch

func (TriggerGithubPullRequestPtrOutput) CommentControl

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 {
	Branch *string `pulumi:"branch"`
	Tag    *string `pulumi:"tag"`
}

type TriggerGithubPushArgs

type TriggerGithubPushArgs struct {
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	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
}

type TriggerGithubPushOutput

type TriggerGithubPushOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushOutput) Branch

func (TriggerGithubPushOutput) ElementType

func (TriggerGithubPushOutput) ElementType() reflect.Type

func (TriggerGithubPushOutput) 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
}

type TriggerGithubPushPtrOutput

type TriggerGithubPushPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushPtrOutput) Branch

func (TriggerGithubPushPtrOutput) Elem

func (TriggerGithubPushPtrOutput) ElementType

func (TriggerGithubPushPtrOutput) ElementType() reflect.Type

func (TriggerGithubPushPtrOutput) 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.
	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
	// 'trigger_template' or 'github' must be provided.
	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 ignored_file 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 trigger. Must be unique within the project.
	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 'trigger_template' or 'github' must be provided.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type TriggerTriggerTemplate

type TriggerTriggerTemplate struct {
	BranchName *string `pulumi:"branchName"`
	CommitSha  *string `pulumi:"commitSha"`
	Dir        *string `pulumi:"dir"`
	ProjectId  *string `pulumi:"projectId"`
	RepoName   *string `pulumi:"repoName"`
	TagName    *string `pulumi:"tagName"`
}

type TriggerTriggerTemplateArgs

type TriggerTriggerTemplateArgs struct {
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	CommitSha  pulumi.StringPtrInput `pulumi:"commitSha"`
	Dir        pulumi.StringPtrInput `pulumi:"dir"`
	ProjectId  pulumi.StringPtrInput `pulumi:"projectId"`
	RepoName   pulumi.StringPtrInput `pulumi:"repoName"`
	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
}

type TriggerTriggerTemplateOutput

type TriggerTriggerTemplateOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplateOutput) BranchName

func (TriggerTriggerTemplateOutput) CommitSha

func (TriggerTriggerTemplateOutput) Dir

func (TriggerTriggerTemplateOutput) ElementType

func (TriggerTriggerTemplateOutput) ProjectId

func (TriggerTriggerTemplateOutput) RepoName

func (TriggerTriggerTemplateOutput) TagName

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
}

type TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplatePtrOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplatePtrOutput) BranchName

func (TriggerTriggerTemplatePtrOutput) CommitSha

func (TriggerTriggerTemplatePtrOutput) Dir

func (TriggerTriggerTemplatePtrOutput) Elem

func (TriggerTriggerTemplatePtrOutput) ElementType

func (TriggerTriggerTemplatePtrOutput) ProjectId

func (TriggerTriggerTemplatePtrOutput) RepoName

func (TriggerTriggerTemplatePtrOutput) TagName

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