Documentation ¶
Index ¶
- type Args
- type Resource
- func (gghsrrb *Resource) Attributes() googleGkeHubScopeRbacRoleBindingAttributes
- func (gghsrrb *Resource) Configuration() interface{}
- func (gghsrrb *Resource) DependOn() terra.Reference
- func (gghsrrb *Resource) Dependencies() terra.Dependencies
- func (gghsrrb *Resource) ImportState(state io.Reader) error
- func (gghsrrb *Resource) LifecycleManagement() *terra.Lifecycle
- func (gghsrrb *Resource) LocalName() string
- func (gghsrrb *Resource) State() (*googleGkeHubScopeRbacRoleBindingState, bool)
- func (gghsrrb *Resource) StateMust() *googleGkeHubScopeRbacRoleBindingState
- func (gghsrrb *Resource) Type() string
- type Role
- type RoleAttributes
- type RoleState
- 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 { // Group: string, optional Group terra.StringValue `hcl:"group,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ScopeId: string, required ScopeId terra.StringValue `hcl:"scope_id,attr" validate:"required"` // ScopeRbacRoleBindingId: string, required ScopeRbacRoleBindingId terra.StringValue `hcl:"scope_rbac_role_binding_id,attr" validate:"required"` // User: string, optional User terra.StringValue `hcl:"user,attr"` // Role: required Role *Role `hcl:"role,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_gke_hub_scope_rbac_role_binding.
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_scope_rbac_role_binding.
func (*Resource) Attributes ¶
func (gghsrrb *Resource) Attributes() googleGkeHubScopeRbacRoleBindingAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gghsrrb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gghsrrb *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 Role ¶
type Role struct { // PredefinedRole: string, optional PredefinedRole terra.StringValue `hcl:"predefined_role,attr"` }
type RoleAttributes ¶
type RoleAttributes struct {
// contains filtered or unexported fields
}
func (RoleAttributes) InternalRef ¶
func (r RoleAttributes) InternalRef() (terra.Reference, error)
func (RoleAttributes) InternalTokens ¶
func (r RoleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoleAttributes) InternalWithRef ¶
func (r RoleAttributes) InternalWithRef(ref terra.Reference) RoleAttributes
func (RoleAttributes) PredefinedRole ¶
func (r RoleAttributes) PredefinedRole() terra.StringValue
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.