dns

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 24 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 SetDNSServer

func SetDNSServer(s string) Option

func SetManifestPath

func SetManifestPath(s string) Option

func SetPollInterval

func SetPollInterval(d time.Duration) Option

func SetPropagationLimit

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