cmd

package
v0.0.0-...-732cc5c Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ViperKeyCloudflareAPIToken is a viper key for the cloudflare api token.
	ViperKeyCloudflareAPIToken string = "cloudflare.api.token"
	// ViperKeyDNSDomain is a viper key for the DNS Domain.
	ViperKeyDNSDomain string = "dns.domain"
	// ViperKeyFQDNFilters is a viper key for the FQDN filters.
	ViperKeyFQDNFilters string = "fqdn.filters"
	// ViperKeyFQDNIgnoreFilters is a viper key for the FQDN ignore filters.
	ViperKeyFQDNIgnoreFilters string = "fqdn.ignore.filters"
)
View Source
const (
	// GipConfigMapName is the name of the configmap resource used by gip
	GipConfigMapName = "dns-tools-gip"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the command

Types

type ChangeGlobalIP

type ChangeGlobalIP struct {
	PreviousGlobalIPv4 string `json:"previousGlobalIPv4,omitempty"`
	CurrentGlobalIPv4  string `json:"currentGlobalIPv4,omitempty"`
}

ChangeGlobalIP represents the changed state of the global IP

func NewChangeGlobalIP

func NewChangeGlobalIP(pIP net.IP, cIP net.IP) *ChangeGlobalIP

NewChangeGlobalIP creates a ChangeGlobalIP structure

Jump to

Keyboard shortcuts

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