memorydbcluster

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 ClusterEndpoint

type ClusterEndpoint struct{}

type ClusterEndpointAttributes

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

func (ClusterEndpointAttributes) Address

func (ClusterEndpointAttributes) InternalRef

func (ce ClusterEndpointAttributes) InternalRef() (terra.Reference, error)

func (ClusterEndpointAttributes) InternalTokens

func (ce ClusterEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClusterEndpointAttributes) InternalWithRef

func (ClusterEndpointAttributes) Port

type ClusterEndpointState

type ClusterEndpointState struct {
	Address string  `json:"address"`
	Port    float64 `json:"port"`
}

type Endpoint

type Endpoint struct{}

type EndpointAttributes

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

func (EndpointAttributes) Address

func (e EndpointAttributes) Address() terra.StringValue

func (EndpointAttributes) InternalRef

func (e EndpointAttributes) InternalRef() (terra.Reference, error)

func (EndpointAttributes) InternalTokens

func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointAttributes) InternalWithRef

func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes

func (EndpointAttributes) Port

type EndpointState

type EndpointState struct {
	Address string  `json:"address"`
	Port    float64 `json:"port"`
}

type Nodes

type Nodes struct {
	// Endpoint: min=0
	Endpoint []Endpoint `hcl:"endpoint,block" validate:"min=0"`
}

type NodesAttributes

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

func (NodesAttributes) AvailabilityZone

func (n NodesAttributes) AvailabilityZone() terra.StringValue

func (NodesAttributes) CreateTime

func (n NodesAttributes) CreateTime() terra.StringValue

func (NodesAttributes) Endpoint

func (NodesAttributes) InternalRef

func (n NodesAttributes) InternalRef() (terra.Reference, error)

func (NodesAttributes) InternalTokens

func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodesAttributes) InternalWithRef

func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes

func (NodesAttributes) Name

type NodesState

type NodesState struct {
	AvailabilityZone string          `json:"availability_zone"`
	CreateTime       string          `json:"create_time"`
	Name             string          `json:"name"`
	Endpoint         []EndpointState `json:"endpoint"`
}

type Shards

type Shards struct {
	// Nodes: min=0
	Nodes []Nodes `hcl:"nodes,block" validate:"min=0"`
}

type ShardsAttributes

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

func (ShardsAttributes) InternalRef

func (s ShardsAttributes) InternalRef() (terra.Reference, error)

func (ShardsAttributes) InternalTokens

func (s ShardsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShardsAttributes) InternalWithRef

func (s ShardsAttributes) InternalWithRef(ref terra.Reference) ShardsAttributes

func (ShardsAttributes) Name

func (ShardsAttributes) Nodes

func (ShardsAttributes) NumNodes

func (s ShardsAttributes) NumNodes() terra.NumberValue

func (ShardsAttributes) Slots

type ShardsState

type ShardsState struct {
	Name     string       `json:"name"`
	NumNodes float64      `json:"num_nodes"`
	Slots    string       `json:"slots"`
	Nodes    []NodesState `json:"nodes"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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