Documentation ¶
Index ¶
- func CreateFileCertificateSource(ctx context.Context, logger logger.LogContext, cfg *CertConfig) (certs.CertificateSource, error)
- func CreateSecretCertificateSource(ctx context.Context, logger logger.LogContext, cluster cluster.Interface, ...) (certs.CertificateSource, error)
- func OptionSourceCreator(name, prefix string, common, org string) extension.OptionSourceCreator
- type CertConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileCertificateSource ¶
func CreateFileCertificateSource(ctx context.Context, logger logger.LogContext, cfg *CertConfig) (certs.CertificateSource, error)
func CreateSecretCertificateSource ¶
func CreateSecretCertificateSource(ctx context.Context, logger logger.LogContext, cluster cluster.Interface, namespace string, cfg *CertConfig, keys ...certsecret.Keys) (certs.CertificateSource, error)
func OptionSourceCreator ¶
func OptionSourceCreator(name, prefix string, common, org string) extension.OptionSourceCreator
Types ¶
type CertConfig ¶
type CertConfig struct { CommonName string Organization string Secret string Service string Hostnames []string CertFile string KeyFile string CACertFile string CAKeyFile string // contains filtered or unexported fields }
func NewCertConfig ¶
func NewCertConfig(name, prefix string) *CertConfig
func (*CertConfig) AddOptionsToSet ¶
func (this *CertConfig) AddOptionsToSet(set config.OptionSet)
func (*CertConfig) CreateAccess ¶
func (this *CertConfig) CreateAccess(ctx context.Context, logger logger.LogContext, cluster cluster.Interface, namespace string, keys ...certsecret.Keys) (certs.CertificateSource, error)
func (*CertConfig) Used ¶
func (this *CertConfig) Used() bool
Click to show internal directories.
Click to hide internal directories.