endpoint

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	// The hostname for the endpoint
	Hostname string `json:"hostname"`
	// List of IPv4 addresses for A record creation
	IPv4s []string `json:"ipv4s,omitempty"`
	// List of IPv6 addresses for AAAA record creation
	IPv6s []string `json:"ipv6s,omitempty"`
	// Preferred TTL for resulting records
	RecordTTL int64 `json:"ttl,omitempty"`
	// Additional key, value pairs from the source
	SourceProperties map[string]any `json:"source_properties,omitempty"`
	// Additional key, value pairs for the provider
	ProviderProperties map[string]any `json:"provider_properties,omitempty"`
}

Endpoint is a host configuration emitted from a source that contain all of the information for a provider to manage DNS records.

func FromLuaTable added in v0.4.0

func FromLuaTable(state *lua.LState, lt *lua.LTable) *Endpoint

func (*Endpoint) ToLuaTable added in v0.4.0

func (e *Endpoint) ToLuaTable(state *lua.LState) *lua.LTable

Jump to

Keyboard shortcuts

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