Documentation ¶
Index ¶
- type Secret
- type SecretAttributes
- func (s SecretAttributes) Context() terra.MapValue[terra.StringValue]
- func (s SecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
- func (s SecretAttributes) InternalRef() (terra.Reference, error)
- func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes
- func (s SecretAttributes) Name() terra.StringValue
- func (s SecretAttributes) Payload() terra.StringValue
- type SecretState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct { // Context: map of string, optional Context terra.MapValue[terra.StringValue] `hcl:"context,attr"` // GrantTokens: list of string, optional GrantTokens terra.ListValue[terra.StringValue] `hcl:"grant_tokens,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Payload: string, required Payload terra.StringValue `hcl:"payload,attr" validate:"required"` }
type SecretAttributes ¶
type SecretAttributes struct {
// contains filtered or unexported fields
}
func (SecretAttributes) Context ¶
func (s SecretAttributes) Context() terra.MapValue[terra.StringValue]
func (SecretAttributes) GrantTokens ¶
func (s SecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
func (SecretAttributes) InternalRef ¶
func (s SecretAttributes) InternalRef() (terra.Reference, error)
func (SecretAttributes) InternalTokens ¶
func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecretAttributes) InternalWithRef ¶
func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes
func (SecretAttributes) Name ¶
func (s SecretAttributes) Name() terra.StringValue
func (SecretAttributes) Payload ¶
func (s SecretAttributes) Payload() terra.StringValue
Click to show internal directories.
Click to hide internal directories.