externaldns

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "unknown"

Version is the current version of the app, generated at build time

Functions

func App added in v0.16.0

func App(cfg *Config) *kingpin.Application

Types

type Config

type Config struct {
	APIServerURL                                  string
	KubeConfig                                    string
	RequestTimeout                                time.Duration
	DefaultTargets                                []string
	GlooNamespaces                                []string
	SkipperRouteGroupVersion                      string
	Sources                                       []string
	Namespace                                     string
	AnnotationFilter                              string
	LabelFilter                                   string
	IngressClassNames                             []string
	FQDNTemplate                                  string
	CombineFQDNAndAnnotation                      bool
	IgnoreHostnameAnnotation                      bool
	IgnoreNonHostNetworkPods                      bool
	IgnoreIngressTLSSpec                          bool
	IgnoreIngressRulesSpec                        bool
	ListenEndpointEvents                          bool
	GatewayName                                   string
	GatewayNamespace                              string
	GatewayLabelFilter                            string
	Compatibility                                 string
	PodSourceDomain                               string
	PublishInternal                               bool
	PublishHostIP                                 bool
	AlwaysPublishNotReadyAddresses                bool
	ConnectorSourceServer                         string
	Provider                                      string
	ProviderCacheTime                             time.Duration
	GoogleProject                                 string
	GoogleBatchChangeSize                         int
	GoogleBatchChangeInterval                     time.Duration
	GoogleZoneVisibility                          string
	DomainFilter                                  []string
	ExcludeDomains                                []string
	RegexDomainFilter                             *regexp.Regexp
	RegexDomainExclusion                          *regexp.Regexp
	ZoneNameFilter                                []string
	ZoneIDFilter                                  []string
	TargetNetFilter                               []string
	ExcludeTargetNets                             []string
	AlibabaCloudConfigFile                        string
	AlibabaCloudZoneType                          string
	AWSZoneType                                   string
	AWSZoneTagFilter                              []string
	AWSAssumeRole                                 string
	AWSProfiles                                   []string
	AWSAssumeRoleExternalID                       string `secure:"yes"`
	AWSBatchChangeSize                            int
	AWSBatchChangeSizeBytes                       int
	AWSBatchChangeSizeValues                      int
	AWSBatchChangeInterval                        time.Duration
	AWSEvaluateTargetHealth                       bool
	AWSAPIRetries                                 int
	AWSPreferCNAME                                bool
	AWSZoneCacheDuration                          time.Duration
	AWSSDServiceCleanup                           bool
	AWSSDCreateTag                                map[string]string
	AWSZoneMatchParent                            bool
	AWSDynamoDBRegion                             string
	AWSDynamoDBTable                              string
	AzureConfigFile                               string
	AzureResourceGroup                            string
	AzureSubscriptionID                           string
	AzureUserAssignedIdentityClientID             string
	AzureActiveDirectoryAuthorityHost             string
	AzureZonesCacheDuration                       time.Duration
	CloudflareProxied                             bool
	CloudflareCustomHostnames                     bool
	CloudflareCustomHostnamesMinTLSVersion        string
	CloudflareCustomHostnamesCertificateAuthority string
	CloudflareDNSRecordsPerPage                   int
	CloudflareRegionKey                           string
	CoreDNSPrefix                                 string
	AkamaiServiceConsumerDomain                   string
	AkamaiClientToken                             string
	AkamaiClientSecret                            string
	AkamaiAccessToken                             string
	AkamaiEdgercPath                              string
	AkamaiEdgercSection                           string
	OCIConfigFile                                 string
	OCICompartmentOCID                            string
	OCIAuthInstancePrincipal                      bool
	OCIZoneScope                                  string
	OCIZoneCacheDuration                          time.Duration
	InMemoryZones                                 []string
	OVHEndpoint                                   string
	OVHApiRateLimit                               int
	PDNSServer                                    string
	PDNSServerID                                  string
	PDNSAPIKey                                    string `secure:"yes"`
	PDNSSkipTLSVerify                             bool
	TLSCA                                         string
	TLSClientCert                                 string
	TLSClientCertKey                              string
	Policy                                        string
	Registry                                      string
	TXTOwnerID                                    string
	TXTPrefix                                     string
	TXTSuffix                                     string
	TXTEncryptEnabled                             bool
	TXTEncryptAESKey                              string `secure:"yes"`
	TXTNewFormatOnly                              bool
	Interval                                      time.Duration
	MinEventSyncInterval                          time.Duration
	Once                                          bool
	DryRun                                        bool
	UpdateEvents                                  bool
	LogFormat                                     string
	MetricsAddress                                string
	LogLevel                                      string
	TXTCacheInterval                              time.Duration
	TXTWildcardReplacement                        string
	ExoscaleEndpoint                              string
	ExoscaleAPIKey                                string `secure:"yes"`
	ExoscaleAPISecret                             string `secure:"yes"`
	ExoscaleAPIEnvironment                        string
	ExoscaleAPIZone                               string
	CRDSourceAPIVersion                           string
	CRDSourceKind                                 string
	ServiceTypeFilter                             []string
	CFAPIEndpoint                                 string
	CFUsername                                    string
	CFPassword                                    string
	ResolveServiceLoadBalancerHostname            bool
	RFC2136Host                                   []string
	RFC2136Port                                   int
	RFC2136Zone                                   []string
	RFC2136Insecure                               bool
	RFC2136GSSTSIG                                bool
	RFC2136CreatePTR                              bool
	RFC2136KerberosRealm                          string
	RFC2136KerberosUsername                       string
	RFC2136KerberosPassword                       string `secure:"yes"`
	RFC2136TSIGKeyName                            string
	RFC2136TSIGSecret                             string `secure:"yes"`
	RFC2136TSIGSecretAlg                          string
	RFC2136TAXFR                                  bool
	RFC2136MinTTL                                 time.Duration
	RFC2136LoadBalancingStrategy                  string
	RFC2136BatchChangeSize                        int
	RFC2136UseTLS                                 bool
	RFC2136SkipTLSVerify                          bool
	NS1Endpoint                                   string
	NS1IgnoreSSL                                  bool
	NS1MinTTLSeconds                              int
	TransIPAccountName                            string
	TransIPPrivateKeyFile                         string
	DigitalOceanAPIPageSize                       int
	ManagedDNSRecordTypes                         []string
	ExcludeDNSRecordTypes                         []string
	GoDaddyAPIKey                                 string `secure:"yes"`
	GoDaddySecretKey                              string `secure:"yes"`
	GoDaddyTTL                                    int64
	GoDaddyOTE                                    bool
	OCPRouterName                                 string
	IBMCloudProxied                               bool
	IBMCloudConfigFile                            string
	TencentCloudConfigFile                        string
	TencentCloudZoneType                          string
	PiholeServer                                  string
	PiholePassword                                string `secure:"yes"`
	PiholeTLSInsecureSkipVerify                   bool
	PluralCluster                                 string
	PluralProvider                                string
	WebhookProviderURL                            string
	WebhookProviderReadTimeout                    time.Duration
	WebhookProviderWriteTimeout                   time.Duration
	WebhookServer                                 bool
	TraefikDisableLegacy                          bool
	TraefikDisableNew                             bool
	NAT64Networks                                 []string
}

Config is a project-wide configuration

func NewConfig

func NewConfig() *Config

NewConfig returns new Config object

func (*Config) ParseFlags

func (cfg *Config) ParseFlags(args []string) error

ParseFlags adds and parses flags from command line

func (*Config) String added in v0.5.0

func (cfg *Config) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