chimevoiceconnectororigination

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

type RouteAttributes

type RouteAttributes struct {
	// contains filtered or unexported fields
}

func (RouteAttributes) Host

func (RouteAttributes) InternalRef

func (r RouteAttributes) InternalRef() (terra.Reference, error)

func (RouteAttributes) InternalTokens

func (r RouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RouteAttributes) InternalWithRef

func (r RouteAttributes) InternalWithRef(ref terra.Reference) RouteAttributes

func (RouteAttributes) Port

func (RouteAttributes) Priority

func (r RouteAttributes) Priority() terra.NumberValue

func (RouteAttributes) Protocol

func (r RouteAttributes) Protocol() terra.StringValue

func (RouteAttributes) Weight

func (r RouteAttributes) Weight() terra.NumberValue

type RouteState

type RouteState struct {
	Host     string  `json:"host"`
	Port     float64 `json:"port"`
	Priority float64 `json:"priority"`
	Protocol string  `json:"protocol"`
	Weight   float64 `json:"weight"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL