Documentation ¶
Index ¶
- type Trigger
- func (*Trigger) ElementType() reflect.Type
- func (i *Trigger) ToTriggerOutput() TriggerOutput
- func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
- func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerArgs
- type TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- 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 TriggerBuildArtifacts
- type TriggerBuildArtifactsArgs
- func (TriggerBuildArtifactsArgs) ElementType() reflect.Type
- func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput
- func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput
- func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
- func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
- type TriggerBuildArtifactsInput
- type TriggerBuildArtifactsObjects
- type TriggerBuildArtifactsObjectsArgs
- func (TriggerBuildArtifactsObjectsArgs) ElementType() reflect.Type
- func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput
- func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput
- func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
- func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
- type TriggerBuildArtifactsObjectsInput
- type TriggerBuildArtifactsObjectsOutput
- func (TriggerBuildArtifactsObjectsOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsObjectsOutput) Location() pulumi.StringPtrOutput
- func (o TriggerBuildArtifactsObjectsOutput) Paths() pulumi.StringArrayOutput
- func (o TriggerBuildArtifactsObjectsOutput) Timings() TriggerBuildArtifactsObjectsTimingArrayOutput
- func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput
- func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput
- func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
- func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
- type TriggerBuildArtifactsObjectsPtrInput
- type TriggerBuildArtifactsObjectsPtrOutput
- func (o TriggerBuildArtifactsObjectsPtrOutput) Elem() TriggerBuildArtifactsObjectsOutput
- func (TriggerBuildArtifactsObjectsPtrOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsObjectsPtrOutput) Location() pulumi.StringPtrOutput
- func (o TriggerBuildArtifactsObjectsPtrOutput) Paths() pulumi.StringArrayOutput
- func (o TriggerBuildArtifactsObjectsPtrOutput) Timings() TriggerBuildArtifactsObjectsTimingArrayOutput
- func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
- func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
- type TriggerBuildArtifactsObjectsTiming
- type TriggerBuildArtifactsObjectsTimingArgs
- func (TriggerBuildArtifactsObjectsTimingArgs) ElementType() reflect.Type
- func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput
- func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput
- type TriggerBuildArtifactsObjectsTimingArray
- func (TriggerBuildArtifactsObjectsTimingArray) ElementType() reflect.Type
- func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput
- func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput
- type TriggerBuildArtifactsObjectsTimingArrayInput
- type TriggerBuildArtifactsObjectsTimingArrayOutput
- func (TriggerBuildArtifactsObjectsTimingArrayOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsObjectsTimingArrayOutput) Index(i pulumi.IntInput) TriggerBuildArtifactsObjectsTimingOutput
- func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput
- func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput
- type TriggerBuildArtifactsObjectsTimingInput
- type TriggerBuildArtifactsObjectsTimingOutput
- func (TriggerBuildArtifactsObjectsTimingOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsObjectsTimingOutput) EndTime() pulumi.StringPtrOutput
- func (o TriggerBuildArtifactsObjectsTimingOutput) StartTime() pulumi.StringPtrOutput
- func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput
- func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput
- type TriggerBuildArtifactsOutput
- func (TriggerBuildArtifactsOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildArtifactsOutput) Objects() TriggerBuildArtifactsObjectsPtrOutput
- func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput
- func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput
- func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
- func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
- type TriggerBuildArtifactsPtrInput
- type TriggerBuildArtifactsPtrOutput
- func (o TriggerBuildArtifactsPtrOutput) Elem() TriggerBuildArtifactsOutput
- func (TriggerBuildArtifactsPtrOutput) ElementType() reflect.Type
- func (o TriggerBuildArtifactsPtrOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildArtifactsPtrOutput) Objects() TriggerBuildArtifactsObjectsPtrOutput
- func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
- func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
- type TriggerBuildInput
- type TriggerBuildOptions
- type TriggerBuildOptionsArgs
- func (TriggerBuildOptionsArgs) ElementType() reflect.Type
- func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput
- func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput
- func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
- func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
- type TriggerBuildOptionsInput
- type TriggerBuildOptionsOutput
- func (o TriggerBuildOptionsOutput) DiskSizeGb() pulumi.IntPtrOutput
- func (o TriggerBuildOptionsOutput) DynamicSubstitutions() pulumi.BoolPtrOutput
- func (TriggerBuildOptionsOutput) ElementType() reflect.Type
- func (o TriggerBuildOptionsOutput) Envs() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsOutput) LogStreamingOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsOutput) Logging() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsOutput) MachineType() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsOutput) RequestedVerifyOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsOutput) SecretEnvs() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsOutput) SourceProvenanceHashes() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsOutput) SubstitutionOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput
- func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput
- func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOptionsOutput) Volumes() TriggerBuildOptionsVolumeArrayOutput
- func (o TriggerBuildOptionsOutput) WorkerPool() pulumi.StringPtrOutput
- type TriggerBuildOptionsPtrInput
- type TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOptionsPtrOutput) DiskSizeGb() pulumi.IntPtrOutput
- func (o TriggerBuildOptionsPtrOutput) DynamicSubstitutions() pulumi.BoolPtrOutput
- func (o TriggerBuildOptionsPtrOutput) Elem() TriggerBuildOptionsOutput
- func (TriggerBuildOptionsPtrOutput) ElementType() reflect.Type
- func (o TriggerBuildOptionsPtrOutput) Envs() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsPtrOutput) LogStreamingOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsPtrOutput) Logging() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsPtrOutput) MachineType() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsPtrOutput) RequestedVerifyOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsPtrOutput) SecretEnvs() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsPtrOutput) SourceProvenanceHashes() pulumi.StringArrayOutput
- func (o TriggerBuildOptionsPtrOutput) SubstitutionOption() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOptionsPtrOutput) Volumes() TriggerBuildOptionsVolumeArrayOutput
- func (o TriggerBuildOptionsPtrOutput) WorkerPool() pulumi.StringPtrOutput
- type TriggerBuildOptionsVolume
- type TriggerBuildOptionsVolumeArgs
- func (TriggerBuildOptionsVolumeArgs) ElementType() reflect.Type
- func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput
- func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput
- type TriggerBuildOptionsVolumeArray
- func (TriggerBuildOptionsVolumeArray) ElementType() reflect.Type
- func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput
- func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput
- type TriggerBuildOptionsVolumeArrayInput
- type TriggerBuildOptionsVolumeArrayOutput
- func (TriggerBuildOptionsVolumeArrayOutput) ElementType() reflect.Type
- func (o TriggerBuildOptionsVolumeArrayOutput) Index(i pulumi.IntInput) TriggerBuildOptionsVolumeOutput
- func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput
- func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput
- type TriggerBuildOptionsVolumeInput
- type TriggerBuildOptionsVolumeOutput
- func (TriggerBuildOptionsVolumeOutput) ElementType() reflect.Type
- func (o TriggerBuildOptionsVolumeOutput) Name() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsVolumeOutput) Path() pulumi.StringPtrOutput
- func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput
- func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput
- type TriggerBuildOutput
- func (o TriggerBuildOutput) Artifacts() TriggerBuildArtifactsPtrOutput
- func (TriggerBuildOutput) ElementType() reflect.Type
- func (o TriggerBuildOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildOutput) LogsBucket() pulumi.StringPtrOutput
- func (o TriggerBuildOutput) Options() TriggerBuildOptionsPtrOutput
- func (o TriggerBuildOutput) QueueTtl() pulumi.StringPtrOutput
- func (o TriggerBuildOutput) Secrets() TriggerBuildSecretArrayOutput
- func (o TriggerBuildOutput) Source() TriggerBuildSourcePtrOutput
- func (o TriggerBuildOutput) Steps() TriggerBuildStepArrayOutput
- func (o TriggerBuildOutput) Substitutions() pulumi.StringMapOutput
- 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) Artifacts() TriggerBuildArtifactsPtrOutput
- func (o TriggerBuildPtrOutput) Elem() TriggerBuildOutput
- func (TriggerBuildPtrOutput) ElementType() reflect.Type
- func (o TriggerBuildPtrOutput) Images() pulumi.StringArrayOutput
- func (o TriggerBuildPtrOutput) LogsBucket() pulumi.StringPtrOutput
- func (o TriggerBuildPtrOutput) Options() TriggerBuildOptionsPtrOutput
- func (o TriggerBuildPtrOutput) QueueTtl() pulumi.StringPtrOutput
- func (o TriggerBuildPtrOutput) Secrets() TriggerBuildSecretArrayOutput
- func (o TriggerBuildPtrOutput) Source() TriggerBuildSourcePtrOutput
- func (o TriggerBuildPtrOutput) Steps() TriggerBuildStepArrayOutput
- func (o TriggerBuildPtrOutput) Substitutions() pulumi.StringMapOutput
- 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 TriggerBuildSecret
- type TriggerBuildSecretArgs
- type TriggerBuildSecretArray
- type TriggerBuildSecretArrayInput
- type TriggerBuildSecretArrayOutput
- func (TriggerBuildSecretArrayOutput) ElementType() reflect.Type
- func (o TriggerBuildSecretArrayOutput) Index(i pulumi.IntInput) TriggerBuildSecretOutput
- func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput
- func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutputWithContext(ctx context.Context) TriggerBuildSecretArrayOutput
- type TriggerBuildSecretInput
- type TriggerBuildSecretOutput
- func (TriggerBuildSecretOutput) ElementType() reflect.Type
- func (o TriggerBuildSecretOutput) KmsKeyName() pulumi.StringOutput
- func (o TriggerBuildSecretOutput) SecretEnv() pulumi.StringMapOutput
- func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutput() TriggerBuildSecretOutput
- func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutputWithContext(ctx context.Context) TriggerBuildSecretOutput
- type TriggerBuildSource
- type TriggerBuildSourceArgs
- func (TriggerBuildSourceArgs) ElementType() reflect.Type
- func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput
- func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput
- func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
- func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
- type TriggerBuildSourceInput
- type TriggerBuildSourceOutput
- func (TriggerBuildSourceOutput) ElementType() reflect.Type
- func (o TriggerBuildSourceOutput) RepoSource() TriggerBuildSourceRepoSourcePtrOutput
- func (o TriggerBuildSourceOutput) StorageSource() TriggerBuildSourceStorageSourcePtrOutput
- func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput
- func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput
- func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
- func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
- type TriggerBuildSourcePtrInput
- type TriggerBuildSourcePtrOutput
- func (o TriggerBuildSourcePtrOutput) Elem() TriggerBuildSourceOutput
- func (TriggerBuildSourcePtrOutput) ElementType() reflect.Type
- func (o TriggerBuildSourcePtrOutput) RepoSource() TriggerBuildSourceRepoSourcePtrOutput
- func (o TriggerBuildSourcePtrOutput) StorageSource() TriggerBuildSourceStorageSourcePtrOutput
- func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
- func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
- type TriggerBuildSourceRepoSource
- type TriggerBuildSourceRepoSourceArgs
- func (TriggerBuildSourceRepoSourceArgs) ElementType() reflect.Type
- func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput
- func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput
- func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
- func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
- type TriggerBuildSourceRepoSourceInput
- type TriggerBuildSourceRepoSourceOutput
- func (o TriggerBuildSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput
- func (TriggerBuildSourceRepoSourceOutput) ElementType() reflect.Type
- func (o TriggerBuildSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) RepoName() pulumi.StringOutput
- func (o TriggerBuildSourceRepoSourceOutput) Substitutions() pulumi.StringMapOutput
- func (o TriggerBuildSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput
- func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput
- func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
- func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
- type TriggerBuildSourceRepoSourcePtrInput
- type TriggerBuildSourceRepoSourcePtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) Elem() TriggerBuildSourceRepoSourceOutput
- func (TriggerBuildSourceRepoSourcePtrOutput) ElementType() reflect.Type
- func (o TriggerBuildSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) Substitutions() pulumi.StringMapOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
- func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
- type TriggerBuildSourceStorageSource
- type TriggerBuildSourceStorageSourceArgs
- func (TriggerBuildSourceStorageSourceArgs) ElementType() reflect.Type
- func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput
- func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput
- func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
- func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
- type TriggerBuildSourceStorageSourceInput
- type TriggerBuildSourceStorageSourceOutput
- func (o TriggerBuildSourceStorageSourceOutput) Bucket() pulumi.StringOutput
- func (TriggerBuildSourceStorageSourceOutput) ElementType() reflect.Type
- func (o TriggerBuildSourceStorageSourceOutput) Generation() pulumi.StringPtrOutput
- func (o TriggerBuildSourceStorageSourceOutput) Object() pulumi.StringOutput
- func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput
- func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput
- func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
- func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
- type TriggerBuildSourceStorageSourcePtrInput
- type TriggerBuildSourceStorageSourcePtrOutput
- func (o TriggerBuildSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
- func (o TriggerBuildSourceStorageSourcePtrOutput) Elem() TriggerBuildSourceStorageSourceOutput
- func (TriggerBuildSourceStorageSourcePtrOutput) ElementType() reflect.Type
- func (o TriggerBuildSourceStorageSourcePtrOutput) Generation() pulumi.StringPtrOutput
- func (o TriggerBuildSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
- func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
- func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- func (o TriggerGithubPushPtrOutput) Tag() pulumi.StringPtrOutput
- func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
- func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
- func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerPtrInput
- type TriggerPtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- 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) InvertRegex() pulumi.BoolPtrOutput
- 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 to use in a triggered build. Should only be used with triggers.run Substitutions pulumi.StringMapOutput `pulumi:"substitutions"` // Tags for annotation of a Build. These are not docker tags. Tags pulumi.StringArrayOutput `pulumi:"tags"` // 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/v1/projects.triggers) * How-to Guides
- [Automating builds using build triggers](https://cloud.google.com/cloud-build/docs/running-builds/automate-builds)
> **Note:** You can retrieve the email of the Cloud Build Service Account used in jobs by using the `projects.ServiceIdentity` resource.
## Example Usage ### Cloudbuild Trigger Filename
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/cloudbuild" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudbuild.NewTrigger(ctx, "filename_trigger", &cloudbuild.TriggerArgs{ Filename: pulumi.String("cloudbuild.yaml"), Substitutions: pulumi.StringMap{ "_BAZ": pulumi.String("qux"), "_FOO": pulumi.String("bar"), }, TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{ BranchName: pulumi.String("master"), RepoName: pulumi.String("my-repo"), }, }) if err != nil { return err } return nil }) }
``` ### Cloudbuild Trigger Build
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/cloudbuild" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudbuild.NewTrigger(ctx, "build_trigger", &cloudbuild.TriggerArgs{ Build: &cloudbuild.TriggerBuildArgs{ Artifacts: &cloudbuild.TriggerBuildArtifactsArgs{ Images: pulumi.StringArray{ pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "gcr.io/", "$", "PROJECT_ID/", "$", "REPO_NAME:", "$", "COMMIT_SHA")), }, Objects: &cloudbuild.TriggerBuildArtifactsObjectsArgs{ Location: pulumi.String("gs://bucket/path/to/somewhere/"), Paths: pulumi.StringArray{ pulumi.String("path"), }, }, }, LogsBucket: pulumi.String("gs://mybucket/logs"), Options: &cloudbuild.TriggerBuildOptionsArgs{ DiskSizeGb: pulumi.Int(100), DynamicSubstitutions: pulumi.Bool(true), Env: pulumi.StringArray{ pulumi.String("ekey = evalue"), }, LogStreamingOption: pulumi.String("STREAM_OFF"), Logging: pulumi.String("LEGACY"), MachineType: pulumi.String("N1_HIGHCPU_8"), RequestedVerifyOption: pulumi.String("VERIFIED"), SecretEnv: pulumi.StringArray{ pulumi.String("secretenv = svalue"), }, SourceProvenanceHash: pulumi.StringArray{ pulumi.String("MD5"), }, SubstitutionOption: pulumi.String("ALLOW_LOOSE"), Volumes: cloudbuild.TriggerBuildOptionsVolumeArray{ &cloudbuild.TriggerBuildOptionsVolumeArgs{ Name: pulumi.String("v1"), Path: pulumi.String("v1"), }, }, WorkerPool: pulumi.String("pool"), }, QueueTtl: pulumi.String("20s"), Secrets: cloudbuild.TriggerBuildSecretArray{ &cloudbuild.TriggerBuildSecretArgs{ KmsKeyName: pulumi.String("projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name"), SecretEnv: pulumi.StringMap{ "PASSWORD": pulumi.String("ZW5jcnlwdGVkLXBhc3N3b3JkCg=="), }, }, }, Source: &cloudbuild.TriggerBuildSourceArgs{ StorageSource: &cloudbuild.TriggerBuildSourceStorageSourceArgs{ Bucket: pulumi.String("mybucket"), Object: pulumi.String("source_code.tar.gz"), }, }, Steps: cloudbuild.TriggerBuildStepArray{ &cloudbuild.TriggerBuildStepArgs{ Args: pulumi.StringArray{ pulumi.String("cp"), pulumi.String("gs://mybucket/remotefile.zip"), pulumi.String("localfile.zip"), }, Name: pulumi.String("gcr.io/cloud-builders/gsutil"), Timeout: pulumi.String("120s"), }, }, Substitutions: pulumi.StringMap{ "_BAZ": pulumi.String("qux"), "_FOO": pulumi.String("bar"), }, Tags: pulumi.StringArray{ pulumi.String("build"), pulumi.String("newFeature"), }, }, TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{ BranchName: pulumi.String("master"), RepoName: pulumi.String("my-repo"), }, }) if err != nil { return err } return nil }) }
```
## Import
Trigger can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:cloudbuild/trigger:Trigger default projects/{{project}}/triggers/{{trigger_id}}
```
```sh
$ pulumi import gcp:cloudbuild/trigger:Trigger default {{project}}/{{trigger_id}}
```
```sh
$ pulumi import gcp:cloudbuild/trigger:Trigger default {{trigger_id}}
```
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.
func (*Trigger) ElementType ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (*Trigger) ToTriggerPtrOutput ¶
func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
func (*Trigger) ToTriggerPtrOutputWithContext ¶
func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
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 to use in a triggered build. Should only be used with triggers.run Substitutions pulumi.StringMapInput // Tags for annotation of a Build. These are not docker tags. Tags pulumi.StringArrayInput // 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 TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerBuild ¶
type TriggerBuild struct { // Artifacts produced by the build that should be uploaded upon successful completion of all build steps. // Structure is documented below. Artifacts *TriggerBuildArtifacts `pulumi:"artifacts"` // A list of images to be pushed upon the successful completion of all build steps. // The images will be 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 is marked FAILURE. Images []string `pulumi:"images"` // Google Cloud Storage bucket where logs should be written. // Logs file names will be of the format ${logsBucket}/log-${build_id}.txt. LogsBucket *string `pulumi:"logsBucket"` // Special options for this build. // Structure is documented below. Options *TriggerBuildOptions `pulumi:"options"` // TTL in queue for this build. If provided and the build is enqueued longer than this value, // the build will expire and the build status will be EXPIRED. // The TTL starts ticking from createTime. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". QueueTtl *string `pulumi:"queueTtl"` // Secrets to decrypt using Cloud Key Management Service. // Structure is documented below. Secrets []TriggerBuildSecret `pulumi:"secrets"` // The location of the source files to build. // One of `storageSource` or `repoSource` must be provided. // Structure is documented below. Source *TriggerBuildSource `pulumi:"source"` // The operations to be performed on the workspace. // Structure is documented below. Steps []TriggerBuildStep `pulumi:"steps"` // Substitutions to use in a triggered build. Should only be used with triggers.run Substitutions map[string]string `pulumi:"substitutions"` // 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 { // Artifacts produced by the build that should be uploaded upon successful completion of all build steps. // Structure is documented below. Artifacts TriggerBuildArtifactsPtrInput `pulumi:"artifacts"` // A list of images to be pushed upon the successful completion of all build steps. // The images will be 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 is marked FAILURE. Images pulumi.StringArrayInput `pulumi:"images"` // Google Cloud Storage bucket where logs should be written. // Logs file names will be of the format ${logsBucket}/log-${build_id}.txt. LogsBucket pulumi.StringPtrInput `pulumi:"logsBucket"` // Special options for this build. // Structure is documented below. Options TriggerBuildOptionsPtrInput `pulumi:"options"` // TTL in queue for this build. If provided and the build is enqueued longer than this value, // the build will expire and the build status will be EXPIRED. // The TTL starts ticking from createTime. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". QueueTtl pulumi.StringPtrInput `pulumi:"queueTtl"` // Secrets to decrypt using Cloud Key Management Service. // Structure is documented below. Secrets TriggerBuildSecretArrayInput `pulumi:"secrets"` // The location of the source files to build. // One of `storageSource` or `repoSource` must be provided. // Structure is documented below. Source TriggerBuildSourcePtrInput `pulumi:"source"` // The operations to be performed on the workspace. // Structure is documented below. Steps TriggerBuildStepArrayInput `pulumi:"steps"` // Substitutions to use in a triggered build. Should only be used with triggers.run Substitutions pulumi.StringMapInput `pulumi:"substitutions"` // 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 TriggerBuildArtifacts ¶
type TriggerBuildArtifacts struct { // A list of images to be pushed upon the successful completion of all build steps. // The images will be 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 is marked FAILURE. Images []string `pulumi:"images"` // A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. // Files in the workspace matching specified paths globs will be uploaded to the // Cloud Storage location using the builder service account's credentials. // The location and generation of the uploaded objects will be stored in the Build resource's results field. // If any objects fail to be pushed, the build is marked FAILURE. // Structure is documented below. Objects *TriggerBuildArtifactsObjects `pulumi:"objects"` }
type TriggerBuildArtifactsArgs ¶
type TriggerBuildArtifactsArgs struct { // A list of images to be pushed upon the successful completion of all build steps. // The images will be 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 is marked FAILURE. Images pulumi.StringArrayInput `pulumi:"images"` // A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. // Files in the workspace matching specified paths globs will be uploaded to the // Cloud Storage location using the builder service account's credentials. // The location and generation of the uploaded objects will be stored in the Build resource's results field. // If any objects fail to be pushed, the build is marked FAILURE. // Structure is documented below. Objects TriggerBuildArtifactsObjectsPtrInput `pulumi:"objects"` }
func (TriggerBuildArtifactsArgs) ElementType ¶
func (TriggerBuildArtifactsArgs) ElementType() reflect.Type
func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutput ¶
func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput
func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutputWithContext ¶
func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput
func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutput ¶
func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutputWithContext ¶
func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
type TriggerBuildArtifactsInput ¶
type TriggerBuildArtifactsInput interface { pulumi.Input ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput ToTriggerBuildArtifactsOutputWithContext(context.Context) TriggerBuildArtifactsOutput }
TriggerBuildArtifactsInput is an input type that accepts TriggerBuildArtifactsArgs and TriggerBuildArtifactsOutput values. You can construct a concrete instance of `TriggerBuildArtifactsInput` via:
TriggerBuildArtifactsArgs{...}
type TriggerBuildArtifactsObjects ¶
type TriggerBuildArtifactsObjects struct { // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". // Files in the workspace matching any path pattern will be uploaded to Cloud Storage with // this location as a prefix. Location *string `pulumi:"location"` // Path globs used to match files in the build's workspace. Paths []string `pulumi:"paths"` // - // Output only. Stores timing information for pushing all artifact objects. // Structure is documented below. Timings []TriggerBuildArtifactsObjectsTiming `pulumi:"timings"` }
type TriggerBuildArtifactsObjectsArgs ¶
type TriggerBuildArtifactsObjectsArgs struct { // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". // Files in the workspace matching any path pattern will be uploaded to Cloud Storage with // this location as a prefix. Location pulumi.StringPtrInput `pulumi:"location"` // Path globs used to match files in the build's workspace. Paths pulumi.StringArrayInput `pulumi:"paths"` // - // Output only. Stores timing information for pushing all artifact objects. // Structure is documented below. Timings TriggerBuildArtifactsObjectsTimingArrayInput `pulumi:"timings"` }
func (TriggerBuildArtifactsObjectsArgs) ElementType ¶
func (TriggerBuildArtifactsObjectsArgs) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutput ¶
func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput
func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutputWithContext ¶
func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput
func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutput ¶
func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutputWithContext ¶
func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
type TriggerBuildArtifactsObjectsInput ¶
type TriggerBuildArtifactsObjectsInput interface { pulumi.Input ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput ToTriggerBuildArtifactsObjectsOutputWithContext(context.Context) TriggerBuildArtifactsObjectsOutput }
TriggerBuildArtifactsObjectsInput is an input type that accepts TriggerBuildArtifactsObjectsArgs and TriggerBuildArtifactsObjectsOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsInput` via:
TriggerBuildArtifactsObjectsArgs{...}
type TriggerBuildArtifactsObjectsOutput ¶
type TriggerBuildArtifactsObjectsOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsObjectsOutput) ElementType ¶
func (TriggerBuildArtifactsObjectsOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsOutput) Location ¶
func (o TriggerBuildArtifactsObjectsOutput) Location() pulumi.StringPtrOutput
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
func (TriggerBuildArtifactsObjectsOutput) Paths ¶
func (o TriggerBuildArtifactsObjectsOutput) Paths() pulumi.StringArrayOutput
Path globs used to match files in the build's workspace.
func (TriggerBuildArtifactsObjectsOutput) Timings ¶
func (o TriggerBuildArtifactsObjectsOutput) Timings() TriggerBuildArtifactsObjectsTimingArrayOutput
- Output only. Stores timing information for pushing all artifact objects. Structure is documented below.
func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutput ¶
func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput
func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutputWithContext ¶
func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput
func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutput ¶
func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext ¶
func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
type TriggerBuildArtifactsObjectsPtrInput ¶
type TriggerBuildArtifactsObjectsPtrInput interface { pulumi.Input ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput ToTriggerBuildArtifactsObjectsPtrOutputWithContext(context.Context) TriggerBuildArtifactsObjectsPtrOutput }
TriggerBuildArtifactsObjectsPtrInput is an input type that accepts TriggerBuildArtifactsObjectsArgs, TriggerBuildArtifactsObjectsPtr and TriggerBuildArtifactsObjectsPtrOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsPtrInput` via:
TriggerBuildArtifactsObjectsArgs{...} or: nil
func TriggerBuildArtifactsObjectsPtr ¶
func TriggerBuildArtifactsObjectsPtr(v *TriggerBuildArtifactsObjectsArgs) TriggerBuildArtifactsObjectsPtrInput
type TriggerBuildArtifactsObjectsPtrOutput ¶
type TriggerBuildArtifactsObjectsPtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsObjectsPtrOutput) ElementType ¶
func (TriggerBuildArtifactsObjectsPtrOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsPtrOutput) Location ¶
func (o TriggerBuildArtifactsObjectsPtrOutput) Location() pulumi.StringPtrOutput
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
func (TriggerBuildArtifactsObjectsPtrOutput) Paths ¶
func (o TriggerBuildArtifactsObjectsPtrOutput) Paths() pulumi.StringArrayOutput
Path globs used to match files in the build's workspace.
func (TriggerBuildArtifactsObjectsPtrOutput) Timings ¶
func (o TriggerBuildArtifactsObjectsPtrOutput) Timings() TriggerBuildArtifactsObjectsTimingArrayOutput
- Output only. Stores timing information for pushing all artifact objects. Structure is documented below.
func (TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutput ¶
func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
func (TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext ¶
func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput
type TriggerBuildArtifactsObjectsTiming ¶
type TriggerBuildArtifactsObjectsTiming struct { // End of time span. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". EndTime *string `pulumi:"endTime"` // Start of time span. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". StartTime *string `pulumi:"startTime"` }
type TriggerBuildArtifactsObjectsTimingArgs ¶
type TriggerBuildArtifactsObjectsTimingArgs struct { // End of time span. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". EndTime pulumi.StringPtrInput `pulumi:"endTime"` // Start of time span. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". StartTime pulumi.StringPtrInput `pulumi:"startTime"` }
func (TriggerBuildArtifactsObjectsTimingArgs) ElementType ¶
func (TriggerBuildArtifactsObjectsTimingArgs) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutput ¶
func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput
func (TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutputWithContext ¶
func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput
type TriggerBuildArtifactsObjectsTimingArray ¶
type TriggerBuildArtifactsObjectsTimingArray []TriggerBuildArtifactsObjectsTimingInput
func (TriggerBuildArtifactsObjectsTimingArray) ElementType ¶
func (TriggerBuildArtifactsObjectsTimingArray) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutput ¶
func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput
func (TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext ¶
func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput
type TriggerBuildArtifactsObjectsTimingArrayInput ¶
type TriggerBuildArtifactsObjectsTimingArrayInput interface { pulumi.Input ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput }
TriggerBuildArtifactsObjectsTimingArrayInput is an input type that accepts TriggerBuildArtifactsObjectsTimingArray and TriggerBuildArtifactsObjectsTimingArrayOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsTimingArrayInput` via:
TriggerBuildArtifactsObjectsTimingArray{ TriggerBuildArtifactsObjectsTimingArgs{...} }
type TriggerBuildArtifactsObjectsTimingArrayOutput ¶
type TriggerBuildArtifactsObjectsTimingArrayOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsObjectsTimingArrayOutput) ElementType ¶
func (TriggerBuildArtifactsObjectsTimingArrayOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutput ¶
func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput
func (TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext ¶
func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput
type TriggerBuildArtifactsObjectsTimingInput ¶
type TriggerBuildArtifactsObjectsTimingInput interface { pulumi.Input ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput ToTriggerBuildArtifactsObjectsTimingOutputWithContext(context.Context) TriggerBuildArtifactsObjectsTimingOutput }
TriggerBuildArtifactsObjectsTimingInput is an input type that accepts TriggerBuildArtifactsObjectsTimingArgs and TriggerBuildArtifactsObjectsTimingOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsTimingInput` via:
TriggerBuildArtifactsObjectsTimingArgs{...}
type TriggerBuildArtifactsObjectsTimingOutput ¶
type TriggerBuildArtifactsObjectsTimingOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsObjectsTimingOutput) ElementType ¶
func (TriggerBuildArtifactsObjectsTimingOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsObjectsTimingOutput) EndTime ¶
func (o TriggerBuildArtifactsObjectsTimingOutput) EndTime() pulumi.StringPtrOutput
End of time span. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (TriggerBuildArtifactsObjectsTimingOutput) StartTime ¶
func (o TriggerBuildArtifactsObjectsTimingOutput) StartTime() pulumi.StringPtrOutput
Start of time span. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutput ¶
func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput
func (TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutputWithContext ¶
func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput
type TriggerBuildArtifactsOutput ¶
type TriggerBuildArtifactsOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsOutput) ElementType ¶
func (TriggerBuildArtifactsOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsOutput) Images ¶
func (o TriggerBuildArtifactsOutput) Images() pulumi.StringArrayOutput
A list of images to be pushed upon the successful completion of all build steps. The images will be 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 is marked FAILURE.
func (TriggerBuildArtifactsOutput) Objects ¶
func (o TriggerBuildArtifactsOutput) Objects() TriggerBuildArtifactsObjectsPtrOutput
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. Structure is documented below.
func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutput ¶
func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput
func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutputWithContext ¶
func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput
func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutput ¶
func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutputWithContext ¶
func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
type TriggerBuildArtifactsPtrInput ¶
type TriggerBuildArtifactsPtrInput interface { pulumi.Input ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput ToTriggerBuildArtifactsPtrOutputWithContext(context.Context) TriggerBuildArtifactsPtrOutput }
TriggerBuildArtifactsPtrInput is an input type that accepts TriggerBuildArtifactsArgs, TriggerBuildArtifactsPtr and TriggerBuildArtifactsPtrOutput values. You can construct a concrete instance of `TriggerBuildArtifactsPtrInput` via:
TriggerBuildArtifactsArgs{...} or: nil
func TriggerBuildArtifactsPtr ¶
func TriggerBuildArtifactsPtr(v *TriggerBuildArtifactsArgs) TriggerBuildArtifactsPtrInput
type TriggerBuildArtifactsPtrOutput ¶
type TriggerBuildArtifactsPtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildArtifactsPtrOutput) Elem ¶
func (o TriggerBuildArtifactsPtrOutput) Elem() TriggerBuildArtifactsOutput
func (TriggerBuildArtifactsPtrOutput) ElementType ¶
func (TriggerBuildArtifactsPtrOutput) ElementType() reflect.Type
func (TriggerBuildArtifactsPtrOutput) Images ¶
func (o TriggerBuildArtifactsPtrOutput) Images() pulumi.StringArrayOutput
A list of images to be pushed upon the successful completion of all build steps. The images will be 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 is marked FAILURE.
func (TriggerBuildArtifactsPtrOutput) Objects ¶
func (o TriggerBuildArtifactsPtrOutput) Objects() TriggerBuildArtifactsObjectsPtrOutput
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. Structure is documented below.
func (TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutput ¶
func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
func (TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutputWithContext ¶
func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput
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 TriggerBuildOptions ¶
type TriggerBuildOptions struct { // Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; // some of the space will be used by the operating system and build utilities. // Also note that this is the minimum disk size that will be allocated for the build -- // the build may run with a larger disk than requested. At present, the maximum disk size // is 1000GB; builds that request more than the maximum are rejected with an error. DiskSizeGb *int `pulumi:"diskSizeGb"` // Option to specify whether or not to apply bash style string operations to the substitutions. // NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. DynamicSubstitutions *bool `pulumi:"dynamicSubstitutions"` // A list of global environment variable definitions that will exist for all build steps // in this build. If a variable is defined in both globally and in a build step, // the variable will use the build step value. // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Envs []string `pulumi:"envs"` // Option to define build log streaming behavior to Google Cloud Storage. // Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`. LogStreamingOption *string `pulumi:"logStreamingOption"` // Option to specify the logging mode, which determines if and where build logs are stored. // Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`. Logging *string `pulumi:"logging"` // Compute Engine machine type on which to run the build. // Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`. MachineType *string `pulumi:"machineType"` // Requested verifiability options. // Possible values are `NOT_VERIFIED` and `VERIFIED`. RequestedVerifyOption *string `pulumi:"requestedVerifyOption"` // A list of global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. SecretEnvs []string `pulumi:"secretEnvs"` // Requested hash for SourceProvenance. // Each value may be one of `NONE`, `SHA256`, and `MD5`. SourceProvenanceHashes []string `pulumi:"sourceProvenanceHashes"` // Option to specify behavior when there is an error in the substitution checks. // NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden // in the build configuration file. // Possible values are `MUST_MATCH` and `ALLOW_LOOSE`. SubstitutionOption *string `pulumi:"substitutionOption"` // Global list of volumes to mount for ALL build steps // Each volume is created as an empty volume prior to starting the build process. // Upon completion of the build, volumes and their contents are discarded. Global // volume names and paths cannot conflict with the volumes defined a build step. // Using a global volume in a build with only one step is not valid as it is indicative // of a build request with an incorrect configuration. // Structure is documented below. Volumes []TriggerBuildOptionsVolume `pulumi:"volumes"` // Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} // This field is experimental. WorkerPool *string `pulumi:"workerPool"` }
type TriggerBuildOptionsArgs ¶
type TriggerBuildOptionsArgs struct { // Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; // some of the space will be used by the operating system and build utilities. // Also note that this is the minimum disk size that will be allocated for the build -- // the build may run with a larger disk than requested. At present, the maximum disk size // is 1000GB; builds that request more than the maximum are rejected with an error. DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` // Option to specify whether or not to apply bash style string operations to the substitutions. // NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. DynamicSubstitutions pulumi.BoolPtrInput `pulumi:"dynamicSubstitutions"` // A list of global environment variable definitions that will exist for all build steps // in this build. If a variable is defined in both globally and in a build step, // the variable will use the build step value. // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Envs pulumi.StringArrayInput `pulumi:"envs"` // Option to define build log streaming behavior to Google Cloud Storage. // Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`. LogStreamingOption pulumi.StringPtrInput `pulumi:"logStreamingOption"` // Option to specify the logging mode, which determines if and where build logs are stored. // Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`. Logging pulumi.StringPtrInput `pulumi:"logging"` // Compute Engine machine type on which to run the build. // Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`. MachineType pulumi.StringPtrInput `pulumi:"machineType"` // Requested verifiability options. // Possible values are `NOT_VERIFIED` and `VERIFIED`. RequestedVerifyOption pulumi.StringPtrInput `pulumi:"requestedVerifyOption"` // A list of global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. SecretEnvs pulumi.StringArrayInput `pulumi:"secretEnvs"` // Requested hash for SourceProvenance. // Each value may be one of `NONE`, `SHA256`, and `MD5`. SourceProvenanceHashes pulumi.StringArrayInput `pulumi:"sourceProvenanceHashes"` // Option to specify behavior when there is an error in the substitution checks. // NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden // in the build configuration file. // Possible values are `MUST_MATCH` and `ALLOW_LOOSE`. SubstitutionOption pulumi.StringPtrInput `pulumi:"substitutionOption"` // Global list of volumes to mount for ALL build steps // Each volume is created as an empty volume prior to starting the build process. // Upon completion of the build, volumes and their contents are discarded. Global // volume names and paths cannot conflict with the volumes defined a build step. // Using a global volume in a build with only one step is not valid as it is indicative // of a build request with an incorrect configuration. // Structure is documented below. Volumes TriggerBuildOptionsVolumeArrayInput `pulumi:"volumes"` // Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} // This field is experimental. WorkerPool pulumi.StringPtrInput `pulumi:"workerPool"` }
func (TriggerBuildOptionsArgs) ElementType ¶
func (TriggerBuildOptionsArgs) ElementType() reflect.Type
func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutput ¶
func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput
func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutputWithContext ¶
func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput
func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutput ¶
func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutputWithContext ¶
func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
type TriggerBuildOptionsInput ¶
type TriggerBuildOptionsInput interface { pulumi.Input ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput ToTriggerBuildOptionsOutputWithContext(context.Context) TriggerBuildOptionsOutput }
TriggerBuildOptionsInput is an input type that accepts TriggerBuildOptionsArgs and TriggerBuildOptionsOutput values. You can construct a concrete instance of `TriggerBuildOptionsInput` via:
TriggerBuildOptionsArgs{...}
type TriggerBuildOptionsOutput ¶
type TriggerBuildOptionsOutput struct{ *pulumi.OutputState }
func (TriggerBuildOptionsOutput) DiskSizeGb ¶
func (o TriggerBuildOptionsOutput) DiskSizeGb() pulumi.IntPtrOutput
Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
func (TriggerBuildOptionsOutput) DynamicSubstitutions ¶
func (o TriggerBuildOptionsOutput) DynamicSubstitutions() pulumi.BoolPtrOutput
Option to specify whether or not to apply bash style string operations to the substitutions. NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
func (TriggerBuildOptionsOutput) ElementType ¶
func (TriggerBuildOptionsOutput) ElementType() reflect.Type
func (TriggerBuildOptionsOutput) Envs ¶
func (o TriggerBuildOptionsOutput) Envs() pulumi.StringArrayOutput
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
func (TriggerBuildOptionsOutput) LogStreamingOption ¶
func (o TriggerBuildOptionsOutput) LogStreamingOption() pulumi.StringPtrOutput
Option to define build log streaming behavior to Google Cloud Storage. Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.
func (TriggerBuildOptionsOutput) Logging ¶
func (o TriggerBuildOptionsOutput) Logging() pulumi.StringPtrOutput
Option to specify the logging mode, which determines if and where build logs are stored. Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.
func (TriggerBuildOptionsOutput) MachineType ¶
func (o TriggerBuildOptionsOutput) MachineType() pulumi.StringPtrOutput
Compute Engine machine type on which to run the build. Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.
func (TriggerBuildOptionsOutput) RequestedVerifyOption ¶
func (o TriggerBuildOptionsOutput) RequestedVerifyOption() pulumi.StringPtrOutput
Requested verifiability options. Possible values are `NOT_VERIFIED` and `VERIFIED`.
func (TriggerBuildOptionsOutput) SecretEnvs ¶
func (o TriggerBuildOptionsOutput) SecretEnvs() pulumi.StringArrayOutput
A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
func (TriggerBuildOptionsOutput) SourceProvenanceHashes ¶
func (o TriggerBuildOptionsOutput) SourceProvenanceHashes() pulumi.StringArrayOutput
Requested hash for SourceProvenance. Each value may be one of `NONE`, `SHA256`, and `MD5`.
func (TriggerBuildOptionsOutput) SubstitutionOption ¶
func (o TriggerBuildOptionsOutput) SubstitutionOption() pulumi.StringPtrOutput
Option to specify behavior when there is an error in the substitution checks. NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.
func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutput ¶
func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput
func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutputWithContext ¶
func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput
func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutput ¶
func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutputWithContext ¶
func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
func (TriggerBuildOptionsOutput) Volumes ¶
func (o TriggerBuildOptionsOutput) Volumes() TriggerBuildOptionsVolumeArrayOutput
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.
func (TriggerBuildOptionsOutput) WorkerPool ¶
func (o TriggerBuildOptionsOutput) WorkerPool() pulumi.StringPtrOutput
Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} This field is experimental.
type TriggerBuildOptionsPtrInput ¶
type TriggerBuildOptionsPtrInput interface { pulumi.Input ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput ToTriggerBuildOptionsPtrOutputWithContext(context.Context) TriggerBuildOptionsPtrOutput }
TriggerBuildOptionsPtrInput is an input type that accepts TriggerBuildOptionsArgs, TriggerBuildOptionsPtr and TriggerBuildOptionsPtrOutput values. You can construct a concrete instance of `TriggerBuildOptionsPtrInput` via:
TriggerBuildOptionsArgs{...} or: nil
func TriggerBuildOptionsPtr ¶
func TriggerBuildOptionsPtr(v *TriggerBuildOptionsArgs) TriggerBuildOptionsPtrInput
type TriggerBuildOptionsPtrOutput ¶
type TriggerBuildOptionsPtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildOptionsPtrOutput) DiskSizeGb ¶
func (o TriggerBuildOptionsPtrOutput) DiskSizeGb() pulumi.IntPtrOutput
Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
func (TriggerBuildOptionsPtrOutput) DynamicSubstitutions ¶
func (o TriggerBuildOptionsPtrOutput) DynamicSubstitutions() pulumi.BoolPtrOutput
Option to specify whether or not to apply bash style string operations to the substitutions. NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
func (TriggerBuildOptionsPtrOutput) Elem ¶
func (o TriggerBuildOptionsPtrOutput) Elem() TriggerBuildOptionsOutput
func (TriggerBuildOptionsPtrOutput) ElementType ¶
func (TriggerBuildOptionsPtrOutput) ElementType() reflect.Type
func (TriggerBuildOptionsPtrOutput) Envs ¶
func (o TriggerBuildOptionsPtrOutput) Envs() pulumi.StringArrayOutput
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
func (TriggerBuildOptionsPtrOutput) LogStreamingOption ¶
func (o TriggerBuildOptionsPtrOutput) LogStreamingOption() pulumi.StringPtrOutput
Option to define build log streaming behavior to Google Cloud Storage. Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.
func (TriggerBuildOptionsPtrOutput) Logging ¶
func (o TriggerBuildOptionsPtrOutput) Logging() pulumi.StringPtrOutput
Option to specify the logging mode, which determines if and where build logs are stored. Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.
func (TriggerBuildOptionsPtrOutput) MachineType ¶
func (o TriggerBuildOptionsPtrOutput) MachineType() pulumi.StringPtrOutput
Compute Engine machine type on which to run the build. Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.
func (TriggerBuildOptionsPtrOutput) RequestedVerifyOption ¶
func (o TriggerBuildOptionsPtrOutput) RequestedVerifyOption() pulumi.StringPtrOutput
Requested verifiability options. Possible values are `NOT_VERIFIED` and `VERIFIED`.
func (TriggerBuildOptionsPtrOutput) SecretEnvs ¶
func (o TriggerBuildOptionsPtrOutput) SecretEnvs() pulumi.StringArrayOutput
A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
func (TriggerBuildOptionsPtrOutput) SourceProvenanceHashes ¶
func (o TriggerBuildOptionsPtrOutput) SourceProvenanceHashes() pulumi.StringArrayOutput
Requested hash for SourceProvenance. Each value may be one of `NONE`, `SHA256`, and `MD5`.
func (TriggerBuildOptionsPtrOutput) SubstitutionOption ¶
func (o TriggerBuildOptionsPtrOutput) SubstitutionOption() pulumi.StringPtrOutput
Option to specify behavior when there is an error in the substitution checks. NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.
func (TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutput ¶
func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
func (TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutputWithContext ¶
func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput
func (TriggerBuildOptionsPtrOutput) Volumes ¶
func (o TriggerBuildOptionsPtrOutput) Volumes() TriggerBuildOptionsVolumeArrayOutput
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.
func (TriggerBuildOptionsPtrOutput) WorkerPool ¶
func (o TriggerBuildOptionsPtrOutput) WorkerPool() pulumi.StringPtrOutput
Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} This field is experimental.
type TriggerBuildOptionsVolume ¶
type TriggerBuildOptionsVolume 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 TriggerBuildOptionsVolumeArgs ¶
type TriggerBuildOptionsVolumeArgs 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"` // 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.StringPtrInput `pulumi:"path"` }
func (TriggerBuildOptionsVolumeArgs) ElementType ¶
func (TriggerBuildOptionsVolumeArgs) ElementType() reflect.Type
func (TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutput ¶
func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput
func (TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutputWithContext ¶
func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput
type TriggerBuildOptionsVolumeArray ¶
type TriggerBuildOptionsVolumeArray []TriggerBuildOptionsVolumeInput
func (TriggerBuildOptionsVolumeArray) ElementType ¶
func (TriggerBuildOptionsVolumeArray) ElementType() reflect.Type
func (TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutput ¶
func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput
func (TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutputWithContext ¶
func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput
type TriggerBuildOptionsVolumeArrayInput ¶
type TriggerBuildOptionsVolumeArrayInput interface { pulumi.Input ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput ToTriggerBuildOptionsVolumeArrayOutputWithContext(context.Context) TriggerBuildOptionsVolumeArrayOutput }
TriggerBuildOptionsVolumeArrayInput is an input type that accepts TriggerBuildOptionsVolumeArray and TriggerBuildOptionsVolumeArrayOutput values. You can construct a concrete instance of `TriggerBuildOptionsVolumeArrayInput` via:
TriggerBuildOptionsVolumeArray{ TriggerBuildOptionsVolumeArgs{...} }
type TriggerBuildOptionsVolumeArrayOutput ¶
type TriggerBuildOptionsVolumeArrayOutput struct{ *pulumi.OutputState }
func (TriggerBuildOptionsVolumeArrayOutput) ElementType ¶
func (TriggerBuildOptionsVolumeArrayOutput) ElementType() reflect.Type
func (TriggerBuildOptionsVolumeArrayOutput) Index ¶
func (o TriggerBuildOptionsVolumeArrayOutput) Index(i pulumi.IntInput) TriggerBuildOptionsVolumeOutput
func (TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutput ¶
func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput
func (TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutputWithContext ¶
func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput
type TriggerBuildOptionsVolumeInput ¶
type TriggerBuildOptionsVolumeInput interface { pulumi.Input ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput ToTriggerBuildOptionsVolumeOutputWithContext(context.Context) TriggerBuildOptionsVolumeOutput }
TriggerBuildOptionsVolumeInput is an input type that accepts TriggerBuildOptionsVolumeArgs and TriggerBuildOptionsVolumeOutput values. You can construct a concrete instance of `TriggerBuildOptionsVolumeInput` via:
TriggerBuildOptionsVolumeArgs{...}
type TriggerBuildOptionsVolumeOutput ¶
type TriggerBuildOptionsVolumeOutput struct{ *pulumi.OutputState }
func (TriggerBuildOptionsVolumeOutput) ElementType ¶
func (TriggerBuildOptionsVolumeOutput) ElementType() reflect.Type
func (TriggerBuildOptionsVolumeOutput) Name ¶
func (o TriggerBuildOptionsVolumeOutput) 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 (TriggerBuildOptionsVolumeOutput) Path ¶
func (o TriggerBuildOptionsVolumeOutput) Path() pulumi.StringPtrOutput
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 (TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutput ¶
func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput
func (TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutputWithContext ¶
func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput
type TriggerBuildOutput ¶
type TriggerBuildOutput struct{ *pulumi.OutputState }
func (TriggerBuildOutput) Artifacts ¶
func (o TriggerBuildOutput) Artifacts() TriggerBuildArtifactsPtrOutput
Artifacts produced by the build that should be uploaded upon successful completion of all build steps. Structure is documented below.
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 will be 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 is marked FAILURE.
func (TriggerBuildOutput) LogsBucket ¶
func (o TriggerBuildOutput) LogsBucket() pulumi.StringPtrOutput
Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
func (TriggerBuildOutput) Options ¶
func (o TriggerBuildOutput) Options() TriggerBuildOptionsPtrOutput
Special options for this build. Structure is documented below.
func (TriggerBuildOutput) QueueTtl ¶
func (o TriggerBuildOutput) QueueTtl() pulumi.StringPtrOutput
TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (TriggerBuildOutput) Secrets ¶
func (o TriggerBuildOutput) Secrets() TriggerBuildSecretArrayOutput
Secrets to decrypt using Cloud Key Management Service. Structure is documented below.
func (TriggerBuildOutput) Source ¶
func (o TriggerBuildOutput) Source() TriggerBuildSourcePtrOutput
The location of the source files to build. One of `storageSource` or `repoSource` must be provided. Structure is documented below.
func (TriggerBuildOutput) Steps ¶
func (o TriggerBuildOutput) Steps() TriggerBuildStepArrayOutput
The operations to be performed on the workspace. Structure is documented below.
func (TriggerBuildOutput) Substitutions ¶
func (o TriggerBuildOutput) Substitutions() pulumi.StringMapOutput
Substitutions to use in a triggered build. Should only be used with triggers.run
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) Artifacts ¶
func (o TriggerBuildPtrOutput) Artifacts() TriggerBuildArtifactsPtrOutput
Artifacts produced by the build that should be uploaded upon successful completion of all build steps. Structure is documented below.
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 will be 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 is marked FAILURE.
func (TriggerBuildPtrOutput) LogsBucket ¶
func (o TriggerBuildPtrOutput) LogsBucket() pulumi.StringPtrOutput
Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
func (TriggerBuildPtrOutput) Options ¶
func (o TriggerBuildPtrOutput) Options() TriggerBuildOptionsPtrOutput
Special options for this build. Structure is documented below.
func (TriggerBuildPtrOutput) QueueTtl ¶
func (o TriggerBuildPtrOutput) QueueTtl() pulumi.StringPtrOutput
TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (TriggerBuildPtrOutput) Secrets ¶
func (o TriggerBuildPtrOutput) Secrets() TriggerBuildSecretArrayOutput
Secrets to decrypt using Cloud Key Management Service. Structure is documented below.
func (TriggerBuildPtrOutput) Source ¶
func (o TriggerBuildPtrOutput) Source() TriggerBuildSourcePtrOutput
The location of the source files to build. One of `storageSource` or `repoSource` must be provided. Structure is documented below.
func (TriggerBuildPtrOutput) Steps ¶
func (o TriggerBuildPtrOutput) Steps() TriggerBuildStepArrayOutput
The operations to be performed on the workspace. Structure is documented below.
func (TriggerBuildPtrOutput) Substitutions ¶
func (o TriggerBuildPtrOutput) Substitutions() pulumi.StringMapOutput
Substitutions to use in a triggered build. Should only be used with triggers.run
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 TriggerBuildSecret ¶
type TriggerBuildSecret struct { // Cloud KMS key name to use to decrypt these envs. KmsKeyName string `pulumi:"kmsKeyName"` // A list of global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. SecretEnv map[string]string `pulumi:"secretEnv"` }
type TriggerBuildSecretArgs ¶
type TriggerBuildSecretArgs struct { // Cloud KMS key name to use to decrypt these envs. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` // A list of global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. SecretEnv pulumi.StringMapInput `pulumi:"secretEnv"` }
func (TriggerBuildSecretArgs) ElementType ¶
func (TriggerBuildSecretArgs) ElementType() reflect.Type
func (TriggerBuildSecretArgs) ToTriggerBuildSecretOutput ¶
func (i TriggerBuildSecretArgs) ToTriggerBuildSecretOutput() TriggerBuildSecretOutput
func (TriggerBuildSecretArgs) ToTriggerBuildSecretOutputWithContext ¶
func (i TriggerBuildSecretArgs) ToTriggerBuildSecretOutputWithContext(ctx context.Context) TriggerBuildSecretOutput
type TriggerBuildSecretArray ¶
type TriggerBuildSecretArray []TriggerBuildSecretInput
func (TriggerBuildSecretArray) ElementType ¶
func (TriggerBuildSecretArray) ElementType() reflect.Type
func (TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutput ¶
func (i TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput
func (TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutputWithContext ¶
func (i TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutputWithContext(ctx context.Context) TriggerBuildSecretArrayOutput
type TriggerBuildSecretArrayInput ¶
type TriggerBuildSecretArrayInput interface { pulumi.Input ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput ToTriggerBuildSecretArrayOutputWithContext(context.Context) TriggerBuildSecretArrayOutput }
TriggerBuildSecretArrayInput is an input type that accepts TriggerBuildSecretArray and TriggerBuildSecretArrayOutput values. You can construct a concrete instance of `TriggerBuildSecretArrayInput` via:
TriggerBuildSecretArray{ TriggerBuildSecretArgs{...} }
type TriggerBuildSecretArrayOutput ¶
type TriggerBuildSecretArrayOutput struct{ *pulumi.OutputState }
func (TriggerBuildSecretArrayOutput) ElementType ¶
func (TriggerBuildSecretArrayOutput) ElementType() reflect.Type
func (TriggerBuildSecretArrayOutput) Index ¶
func (o TriggerBuildSecretArrayOutput) Index(i pulumi.IntInput) TriggerBuildSecretOutput
func (TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutput ¶
func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput
func (TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutputWithContext ¶
func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutputWithContext(ctx context.Context) TriggerBuildSecretArrayOutput
type TriggerBuildSecretInput ¶
type TriggerBuildSecretInput interface { pulumi.Input ToTriggerBuildSecretOutput() TriggerBuildSecretOutput ToTriggerBuildSecretOutputWithContext(context.Context) TriggerBuildSecretOutput }
TriggerBuildSecretInput is an input type that accepts TriggerBuildSecretArgs and TriggerBuildSecretOutput values. You can construct a concrete instance of `TriggerBuildSecretInput` via:
TriggerBuildSecretArgs{...}
type TriggerBuildSecretOutput ¶
type TriggerBuildSecretOutput struct{ *pulumi.OutputState }
func (TriggerBuildSecretOutput) ElementType ¶
func (TriggerBuildSecretOutput) ElementType() reflect.Type
func (TriggerBuildSecretOutput) KmsKeyName ¶
func (o TriggerBuildSecretOutput) KmsKeyName() pulumi.StringOutput
Cloud KMS key name to use to decrypt these envs.
func (TriggerBuildSecretOutput) SecretEnv ¶
func (o TriggerBuildSecretOutput) SecretEnv() pulumi.StringMapOutput
A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
func (TriggerBuildSecretOutput) ToTriggerBuildSecretOutput ¶
func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutput() TriggerBuildSecretOutput
func (TriggerBuildSecretOutput) ToTriggerBuildSecretOutputWithContext ¶
func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutputWithContext(ctx context.Context) TriggerBuildSecretOutput
type TriggerBuildSource ¶
type TriggerBuildSource struct { // Location of the source in a Google Cloud Source Repository. // Structure is documented below. RepoSource *TriggerBuildSourceRepoSource `pulumi:"repoSource"` // Location of the source in an archive file in Google Cloud Storage. // Structure is documented below. StorageSource *TriggerBuildSourceStorageSource `pulumi:"storageSource"` }
type TriggerBuildSourceArgs ¶
type TriggerBuildSourceArgs struct { // Location of the source in a Google Cloud Source Repository. // Structure is documented below. RepoSource TriggerBuildSourceRepoSourcePtrInput `pulumi:"repoSource"` // Location of the source in an archive file in Google Cloud Storage. // Structure is documented below. StorageSource TriggerBuildSourceStorageSourcePtrInput `pulumi:"storageSource"` }
func (TriggerBuildSourceArgs) ElementType ¶
func (TriggerBuildSourceArgs) ElementType() reflect.Type
func (TriggerBuildSourceArgs) ToTriggerBuildSourceOutput ¶
func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput
func (TriggerBuildSourceArgs) ToTriggerBuildSourceOutputWithContext ¶
func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput
func (TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutput ¶
func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
func (TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutputWithContext ¶
func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
type TriggerBuildSourceInput ¶
type TriggerBuildSourceInput interface { pulumi.Input ToTriggerBuildSourceOutput() TriggerBuildSourceOutput ToTriggerBuildSourceOutputWithContext(context.Context) TriggerBuildSourceOutput }
TriggerBuildSourceInput is an input type that accepts TriggerBuildSourceArgs and TriggerBuildSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceInput` via:
TriggerBuildSourceArgs{...}
type TriggerBuildSourceOutput ¶
type TriggerBuildSourceOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourceOutput) ElementType ¶
func (TriggerBuildSourceOutput) ElementType() reflect.Type
func (TriggerBuildSourceOutput) RepoSource ¶
func (o TriggerBuildSourceOutput) RepoSource() TriggerBuildSourceRepoSourcePtrOutput
Location of the source in a Google Cloud Source Repository. Structure is documented below.
func (TriggerBuildSourceOutput) StorageSource ¶
func (o TriggerBuildSourceOutput) StorageSource() TriggerBuildSourceStorageSourcePtrOutput
Location of the source in an archive file in Google Cloud Storage. Structure is documented below.
func (TriggerBuildSourceOutput) ToTriggerBuildSourceOutput ¶
func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput
func (TriggerBuildSourceOutput) ToTriggerBuildSourceOutputWithContext ¶
func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput
func (TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutput ¶
func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
func (TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutputWithContext ¶
func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
type TriggerBuildSourcePtrInput ¶
type TriggerBuildSourcePtrInput interface { pulumi.Input ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput ToTriggerBuildSourcePtrOutputWithContext(context.Context) TriggerBuildSourcePtrOutput }
TriggerBuildSourcePtrInput is an input type that accepts TriggerBuildSourceArgs, TriggerBuildSourcePtr and TriggerBuildSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourcePtrInput` via:
TriggerBuildSourceArgs{...} or: nil
func TriggerBuildSourcePtr ¶
func TriggerBuildSourcePtr(v *TriggerBuildSourceArgs) TriggerBuildSourcePtrInput
type TriggerBuildSourcePtrOutput ¶
type TriggerBuildSourcePtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourcePtrOutput) Elem ¶
func (o TriggerBuildSourcePtrOutput) Elem() TriggerBuildSourceOutput
func (TriggerBuildSourcePtrOutput) ElementType ¶
func (TriggerBuildSourcePtrOutput) ElementType() reflect.Type
func (TriggerBuildSourcePtrOutput) RepoSource ¶
func (o TriggerBuildSourcePtrOutput) RepoSource() TriggerBuildSourceRepoSourcePtrOutput
Location of the source in a Google Cloud Source Repository. Structure is documented below.
func (TriggerBuildSourcePtrOutput) StorageSource ¶
func (o TriggerBuildSourcePtrOutput) StorageSource() TriggerBuildSourceStorageSourcePtrOutput
Location of the source in an archive file in Google Cloud Storage. Structure is documented below.
func (TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutput ¶
func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
func (TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutputWithContext ¶
func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput
type TriggerBuildSourceRepoSource ¶
type TriggerBuildSourceRepoSource struct { // Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax BranchName *string `pulumi:"branchName"` // Explicit commit SHA to build. Exactly one a of 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"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` // 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. RepoName string `pulumi:"repoName"` // Substitutions to use in a triggered build. Should only be used with triggers.run Substitutions map[string]string `pulumi:"substitutions"` // Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax TagName *string `pulumi:"tagName"` }
type TriggerBuildSourceRepoSourceArgs ¶
type TriggerBuildSourceRepoSourceArgs struct { // Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax BranchName pulumi.StringPtrInput `pulumi:"branchName"` // Explicit commit SHA to build. Exactly one a of 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"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` // 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. RepoName pulumi.StringInput `pulumi:"repoName"` // Substitutions to use in a triggered build. Should only be used with triggers.run Substitutions pulumi.StringMapInput `pulumi:"substitutions"` // Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax TagName pulumi.StringPtrInput `pulumi:"tagName"` }
func (TriggerBuildSourceRepoSourceArgs) ElementType ¶
func (TriggerBuildSourceRepoSourceArgs) ElementType() reflect.Type
func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutput ¶
func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput
func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutputWithContext ¶
func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput
func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutput ¶
func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutputWithContext ¶
func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
type TriggerBuildSourceRepoSourceInput ¶
type TriggerBuildSourceRepoSourceInput interface { pulumi.Input ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput ToTriggerBuildSourceRepoSourceOutputWithContext(context.Context) TriggerBuildSourceRepoSourceOutput }
TriggerBuildSourceRepoSourceInput is an input type that accepts TriggerBuildSourceRepoSourceArgs and TriggerBuildSourceRepoSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceRepoSourceInput` via:
TriggerBuildSourceRepoSourceArgs{...}
type TriggerBuildSourceRepoSourceOutput ¶
type TriggerBuildSourceRepoSourceOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourceRepoSourceOutput) BranchName ¶
func (o TriggerBuildSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerBuildSourceRepoSourceOutput) CommitSha ¶
func (o TriggerBuildSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
func (TriggerBuildSourceRepoSourceOutput) Dir ¶
func (o TriggerBuildSourceRepoSourceOutput) 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 (TriggerBuildSourceRepoSourceOutput) ElementType ¶
func (TriggerBuildSourceRepoSourceOutput) ElementType() reflect.Type
func (TriggerBuildSourceRepoSourceOutput) InvertRegex ¶
func (o TriggerBuildSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (TriggerBuildSourceRepoSourceOutput) ProjectId ¶
func (o TriggerBuildSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (TriggerBuildSourceRepoSourceOutput) RepoName ¶
func (o TriggerBuildSourceRepoSourceOutput) RepoName() pulumi.StringOutput
Name of the Cloud Source Repository.
func (TriggerBuildSourceRepoSourceOutput) Substitutions ¶
func (o TriggerBuildSourceRepoSourceOutput) Substitutions() pulumi.StringMapOutput
Substitutions to use in a triggered build. Should only be used with triggers.run
func (TriggerBuildSourceRepoSourceOutput) TagName ¶
func (o TriggerBuildSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutput ¶
func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput
func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutputWithContext ¶
func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput
func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutput ¶
func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext ¶
func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
type TriggerBuildSourceRepoSourcePtrInput ¶
type TriggerBuildSourceRepoSourcePtrInput interface { pulumi.Input ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput ToTriggerBuildSourceRepoSourcePtrOutputWithContext(context.Context) TriggerBuildSourceRepoSourcePtrOutput }
TriggerBuildSourceRepoSourcePtrInput is an input type that accepts TriggerBuildSourceRepoSourceArgs, TriggerBuildSourceRepoSourcePtr and TriggerBuildSourceRepoSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourceRepoSourcePtrInput` via:
TriggerBuildSourceRepoSourceArgs{...} or: nil
func TriggerBuildSourceRepoSourcePtr ¶
func TriggerBuildSourceRepoSourcePtr(v *TriggerBuildSourceRepoSourceArgs) TriggerBuildSourceRepoSourcePtrInput
type TriggerBuildSourceRepoSourcePtrOutput ¶
type TriggerBuildSourceRepoSourcePtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourceRepoSourcePtrOutput) BranchName ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerBuildSourceRepoSourcePtrOutput) CommitSha ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
func (TriggerBuildSourceRepoSourcePtrOutput) Dir ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) 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 (TriggerBuildSourceRepoSourcePtrOutput) ElementType ¶
func (TriggerBuildSourceRepoSourcePtrOutput) ElementType() reflect.Type
func (TriggerBuildSourceRepoSourcePtrOutput) InvertRegex ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (TriggerBuildSourceRepoSourcePtrOutput) ProjectId ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (TriggerBuildSourceRepoSourcePtrOutput) RepoName ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository.
func (TriggerBuildSourceRepoSourcePtrOutput) Substitutions ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) Substitutions() pulumi.StringMapOutput
Substitutions to use in a triggered build. Should only be used with triggers.run
func (TriggerBuildSourceRepoSourcePtrOutput) TagName ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutput ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
func (TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext ¶
func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput
type TriggerBuildSourceStorageSource ¶
type TriggerBuildSourceStorageSource struct { // Google Cloud Storage bucket containing the source. Bucket string `pulumi:"bucket"` // Google Cloud Storage generation for the object. // If the generation is omitted, the latest generation will be used Generation *string `pulumi:"generation"` // Google Cloud Storage object containing the source. // This object must be a gzipped archive file (.tar.gz) containing source to build. Object string `pulumi:"object"` }
type TriggerBuildSourceStorageSourceArgs ¶
type TriggerBuildSourceStorageSourceArgs struct { // Google Cloud Storage bucket containing the source. Bucket pulumi.StringInput `pulumi:"bucket"` // Google Cloud Storage generation for the object. // If the generation is omitted, the latest generation will be used Generation pulumi.StringPtrInput `pulumi:"generation"` // Google Cloud Storage object containing the source. // This object must be a gzipped archive file (.tar.gz) containing source to build. Object pulumi.StringInput `pulumi:"object"` }
func (TriggerBuildSourceStorageSourceArgs) ElementType ¶
func (TriggerBuildSourceStorageSourceArgs) ElementType() reflect.Type
func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutput ¶
func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput
func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutputWithContext ¶
func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput
func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutput ¶
func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutputWithContext ¶
func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
type TriggerBuildSourceStorageSourceInput ¶
type TriggerBuildSourceStorageSourceInput interface { pulumi.Input ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput ToTriggerBuildSourceStorageSourceOutputWithContext(context.Context) TriggerBuildSourceStorageSourceOutput }
TriggerBuildSourceStorageSourceInput is an input type that accepts TriggerBuildSourceStorageSourceArgs and TriggerBuildSourceStorageSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceStorageSourceInput` via:
TriggerBuildSourceStorageSourceArgs{...}
type TriggerBuildSourceStorageSourceOutput ¶
type TriggerBuildSourceStorageSourceOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourceStorageSourceOutput) Bucket ¶
func (o TriggerBuildSourceStorageSourceOutput) Bucket() pulumi.StringOutput
Google Cloud Storage bucket containing the source.
func (TriggerBuildSourceStorageSourceOutput) ElementType ¶
func (TriggerBuildSourceStorageSourceOutput) ElementType() reflect.Type
func (TriggerBuildSourceStorageSourceOutput) Generation ¶
func (o TriggerBuildSourceStorageSourceOutput) Generation() pulumi.StringPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
func (TriggerBuildSourceStorageSourceOutput) Object ¶
func (o TriggerBuildSourceStorageSourceOutput) Object() pulumi.StringOutput
Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutput ¶
func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput
func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutputWithContext ¶
func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput
func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutput ¶
func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext ¶
func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
type TriggerBuildSourceStorageSourcePtrInput ¶
type TriggerBuildSourceStorageSourcePtrInput interface { pulumi.Input ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput ToTriggerBuildSourceStorageSourcePtrOutputWithContext(context.Context) TriggerBuildSourceStorageSourcePtrOutput }
TriggerBuildSourceStorageSourcePtrInput is an input type that accepts TriggerBuildSourceStorageSourceArgs, TriggerBuildSourceStorageSourcePtr and TriggerBuildSourceStorageSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourceStorageSourcePtrInput` via:
TriggerBuildSourceStorageSourceArgs{...} or: nil
func TriggerBuildSourceStorageSourcePtr ¶
func TriggerBuildSourceStorageSourcePtr(v *TriggerBuildSourceStorageSourceArgs) TriggerBuildSourceStorageSourcePtrInput
type TriggerBuildSourceStorageSourcePtrOutput ¶
type TriggerBuildSourceStorageSourcePtrOutput struct{ *pulumi.OutputState }
func (TriggerBuildSourceStorageSourcePtrOutput) Bucket ¶
func (o TriggerBuildSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
Google Cloud Storage bucket containing the source.
func (TriggerBuildSourceStorageSourcePtrOutput) ElementType ¶
func (TriggerBuildSourceStorageSourcePtrOutput) ElementType() reflect.Type
func (TriggerBuildSourceStorageSourcePtrOutput) Generation ¶
func (o TriggerBuildSourceStorageSourcePtrOutput) Generation() pulumi.StringPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
func (TriggerBuildSourceStorageSourcePtrOutput) Object ¶
func (o TriggerBuildSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
func (TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutput ¶
func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
func (TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext ¶
func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput
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 global environment variable definitions that will exist for all build steps // in this build. If a variable is defined in both globally and in a build step, // the variable will use the build step value. // 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 global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. 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 pushing all artifact objects. // Structure is documented below. Timing *string `pulumi:"timing"` // Global list of volumes to mount for ALL build steps // Each volume is created as an empty volume prior to starting the build process. // Upon completion of the build, volumes and their contents are discarded. Global // volume names and paths cannot conflict with the volumes defined a build step. // Using a global volume in a build with 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 global environment variable definitions that will exist for all build steps // in this build. If a variable is defined in both globally and in a build step, // the variable will use the build step value. // 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 global environment variables, which are encrypted using a Cloud Key Management // Service crypto key. These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. 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 pushing all artifact objects. // Structure is documented below. Timing pulumi.StringPtrInput `pulumi:"timing"` // Global list of volumes to mount for ALL build steps // Each volume is created as an empty volume prior to starting the build process. // Upon completion of the build, volumes and their contents are discarded. Global // volume names and paths cannot conflict with the volumes defined a build step. // Using a global volume in a build with 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 global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. 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 global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
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 pushing all artifact objects. Structure is documented below.
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
Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with 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 TriggerGithubPullRequest ¶
type TriggerGithubPullRequest struct { // Regex of branches to match. Specify only one of branch or tag. Branch string `pulumi:"branch"` // Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. // Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`. CommentControl *string `pulumi:"commentControl"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` }
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. // Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`. CommentControl pulumi.StringPtrInput `pulumi:"commentControl"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` }
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. Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
func (TriggerGithubPullRequestOutput) ElementType ¶
func (TriggerGithubPullRequestOutput) ElementType() reflect.Type
func (TriggerGithubPullRequestOutput) InvertRegex ¶
func (o TriggerGithubPullRequestOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
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. Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
func (TriggerGithubPullRequestPtrOutput) Elem ¶
func (o TriggerGithubPullRequestPtrOutput) Elem() TriggerGithubPullRequestOutput
func (TriggerGithubPullRequestPtrOutput) ElementType ¶
func (TriggerGithubPullRequestPtrOutput) ElementType() reflect.Type
func (TriggerGithubPullRequestPtrOutput) InvertRegex ¶
func (o TriggerGithubPullRequestPtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput ¶
func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext ¶
func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput
type TriggerGithubPush ¶
type TriggerGithubPush struct { // Regex of branches to match. Specify only one of branch or tag. Branch *string `pulumi:"branch"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` // Regex of tags to match. Specify only one of branch or tag. Tag *string `pulumi:"tag"` }
type TriggerGithubPushArgs ¶
type TriggerGithubPushArgs struct { // Regex of branches to match. Specify only one of branch or tag. Branch pulumi.StringPtrInput `pulumi:"branch"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` // 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) InvertRegex ¶
func (o TriggerGithubPushOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
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) InvertRegex ¶
func (o TriggerGithubPushPtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
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 TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerOutput ¶
type TriggerOutput struct {
*pulumi.OutputState
}
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (TriggerOutput) ToTriggerPtrOutput ¶
func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerPtrInput ¶
type TriggerPtrInput interface { pulumi.Input ToTriggerPtrOutput() TriggerPtrOutput ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput }
type TriggerPtrOutput ¶
type TriggerPtrOutput struct {
*pulumi.OutputState
}
func (TriggerPtrOutput) ElementType ¶
func (TriggerPtrOutput) ElementType() reflect.Type
func (TriggerPtrOutput) ToTriggerPtrOutput ¶
func (o TriggerPtrOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerPtrOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
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 to use in a triggered build. Should only be used with triggers.run Substitutions pulumi.StringMapInput // Tags for annotation of a Build. These are not docker tags. Tags pulumi.StringArrayInput // 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 { // Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax BranchName *string `pulumi:"branchName"` // Explicit commit SHA to build. Exactly one a of 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"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` // 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. RepoName *string `pulumi:"repoName"` // Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax TagName *string `pulumi:"tagName"` }
type TriggerTriggerTemplateArgs ¶
type TriggerTriggerTemplateArgs struct { // Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax BranchName pulumi.StringPtrInput `pulumi:"branchName"` // Explicit commit SHA to build. Exactly one a of 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"` // Only trigger a build if the revision regex does NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` // 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. RepoName pulumi.StringPtrInput `pulumi:"repoName"` // Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax 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
Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerTriggerTemplateOutput) CommitSha ¶
func (o TriggerTriggerTemplateOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one a of 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) InvertRegex ¶
func (o TriggerTriggerTemplateOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
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.
func (TriggerTriggerTemplateOutput) TagName ¶
func (o TriggerTriggerTemplateOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
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
Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerTriggerTemplatePtrOutput) CommitSha ¶
func (o TriggerTriggerTemplatePtrOutput) CommitSha() pulumi.StringPtrOutput
Explicit commit SHA to build. Exactly one a of 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) InvertRegex ¶
func (o TriggerTriggerTemplatePtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
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.
func (TriggerTriggerTemplatePtrOutput) TagName ¶
func (o TriggerTriggerTemplatePtrOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput ¶
func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext ¶
func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput