Documentation ¶
Index ¶
- Variables
- func NewFixture(solver webhook.Solver, opts ...Option) *fixture
- type Option
- func SetAllowAmbientCredentials(b bool) Option
- func SetBinariesPath(s string) Option
- func SetConfig(i interface{}) Option
- func SetDNSChallengeKey(s string) Option
- func SetDNSName(s string) Option
- func SetDNSServer(s string) Option
- func SetManifestPath(s string) Option
- func SetPollInterval(d time.Duration) Option
- func SetPropagationLimit(d time.Duration) Option
- func SetResolvedFQDN(s string) Option
- func SetResolvedZone(s string) Option
- func SetStrict(s bool) Option
- func SetUseAuthoritative(s bool) Option
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 ¶
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 SetBinariesPath ¶
func SetDNSChallengeKey ¶ added in v1.3.0
SetDNSChallengeKey defines the value of the acme challenge string.
func SetDNSName ¶ added in v1.3.0
SetDNSName defines the domain name to be used in the webhook integration tests.
func SetDNSServer ¶
func SetManifestPath ¶
func SetPollInterval ¶ added in v0.10.0
func SetPropagationLimit ¶ added in v0.10.0
func SetResolvedFQDN ¶
func SetResolvedZone ¶
func SetUseAuthoritative ¶
Click to show internal directories.
Click to hide internal directories.