google_cloudbuild_trigger

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalConfig

type ApprovalConfig struct {
	// ApprovalRequired: bool, optional
	ApprovalRequired terra.BoolValue `hcl:"approval_required,attr"`
}

type ApprovalConfigAttributes

type ApprovalConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ApprovalConfigAttributes) ApprovalRequired

func (ac ApprovalConfigAttributes) ApprovalRequired() terra.BoolValue

func (ApprovalConfigAttributes) InternalRef

func (ac ApprovalConfigAttributes) InternalRef() (terra.Reference, error)

func (ApprovalConfigAttributes) InternalTokens

func (ac ApprovalConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApprovalConfigAttributes) InternalWithRef

type ApprovalConfigState

type ApprovalConfigState struct {
	ApprovalRequired bool `json:"approval_required"`
}

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Disabled: bool, optional
	Disabled terra.BoolValue `hcl:"disabled,attr"`
	// Filename: string, optional
	Filename terra.StringValue `hcl:"filename,attr"`
	// Filter: string, optional
	Filter terra.StringValue `hcl:"filter,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IgnoredFiles: list of string, optional
	IgnoredFiles terra.ListValue[terra.StringValue] `hcl:"ignored_files,attr"`
	// IncludeBuildLogs: string, optional
	IncludeBuildLogs terra.StringValue `hcl:"include_build_logs,attr"`
	// IncludedFiles: list of string, optional
	IncludedFiles terra.ListValue[terra.StringValue] `hcl:"included_files,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// ServiceAccount: string, optional
	ServiceAccount terra.StringValue `hcl:"service_account,attr"`
	// Substitutions: map of string, optional
	Substitutions terra.MapValue[terra.StringValue] `hcl:"substitutions,attr"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
	// ApprovalConfig: optional
	ApprovalConfig *ApprovalConfig `hcl:"approval_config,block"`
	// BitbucketServerTriggerConfig: optional
	BitbucketServerTriggerConfig *BitbucketServerTriggerConfig `hcl:"bitbucket_server_trigger_config,block"`
	// Build: optional
	Build *Build `hcl:"build,block"`
	// GitFileSource: optional
	GitFileSource *GitFileSource `hcl:"git_file_source,block"`
	// Github: optional
	Github *Github `hcl:"github,block"`
	// PubsubConfig: optional
	PubsubConfig *PubsubConfig `hcl:"pubsub_config,block"`
	// RepositoryEventConfig: optional
	RepositoryEventConfig *RepositoryEventConfig `hcl:"repository_event_config,block"`
	// SourceToBuild: optional
	SourceToBuild *SourceToBuild `hcl:"source_to_build,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// TriggerTemplate: optional
	TriggerTemplate *TriggerTemplate `hcl:"trigger_template,block"`
	// WebhookConfig: optional
	WebhookConfig *WebhookConfig `hcl:"webhook_config,block"`
}

Args contains the configurations for google_cloudbuild_trigger.

type BitbucketServerTriggerConfig

type BitbucketServerTriggerConfig struct {
	// BitbucketServerConfigResource: string, required
	BitbucketServerConfigResource terra.StringValue `hcl:"bitbucket_server_config_resource,attr" validate:"required"`
	// ProjectKey: string, required
	ProjectKey terra.StringValue `hcl:"project_key,attr" validate:"required"`
	// RepoSlug: string, required
	RepoSlug terra.StringValue `hcl:"repo_slug,attr" validate:"required"`
	// BitbucketServerTriggerConfigPullRequest: optional
	PullRequest *BitbucketServerTriggerConfigPullRequest `hcl:"pull_request,block"`
	// BitbucketServerTriggerConfigPush: optional
	Push *BitbucketServerTriggerConfigPush `hcl:"push,block"`
}

type BitbucketServerTriggerConfigAttributes

type BitbucketServerTriggerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (BitbucketServerTriggerConfigAttributes) BitbucketServerConfigResource

func (bstc BitbucketServerTriggerConfigAttributes) BitbucketServerConfigResource() terra.StringValue

func (BitbucketServerTriggerConfigAttributes) InternalRef

func (BitbucketServerTriggerConfigAttributes) InternalTokens

func (BitbucketServerTriggerConfigAttributes) InternalWithRef

func (BitbucketServerTriggerConfigAttributes) ProjectKey

func (BitbucketServerTriggerConfigAttributes) PullRequest

func (BitbucketServerTriggerConfigAttributes) Push

func (BitbucketServerTriggerConfigAttributes) RepoSlug

type BitbucketServerTriggerConfigPullRequest

type BitbucketServerTriggerConfigPullRequest struct {
	// Branch: string, required
	Branch terra.StringValue `hcl:"branch,attr" validate:"required"`
	// CommentControl: string, optional
	CommentControl terra.StringValue `hcl:"comment_control,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
}

type BitbucketServerTriggerConfigPullRequestAttributes

type BitbucketServerTriggerConfigPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (BitbucketServerTriggerConfigPullRequestAttributes) Branch

func (BitbucketServerTriggerConfigPullRequestAttributes) CommentControl

func (BitbucketServerTriggerConfigPullRequestAttributes) InternalRef

func (BitbucketServerTriggerConfigPullRequestAttributes) InternalTokens

func (BitbucketServerTriggerConfigPullRequestAttributes) InternalWithRef

func (BitbucketServerTriggerConfigPullRequestAttributes) InvertRegex

type BitbucketServerTriggerConfigPullRequestState

type BitbucketServerTriggerConfigPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type BitbucketServerTriggerConfigPush

type BitbucketServerTriggerConfigPush struct {
	// Branch: string, optional
	Branch terra.StringValue `hcl:"branch,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
}

type BitbucketServerTriggerConfigPushAttributes

type BitbucketServerTriggerConfigPushAttributes struct {
	// contains filtered or unexported fields
}

func (BitbucketServerTriggerConfigPushAttributes) Branch

func (BitbucketServerTriggerConfigPushAttributes) InternalRef

func (BitbucketServerTriggerConfigPushAttributes) InternalTokens

func (BitbucketServerTriggerConfigPushAttributes) InternalWithRef

func (BitbucketServerTriggerConfigPushAttributes) InvertRegex

func (BitbucketServerTriggerConfigPushAttributes) Tag

type BitbucketServerTriggerConfigPushState

type BitbucketServerTriggerConfigPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type BitbucketServerTriggerConfigState

type BitbucketServerTriggerConfigState struct {
	BitbucketServerConfigResource string                                         `json:"bitbucket_server_config_resource"`
	ProjectKey                    string                                         `json:"project_key"`
	RepoSlug                      string                                         `json:"repo_slug"`
	PullRequest                   []BitbucketServerTriggerConfigPullRequestState `json:"pull_request"`
	Push                          []BitbucketServerTriggerConfigPushState        `json:"push"`
}

type Build

type Build struct {
	// Images: list of string, optional
	Images terra.ListValue[terra.StringValue] `hcl:"images,attr"`
	// LogsBucket: string, optional
	LogsBucket terra.StringValue `hcl:"logs_bucket,attr"`
	// QueueTtl: string, optional
	QueueTtl terra.StringValue `hcl:"queue_ttl,attr"`
	// Substitutions: map of string, optional
	Substitutions terra.MapValue[terra.StringValue] `hcl:"substitutions,attr"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
	// BuildArtifacts: optional
	Artifacts *BuildArtifacts `hcl:"artifacts,block"`
	// BuildAvailableSecrets: optional
	AvailableSecrets *BuildAvailableSecrets `hcl:"available_secrets,block"`
	// BuildOptions: optional
	Options *BuildOptions `hcl:"options,block"`
	// BuildSecret: min=0
	Secret []BuildSecret `hcl:"secret,block" validate:"min=0"`
	// BuildSource: optional
	Source *BuildSource `hcl:"source,block"`
	// BuildStep: min=1
	Step []BuildStep `hcl:"step,block" validate:"min=1"`
}

type BuildArtifacts

type BuildArtifacts struct {
	// Images: list of string, optional
	Images terra.ListValue[terra.StringValue] `hcl:"images,attr"`
	// BuildArtifactsMavenArtifacts: min=0
	MavenArtifacts []BuildArtifactsMavenArtifacts `hcl:"maven_artifacts,block" validate:"min=0"`
	// BuildArtifactsNpmPackages: min=0
	NpmPackages []BuildArtifactsNpmPackages `hcl:"npm_packages,block" validate:"min=0"`
	// BuildArtifactsObjects: optional
	Objects *BuildArtifactsObjects `hcl:"objects,block"`
	// BuildArtifactsPythonPackages: min=0
	PythonPackages []BuildArtifactsPythonPackages `hcl:"python_packages,block" validate:"min=0"`
}

type BuildArtifactsAttributes

type BuildArtifactsAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsAttributes) Images

func (BuildArtifactsAttributes) InternalRef

func (a BuildArtifactsAttributes) InternalRef() (terra.Reference, error)

func (BuildArtifactsAttributes) InternalTokens

func (a BuildArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildArtifactsAttributes) InternalWithRef

func (BuildArtifactsAttributes) MavenArtifacts

func (BuildArtifactsAttributes) NpmPackages

func (BuildArtifactsAttributes) Objects

func (BuildArtifactsAttributes) PythonPackages

type BuildArtifactsMavenArtifacts

type BuildArtifactsMavenArtifacts struct {
	// ArtifactId: string, optional
	ArtifactId terra.StringValue `hcl:"artifact_id,attr"`
	// GroupId: string, optional
	GroupId terra.StringValue `hcl:"group_id,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type BuildArtifactsMavenArtifactsAttributes

type BuildArtifactsMavenArtifactsAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsMavenArtifactsAttributes) ArtifactId

