Documentation ¶
Index ¶
- type Source
- type SourceAttributes
- func (s SourceAttributes) Content() terra.StringValue
- func (s SourceAttributes) Filename() terra.StringValue
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // Filename: string, required Filename terra.StringValue `hcl:"filename,attr" validate:"required"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Content ¶
func (s SourceAttributes) Content() terra.StringValue
func (SourceAttributes) Filename ¶
func (s SourceAttributes) Filename() terra.StringValue
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
type SourceState ¶
Click to show internal directories.
Click to hide internal directories.