Documentation
¶
Index ¶
- func BuildCABundlePath(curr certgraphapi.PKIRegistryCABundle) string
- func BuildCertKeyPath(curr certgraphapi.PKIRegistryCertKeyPair) string
- type CABundleInfoByOnDiskLocation
- type CertKeyPairByLocation
- type CertKeyPairInfoByOnDiskLocation
- type CertificateAuthorityBundleByLocation
- type ConfigMapInfoByNamespaceName
- type ConfigMapRefByNamespaceName
- type OnDiskLocationByPath
- type PKIRegistryInfo
- type SecretInfoByNamespaceName
- type SecretRefByNamespaceName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCABundlePath ¶
func BuildCABundlePath(curr certgraphapi.PKIRegistryCABundle) string
func BuildCertKeyPath ¶
func BuildCertKeyPath(curr certgraphapi.PKIRegistryCertKeyPair) string
Types ¶
type CABundleInfoByOnDiskLocation ¶
type CABundleInfoByOnDiskLocation map[certgraphapi.OnDiskLocation]certgraphapi.PKIRegistryCertificateAuthorityInfo
type CertKeyPairByLocation ¶
type CertKeyPairByLocation []certgraphapi.PKIRegistryCertKeyPair
func (CertKeyPairByLocation) Len ¶
func (n CertKeyPairByLocation) Len() int
func (CertKeyPairByLocation) Less ¶
func (n CertKeyPairByLocation) Less(i, j int) bool
func (CertKeyPairByLocation) Swap ¶
func (n CertKeyPairByLocation) Swap(i, j int)
type CertKeyPairInfoByOnDiskLocation ¶
type CertKeyPairInfoByOnDiskLocation map[certgraphapi.OnDiskLocation]certgraphapi.PKIRegistryCertKeyPairInfo
type CertificateAuthorityBundleByLocation ¶
type CertificateAuthorityBundleByLocation []certgraphapi.PKIRegistryCABundle
func (CertificateAuthorityBundleByLocation) Len ¶
func (n CertificateAuthorityBundleByLocation) Len() int
func (CertificateAuthorityBundleByLocation) Less ¶
func (n CertificateAuthorityBundleByLocation) Less(i, j int) bool
func (CertificateAuthorityBundleByLocation) Swap ¶
func (n CertificateAuthorityBundleByLocation) Swap(i, j int)
type ConfigMapInfoByNamespaceName ¶
type ConfigMapInfoByNamespaceName map[certgraphapi.InClusterConfigMapLocation]certgraphapi.PKIRegistryCertificateAuthorityInfo
type ConfigMapRefByNamespaceName ¶
type ConfigMapRefByNamespaceName []certgraphapi.InClusterConfigMapLocation
func (ConfigMapRefByNamespaceName) Len ¶
func (n ConfigMapRefByNamespaceName) Len() int
func (ConfigMapRefByNamespaceName) Less ¶
func (n ConfigMapRefByNamespaceName) Less(i, j int) bool
func (ConfigMapRefByNamespaceName) Swap ¶
func (n ConfigMapRefByNamespaceName) Swap(i, j int)
type OnDiskLocationByPath ¶
type OnDiskLocationByPath []certgraphapi.OnDiskLocation
func (OnDiskLocationByPath) Len ¶
func (n OnDiskLocationByPath) Len() int
func (OnDiskLocationByPath) Less ¶
func (n OnDiskLocationByPath) Less(i, j int) bool
func (OnDiskLocationByPath) Swap ¶
func (n OnDiskLocationByPath) Swap(i, j int)
type PKIRegistryInfo ¶
type PKIRegistryInfo struct {
// +mapType:=atomic
CertificateAuthorityBundles []certgraphapi.PKIRegistryCABundle `json:"certificateAuthorityBundles"`
// +mapType:=atomic
CertKeyPairs []certgraphapi.PKIRegistryCertKeyPair `json:"certKeyPairs"`
}
PKIRegistryInfo holds information about TLS artifacts stored in etcd. This includes object location and metadata based on object annotations
func CertsToRegistryInfo ¶
func CertsToRegistryInfo( certs SecretInfoByNamespaceName, onDiskCerts CertKeyPairInfoByOnDiskLocation, caBundles ConfigMapInfoByNamespaceName, onDiskCABundles CABundleInfoByOnDiskLocation, ) *PKIRegistryInfo
func GetPKIInfoFromEmbeddedOwnership ¶
func GetPKIInfoFromEmbeddedOwnership(ownershipFile []byte) (*PKIRegistryInfo, error)
type SecretInfoByNamespaceName ¶
type SecretInfoByNamespaceName map[certgraphapi.InClusterSecretLocation]certgraphapi.PKIRegistryCertKeyPairInfo
type SecretRefByNamespaceName ¶
type SecretRefByNamespaceName []certgraphapi.InClusterSecretLocation
func (SecretRefByNamespaceName) Len ¶
func (n SecretRefByNamespaceName) Len() int
func (SecretRefByNamespaceName) Less ¶
func (n SecretRefByNamespaceName) Less(i, j int) bool
func (SecretRefByNamespaceName) Swap ¶
func (n SecretRefByNamespaceName) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.