func (BuildArtifactsMavenArtifactsAttributes) GroupId

func (BuildArtifactsMavenArtifactsAttributes) InternalRef

func (BuildArtifactsMavenArtifactsAttributes) InternalTokens

func (BuildArtifactsMavenArtifactsAttributes) InternalWithRef

func (BuildArtifactsMavenArtifactsAttributes) Path

func (BuildArtifactsMavenArtifactsAttributes) Repository

func (BuildArtifactsMavenArtifactsAttributes) Version

type BuildArtifactsMavenArtifactsState

type BuildArtifactsMavenArtifactsState struct {
	ArtifactId string `json:"artifact_id"`
	GroupId    string `json:"group_id"`
	Path       string `json:"path"`
	Repository string `json:"repository"`
	Version    string `json:"version"`
}

type BuildArtifactsNpmPackages

type BuildArtifactsNpmPackages struct {
	// PackagePath: string, optional
	PackagePath terra.StringValue `hcl:"package_path,attr"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
}

type BuildArtifactsNpmPackagesAttributes

type BuildArtifactsNpmPackagesAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsNpmPackagesAttributes) InternalRef

func (BuildArtifactsNpmPackagesAttributes) InternalTokens

func (BuildArtifactsNpmPackagesAttributes) InternalWithRef

func (BuildArtifactsNpmPackagesAttributes) PackagePath

func (BuildArtifactsNpmPackagesAttributes) Repository

type BuildArtifactsNpmPackagesState

type BuildArtifactsNpmPackagesState struct {
	PackagePath string `json:"package_path"`
	Repository  string `json:"repository"`
}

type BuildArtifactsObjects

type BuildArtifactsObjects struct {
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Paths: list of string, optional
	Paths terra.ListValue[terra.StringValue] `hcl:"paths,attr"`
}

type BuildArtifactsObjectsAttributes

type BuildArtifactsObjectsAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsObjectsAttributes) InternalRef

func (BuildArtifactsObjectsAttributes) InternalTokens

func (o BuildArtifactsObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildArtifactsObjectsAttributes) InternalWithRef

func (BuildArtifactsObjectsAttributes) Location

func (BuildArtifactsObjectsAttributes) Paths

func (BuildArtifactsObjectsAttributes) Timing

type BuildArtifactsObjectsState

type BuildArtifactsObjectsState struct {
	Location string                             `json:"location"`
	Paths    []string                           `json:"paths"`
	Timing   []BuildArtifactsObjectsTimingState `json:"timing"`
}

type BuildArtifactsObjectsTimingAttributes

type BuildArtifactsObjectsTimingAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsObjectsTimingAttributes) EndTime

func (BuildArtifactsObjectsTimingAttributes) InternalRef

func (BuildArtifactsObjectsTimingAttributes) InternalTokens

func (BuildArtifactsObjectsTimingAttributes) InternalWithRef

func (BuildArtifactsObjectsTimingAttributes) StartTime

type BuildArtifactsObjectsTimingState

type BuildArtifactsObjectsTimingState struct {
	EndTime   string `json:"end_time"`
	StartTime string `json:"start_time"`
}

type BuildArtifactsPythonPackages

type BuildArtifactsPythonPackages struct {
	// Paths: list of string, optional
	Paths terra.ListValue[terra.StringValue] `hcl:"paths,attr"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
}

type BuildArtifactsPythonPackagesAttributes

type BuildArtifactsPythonPackagesAttributes struct {
	// contains filtered or unexported fields
}

func (BuildArtifactsPythonPackagesAttributes) InternalRef

func (BuildArtifactsPythonPackagesAttributes) InternalTokens

func (BuildArtifactsPythonPackagesAttributes) InternalWithRef

func (BuildArtifactsPythonPackagesAttributes) Paths

func (BuildArtifactsPythonPackagesAttributes) Repository

type BuildArtifactsPythonPackagesState

type BuildArtifactsPythonPackagesState struct {
	Paths      []string `json:"paths"`
	Repository string   `json:"repository"`
}

type BuildArtifactsState

type BuildArtifactsState struct {
	Images         []string                            `json:"images"`
	MavenArtifacts []BuildArtifactsMavenArtifactsState `json:"maven_artifacts"`
	NpmPackages    []BuildArtifactsNpmPackagesState    `json:"npm_packages"`
	Objects        []BuildArtifactsObjectsState        `json:"objects"`
	PythonPackages []BuildArtifactsPythonPackagesState `json:"python_packages"`
}

type BuildAttributes

type BuildAttributes struct {
	// contains filtered or unexported fields
}

func (BuildAttributes) Artifacts

func (BuildAttributes) AvailableSecrets

func (BuildAttributes) Images

func (BuildAttributes) InternalRef

func (b BuildAttributes) InternalRef() (terra.Reference, error)

func (BuildAttributes) InternalTokens

func (b BuildAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildAttributes) InternalWithRef

func (b BuildAttributes) InternalWithRef(ref terra.Reference) BuildAttributes

func (BuildAttributes) LogsBucket

func (b BuildAttributes) LogsBucket() terra.StringValue

func (BuildAttributes) Options

func (BuildAttributes) QueueTtl

func (b BuildAttributes) QueueTtl() terra.StringValue

func (BuildAttributes) Secret

func (BuildAttributes) Source

func (BuildAttributes) Step

func (BuildAttributes) Substitutions

func (b BuildAttributes) Substitutions() terra.MapValue[terra.StringValue]

func (BuildAttributes) Tags

func (BuildAttributes) Timeout

func (b BuildAttributes) Timeout() terra.StringValue

type BuildAvailableSecrets

type BuildAvailableSecrets struct {
	// BuildAvailableSecretsSecretManager: min=1
	SecretManager []BuildAvailableSecretsSecretManager `hcl:"secret_manager,block" validate:"min=1"`
}

type BuildAvailableSecretsAttributes

type BuildAvailableSecretsAttributes struct {
	// contains filtered or unexported fields
}

func (BuildAvailableSecretsAttributes) InternalRef

func (BuildAvailableSecretsAttributes) InternalTokens

func (as BuildAvailableSecretsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildAvailableSecretsAttributes) InternalWithRef

func (BuildAvailableSecretsAttributes) SecretManager

type BuildAvailableSecretsSecretManager

type BuildAvailableSecretsSecretManager struct {
	// Env: string, required
	Env terra.StringValue `hcl:"env,attr" validate:"required"`
	// VersionName: string, required
	VersionName terra.StringValue `hcl:"version_name,attr" validate:"required"`
}

type BuildAvailableSecretsSecretManagerAttributes

type BuildAvailableSecretsSecretManagerAttributes struct {
	// contains filtered or unexported fields
}

func (BuildAvailableSecretsSecretManagerAttributes) Env

func (BuildAvailableSecretsSecretManagerAttributes) InternalRef

func (BuildAvailableSecretsSecretManagerAttributes) InternalTokens

func (BuildAvailableSecretsSecretManagerAttributes) InternalWithRef

func (BuildAvailableSecretsSecretManagerAttributes) VersionName

type BuildAvailableSecretsSecretManagerState

type BuildAvailableSecretsSecretManagerState struct {
	Env         string `json:"env"`
	VersionName string `json:"version_name"`
}

type BuildAvailableSecretsState

type BuildAvailableSecretsState struct {
	SecretManager []BuildAvailableSecretsSecretManagerState `json:"secret_manager"`
}

type BuildOptions

type BuildOptions struct {
	// DiskSizeGb: number, optional
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"`
	// DynamicSubstitutions: bool, optional
	DynamicSubstitutions terra.BoolValue `hcl:"dynamic_substitutions,attr"`
	// Env: list of string, optional
	Env terra.ListValue[terra.StringValue] `hcl:"env,attr"`
	// LogStreamingOption: string, optional
	LogStreamingOption terra.StringValue `hcl:"log_streaming_option,attr"`
	// Logging: string, optional
	Logging terra.StringValue `hcl:"logging,attr"`
	// MachineType: string, optional
	MachineType terra.StringValue `hcl:"machine_type,attr"`
	// RequestedVerifyOption: string, optional
	RequestedVerifyOption terra.StringValue `hcl:"requested_verify_option,attr"`
	// SecretEnv: list of string, optional
	SecretEnv terra.ListValue[terra.StringValue] `hcl:"secret_env,attr"`
	// SourceProvenanceHash: list of string, optional
	SourceProvenanceHash terra.ListValue[terra.StringValue] `hcl:"source_provenance_hash,attr"`
	// SubstitutionOption: string, optional
	SubstitutionOption terra.StringValue `hcl:"substitution_option,attr"`
	// WorkerPool: string, optional
	WorkerPool terra.StringValue `hcl:"worker_pool,attr"`
	// BuildOptionsVolumes: min=0
	Volumes []BuildOptionsVolumes `hcl:"volumes,block" validate:"min=0"`
}

type BuildOptionsAttributes

type BuildOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (BuildOptionsAttributes) DiskSizeGb

