servicediscoveryservice

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 DnsConfig

type DnsConfig struct {
	// NamespaceId: string, required
	NamespaceId terra.StringValue `hcl:"namespace_id,attr" validate:"required"`
	// RoutingPolicy: string, optional
	RoutingPolicy terra.StringValue `hcl:"routing_policy,attr"`
	// DnsRecords: min=1
	DnsRecords []DnsRecords `hcl:"dns_records,block" validate:"min=1"`
}

type DnsConfigAttributes

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

func (DnsConfigAttributes) DnsRecords

func (DnsConfigAttributes) InternalRef

func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)

func (DnsConfigAttributes) InternalTokens

func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DnsConfigAttributes) InternalWithRef

func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes

func (DnsConfigAttributes) NamespaceId

func (dc DnsConfigAttributes) NamespaceId() terra.StringValue

func (DnsConfigAttributes) RoutingPolicy

func (dc DnsConfigAttributes) RoutingPolicy() terra.StringValue

type DnsConfigState

type DnsConfigState struct {
	NamespaceId   string            `json:"namespace_id"`
	RoutingPolicy string            `json:"routing_policy"`
	DnsRecords    []DnsRecordsState `json:"dns_records"`
}

type DnsRecords

type DnsRecords struct {
	// Ttl: number, required
	Ttl terra.NumberValue `hcl:"ttl,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type DnsRecordsAttributes

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

func (DnsRecordsAttributes) InternalRef

func (dr DnsRecordsAttributes) InternalRef() (terra.Reference, error)

func (DnsRecordsAttributes) InternalTokens

func (dr DnsRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DnsRecordsAttributes) InternalWithRef

func (dr DnsRecordsAttributes) InternalWithRef(ref terra.Reference) DnsRecordsAttributes

func (DnsRecordsAttributes) Ttl

func (DnsRecordsAttributes) Type

type DnsRecordsState

type DnsRecordsState struct {
	Ttl  float64 `json:"ttl"`
	Type string  `json:"type"`
}

type HealthCheckConfig

type HealthCheckConfig struct {
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
	// ResourcePath: string, optional
	ResourcePath terra.StringValue `hcl:"resource_path,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type HealthCheckConfigAttributes

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

func (HealthCheckConfigAttributes) FailureThreshold

func (hcc HealthCheckConfigAttributes) FailureThreshold() terra.NumberValue

func (HealthCheckConfigAttributes) InternalRef

func (hcc HealthCheckConfigAttributes) InternalRef() (terra.Reference, error)

func (HealthCheckConfigAttributes) InternalTokens

func (hcc HealthCheckConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthCheckConfigAttributes) InternalWithRef

func (HealthCheckConfigAttributes) ResourcePath

func (hcc HealthCheckConfigAttributes) ResourcePath() terra.StringValue

func (HealthCheckConfigAttributes) Type

type HealthCheckConfigState

type HealthCheckConfigState struct {
	FailureThreshold float64 `json:"failure_threshold"`
	ResourcePath     string  `json:"resource_path"`
	Type             string  `json:"type"`
}

type HealthCheckCustomConfig

type HealthCheckCustomConfig struct {
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
}

type HealthCheckCustomConfigAttributes

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

func (HealthCheckCustomConfigAttributes) FailureThreshold

func (hccc HealthCheckCustomConfigAttributes) FailureThreshold() terra.NumberValue

func (HealthCheckCustomConfigAttributes) InternalRef

func (HealthCheckCustomConfigAttributes) InternalTokens

func (hccc HealthCheckCustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthCheckCustomConfigAttributes) InternalWithRef

type HealthCheckCustomConfigState

type HealthCheckCustomConfigState struct {
	FailureThreshold float64 `json:"failure_threshold"`
}

Jump to

Keyboard shortcuts

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