Documentation ¶
Index ¶
- type Args
- type Resource
- func (gnstr *Resource) Attributes() googleNetworkServicesTlsRouteAttributes
- func (gnstr *Resource) Configuration() interface{}
- func (gnstr *Resource) DependOn() terra.Reference
- func (gnstr *Resource) Dependencies() terra.Dependencies
- func (gnstr *Resource) ImportState(state io.Reader) error
- func (gnstr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gnstr *Resource) LocalName() string
- func (gnstr *Resource) State() (*googleNetworkServicesTlsRouteState, bool)
- func (gnstr *Resource) StateMust() *googleNetworkServicesTlsRouteState
- func (gnstr *Resource) Type() string
- type Rules
- type RulesAction
- type RulesActionAttributes
- func (a RulesActionAttributes) Destinations() terra.ListValue[RulesActionDestinationsAttributes]
- func (a RulesActionAttributes) InternalRef() (terra.Reference, error)
- func (a RulesActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a RulesActionAttributes) InternalWithRef(ref terra.Reference) RulesActionAttributes
- type RulesActionDestinations
- type RulesActionDestinationsAttributes
- func (d RulesActionDestinationsAttributes) InternalRef() (terra.Reference, error)
- func (d RulesActionDestinationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d RulesActionDestinationsAttributes) InternalWithRef(ref terra.Reference) RulesActionDestinationsAttributes
- func (d RulesActionDestinationsAttributes) ServiceName() terra.StringValue
- func (d RulesActionDestinationsAttributes) Weight() terra.NumberValue
- type RulesActionDestinationsState
- type RulesActionState
- type RulesAttributes
- func (r RulesAttributes) Action() terra.ListValue[RulesActionAttributes]
- func (r RulesAttributes) InternalRef() (terra.Reference, error)
- func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
- func (r RulesAttributes) Matches() terra.ListValue[RulesMatchesAttributes]
- type RulesMatches
- type RulesMatchesAttributes
- func (m RulesMatchesAttributes) Alpn() terra.ListValue[terra.StringValue]
- func (m RulesMatchesAttributes) InternalRef() (terra.Reference, error)
- func (m RulesMatchesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m RulesMatchesAttributes) InternalWithRef(ref terra.Reference) RulesMatchesAttributes
- func (m RulesMatchesAttributes) SniHost() terra.ListValue[terra.StringValue]
- type RulesMatchesState
- type RulesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Gateways: list of string, optional Gateways terra.ListValue[terra.StringValue] `hcl:"gateways,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Meshes: list of string, optional Meshes terra.ListValue[terra.StringValue] `hcl:"meshes,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Rules: min=1 Rules []Rules `hcl:"rules,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_network_services_tls_route.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_network_services_tls_route.
func (*Resource) Attributes ¶
func (gnstr *Resource) Attributes() googleNetworkServicesTlsRouteAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gnstr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gnstr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Rules ¶
type Rules struct { // RulesAction: required Action *RulesAction `hcl:"action,block" validate:"required"` // RulesMatches: min=1 Matches []RulesMatches `hcl:"matches,block" validate:"min=1"` }
type RulesAction ¶
type RulesAction struct { // RulesActionDestinations: min=0 Destinations []RulesActionDestinations `hcl:"destinations,block" validate:"min=0"` }
type RulesActionAttributes ¶
type RulesActionAttributes struct {
// contains filtered or unexported fields
}
func (RulesActionAttributes) Destinations ¶
func (a RulesActionAttributes) Destinations() terra.ListValue[RulesActionDestinationsAttributes]
func (RulesActionAttributes) InternalRef ¶
func (a RulesActionAttributes) InternalRef() (terra.Reference, error)
func (RulesActionAttributes) InternalTokens ¶
func (a RulesActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesActionAttributes) InternalWithRef ¶
func (a RulesActionAttributes) InternalWithRef(ref terra.Reference) RulesActionAttributes
type RulesActionDestinations ¶
type RulesActionDestinations struct { // ServiceName: string, optional ServiceName terra.StringValue `hcl:"service_name,attr"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type RulesActionDestinationsAttributes ¶
type RulesActionDestinationsAttributes struct {
// contains filtered or unexported fields
}
func (RulesActionDestinationsAttributes) InternalRef ¶
func (d RulesActionDestinationsAttributes) InternalRef() (terra.Reference, error)
func (RulesActionDestinationsAttributes) InternalTokens ¶
func (d RulesActionDestinationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesActionDestinationsAttributes) InternalWithRef ¶
func (d RulesActionDestinationsAttributes) InternalWithRef(ref terra.Reference) RulesActionDestinationsAttributes
func (RulesActionDestinationsAttributes) ServiceName ¶
func (d RulesActionDestinationsAttributes) ServiceName() terra.StringValue
func (RulesActionDestinationsAttributes) Weight ¶
func (d RulesActionDestinationsAttributes) Weight() terra.NumberValue
type RulesActionState ¶
type RulesActionState struct {
Destinations []RulesActionDestinationsState `json:"destinations"`
}
type RulesAttributes ¶
type RulesAttributes struct {
// contains filtered or unexported fields
}
func (RulesAttributes) Action ¶
func (r RulesAttributes) Action() terra.ListValue[RulesActionAttributes]
func (RulesAttributes) InternalRef ¶
func (r RulesAttributes) InternalRef() (terra.Reference, error)
func (RulesAttributes) InternalTokens ¶
func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesAttributes) InternalWithRef ¶
func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
func (RulesAttributes) Matches ¶
func (r RulesAttributes) Matches() terra.ListValue[RulesMatchesAttributes]
type RulesMatches ¶
type RulesMatches struct { // Alpn: list of string, optional Alpn terra.ListValue[terra.StringValue] `hcl:"alpn,attr"` // SniHost: list of string, optional SniHost terra.ListValue[terra.StringValue] `hcl:"sni_host,attr"` }
type RulesMatchesAttributes ¶
type RulesMatchesAttributes struct {
// contains filtered or unexported fields
}
func (RulesMatchesAttributes) Alpn ¶
func (m RulesMatchesAttributes) Alpn() terra.ListValue[terra.StringValue]
func (RulesMatchesAttributes) InternalRef ¶
func (m RulesMatchesAttributes) InternalRef() (terra.Reference, error)
func (RulesMatchesAttributes) InternalTokens ¶
func (m RulesMatchesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesMatchesAttributes) InternalWithRef ¶
func (m RulesMatchesAttributes) InternalWithRef(ref terra.Reference) RulesMatchesAttributes
func (RulesMatchesAttributes) SniHost ¶
func (m RulesMatchesAttributes) SniHost() terra.ListValue[terra.StringValue]
type RulesMatchesState ¶
type RulesState ¶
type RulesState struct { Action []RulesActionState `json:"action"` Matches []RulesMatchesState `json:"matches"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.