func (o BuildOptionsAttributes) DiskSizeGb() terra.NumberValue

func (BuildOptionsAttributes) DynamicSubstitutions

func (o BuildOptionsAttributes) DynamicSubstitutions() terra.BoolValue

func (BuildOptionsAttributes) Env

func (BuildOptionsAttributes) InternalRef

func (o BuildOptionsAttributes) InternalRef() (terra.Reference, error)

func (BuildOptionsAttributes) InternalTokens

func (o BuildOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildOptionsAttributes) InternalWithRef

func (BuildOptionsAttributes) LogStreamingOption

func (o BuildOptionsAttributes) LogStreamingOption() terra.StringValue

func (BuildOptionsAttributes) Logging

func (BuildOptionsAttributes) MachineType

func (o BuildOptionsAttributes) MachineType() terra.StringValue

func (BuildOptionsAttributes) RequestedVerifyOption

func (o BuildOptionsAttributes) RequestedVerifyOption() terra.StringValue

func (BuildOptionsAttributes) SecretEnv

func (BuildOptionsAttributes) SourceProvenanceHash

func (o BuildOptionsAttributes) SourceProvenanceHash() terra.ListValue[terra.StringValue]

func (BuildOptionsAttributes) SubstitutionOption

func (o BuildOptionsAttributes) SubstitutionOption() terra.StringValue

func (BuildOptionsAttributes) Volumes

func (BuildOptionsAttributes) WorkerPool

func (o BuildOptionsAttributes) WorkerPool() terra.StringValue

type BuildOptionsState

type BuildOptionsState struct {
	DiskSizeGb            float64                    `json:"disk_size_gb"`
	DynamicSubstitutions  bool                       `json:"dynamic_substitutions"`
	Env                   []string                   `json:"env"`
	LogStreamingOption    string                     `json:"log_streaming_option"`
	Logging               string                     `json:"logging"`
	MachineType           string                     `json:"machine_type"`
	RequestedVerifyOption string                     `json:"requested_verify_option"`
	SecretEnv             []string                   `json:"secret_env"`
	SourceProvenanceHash  []string                   `json:"source_provenance_hash"`
	SubstitutionOption    string                     `json:"substitution_option"`
	WorkerPool            string                     `json:"worker_pool"`
	Volumes               []BuildOptionsVolumesState `json:"volumes"`
}

type BuildOptionsVolumes

type BuildOptionsVolumes struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
}

type BuildOptionsVolumesAttributes

type BuildOptionsVolumesAttributes struct {
	// contains filtered or unexported fields
}

func (BuildOptionsVolumesAttributes) InternalRef

func (BuildOptionsVolumesAttributes) InternalTokens

func (v BuildOptionsVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildOptionsVolumesAttributes) InternalWithRef

func (BuildOptionsVolumesAttributes) Name

func (BuildOptionsVolumesAttributes) Path

type BuildOptionsVolumesState

type BuildOptionsVolumesState struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

type BuildSecret

type BuildSecret struct {
	// KmsKeyName: string, required
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"`
	// SecretEnv: map of string, optional
	SecretEnv terra.MapValue[terra.StringValue] `hcl:"secret_env,attr"`
}

type BuildSecretAttributes

type BuildSecretAttributes struct {
	// contains filtered or unexported fields
}

func (BuildSecretAttributes) InternalRef

func (s BuildSecretAttributes) InternalRef() (terra.Reference, error)

func (BuildSecretAttributes) InternalTokens

func (s BuildSecretAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildSecretAttributes) InternalWithRef

func (BuildSecretAttributes) KmsKeyName

func (s BuildSecretAttributes) KmsKeyName() terra.StringValue

func (BuildSecretAttributes) SecretEnv

type BuildSecretState

type BuildSecretState struct {
	KmsKeyName string            `json:"kms_key_name"`
	SecretEnv  map[string]string `json:"secret_env"`
}

type BuildSource

type BuildSource struct {
	// BuildSourceRepoSource: optional
	RepoSource *BuildSourceRepoSource `hcl:"repo_source,block"`
	// BuildSourceStorageSource: optional
	StorageSource *BuildSourceStorageSource `hcl:"storage_source,block"`
}

type BuildSourceAttributes

type BuildSourceAttributes struct {
	// contains filtered or unexported fields
}

func (BuildSourceAttributes) InternalRef

func (s BuildSourceAttributes) InternalRef() (terra.Reference, error)

func (BuildSourceAttributes) InternalTokens

func (s BuildSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildSourceAttributes) InternalWithRef

func (BuildSourceAttributes) RepoSource

func (BuildSourceAttributes) StorageSource

type BuildSourceRepoSource

type BuildSourceRepoSource struct {
	// BranchName: string, optional
	BranchName terra.StringValue `hcl:"branch_name,attr"`
	// CommitSha: string, optional
	CommitSha terra.StringValue `hcl:"commit_sha,attr"`
	// Dir: string, optional
	Dir terra.StringValue `hcl:"dir,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
	// ProjectId: string, optional
	ProjectId terra.StringValue `hcl:"project_id,attr"`
	// RepoName: string, required
	RepoName terra.StringValue `hcl:"repo_name,attr" validate:"required"`
	// Substitutions: map of string, optional
	Substitutions terra.MapValue[terra.StringValue] `hcl:"substitutions,attr"`
	// TagName: string, optional
	TagName terra.StringValue `hcl:"tag_name,attr"`
}

type BuildSourceRepoSourceAttributes

type BuildSourceRepoSourceAttributes struct {
	// contains filtered or unexported fields
}

func (BuildSourceRepoSourceAttributes) BranchName

func (BuildSourceRepoSourceAttributes) CommitSha

func (BuildSourceRepoSourceAttributes) Dir

func (BuildSourceRepoSourceAttributes) InternalRef

func (BuildSourceRepoSourceAttributes) InternalTokens

func (rs BuildSourceRepoSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildSourceRepoSourceAttributes) InternalWithRef

func (BuildSourceRepoSourceAttributes) InvertRegex

func (BuildSourceRepoSourceAttributes) ProjectId

func (BuildSourceRepoSourceAttributes) RepoName

func (BuildSourceRepoSourceAttributes) Substitutions

func (BuildSourceRepoSourceAttributes) TagName

type BuildSourceRepoSourceState

type BuildSourceRepoSourceState struct {
	BranchName    string            `json:"branch_name"`
	CommitSha     string            `json:"commit_sha"`
	Dir           string            `json:"dir"`
	InvertRegex   bool              `json:"invert_regex"`
	ProjectId     string            `json:"project_id"`
	RepoName      string            `json:"repo_name"`
	Substitutions map[string]string `json:"substitutions"`
	TagName       string            `json:"tag_name"`
}

type BuildSourceState

type BuildSourceState struct {
	RepoSource    []BuildSourceRepoSourceState    `json:"repo_source"`
	StorageSource []BuildSourceStorageSourceState `json:"storage_source"`
}

type BuildSourceStorageSource

type BuildSourceStorageSource struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// Generation: string, optional
	Generation terra.StringValue `hcl:"generation,attr"`
	// Object: string, required
	Object terra.StringValue `hcl:"object,attr" validate:"required"`
}

type BuildSourceStorageSourceAttributes

type BuildSourceStorageSourceAttributes struct {
	// contains filtered or unexported fields
}

func (BuildSourceStorageSourceAttributes) Bucket

func (BuildSourceStorageSourceAttributes) Generation

func (BuildSourceStorageSourceAttributes) InternalRef

func (BuildSourceStorageSourceAttributes) InternalTokens

func (BuildSourceStorageSourceAttributes) InternalWithRef

func (BuildSourceStorageSourceAttributes) Object

type BuildSourceStorageSourceState

type BuildSourceStorageSourceState struct {
	Bucket     string `json:"bucket"`
	Generation string `json:"generation"`
	Object     string `json:"object"`
}

type BuildState

type BuildState struct {
	Images           []string                     `json:"images"`
	LogsBucket       string                       `json:"logs_bucket"`
	QueueTtl         string                       `json:"queue_ttl"`
	Substitutions    map[string]string            `json:"substitutions"`
	Tags             []string                     `json:"tags"`
	Timeout          string                       `json:"timeout"`
	Artifacts        []BuildArtifactsState        `json:"artifacts"`
	AvailableSecrets []BuildAvailableSecretsState `json:"available_secrets"`
	Options          []BuildOptionsState          `json:"options"`
	Secret           []BuildSecretState           `json:"secret"`
	Source           []BuildSourceState           `json:"source"`
	Step             []BuildStepState             `json:"step"`
}

type BuildStep

type BuildStep struct {
	// AllowExitCodes: list of number, optional
	AllowExitCodes terra.ListValue[terra.NumberValue] `hcl:"allow_exit_codes,attr"`
	// AllowFailure: bool, optional
	AllowFailure terra.BoolValue `hcl:"allow_failure,attr"`
	// Args: list of string, optional
	Args terra.ListValue[terra.StringValue] `hcl:"args,attr"`
	// Dir: string, optional
	Dir terra.StringValue `hcl:"dir,attr"`
	// Entrypoint: string, optional
	Entrypoint terra.StringValue `hcl:"entrypoint,attr"`
	// Env: list of string, optional
	Env terra.ListValue[terra.StringValue] `hcl:"env,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Script: string, optional
	Script terra.StringValue `hcl:"script,attr"`
	// SecretEnv: list of string, optional
	SecretEnv terra.ListValue[terra.StringValue] `hcl:"secret_env,attr"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
	// Timing: string, optional
	Timing terra.StringValue `hcl:"timing,attr"`
	// WaitFor: list of string, optional
	WaitFor terra.ListValue[terra.StringValue] `hcl:"wait_for,attr"`
	// BuildStepVolumes: min=0
	Volumes []BuildStepVolumes `hcl:"volumes,block" validate:"min=0"`
}

type BuildStepAttributes

type BuildStepAttributes struct {
	// contains filtered or unexported fields
}

func (BuildStepAttributes) AllowExitCodes

func (s BuildStepAttributes) AllowExitCodes() terra.ListValue[terra.NumberValue]

func (BuildStepAttributes) AllowFailure

func (s BuildStepAttributes) AllowFailure() terra.BoolValue

func (BuildStepAttributes) Args

func (BuildStepAttributes) Dir

func (BuildStepAttributes) Entrypoint

func (s BuildStepAttributes) Entrypoint() terra.StringValue

func (BuildStepAttributes) Env

func (BuildStepAttributes) Id

func (BuildStepAttributes) InternalRef

func (s BuildStepAttributes) InternalRef() (terra.Reference, error)

func (BuildStepAttributes) InternalTokens

func (s BuildStepAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildStepAttributes) InternalWithRef

func (s BuildStepAttributes) InternalWithRef(ref terra.Reference) BuildStepAttributes

func (BuildStepAttributes) Name

func (BuildStepAttributes) Script

func (BuildStepAttributes) SecretEnv

func (BuildStepAttributes) Timeout

func (BuildStepAttributes) Timing

func (BuildStepAttributes) Volumes

func (BuildStepAttributes) WaitFor

type BuildStepState

type BuildStepState struct {
	AllowExitCodes []float64               `json:"allow_exit_codes"`
	AllowFailure   bool                    `json:"allow_failure"`
	Args           []string                `json:"args"`
	Dir            string                  `json:"dir"`
	Entrypoint     string                  `json:"entrypoint"`
	Env            []string                `json:"env"`
	Id             string                  `json:"id"`
	Name           string                  `json:"name"`
	Script         string                  `json:"script"`
	SecretEnv      []string                `json:"secret_env"`
	Timeout        string                  `json:"timeout"`
	Timing         string                  `json:"timing"`
	WaitFor        []string                `json:"wait_for"`
	Volumes        []BuildStepVolumesState `json:"volumes"`
}

type BuildStepVolumes

type BuildStepVolumes struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type BuildStepVolumesAttributes

type BuildStepVolumesAttributes struct {
	// contains filtered or unexported fields
}

func (BuildStepVolumesAttributes) InternalRef

func (v BuildStepVolumesAttributes) InternalRef() (terra.Reference, error)

func (BuildStepVolumesAttributes) InternalTokens

func (v BuildStepVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildStepVolumesAttributes) InternalWithRef

func (BuildStepVolumesAttributes) Name

func (BuildStepVolumesAttributes) Path

type BuildStepVolumesState

type BuildStepVolumesState struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

type DataApprovalConfigAttributes

type DataApprovalConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataApprovalConfigAttributes) ApprovalRequired

func (ac DataApprovalConfigAttributes) ApprovalRequired() terra.BoolValue

func (DataApprovalConfigAttributes) InternalRef

func (ac DataApprovalConfigAttributes) InternalRef() (terra.Reference, error)

func (DataApprovalConfigAttributes) InternalTokens

func (ac DataApprovalConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataApprovalConfigAttributes) InternalWithRef

type DataApprovalConfigState

type DataApprovalConfigState struct {
	ApprovalRequired bool `json:"approval_required"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// TriggerId: string, required
	TriggerId terra.StringValue `hcl:"trigger_id,attr" validate:"required"`
}

