Documentation ¶
Index ¶
- type Listener
- type ListenerAttributes
- func (l ListenerAttributes) InternalRef() (terra.Reference, error)
- func (l ListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l ListenerAttributes) InternalWithRef(ref terra.Reference) ListenerAttributes
- func (l ListenerAttributes) PortMapping() terra.ListValue[PortMappingAttributes]
- type ListenerState
- type PortMapping
- type PortMappingAttributes
- func (pm PortMappingAttributes) InternalRef() (terra.Reference, error)
- func (pm PortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pm PortMappingAttributes) InternalWithRef(ref terra.Reference) PortMappingAttributes
- func (pm PortMappingAttributes) Port() terra.NumberValue
- func (pm PortMappingAttributes) Protocol() terra.StringValue
- type PortMappingState
- type Spec
- type SpecAttributes
- type SpecState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct { // PortMapping: required PortMapping *PortMapping `hcl:"port_mapping,block" validate:"required"` }
type ListenerAttributes ¶
type ListenerAttributes struct {
// contains filtered or unexported fields
}
func (ListenerAttributes) InternalRef ¶
func (l ListenerAttributes) InternalRef() (terra.Reference, error)
func (ListenerAttributes) InternalTokens ¶
func (l ListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ListenerAttributes) InternalWithRef ¶
func (l ListenerAttributes) InternalWithRef(ref terra.Reference) ListenerAttributes
func (ListenerAttributes) PortMapping ¶
func (l ListenerAttributes) PortMapping() terra.ListValue[PortMappingAttributes]
type ListenerState ¶
type ListenerState struct {
PortMapping []PortMappingState `json:"port_mapping"`
}
type PortMapping ¶
type PortMapping struct { // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` }
type PortMappingAttributes ¶
type PortMappingAttributes struct {
// contains filtered or unexported fields
}
func (PortMappingAttributes) InternalRef ¶
func (pm PortMappingAttributes) InternalRef() (terra.Reference, error)
func (PortMappingAttributes) InternalTokens ¶
func (pm PortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PortMappingAttributes) InternalWithRef ¶
func (pm PortMappingAttributes) InternalWithRef(ref terra.Reference) PortMappingAttributes
func (PortMappingAttributes) Port ¶
func (pm PortMappingAttributes) Port() terra.NumberValue
func (PortMappingAttributes) Protocol ¶
func (pm PortMappingAttributes) Protocol() terra.StringValue
type PortMappingState ¶
type Spec ¶
type Spec struct { // Listener: min=0 Listener []Listener `hcl:"listener,block" validate:"min=0"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) InternalRef ¶
func (s SpecAttributes) InternalRef() (terra.Reference, error)
func (SpecAttributes) InternalTokens ¶
func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecAttributes) InternalWithRef ¶
func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
func (SpecAttributes) Listener ¶
func (s SpecAttributes) Listener() terra.ListValue[ListenerAttributes]
type SpecState ¶
type SpecState struct {
Listener []ListenerState `json:"listener"`
}
Click to show internal directories.
Click to hide internal directories.