Documentation ¶
Overview ¶
Package dnsproviders contains addons that create DNS provider credentials in the target test environment. In most cases, those credentials are access via the CLI flags passed to the test suite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
ErrNoCredentials = fmt.Errorf("no credentials provided for provider")
)
Functions ¶
This section is empty.
Types ¶
type Cloudflare ¶
type Cloudflare struct { Base *base.Base Namespace string // contains filtered or unexported fields }
Cloudflare provisions cloudflare credentials in a namespace for cert-manager to use. It also provides a configuration structure that can be used on issuers created during tests
func (*Cloudflare) Deprovision ¶
func (b *Cloudflare) Deprovision() error
func (*Cloudflare) Details ¶
func (b *Cloudflare) Details() *Details
func (*Cloudflare) Provision ¶
func (b *Cloudflare) Provision() error
Provision will create a copy of the DNS provider credentials in a secret in the APIServer, and return a portion of an Issuer that can be used to utilise these credentials in tests.
func (*Cloudflare) SetNamespace ¶
func (b *Cloudflare) SetNamespace(s string)
func (*Cloudflare) SupportsGlobal ¶
func (b *Cloudflare) SupportsGlobal() bool
type Details ¶
type Details struct { // Domain is a domain that can be validated using these credentials BaseDomain string // ProviderConfig is the issuer config needed to use these newly created credentials ProviderConfig cmacme.ACMEChallengeSolverDNS01 }
func (*Details) NewTestDomain ¶
type RFC2136 ¶ added in v0.14.0
type RFC2136 struct {
// contains filtered or unexported fields
}
func (*RFC2136) Deprovision ¶ added in v0.14.0
func (*RFC2136) Provision ¶ added in v0.14.0
Provision will create a copy of the DNS provider credentials in a secret in the APIServer, and return a portion of an Issuer that can be used to utilise these credentials in tests.