Documentation ¶
Index ¶
- type Grantee
- type GranteeAttributes
- func (g GranteeAttributes) DisplayName() terra.StringValue
- func (g GranteeAttributes) EmailAddress() terra.StringValue
- func (g GranteeAttributes) Id() terra.StringValue
- func (g GranteeAttributes) InternalRef() (terra.Reference, error)
- func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes
- func (g GranteeAttributes) Type() terra.StringValue
- func (g GranteeAttributes) Uri() terra.StringValue
- type GranteeState
- type TargetGrant
- type TargetGrantAttributes
- func (tg TargetGrantAttributes) Grantee() terra.ListValue[GranteeAttributes]
- func (tg TargetGrantAttributes) InternalRef() (terra.Reference, error)
- func (tg TargetGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg TargetGrantAttributes) InternalWithRef(ref terra.Reference) TargetGrantAttributes
- func (tg TargetGrantAttributes) Permission() terra.StringValue
- type TargetGrantState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grantee ¶
type Grantee struct { // EmailAddress: string, optional EmailAddress terra.StringValue `hcl:"email_address,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Uri: string, optional Uri terra.StringValue `hcl:"uri,attr"` }
type GranteeAttributes ¶
type GranteeAttributes struct {
// contains filtered or unexported fields
}
func (GranteeAttributes) DisplayName ¶
func (g GranteeAttributes) DisplayName() terra.StringValue
func (GranteeAttributes) EmailAddress ¶
func (g GranteeAttributes) EmailAddress() terra.StringValue
func (GranteeAttributes) Id ¶
func (g GranteeAttributes) Id() terra.StringValue
func (GranteeAttributes) InternalRef ¶
func (g GranteeAttributes) InternalRef() (terra.Reference, error)
func (GranteeAttributes) InternalTokens ¶
func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GranteeAttributes) InternalWithRef ¶
func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes
func (GranteeAttributes) Type ¶
func (g GranteeAttributes) Type() terra.StringValue
func (GranteeAttributes) Uri ¶
func (g GranteeAttributes) Uri() terra.StringValue
type GranteeState ¶
type TargetGrant ¶
type TargetGrant struct { // Permission: string, required Permission terra.StringValue `hcl:"permission,attr" validate:"required"` // Grantee: required Grantee *Grantee `hcl:"grantee,block" validate:"required"` }
type TargetGrantAttributes ¶
type TargetGrantAttributes struct {
// contains filtered or unexported fields
}
func (TargetGrantAttributes) Grantee ¶
func (tg TargetGrantAttributes) Grantee() terra.ListValue[GranteeAttributes]
func (TargetGrantAttributes) InternalRef ¶
func (tg TargetGrantAttributes) InternalRef() (terra.Reference, error)
func (TargetGrantAttributes) InternalTokens ¶
func (tg TargetGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetGrantAttributes) InternalWithRef ¶
func (tg TargetGrantAttributes) InternalWithRef(ref terra.Reference) TargetGrantAttributes
func (TargetGrantAttributes) Permission ¶
func (tg TargetGrantAttributes) Permission() terra.StringValue
type TargetGrantState ¶
type TargetGrantState struct { Permission string `json:"permission"` Grantee []GranteeState `json:"grantee"` }
Click to show internal directories.
Click to hide internal directories.