DataArgs contains the configurations for google_cloudbuild_trigger.

type DataBitbucketServerTriggerConfigAttributes

type DataBitbucketServerTriggerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataBitbucketServerTriggerConfigAttributes) BitbucketServerConfigResource

func (bstc DataBitbucketServerTriggerConfigAttributes) BitbucketServerConfigResource() terra.StringValue

func (DataBitbucketServerTriggerConfigAttributes) InternalRef

func (DataBitbucketServerTriggerConfigAttributes) InternalTokens

func (DataBitbucketServerTriggerConfigAttributes) InternalWithRef

func (DataBitbucketServerTriggerConfigAttributes) ProjectKey

func (DataBitbucketServerTriggerConfigAttributes) PullRequest

func (DataBitbucketServerTriggerConfigAttributes) Push

func (DataBitbucketServerTriggerConfigAttributes) RepoSlug

type DataBitbucketServerTriggerConfigPullRequestAttributes

type DataBitbucketServerTriggerConfigPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (DataBitbucketServerTriggerConfigPullRequestAttributes) Branch

func (DataBitbucketServerTriggerConfigPullRequestAttributes) CommentControl

func (DataBitbucketServerTriggerConfigPullRequestAttributes) InternalRef

func (DataBitbucketServerTriggerConfigPullRequestAttributes) InternalTokens

func (DataBitbucketServerTriggerConfigPullRequestAttributes) InternalWithRef

func (DataBitbucketServerTriggerConfigPullRequestAttributes) InvertRegex

type DataBitbucketServerTriggerConfigPullRequestState

type DataBitbucketServerTriggerConfigPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type DataBitbucketServerTriggerConfigPushAttributes

type DataBitbucketServerTriggerConfigPushAttributes struct {
	// contains filtered or unexported fields
}

func (DataBitbucketServerTriggerConfigPushAttributes) Branch

func (DataBitbucketServerTriggerConfigPushAttributes) InternalRef

func (DataBitbucketServerTriggerConfigPushAttributes) InternalTokens

func (DataBitbucketServerTriggerConfigPushAttributes) InternalWithRef

func (DataBitbucketServerTriggerConfigPushAttributes) InvertRegex

func (DataBitbucketServerTriggerConfigPushAttributes) Tag

type DataBitbucketServerTriggerConfigPushState

type DataBitbucketServerTriggerConfigPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type DataBitbucketServerTriggerConfigState

type DataBitbucketServerTriggerConfigState struct {
	BitbucketServerConfigResource string                                             `json:"bitbucket_server_config_resource"`
	ProjectKey                    string                                             `json:"project_key"`
	RepoSlug                      string                                             `json:"repo_slug"`
	PullRequest                   []DataBitbucketServerTriggerConfigPullRequestState `json:"pull_request"`
	Push                          []DataBitbucketServerTriggerConfigPushState        `json:"push"`
}

type DataBuildArtifactsAttributes

type DataBuildArtifactsAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsAttributes) Images

func (DataBuildArtifactsAttributes) InternalRef

func (DataBuildArtifactsAttributes) InternalTokens

func (a DataBuildArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildArtifactsAttributes) InternalWithRef

func (DataBuildArtifactsAttributes) MavenArtifacts

func (DataBuildArtifactsAttributes) NpmPackages

func (DataBuildArtifactsAttributes) Objects

func (DataBuildArtifactsAttributes) PythonPackages

type DataBuildArtifactsMavenArtifactsAttributes

type DataBuildArtifactsMavenArtifactsAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsMavenArtifactsAttributes) ArtifactId

func (DataBuildArtifactsMavenArtifactsAttributes) GroupId

func (DataBuildArtifactsMavenArtifactsAttributes) InternalRef

func (DataBuildArtifactsMavenArtifactsAttributes) InternalTokens

func (DataBuildArtifactsMavenArtifactsAttributes) InternalWithRef

func (DataBuildArtifactsMavenArtifactsAttributes) Path

func (DataBuildArtifactsMavenArtifactsAttributes) Repository

func (DataBuildArtifactsMavenArtifactsAttributes) Version

type DataBuildArtifactsMavenArtifactsState

type DataBuildArtifactsMavenArtifactsState struct {
	ArtifactId string `json:"artifact_id"`
	GroupId    string `json:"group_id"`
	Path       string `json:"path"`
	Repository string `json:"repository"`
	Version    string `json:"version"`
}

type DataBuildArtifactsNpmPackagesAttributes

type DataBuildArtifactsNpmPackagesAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsNpmPackagesAttributes) InternalRef

func (DataBuildArtifactsNpmPackagesAttributes) InternalTokens

func (DataBuildArtifactsNpmPackagesAttributes) InternalWithRef

func (DataBuildArtifactsNpmPackagesAttributes) PackagePath

func (DataBuildArtifactsNpmPackagesAttributes) Repository

type DataBuildArtifactsNpmPackagesState

type DataBuildArtifactsNpmPackagesState struct {
	PackagePath string `json:"package_path"`
	Repository  string `json:"repository"`
}

type DataBuildArtifactsObjectsAttributes

type DataBuildArtifactsObjectsAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsObjectsAttributes) InternalRef

func (DataBuildArtifactsObjectsAttributes) InternalTokens

func (DataBuildArtifactsObjectsAttributes) InternalWithRef

func (DataBuildArtifactsObjectsAttributes) Location

func (DataBuildArtifactsObjectsAttributes) Paths

func (DataBuildArtifactsObjectsAttributes) Timing

type DataBuildArtifactsObjectsState

