Documentation ¶
Index ¶
- type Grant
- type GrantAttributes
- func (g GrantAttributes) Email() terra.StringValue
- func (g GrantAttributes) Id() terra.StringValue
- func (g GrantAttributes) InternalRef() (terra.Reference, error)
- func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
- func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
- func (g GrantAttributes) Type() terra.StringValue
- func (g GrantAttributes) Uri() terra.StringValue
- type GrantState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grant ¶
type Grant struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Permissions: set of string, required Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Uri: string, optional Uri terra.StringValue `hcl:"uri,attr"` }
type GrantAttributes ¶
type GrantAttributes struct {
// contains filtered or unexported fields
}
func (GrantAttributes) Email ¶
func (g GrantAttributes) Email() terra.StringValue
func (GrantAttributes) Id ¶
func (g GrantAttributes) Id() terra.StringValue
func (GrantAttributes) InternalRef ¶
func (g GrantAttributes) InternalRef() (terra.Reference, error)
func (GrantAttributes) InternalTokens ¶
func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrantAttributes) InternalWithRef ¶
func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
func (GrantAttributes) Permissions ¶
func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
func (GrantAttributes) Type ¶
func (g GrantAttributes) Type() terra.StringValue
func (GrantAttributes) Uri ¶
func (g GrantAttributes) Uri() terra.StringValue
Click to show internal directories.
Click to hide internal directories.