Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertBundleFetcher ¶
CertBundleFetcher is an interface for retreiving CA Certbundles
type CertFetcher ¶
CertFetcher is an interface for retreiving certs
type ConfigMapCertBundleFetcher ¶
type ConfigMapCertBundleFetcher struct { Name string Client corev1.ConfigMapInterface }
ConfigMapCertBundleFetcher reads bundles from ConfigMaps
func (*ConfigMapCertBundleFetcher) BundleBytes ¶
func (f *ConfigMapCertBundleFetcher) BundleBytes() ([]byte, error)
BundleBytes returns bundle bytes
type FileCertFetcher ¶
FileCertFetcher reads certs from files
func (*FileCertFetcher) CertBytes ¶
func (f *FileCertFetcher) CertBytes() ([]byte, error)
CertBytes returns cert bytes
func (*FileCertFetcher) KeyBytes ¶
func (f *FileCertFetcher) KeyBytes() ([]byte, error)
KeyBytes returns key bytes
type MemCertBundleFetcher ¶
type MemCertBundleFetcher struct {
Bundle []byte
}
MemCertBundleFetcher reads bundles
func (*MemCertBundleFetcher) BundleBytes ¶
func (f *MemCertBundleFetcher) BundleBytes() ([]byte, error)
BundleBytes returns bundle bytes
type MemCertFetcher ¶
type MemCertFetcher struct {
Cert, Key []byte
}
MemCertFetcher reads certs from files
func (*MemCertFetcher) CertBytes ¶
func (f *MemCertFetcher) CertBytes() ([]byte, error)
CertBytes returns cert bytes
func (*MemCertFetcher) KeyBytes ¶
func (f *MemCertFetcher) KeyBytes() ([]byte, error)
KeyBytes returns key bytes
Click to show internal directories.
Click to hide internal directories.