type DataBuildArtifactsObjectsState struct {
	Location string                                 `json:"location"`
	Paths    []string                               `json:"paths"`
	Timing   []DataBuildArtifactsObjectsTimingState `json:"timing"`
}

type DataBuildArtifactsObjectsTimingAttributes

type DataBuildArtifactsObjectsTimingAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsObjectsTimingAttributes) EndTime

func (DataBuildArtifactsObjectsTimingAttributes) InternalRef

func (DataBuildArtifactsObjectsTimingAttributes) InternalTokens

func (DataBuildArtifactsObjectsTimingAttributes) InternalWithRef

func (DataBuildArtifactsObjectsTimingAttributes) StartTime

type DataBuildArtifactsObjectsTimingState

type DataBuildArtifactsObjectsTimingState struct {
	EndTime   string `json:"end_time"`
	StartTime string `json:"start_time"`
}

type DataBuildArtifactsPythonPackagesAttributes

type DataBuildArtifactsPythonPackagesAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildArtifactsPythonPackagesAttributes) InternalRef

func (DataBuildArtifactsPythonPackagesAttributes) InternalTokens

func (DataBuildArtifactsPythonPackagesAttributes) InternalWithRef

func (DataBuildArtifactsPythonPackagesAttributes) Paths

func (DataBuildArtifactsPythonPackagesAttributes) Repository

type DataBuildArtifactsPythonPackagesState

type DataBuildArtifactsPythonPackagesState struct {
	Paths      []string `json:"paths"`
	Repository string   `json:"repository"`
}

type DataBuildArtifactsState

type DataBuildArtifactsState struct {
	Images         []string                                `json:"images"`
	MavenArtifacts []DataBuildArtifactsMavenArtifactsState `json:"maven_artifacts"`
	NpmPackages    []DataBuildArtifactsNpmPackagesState    `json:"npm_packages"`
	Objects        []DataBuildArtifactsObjectsState        `json:"objects"`
	PythonPackages []DataBuildArtifactsPythonPackagesState `json:"python_packages"`
}

type DataBuildAttributes

type DataBuildAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildAttributes) Artifacts

func (DataBuildAttributes) AvailableSecrets

func (DataBuildAttributes) Images

func (DataBuildAttributes) InternalRef

func (b DataBuildAttributes) InternalRef() (terra.Reference, error)

func (DataBuildAttributes) InternalTokens

func (b DataBuildAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildAttributes) InternalWithRef

func (b DataBuildAttributes) InternalWithRef(ref terra.Reference) DataBuildAttributes

func (DataBuildAttributes) LogsBucket

func (b DataBuildAttributes) LogsBucket() terra.StringValue

func (DataBuildAttributes) Options

func (DataBuildAttributes) QueueTtl

func (b DataBuildAttributes) QueueTtl() terra.StringValue

func (DataBuildAttributes) Secret

func (DataBuildAttributes) Source

func (DataBuildAttributes) Step

func (DataBuildAttributes) Substitutions

func (b DataBuildAttributes) Substitutions() terra.MapValue[terra.StringValue]

func (DataBuildAttributes) Tags

func (DataBuildAttributes) Timeout

type DataBuildAvailableSecretsAttributes

type DataBuildAvailableSecretsAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildAvailableSecretsAttributes) InternalRef

func (DataBuildAvailableSecretsAttributes) InternalTokens

func (DataBuildAvailableSecretsAttributes) InternalWithRef

func (DataBuildAvailableSecretsAttributes) SecretManager

type DataBuildAvailableSecretsSecretManagerAttributes

type DataBuildAvailableSecretsSecretManagerAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildAvailableSecretsSecretManagerAttributes) Env

func (DataBuildAvailableSecretsSecretManagerAttributes) InternalRef

func (DataBuildAvailableSecretsSecretManagerAttributes) InternalTokens

func (DataBuildAvailableSecretsSecretManagerAttributes) InternalWithRef

func (DataBuildAvailableSecretsSecretManagerAttributes) VersionName

type DataBuildAvailableSecretsSecretManagerState

type DataBuildAvailableSecretsSecretManagerState struct {
	Env         string `json:"env"`
	VersionName string `json:"version_name"`
}

type DataBuildAvailableSecretsState

type DataBuildAvailableSecretsState struct {
	SecretManager []DataBuildAvailableSecretsSecretManagerState `json:"secret_manager"`
}

type DataBuildOptionsAttributes

type DataBuildOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildOptionsAttributes) DiskSizeGb

func (DataBuildOptionsAttributes) DynamicSubstitutions

func (o DataBuildOptionsAttributes) DynamicSubstitutions() terra.BoolValue

func (DataBuildOptionsAttributes) Env

func (DataBuildOptionsAttributes) InternalRef

func (o DataBuildOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataBuildOptionsAttributes) InternalTokens

func (o DataBuildOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildOptionsAttributes) InternalWithRef

func (DataBuildOptionsAttributes) LogStreamingOption

func (o DataBuildOptionsAttributes) LogStreamingOption() terra.StringValue

func (DataBuildOptionsAttributes) Logging

func (DataBuildOptionsAttributes) MachineType

func (DataBuildOptionsAttributes) RequestedVerifyOption

func (o DataBuildOptionsAttributes) RequestedVerifyOption() terra.StringValue

func (DataBuildOptionsAttributes) SecretEnv

func (DataBuildOptionsAttributes) SourceProvenanceHash

func (o DataBuildOptionsAttributes) SourceProvenanceHash() terra.ListValue[terra.StringValue]

func (DataBuildOptionsAttributes) SubstitutionOption

func (o DataBuildOptionsAttributes) SubstitutionOption() terra.StringValue

func (DataBuildOptionsAttributes) Volumes

func (DataBuildOptionsAttributes) WorkerPool

type DataBuildOptionsState

type DataBuildOptionsState struct {
	DiskSizeGb            float64                        `json:"disk_size_gb"`
	DynamicSubstitutions  bool                           `json:"dynamic_substitutions"`
	Env                   []string                       `json:"env"`
	LogStreamingOption    string                         `json:"log_streaming_option"`
	Logging               string                         `json:"logging"`
	MachineType           string                         `json:"machine_type"`
	RequestedVerifyOption string                         `json:"requested_verify_option"`
	SecretEnv             []string                       `json:"secret_env"`
	SourceProvenanceHash  []string                       `json:"source_provenance_hash"`
	SubstitutionOption    string                         `json:"substitution_option"`
	WorkerPool            string                         `json:"worker_pool"`
	Volumes               []DataBuildOptionsVolumesState `json:"volumes"`
}

type DataBuildOptionsVolumesAttributes

type DataBuildOptionsVolumesAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildOptionsVolumesAttributes) InternalRef

func (DataBuildOptionsVolumesAttributes) InternalTokens

func (DataBuildOptionsVolumesAttributes) InternalWithRef

func (DataBuildOptionsVolumesAttributes) Name

func (DataBuildOptionsVolumesAttributes) Path

type DataBuildOptionsVolumesState

type DataBuildOptionsVolumesState struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

type DataBuildSecretAttributes

type DataBuildSecretAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildSecretAttributes) InternalRef

func (s DataBuildSecretAttributes) InternalRef() (terra.Reference, error)

func (DataBuildSecretAttributes) InternalTokens

func (s DataBuildSecretAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildSecretAttributes) InternalWithRef

func (DataBuildSecretAttributes) KmsKeyName

func (DataBuildSecretAttributes) SecretEnv

type DataBuildSecretState

type DataBuildSecretState struct {
	KmsKeyName string            `json:"kms_key_name"`
	SecretEnv  map[string]string `json:"secret_env"`
}

type DataBuildSourceAttributes

type DataBuildSourceAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildSourceAttributes) InternalRef

func (s DataBuildSourceAttributes) InternalRef() (terra.Reference, error)

func (DataBuildSourceAttributes) InternalTokens

func (s DataBuildSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildSourceAttributes) InternalWithRef

func (DataBuildSourceAttributes) RepoSource

func (DataBuildSourceAttributes) StorageSource

type DataBuildSourceRepoSourceAttributes

type DataBuildSourceRepoSourceAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildSourceRepoSourceAttributes) BranchName

func (DataBuildSourceRepoSourceAttributes) CommitSha

func (DataBuildSourceRepoSourceAttributes) Dir

func (DataBuildSourceRepoSourceAttributes) InternalRef

func (DataBuildSourceRepoSourceAttributes) InternalTokens

func (DataBuildSourceRepoSourceAttributes) InternalWithRef

func (DataBuildSourceRepoSourceAttributes) InvertRegex

func (DataBuildSourceRepoSourceAttributes) ProjectId

func (DataBuildSourceRepoSourceAttributes) RepoName

func (DataBuildSourceRepoSourceAttributes) Substitutions

func (DataBuildSourceRepoSourceAttributes) TagName

type DataBuildSourceRepoSourceState

type DataBuildSourceRepoSourceState struct {
	BranchName    string            `json:"branch_name"`
	CommitSha     string            `json:"commit_sha"`
	Dir           string            `json:"dir"`
	InvertRegex   bool              `json:"invert_regex"`
	ProjectId     string            `json:"project_id"`
	RepoName      string            `json:"repo_name"`
	Substitutions map[string]string `json:"substitutions"`
	TagName       string            `json:"tag_name"`
}

type DataBuildSourceState

