Documentation
¶
Overview ¶
nolint: lll Package cloudbuild exports types, functions, subpackages for provisioning cloudbuild resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-google) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-google` repo](https://github.com/terraform-providers/terraform-provider-google/issues).
Index ¶
- type Trigger
- func (r *Trigger) Build() *pulumi.Output
- func (r *Trigger) CreateTime() *pulumi.StringOutput
- func (r *Trigger) Description() *pulumi.StringOutput
- func (r *Trigger) Disabled() *pulumi.BoolOutput
- func (r *Trigger) Filename() *pulumi.StringOutput
- func (r *Trigger) ID() *pulumi.IDOutput
- func (r *Trigger) IgnoredFiles() *pulumi.ArrayOutput
- func (r *Trigger) IncludedFiles() *pulumi.ArrayOutput
- func (r *Trigger) Project() *pulumi.StringOutput
- func (r *Trigger) Substitutions() *pulumi.MapOutput
- func (r *Trigger) TriggerId() *pulumi.StringOutput
- func (r *Trigger) TriggerTemplate() *pulumi.Output
- func (r *Trigger) URN() *pulumi.URNOutput
- type TriggerArgs
- type TriggerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
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)
> 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.ID, state *TriggerState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (*Trigger) CreateTime ¶ added in v0.18.0
func (r *Trigger) CreateTime() *pulumi.StringOutput
func (*Trigger) Description ¶
func (r *Trigger) Description() *pulumi.StringOutput
func (*Trigger) Disabled ¶ added in v0.18.0
func (r *Trigger) Disabled() *pulumi.BoolOutput
func (*Trigger) Filename ¶
func (r *Trigger) Filename() *pulumi.StringOutput
func (*Trigger) IgnoredFiles ¶ added in v0.18.0
func (r *Trigger) IgnoredFiles() *pulumi.ArrayOutput
func (*Trigger) IncludedFiles ¶ added in v0.18.0
func (r *Trigger) IncludedFiles() *pulumi.ArrayOutput
func (*Trigger) Project ¶
func (r *Trigger) Project() *pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (*Trigger) Substitutions ¶ added in v0.16.0
func (*Trigger) TriggerId ¶ added in v0.18.0
func (r *Trigger) TriggerId() *pulumi.StringOutput
func (*Trigger) TriggerTemplate ¶
type TriggerArgs ¶
type TriggerArgs struct { Build interface{} Description interface{} Disabled interface{} Filename interface{} IgnoredFiles interface{} IncludedFiles interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} Substitutions interface{} TriggerTemplate interface{} }
The set of arguments for constructing a Trigger resource.
type TriggerState ¶
type TriggerState struct { Build interface{} CreateTime interface{} Description interface{} Disabled interface{} Filename interface{} IgnoredFiles interface{} IncludedFiles interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} Substitutions interface{} TriggerId interface{} TriggerTemplate interface{} }
Input properties used for looking up and filtering Trigger resources.