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 ¶
View Source
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 cmapi.ACMEIssuerDNS01Provider }
func (*Details) NewTestDomain ¶
Click to show internal directories.
Click to hide internal directories.