type DataBuildSourceState struct {
	RepoSource    []DataBuildSourceRepoSourceState    `json:"repo_source"`
	StorageSource []DataBuildSourceStorageSourceState `json:"storage_source"`
}

type DataBuildSourceStorageSourceAttributes

type DataBuildSourceStorageSourceAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildSourceStorageSourceAttributes) Bucket

func (DataBuildSourceStorageSourceAttributes) Generation

func (DataBuildSourceStorageSourceAttributes) InternalRef

func (DataBuildSourceStorageSourceAttributes) InternalTokens

func (DataBuildSourceStorageSourceAttributes) InternalWithRef

func (DataBuildSourceStorageSourceAttributes) Object

type DataBuildSourceStorageSourceState

type DataBuildSourceStorageSourceState struct {
	Bucket     string `json:"bucket"`
	Generation string `json:"generation"`
	Object     string `json:"object"`
}

type DataBuildState

type DataBuildState struct {
	Images           []string                         `json:"images"`
	LogsBucket       string                           `json:"logs_bucket"`
	QueueTtl         string                           `json:"queue_ttl"`
	Substitutions    map[string]string                `json:"substitutions"`
	Tags             []string                         `json:"tags"`
	Timeout          string                           `json:"timeout"`
	Artifacts        []DataBuildArtifactsState        `json:"artifacts"`
	AvailableSecrets []DataBuildAvailableSecretsState `json:"available_secrets"`
	Options          []DataBuildOptionsState          `json:"options"`
	Secret           []DataBuildSecretState           `json:"secret"`
	Source           []DataBuildSourceState           `json:"source"`
	Step             []DataBuildStepState             `json:"step"`
}

type DataBuildStepAttributes

type DataBuildStepAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildStepAttributes) AllowExitCodes

func (DataBuildStepAttributes) AllowFailure

func (s DataBuildStepAttributes) AllowFailure() terra.BoolValue

func (DataBuildStepAttributes) Args

func (DataBuildStepAttributes) Dir

func (DataBuildStepAttributes) Entrypoint

func (s DataBuildStepAttributes) Entrypoint() terra.StringValue

func (DataBuildStepAttributes) Env

func (DataBuildStepAttributes) Id

func (DataBuildStepAttributes) InternalRef

func (s DataBuildStepAttributes) InternalRef() (terra.Reference, error)

func (DataBuildStepAttributes) InternalTokens

func (s DataBuildStepAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildStepAttributes) InternalWithRef

func (DataBuildStepAttributes) Name

func (DataBuildStepAttributes) Script

func (DataBuildStepAttributes) SecretEnv

func (DataBuildStepAttributes) Timeout

func (DataBuildStepAttributes) Timing

func (DataBuildStepAttributes) Volumes

func (DataBuildStepAttributes) WaitFor

type DataBuildStepState

type DataBuildStepState struct {
	AllowExitCodes []float64                   `json:"allow_exit_codes"`
	AllowFailure   bool                        `json:"allow_failure"`
	Args           []string                    `json:"args"`
	Dir            string                      `json:"dir"`
	Entrypoint     string                      `json:"entrypoint"`
	Env            []string                    `json:"env"`
	Id             string                      `json:"id"`
	Name           string                      `json:"name"`
	Script         string                      `json:"script"`
	SecretEnv      []string                    `json:"secret_env"`
	Timeout        string                      `json:"timeout"`
	Timing         string                      `json:"timing"`
	WaitFor        []string                    `json:"wait_for"`
	Volumes        []DataBuildStepVolumesState `json:"volumes"`
}

type DataBuildStepVolumesAttributes

type DataBuildStepVolumesAttributes struct {
	// contains filtered or unexported fields
}

func (DataBuildStepVolumesAttributes) InternalRef

func (DataBuildStepVolumesAttributes) InternalTokens

func (v DataBuildStepVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataBuildStepVolumesAttributes) InternalWithRef

func (DataBuildStepVolumesAttributes) Name

func (DataBuildStepVolumesAttributes) Path

type DataBuildStepVolumesState

type DataBuildStepVolumesState struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

type DataGitFileSourceAttributes

type DataGitFileSourceAttributes struct {
	// contains filtered or unexported fields
}

func (DataGitFileSourceAttributes) BitbucketServerConfig

func (gfs DataGitFileSourceAttributes) BitbucketServerConfig() terra.StringValue

func (DataGitFileSourceAttributes) GithubEnterpriseConfig

func (gfs DataGitFileSourceAttributes) GithubEnterpriseConfig() terra.StringValue

func (DataGitFileSourceAttributes) InternalRef

func (gfs DataGitFileSourceAttributes) InternalRef() (terra.Reference, error)

func (DataGitFileSourceAttributes) InternalTokens

func (gfs DataGitFileSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGitFileSourceAttributes) InternalWithRef

func (DataGitFileSourceAttributes) Path

func (DataGitFileSourceAttributes) RepoType

func (DataGitFileSourceAttributes) Repository

func (DataGitFileSourceAttributes) Revision

func (DataGitFileSourceAttributes) Uri

type DataGitFileSourceState

type DataGitFileSourceState struct {
	BitbucketServerConfig  string `json:"bitbucket_server_config"`
	GithubEnterpriseConfig string `json:"github_enterprise_config"`
	Path                   string `json:"path"`
	RepoType               string `json:"repo_type"`
	Repository             string `json:"repository"`
	Revision               string `json:"revision"`
	Uri                    string `json:"uri"`
}

type DataGithubAttributes

type DataGithubAttributes struct {
	// contains filtered or unexported fields
}

func (DataGithubAttributes) EnterpriseConfigResourceName

func (g DataGithubAttributes) EnterpriseConfigResourceName() terra.StringValue

func (DataGithubAttributes) InternalRef

func (g DataGithubAttributes) InternalRef() (terra.Reference, error)

func (DataGithubAttributes) InternalTokens

func (g DataGithubAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGithubAttributes) InternalWithRef

func (DataGithubAttributes) Name

func (DataGithubAttributes) Owner

func (DataGithubAttributes) PullRequest

func (DataGithubAttributes) Push

type DataGithubPullRequestAttributes

type DataGithubPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (DataGithubPullRequestAttributes) Branch

func (DataGithubPullRequestAttributes) CommentControl

func (DataGithubPullRequestAttributes) InternalRef

func (DataGithubPullRequestAttributes) InternalTokens

func (pr DataGithubPullRequestAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGithubPullRequestAttributes) InternalWithRef

func (DataGithubPullRequestAttributes) InvertRegex

type DataGithubPullRequestState

type DataGithubPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type DataGithubPushAttributes

type DataGithubPushAttributes struct {
	// contains filtered or unexported fields
}

func (DataGithubPushAttributes) Branch

func (DataGithubPushAttributes) InternalRef

func (p DataGithubPushAttributes) InternalRef() (terra.Reference, error)

func (DataGithubPushAttributes) InternalTokens

func (p DataGithubPushAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGithubPushAttributes) InternalWithRef

func (DataGithubPushAttributes) InvertRegex

func (p DataGithubPushAttributes) InvertRegex() terra.BoolValue

func (DataGithubPushAttributes) Tag

type DataGithubPushState

type DataGithubPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type DataGithubState

type DataGithubState struct {
	EnterpriseConfigResourceName string                       `json:"enterprise_config_resource_name"`
	Name                         string                       `json:"name"`
	Owner                        string                       `json:"owner"`
	PullRequest                  []DataGithubPullRequestState `json:"pull_request"`
	Push                         []DataGithubPushState        `json:"push"`
}

type DataPubsubConfigAttributes

type DataPubsubConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataPubsubConfigAttributes) InternalRef

func (pc DataPubsubConfigAttributes) InternalRef() (terra.Reference, error)

func (DataPubsubConfigAttributes) InternalTokens

func (pc DataPubsubConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPubsubConfigAttributes) InternalWithRef

func (DataPubsubConfigAttributes) ServiceAccountEmail

func (pc DataPubsubConfigAttributes) ServiceAccountEmail() terra.StringValue

func (DataPubsubConfigAttributes) State

func (DataPubsubConfigAttributes) Subscription

func (pc DataPubsubConfigAttributes) Subscription() terra.StringValue

func (DataPubsubConfigAttributes) Topic

type DataPubsubConfigState

type DataPubsubConfigState struct {
	ServiceAccountEmail string `json:"service_account_email"`
	State               string `json:"state"`
	Subscription        string `json:"subscription"`
	Topic               string `json:"topic"`
}

type DataRepositoryEventConfigAttributes

type DataRepositoryEventConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataRepositoryEventConfigAttributes) InternalRef

func (DataRepositoryEventConfigAttributes) InternalTokens

func (rec DataRepositoryEventConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRepositoryEventConfigAttributes) InternalWithRef

func (DataRepositoryEventConfigAttributes) PullRequest

func (DataRepositoryEventConfigAttributes) Push

func (DataRepositoryEventConfigAttributes) Repository

type DataRepositoryEventConfigPullRequestAttributes

type DataRepositoryEventConfigPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (DataRepositoryEventConfigPullRequestAttributes) Branch

func (DataRepositoryEventConfigPullRequestAttributes) CommentControl

func (DataRepositoryEventConfigPullRequestAttributes) InternalRef

func (DataRepositoryEventConfigPullRequestAttributes) InternalTokens

