Documentation ¶
Index ¶
- type AnthosCluster
- type AnthosClusterAttributes
- func (ac AnthosClusterAttributes) InternalRef() (terra.Reference, error)
- func (ac AnthosClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac AnthosClusterAttributes) InternalWithRef(ref terra.Reference) AnthosClusterAttributes
- func (ac AnthosClusterAttributes) Membership() terra.StringValue
- type AnthosClusterState
- type Args
- type ExecutionConfigs
- type ExecutionConfigsAttributes
- func (ec ExecutionConfigsAttributes) ArtifactStorage() terra.StringValue
- func (ec ExecutionConfigsAttributes) ExecutionTimeout() terra.StringValue
- func (ec ExecutionConfigsAttributes) InternalRef() (terra.Reference, error)
- func (ec ExecutionConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec ExecutionConfigsAttributes) InternalWithRef(ref terra.Reference) ExecutionConfigsAttributes
- func (ec ExecutionConfigsAttributes) ServiceAccount() terra.StringValue
- func (ec ExecutionConfigsAttributes) Usages() terra.ListValue[terra.StringValue]
- func (ec ExecutionConfigsAttributes) WorkerPool() terra.StringValue
- type ExecutionConfigsState
- type Gke
- type GkeAttributes
- func (g GkeAttributes) Cluster() terra.StringValue
- func (g GkeAttributes) InternalIp() terra.BoolValue
- func (g GkeAttributes) InternalRef() (terra.Reference, error)
- func (g GkeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GkeAttributes) InternalWithRef(ref terra.Reference) GkeAttributes
- type GkeState
- type MultiTarget
- type MultiTargetAttributes
- func (mt MultiTargetAttributes) InternalRef() (terra.Reference, error)
- func (mt MultiTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mt MultiTargetAttributes) InternalWithRef(ref terra.Reference) MultiTargetAttributes
- func (mt MultiTargetAttributes) TargetIds() terra.ListValue[terra.StringValue]
- type MultiTargetState
- type Resource
- func (gct *Resource) Attributes() googleClouddeployTargetAttributes
- func (gct *Resource) Configuration() interface{}
- func (gct *Resource) DependOn() terra.Reference
- func (gct *Resource) Dependencies() terra.Dependencies
- func (gct *Resource) ImportState(state io.Reader) error
- func (gct *Resource) LifecycleManagement() *terra.Lifecycle
- func (gct *Resource) LocalName() string
- func (gct *Resource) State() (*googleClouddeployTargetState, bool)
- func (gct *Resource) StateMust() *googleClouddeployTargetState
- func (gct *Resource) Type() string
- type Run
- type RunAttributes
- type RunState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnthosCluster ¶
type AnthosCluster struct { // Membership: string, optional Membership terra.StringValue `hcl:"membership,attr"` }
type AnthosClusterAttributes ¶
type AnthosClusterAttributes struct {
// contains filtered or unexported fields
}
func (AnthosClusterAttributes) InternalRef ¶
func (ac AnthosClusterAttributes) InternalRef() (terra.Reference, error)
func (AnthosClusterAttributes) InternalTokens ¶
func (ac AnthosClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AnthosClusterAttributes) InternalWithRef ¶
func (ac AnthosClusterAttributes) InternalWithRef(ref terra.Reference) AnthosClusterAttributes
func (AnthosClusterAttributes) Membership ¶
func (ac AnthosClusterAttributes) Membership() terra.StringValue
type AnthosClusterState ¶
type AnthosClusterState struct {
Membership string `json:"membership"`
}
type Args ¶
type Args struct { // Annotations: map of string, optional Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"` // DeployParameters: map of string, optional DeployParameters terra.MapValue[terra.StringValue] `hcl:"deploy_parameters,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // RequireApproval: bool, optional RequireApproval terra.BoolValue `hcl:"require_approval,attr"` // AnthosCluster: optional AnthosCluster *AnthosCluster `hcl:"anthos_cluster,block"` // ExecutionConfigs: min=0 ExecutionConfigs []ExecutionConfigs `hcl:"execution_configs,block" validate:"min=0"` // Gke: optional Gke *Gke `hcl:"gke,block"` // MultiTarget: optional MultiTarget *MultiTarget `hcl:"multi_target,block"` // Run: optional Run *Run `hcl:"run,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_clouddeploy_target.
type ExecutionConfigs ¶
type ExecutionConfigs struct { // ArtifactStorage: string, optional ArtifactStorage terra.StringValue `hcl:"artifact_storage,attr"` // ExecutionTimeout: string, optional ExecutionTimeout terra.StringValue `hcl:"execution_timeout,attr"` // ServiceAccount: string, optional ServiceAccount terra.StringValue `hcl:"service_account,attr"` // Usages: list of string, required Usages terra.ListValue[terra.StringValue] `hcl:"usages,attr" validate:"required"` // WorkerPool: string, optional WorkerPool terra.StringValue `hcl:"worker_pool,attr"` }
type ExecutionConfigsAttributes ¶
type ExecutionConfigsAttributes struct {
// contains filtered or unexported fields
}
func (ExecutionConfigsAttributes) ArtifactStorage ¶
func (ec ExecutionConfigsAttributes) ArtifactStorage() terra.StringValue
func (ExecutionConfigsAttributes) ExecutionTimeout ¶
func (ec ExecutionConfigsAttributes) ExecutionTimeout() terra.StringValue
func (ExecutionConfigsAttributes) InternalRef ¶
func (ec ExecutionConfigsAttributes) InternalRef() (terra.Reference, error)
func (ExecutionConfigsAttributes) InternalTokens ¶
func (ec ExecutionConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExecutionConfigsAttributes) InternalWithRef ¶
func (ec ExecutionConfigsAttributes) InternalWithRef(ref terra.Reference) ExecutionConfigsAttributes
func (ExecutionConfigsAttributes) ServiceAccount ¶
func (ec ExecutionConfigsAttributes) ServiceAccount() terra.StringValue
func (ExecutionConfigsAttributes) Usages ¶
func (ec ExecutionConfigsAttributes) Usages() terra.ListValue[terra.StringValue]
func (ExecutionConfigsAttributes) WorkerPool ¶
func (ec ExecutionConfigsAttributes) WorkerPool() terra.StringValue
type ExecutionConfigsState ¶
type Gke ¶
type Gke struct { // Cluster: string, optional Cluster terra.StringValue `hcl:"cluster,attr"` // InternalIp: bool, optional InternalIp terra.BoolValue `hcl:"internal_ip,attr"` }
type GkeAttributes ¶
type GkeAttributes struct {
// contains filtered or unexported fields
}
func (GkeAttributes) Cluster ¶
func (g GkeAttributes) Cluster() terra.StringValue
func (GkeAttributes) InternalIp ¶
func (g GkeAttributes) InternalIp() terra.BoolValue
func (GkeAttributes) InternalRef ¶
func (g GkeAttributes) InternalRef() (terra.Reference, error)
func (GkeAttributes) InternalTokens ¶
func (g GkeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GkeAttributes) InternalWithRef ¶
func (g GkeAttributes) InternalWithRef(ref terra.Reference) GkeAttributes
type MultiTarget ¶
type MultiTarget struct { // TargetIds: list of string, required TargetIds terra.ListValue[terra.StringValue] `hcl:"target_ids,attr" validate:"required"` }
type MultiTargetAttributes ¶
type MultiTargetAttributes struct {
// contains filtered or unexported fields
}
func (MultiTargetAttributes) InternalRef ¶
func (mt MultiTargetAttributes) InternalRef() (terra.Reference, error)
func (MultiTargetAttributes) InternalTokens ¶
func (mt MultiTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MultiTargetAttributes) InternalWithRef ¶
func (mt MultiTargetAttributes) InternalWithRef(ref terra.Reference) MultiTargetAttributes
func (MultiTargetAttributes) TargetIds ¶
func (mt MultiTargetAttributes) TargetIds() terra.ListValue[terra.StringValue]
type MultiTargetState ¶
type MultiTargetState struct {
TargetIds []string `json:"target_ids"`
}
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_clouddeploy_target.
func (*Resource) Attributes ¶
func (gct *Resource) Attributes() googleClouddeployTargetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gct *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gct *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Run ¶
type Run struct { // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` }
type RunAttributes ¶
type RunAttributes struct {
// contains filtered or unexported fields
}
func (RunAttributes) InternalRef ¶
func (r RunAttributes) InternalRef() (terra.Reference, error)
func (RunAttributes) InternalTokens ¶
func (r RunAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RunAttributes) InternalWithRef ¶
func (r RunAttributes) InternalWithRef(ref terra.Reference) RunAttributes
func (RunAttributes) Location ¶
func (r RunAttributes) Location() terra.StringValue
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.