Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCAProvider ¶
func NewCAProvider(c client.Client, ref cacerts_api.ObjectRef, obj client.Object) (lib.CAProvider, error)
func NewVault ¶
func NewVault(c client.Reader, opts IssuerOptions) (lib.CAProvider, error)
Types ¶
type IssuerOptions ¶
type IssuerOptions struct { // ClusterResourceNamespace is the namespace to store resources created by // non-namespaced resources (e.g. ClusterIssuer) in. ClusterResourceNamespace string // ClusterIssuerAmbientCredentials controls whether a cluster issuer should // pick up ambient credentials, such as those from metadata services, to // construct clients. ClusterIssuerAmbientCredentials bool // IssuerAmbientCredentials controls whether an issuer should pick up ambient // credentials, such as those from metadata services, to construct clients. IssuerAmbientCredentials bool }
func (IssuerOptions) ResourceNamespace ¶
func (o IssuerOptions) ResourceNamespace(iss cmapi.GenericIssuer) string
type IssuerProvider ¶
func (*IssuerProvider) GetCAs ¶
func (c *IssuerProvider) GetCAs(obj client.Object, _ string) ([]*x509.Certificate, error)
type SecretProvider ¶
type SecretProvider struct { }
func (*SecretProvider) GetCAs ¶
func (c *SecretProvider) GetCAs(obj client.Object, key string) ([]*x509.Certificate, error)
type VaultProvider ¶
type VaultProvider struct {
// contains filtered or unexported fields
}
func (*VaultProvider) GetCAs ¶
func (v *VaultProvider) GetCAs(obj client.Object, _ string) ([]*x509.Certificate, error)
Click to show internal directories.
Click to hide internal directories.