Documentation
¶
Index ¶
- type Permissions
- type PermissionsAttributes
- func (p PermissionsAttributes) Add() terra.BoolValue
- func (p PermissionsAttributes) Create() terra.BoolValue
- func (p PermissionsAttributes) Delete() terra.BoolValue
- func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
- func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
- func (p PermissionsAttributes) List() terra.BoolValue
- func (p PermissionsAttributes) Read() terra.BoolValue
- func (p PermissionsAttributes) Write() terra.BoolValue
- type PermissionsState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permissions ¶
type Permissions struct { // Add: bool, required Add terra.BoolValue `hcl:"add,attr" validate:"required"` // Create: bool, required Create terra.BoolValue `hcl:"create,attr" validate:"required"` // Delete: bool, required Delete terra.BoolValue `hcl:"delete,attr" validate:"required"` // List: bool, required List terra.BoolValue `hcl:"list,attr" validate:"required"` // Read: bool, required Read terra.BoolValue `hcl:"read,attr" validate:"required"` // Write: bool, required Write terra.BoolValue `hcl:"write,attr" validate:"required"` }
type PermissionsAttributes ¶
type PermissionsAttributes struct {
// contains filtered or unexported fields
}
func (PermissionsAttributes) Add ¶
func (p PermissionsAttributes) Add() terra.BoolValue
func (PermissionsAttributes) Create ¶
func (p PermissionsAttributes) Create() terra.BoolValue
func (PermissionsAttributes) Delete ¶
func (p PermissionsAttributes) Delete() terra.BoolValue
func (PermissionsAttributes) InternalRef ¶
func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
func (PermissionsAttributes) InternalTokens ¶
func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PermissionsAttributes) InternalWithRef ¶
func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
func (PermissionsAttributes) List ¶
func (p PermissionsAttributes) List() terra.BoolValue
func (PermissionsAttributes) Read ¶
func (p PermissionsAttributes) Read() terra.BoolValue
func (PermissionsAttributes) Write ¶
func (p PermissionsAttributes) Write() terra.BoolValue
type PermissionsState ¶
type Timeouts ¶
type Timeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
type TimeoutsState ¶
type TimeoutsState struct {
Read string `json:"read"`
}
Click to show internal directories.
Click to hide internal directories.