Documentation ¶
Index ¶
- type Provider
- type ProviderAttributes
- func (p ProviderAttributes) InternalRef() (terra.Reference, error)
- func (p ProviderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ProviderAttributes) InternalWithRef(ref terra.Reference) ProviderAttributes
- func (p ProviderAttributes) VirtualNode() terra.ListValue[VirtualNodeAttributes]
- func (p ProviderAttributes) VirtualRouter() terra.ListValue[VirtualRouterAttributes]
- type ProviderState
- type Spec
- type SpecAttributes
- type SpecState
- type VirtualNode
- type VirtualNodeAttributes
- func (vn VirtualNodeAttributes) InternalRef() (terra.Reference, error)
- func (vn VirtualNodeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vn VirtualNodeAttributes) InternalWithRef(ref terra.Reference) VirtualNodeAttributes
- func (vn VirtualNodeAttributes) VirtualNodeName() terra.StringValue
- type VirtualNodeState
- type VirtualRouter
- type VirtualRouterAttributes
- func (vr VirtualRouterAttributes) InternalRef() (terra.Reference, error)
- func (vr VirtualRouterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vr VirtualRouterAttributes) InternalWithRef(ref terra.Reference) VirtualRouterAttributes
- func (vr VirtualRouterAttributes) VirtualRouterName() terra.StringValue
- type VirtualRouterState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { // VirtualNode: optional VirtualNode *VirtualNode `hcl:"virtual_node,block"` // VirtualRouter: optional VirtualRouter *VirtualRouter `hcl:"virtual_router,block"` }
type ProviderAttributes ¶
type ProviderAttributes struct {
// contains filtered or unexported fields
}
func (ProviderAttributes) InternalRef ¶
func (p ProviderAttributes) InternalRef() (terra.Reference, error)
func (ProviderAttributes) InternalTokens ¶
func (p ProviderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProviderAttributes) InternalWithRef ¶
func (p ProviderAttributes) InternalWithRef(ref terra.Reference) ProviderAttributes
func (ProviderAttributes) VirtualNode ¶
func (p ProviderAttributes) VirtualNode() terra.ListValue[VirtualNodeAttributes]
func (ProviderAttributes) VirtualRouter ¶
func (p ProviderAttributes) VirtualRouter() terra.ListValue[VirtualRouterAttributes]
type ProviderState ¶
type ProviderState struct { VirtualNode []VirtualNodeState `json:"virtual_node"` VirtualRouter []VirtualRouterState `json:"virtual_router"` }
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) Provider ¶
func (s SpecAttributes) Provider() terra.ListValue[ProviderAttributes]
type SpecState ¶
type SpecState struct {
Provider []ProviderState `json:"provider"`
}
type VirtualNode ¶
type VirtualNode struct { // VirtualNodeName: string, required VirtualNodeName terra.StringValue `hcl:"virtual_node_name,attr" validate:"required"` }
type VirtualNodeAttributes ¶
type VirtualNodeAttributes struct {
// contains filtered or unexported fields
}
func (VirtualNodeAttributes) InternalRef ¶
func (vn VirtualNodeAttributes) InternalRef() (terra.Reference, error)
func (VirtualNodeAttributes) InternalTokens ¶
func (vn VirtualNodeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualNodeAttributes) InternalWithRef ¶
func (vn VirtualNodeAttributes) InternalWithRef(ref terra.Reference) VirtualNodeAttributes
func (VirtualNodeAttributes) VirtualNodeName ¶
func (vn VirtualNodeAttributes) VirtualNodeName() terra.StringValue
type VirtualNodeState ¶
type VirtualNodeState struct {
VirtualNodeName string `json:"virtual_node_name"`
}
type VirtualRouter ¶
type VirtualRouter struct { // VirtualRouterName: string, required VirtualRouterName terra.StringValue `hcl:"virtual_router_name,attr" validate:"required"` }
type VirtualRouterAttributes ¶
type VirtualRouterAttributes struct {
// contains filtered or unexported fields
}
func (VirtualRouterAttributes) InternalRef ¶
func (vr VirtualRouterAttributes) InternalRef() (terra.Reference, error)
func (VirtualRouterAttributes) InternalTokens ¶
func (vr VirtualRouterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualRouterAttributes) InternalWithRef ¶
func (vr VirtualRouterAttributes) InternalWithRef(ref terra.Reference) VirtualRouterAttributes
func (VirtualRouterAttributes) VirtualRouterName ¶
func (vr VirtualRouterAttributes) VirtualRouterName() terra.StringValue
type VirtualRouterState ¶
type VirtualRouterState struct {
VirtualRouterName string `json:"virtual_router_name"`
}
Click to show internal directories.
Click to hide internal directories.