types

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupLabelKey      = "group"
	TargetsLabelKey    = "targets"
	MaxGroupNameLength = 16
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group string

Group string type used for DNS Failover

func (*Group) IsSet

func (g *Group) IsSet() bool

IsSet checks if group is not empty

func (*Group) Labels

func (g *Group) Labels() map[string]string

func (*Group) Set

func (g *Group) Set(val string) error

func (*Group) String

func (g *Group) String() string

func (*Group) Validate

func (g *Group) Validate() error

type Groups

type Groups []Group

func (Groups) HasGroup

func (g Groups) HasGroup(group Group) bool

func (Groups) String

func (g Groups) String() string

Jump to

Keyboard shortcuts

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