func (DataRepositoryEventConfigPullRequestAttributes) InternalWithRef

func (DataRepositoryEventConfigPullRequestAttributes) InvertRegex

type DataRepositoryEventConfigPullRequestState

type DataRepositoryEventConfigPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type DataRepositoryEventConfigPushAttributes

type DataRepositoryEventConfigPushAttributes struct {
	// contains filtered or unexported fields
}

func (DataRepositoryEventConfigPushAttributes) Branch

func (DataRepositoryEventConfigPushAttributes) InternalRef

func (DataRepositoryEventConfigPushAttributes) InternalTokens

func (DataRepositoryEventConfigPushAttributes) InternalWithRef

func (DataRepositoryEventConfigPushAttributes) InvertRegex

func (DataRepositoryEventConfigPushAttributes) Tag

type DataRepositoryEventConfigPushState

type DataRepositoryEventConfigPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type DataRepositoryEventConfigState

type DataRepositoryEventConfigState struct {
	Repository  string                                      `json:"repository"`
	PullRequest []DataRepositoryEventConfigPullRequestState `json:"pull_request"`
	Push        []DataRepositoryEventConfigPushState        `json:"push"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_cloudbuild_trigger.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gct *DataSource) Attributes() dataGoogleCloudbuildTriggerAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gct *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gct *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gct *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataSourceToBuildAttributes

type DataSourceToBuildAttributes struct {
	// contains filtered or unexported fields
}

func (DataSourceToBuildAttributes) BitbucketServerConfig

func (stb DataSourceToBuildAttributes) BitbucketServerConfig() terra.StringValue

func (DataSourceToBuildAttributes) GithubEnterpriseConfig

func (stb DataSourceToBuildAttributes) GithubEnterpriseConfig() terra.StringValue

func (DataSourceToBuildAttributes) InternalRef

func (stb DataSourceToBuildAttributes) InternalRef() (terra.Reference, error)

func (DataSourceToBuildAttributes) InternalTokens

func (stb DataSourceToBuildAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSourceToBuildAttributes) InternalWithRef

func (DataSourceToBuildAttributes) Ref

func (DataSourceToBuildAttributes) RepoType

func (DataSourceToBuildAttributes) Repository

func (DataSourceToBuildAttributes) Uri

type DataSourceToBuildState

type DataSourceToBuildState struct {
	BitbucketServerConfig  string `json:"bitbucket_server_config"`
	GithubEnterpriseConfig string `json:"github_enterprise_config"`
	Ref                    string `json:"ref"`
	RepoType               string `json:"repo_type"`
	Repository             string `json:"repository"`
	Uri                    string `json:"uri"`
}

type DataTriggerTemplateAttributes

type DataTriggerTemplateAttributes struct {
	// contains filtered or unexported fields
}

func (DataTriggerTemplateAttributes) BranchName

func (DataTriggerTemplateAttributes) CommitSha

func (DataTriggerTemplateAttributes) Dir

func (DataTriggerTemplateAttributes) InternalRef

func (tt DataTriggerTemplateAttributes) InternalRef() (terra.Reference, error)

func (DataTriggerTemplateAttributes) InternalTokens

func (tt DataTriggerTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTriggerTemplateAttributes) InternalWithRef

func (DataTriggerTemplateAttributes) InvertRegex

func (DataTriggerTemplateAttributes) ProjectId

func (DataTriggerTemplateAttributes) RepoName

func (DataTriggerTemplateAttributes) TagName

type DataTriggerTemplateState

type DataTriggerTemplateState struct {
	BranchName  string `json:"branch_name"`
	CommitSha   string `json:"commit_sha"`
	Dir         string `json:"dir"`
	InvertRegex bool   `json:"invert_regex"`
	ProjectId   string `json:"project_id"`
	RepoName    string `json:"repo_name"`
	TagName     string `json:"tag_name"`
}

type DataWebhookConfigAttributes

type DataWebhookConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataWebhookConfigAttributes) InternalRef

func (wc DataWebhookConfigAttributes) InternalRef() (terra.Reference, error)

func (DataWebhookConfigAttributes) InternalTokens

func (wc DataWebhookConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataWebhookConfigAttributes) InternalWithRef

func (DataWebhookConfigAttributes) Secret

func (DataWebhookConfigAttributes) State

type DataWebhookConfigState

type DataWebhookConfigState struct {
	Secret string `json:"secret"`
	State  string `json:"state"`
}

type GitFileSource

type GitFileSource struct {
	// BitbucketServerConfig: string, optional
	BitbucketServerConfig terra.StringValue `hcl:"bitbucket_server_config,attr"`
	// GithubEnterpriseConfig: string, optional
	GithubEnterpriseConfig terra.StringValue `hcl:"github_enterprise_config,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// RepoType: string, required
	RepoType terra.StringValue `hcl:"repo_type,attr" validate:"required"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
	// Revision: string, optional
	Revision terra.StringValue `hcl:"revision,attr"`
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
}

type GitFileSourceAttributes

type GitFileSourceAttributes struct {
	// contains filtered or unexported fields
}

func (GitFileSourceAttributes) BitbucketServerConfig

func (gfs GitFileSourceAttributes) BitbucketServerConfig() terra.StringValue

func (GitFileSourceAttributes) GithubEnterpriseConfig

func (gfs GitFileSourceAttributes) GithubEnterpriseConfig() terra.StringValue

func (GitFileSourceAttributes) InternalRef

func (gfs GitFileSourceAttributes) InternalRef() (terra.Reference, error)

func (GitFileSourceAttributes) InternalTokens

func (gfs GitFileSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GitFileSourceAttributes) InternalWithRef

func (GitFileSourceAttributes) Path

func (GitFileSourceAttributes) RepoType

func (gfs GitFileSourceAttributes) RepoType() terra.StringValue

func (GitFileSourceAttributes) Repository

func (gfs GitFileSourceAttributes) Repository() terra.StringValue

func (GitFileSourceAttributes) Revision

func (gfs GitFileSourceAttributes) Revision() terra.StringValue

func (GitFileSourceAttributes) Uri

type GitFileSourceState

type GitFileSourceState struct {
	BitbucketServerConfig  string `json:"bitbucket_server_config"`
	GithubEnterpriseConfig string `json:"github_enterprise_config"`
	Path                   string `json:"path"`
	RepoType               string `json:"repo_type"`
	Repository             string `json:"repository"`
	Revision               string `json:"revision"`
	Uri                    string `json:"uri"`
}

type Github

type Github struct {
	// EnterpriseConfigResourceName: string, optional
	EnterpriseConfigResourceName terra.StringValue `hcl:"enterprise_config_resource_name,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Owner: string, optional
	Owner terra.StringValue `hcl:"owner,attr"`
	// GithubPullRequest: optional
	PullRequest *GithubPullRequest `hcl:"pull_request,block"`
	// GithubPush: optional
	Push *GithubPush `hcl:"push,block"`
}

type GithubAttributes

type GithubAttributes struct {
	// contains filtered or unexported fields
}

func (GithubAttributes) EnterpriseConfigResourceName

func (g GithubAttributes) EnterpriseConfigResourceName() terra.StringValue

func (GithubAttributes) InternalRef

func (g GithubAttributes) InternalRef() (terra.Reference, error)

func (GithubAttributes) InternalTokens

func (g GithubAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GithubAttributes) InternalWithRef

func (g GithubAttributes) InternalWithRef(ref terra.Reference) GithubAttributes

func (GithubAttributes) Name

func (GithubAttributes) Owner

func (GithubAttributes) PullRequest

func (GithubAttributes) Push

type GithubPullRequest

type GithubPullRequest struct {
	// Branch: string, required
	Branch terra.StringValue `hcl:"branch,attr" validate:"required"`
	// CommentControl: string, optional
	CommentControl terra.StringValue `hcl:"comment_control,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
}

type GithubPullRequestAttributes

type GithubPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (GithubPullRequestAttributes) Branch

func (GithubPullRequestAttributes) CommentControl

func (pr GithubPullRequestAttributes) CommentControl() terra.StringValue

func (GithubPullRequestAttributes) InternalRef

func (pr GithubPullRequestAttributes) InternalRef() (terra.Reference, error)

func (GithubPullRequestAttributes) InternalTokens

func (pr GithubPullRequestAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GithubPullRequestAttributes) InternalWithRef

func (GithubPullRequestAttributes) InvertRegex

func (pr GithubPullRequestAttributes) InvertRegex() terra.BoolValue

type GithubPullRequestState

type GithubPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type GithubPush

type GithubPush struct {
	// Branch: string, optional
	Branch terra.StringValue `hcl:"branch,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
}

type GithubPushAttributes

type GithubPushAttributes struct {
	// contains filtered or unexported fields
}

func (GithubPushAttributes) Branch

func (GithubPushAttributes) InternalRef

func (p GithubPushAttributes) InternalRef() (terra.Reference, error)

func (GithubPushAttributes) InternalTokens

func (p GithubPushAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GithubPushAttributes) InternalWithRef

func (GithubPushAttributes) InvertRegex

func (p GithubPushAttributes) InvertRegex() terra.BoolValue

func (GithubPushAttributes) Tag

type GithubPushState

type GithubPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type GithubState

