Documentation ¶
Index ¶
- type Args
- type Resource
- func (gghn *Resource) Attributes() googleGkeHubNamespaceAttributes
- func (gghn *Resource) Configuration() interface{}
- func (gghn *Resource) DependOn() terra.Reference
- func (gghn *Resource) Dependencies() terra.Dependencies
- func (gghn *Resource) ImportState(state io.Reader) error
- func (gghn *Resource) LifecycleManagement() *terra.Lifecycle
- func (gghn *Resource) LocalName() string
- func (gghn *Resource) State() (*googleGkeHubNamespaceState, bool)
- func (gghn *Resource) StateMust() *googleGkeHubNamespaceState
- func (gghn *Resource) Type() string
- type StateAttributes
- type StateState
- 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 Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // NamespaceLabels: map of string, optional NamespaceLabels terra.MapValue[terra.StringValue] `hcl:"namespace_labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Scope: string, required Scope terra.StringValue `hcl:"scope,attr" validate:"required"` // ScopeId: string, required ScopeId terra.StringValue `hcl:"scope_id,attr" validate:"required"` // ScopeNamespaceId: string, required ScopeNamespaceId terra.StringValue `hcl:"scope_namespace_id,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_gke_hub_namespace.
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_gke_hub_namespace.
func (*Resource) Attributes ¶
func (gghn *Resource) Attributes() googleGkeHubNamespaceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gghn *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gghn *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 StateAttributes ¶
type StateAttributes struct {
// contains filtered or unexported fields
}
func (StateAttributes) Code ¶
func (s StateAttributes) Code() terra.StringValue
func (StateAttributes) InternalRef ¶
func (s StateAttributes) InternalRef() (terra.Reference, error)
func (StateAttributes) InternalTokens ¶
func (s StateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StateAttributes) InternalWithRef ¶
func (s StateAttributes) InternalWithRef(ref terra.Reference) StateAttributes
type StateState ¶
type StateState struct {
Code string `json:"code"`
}
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.