dns

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultKubeAPIServerFlags = []string{
	"--etcd-servers={{ if .EtcdURL }}{{ .EtcdURL.String }}{{ end }}",
	"--cert-dir={{ .CertDir }}",
	"--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }}",
	"--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }}",
	"--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }}",
	"--admission-control=AlwaysAdmit",
}

Functions

func NewFixture

func NewFixture(solver webhook.Solver, opts ...Option) *fixture

NewFixture constructs a new *fixture, applying the given Options before returning.

Types

type Option

type Option func(*fixture)

Option applies a configuration option to the test fixture being built

func SetAllowAmbientCredentials

func SetAllowAmbientCredentials(b bool) Option

func SetBinariesPath

func SetBinariesPath(s string) Option

func SetConfig

func SetConfig(i interface{}) Option

func SetDNSChallengeKey added in v1.3.0

func SetDNSChallengeKey(s string) Option

SetDNSChallengeKey defines the value of the acme challenge string.

func SetDNSName added in v1.3.0

func SetDNSName(s string) Option

SetDNSName defines the domain name to be used in the webhook integration tests.

func SetDNSServer

func SetDNSServer(s string) Option

func SetManifestPath

func SetManifestPath(s string) Option

func SetPollInterval added in v0.10.0

func SetPollInterval(d time.Duration) Option

func SetPropagationLimit added in v0.10.0

func SetPropagationLimit(d time.Duration) Option

func SetResolvedFQDN

func SetResolvedFQDN(s string) Option

func SetResolvedZone

func SetResolvedZone(s string) Option

func SetStrict

func SetStrict(s bool) Option

func SetUseAuthoritative

func SetUseAuthoritative(s bool) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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