type GithubState struct {
	EnterpriseConfigResourceName string                   `json:"enterprise_config_resource_name"`
	Name                         string                   `json:"name"`
	Owner                        string                   `json:"owner"`
	PullRequest                  []GithubPullRequestState `json:"pull_request"`
	Push                         []GithubPushState        `json:"push"`
}

type PubsubConfig

type PubsubConfig struct {
	// ServiceAccountEmail: string, optional
	ServiceAccountEmail terra.StringValue `hcl:"service_account_email,attr"`
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type PubsubConfigAttributes

type PubsubConfigAttributes struct {
	// contains filtered or unexported fields
}

func (PubsubConfigAttributes) InternalRef

func (pc PubsubConfigAttributes) InternalRef() (terra.Reference, error)

func (PubsubConfigAttributes) InternalTokens

func (pc PubsubConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PubsubConfigAttributes) InternalWithRef

func (PubsubConfigAttributes) ServiceAccountEmail

func (pc PubsubConfigAttributes) ServiceAccountEmail() terra.StringValue

func (PubsubConfigAttributes) State

func (PubsubConfigAttributes) Subscription

func (pc PubsubConfigAttributes) Subscription() terra.StringValue

func (PubsubConfigAttributes) Topic

type PubsubConfigState

type PubsubConfigState struct {
	ServiceAccountEmail string `json:"service_account_email"`
	State               string `json:"state"`
	Subscription        string `json:"subscription"`
	Topic               string `json:"topic"`
}

type RepositoryEventConfig

type RepositoryEventConfig struct {
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
	// RepositoryEventConfigPullRequest: optional
	PullRequest *RepositoryEventConfigPullRequest `hcl:"pull_request,block"`
	// RepositoryEventConfigPush: optional
	Push *RepositoryEventConfigPush `hcl:"push,block"`
}

type RepositoryEventConfigAttributes

type RepositoryEventConfigAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryEventConfigAttributes) InternalRef

func (RepositoryEventConfigAttributes) InternalTokens

func (rec RepositoryEventConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryEventConfigAttributes) InternalWithRef

func (RepositoryEventConfigAttributes) PullRequest

func (RepositoryEventConfigAttributes) Push

func (RepositoryEventConfigAttributes) Repository

type RepositoryEventConfigPullRequest

type RepositoryEventConfigPullRequest struct {
	// Branch: string, optional
	Branch terra.StringValue `hcl:"branch,attr"`
	// CommentControl: string, optional
	CommentControl terra.StringValue `hcl:"comment_control,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
}

type RepositoryEventConfigPullRequestAttributes

type RepositoryEventConfigPullRequestAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryEventConfigPullRequestAttributes) Branch

func (RepositoryEventConfigPullRequestAttributes) CommentControl

func (RepositoryEventConfigPullRequestAttributes) InternalRef

func (RepositoryEventConfigPullRequestAttributes) InternalTokens

func (RepositoryEventConfigPullRequestAttributes) InternalWithRef

func (RepositoryEventConfigPullRequestAttributes) InvertRegex

type RepositoryEventConfigPullRequestState

type RepositoryEventConfigPullRequestState struct {
	Branch         string `json:"branch"`
	CommentControl string `json:"comment_control"`
	InvertRegex    bool   `json:"invert_regex"`
}

type RepositoryEventConfigPush

type RepositoryEventConfigPush struct {
	// Branch: string, optional
	Branch terra.StringValue `hcl:"branch,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
}

type RepositoryEventConfigPushAttributes

type RepositoryEventConfigPushAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryEventConfigPushAttributes) Branch

func (RepositoryEventConfigPushAttributes) InternalRef

func (RepositoryEventConfigPushAttributes) InternalTokens

func (RepositoryEventConfigPushAttributes) InternalWithRef

func (RepositoryEventConfigPushAttributes) InvertRegex

func (RepositoryEventConfigPushAttributes) Tag

type RepositoryEventConfigPushState

type RepositoryEventConfigPushState struct {
	Branch      string `json:"branch"`
	InvertRegex bool   `json:"invert_regex"`
	Tag         string `json:"tag"`
}

type RepositoryEventConfigState

type RepositoryEventConfigState struct {
	Repository  string                                  `json:"repository"`
	PullRequest []RepositoryEventConfigPullRequestState `json:"pull_request"`
	Push        []RepositoryEventConfigPushState        `json:"push"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_cloudbuild_trigger.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gct *Resource) Attributes() googleCloudbuildTriggerAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gct *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gct *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gct *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gct *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gct *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gct *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gct *Resource) State() (*googleCloudbuildTriggerState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gct *Resource) StateMust() *googleCloudbuildTriggerState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gct *Resource) Type() string

Type returns the Terraform object type for Resource.

type SourceToBuild

type SourceToBuild struct {
	// BitbucketServerConfig: string, optional
	BitbucketServerConfig terra.StringValue `hcl:"bitbucket_server_config,attr"`
	// GithubEnterpriseConfig: string, optional
	GithubEnterpriseConfig terra.StringValue `hcl:"github_enterprise_config,attr"`
	// Ref: string, required
	Ref terra.StringValue `hcl:"ref,attr" validate:"required"`
	// RepoType: string, required
	RepoType terra.StringValue `hcl:"repo_type,attr" validate:"required"`
	// Repository: string, optional
	Repository terra.StringValue `hcl:"repository,attr"`
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
}

type SourceToBuildAttributes

type SourceToBuildAttributes struct {
	// contains filtered or unexported fields
}

func (SourceToBuildAttributes) BitbucketServerConfig

func (stb SourceToBuildAttributes) BitbucketServerConfig() terra.StringValue

func (SourceToBuildAttributes) GithubEnterpriseConfig

func (stb SourceToBuildAttributes) GithubEnterpriseConfig() terra.StringValue

func (SourceToBuildAttributes) InternalRef

func (stb SourceToBuildAttributes) InternalRef() (terra.Reference, error)

func (SourceToBuildAttributes) InternalTokens

func (stb SourceToBuildAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceToBuildAttributes) InternalWithRef

func (SourceToBuildAttributes) Ref

func (SourceToBuildAttributes) RepoType

func (stb SourceToBuildAttributes) RepoType() terra.StringValue

func (SourceToBuildAttributes) Repository

func (stb SourceToBuildAttributes) Repository() terra.StringValue

func (SourceToBuildAttributes) Uri

type SourceToBuildState

type SourceToBuildState struct {
	BitbucketServerConfig  string `json:"bitbucket_server_config"`
	GithubEnterpriseConfig string `json:"github_enterprise_config"`
	Ref                    string `json:"ref"`
	RepoType               string `json:"repo_type"`
	Repository             string `json:"repository"`
	Uri                    string `json:"uri"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type TriggerTemplate

type TriggerTemplate struct {
	// BranchName: string, optional
	BranchName terra.StringValue `hcl:"branch_name,attr"`
	// CommitSha: string, optional
	CommitSha terra.StringValue `hcl:"commit_sha,attr"`
	// Dir: string, optional
	Dir terra.StringValue `hcl:"dir,attr"`
	// InvertRegex: bool, optional
	InvertRegex terra.BoolValue `hcl:"invert_regex,attr"`
	// ProjectId: string, optional
	ProjectId terra.StringValue `hcl:"project_id,attr"`
	// RepoName: string, optional
	RepoName terra.StringValue `hcl:"repo_name,attr"`
	// TagName: string, optional
	TagName terra.StringValue `hcl:"tag_name,attr"`
}

type TriggerTemplateAttributes

type TriggerTemplateAttributes struct {
	// contains filtered or unexported fields
}

func (TriggerTemplateAttributes) BranchName

func (TriggerTemplateAttributes) CommitSha

func (TriggerTemplateAttributes) Dir

func (TriggerTemplateAttributes) InternalRef

func (tt TriggerTemplateAttributes) InternalRef() (terra.Reference, error)

func (TriggerTemplateAttributes) InternalTokens

func (tt TriggerTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TriggerTemplateAttributes) InternalWithRef

func (TriggerTemplateAttributes) InvertRegex

func (tt TriggerTemplateAttributes) InvertRegex() terra.BoolValue

func (TriggerTemplateAttributes) ProjectId

func (TriggerTemplateAttributes) RepoName

func (TriggerTemplateAttributes) TagName

type TriggerTemplateState

type TriggerTemplateState struct {
	BranchName  string `json:"branch_name"`
	CommitSha   string `json:"commit_sha"`
	Dir         string `json:"dir"`
	InvertRegex bool   `json:"invert_regex"`
	ProjectId   string `json:"project_id"`
	RepoName    string `json:"repo_name"`
	TagName     string `json:"tag_name"`
}

type WebhookConfig

type WebhookConfig struct {
	// Secret: string, required
	Secret terra.StringValue `hcl:"secret,attr" validate:"required"`
}

type WebhookConfigAttributes

type WebhookConfigAttributes struct {
	// contains filtered or unexported fields
}

func (WebhookConfigAttributes) InternalRef

func (wc WebhookConfigAttributes) InternalRef() (terra.Reference, error)

func (WebhookConfigAttributes) InternalTokens

func (wc WebhookConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebhookConfigAttributes) InternalWithRef

func (WebhookConfigAttributes) Secret

func (WebhookConfigAttributes) State

type WebhookConfigState

type WebhookConfigState struct {
	Secret string `json:"secret"`
	State  string `json:"state"`
}

Jump to

Keyboard shortcuts

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