Documentation ¶
Index ¶
- Constants
- func AddArchSelector(arch []string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
- func AddRegionSelector(region string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
- func AddZoneSelector(zone string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
- func BackupCACrypto(client k8sclient.Client, scheme *runtime.Scheme, instance v1.Object, ...) error
- func BackupCrypto(client k8sclient.Client, scheme *runtime.Scheme, instance v1.Object, ...) error
- func CreateBackupSecret(client k8sclient.Client, scheme *runtime.Scheme, instance v1.Object, ...) error
- func CreateBackupSecretData(crypto *Crypto) (map[string][]byte, error)
- func GetBackupSecret(client k8sclient.Client, instance v1.Object) (*corev1.Secret, error)
- func GetCACrypto(client k8sclient.Client, instance v1.Object) (*current.MSP, *current.MSP, *current.MSP)
- func GetCrypto(prefix common.SecretType, client k8sclient.Client, instance v1.Object) *current.MSP
- func GetEcertAdmincertEncoded(client k8sclient.Client, instance v1.Object) ([]string, error)
- func GetEcertCACertEncoded(client k8sclient.Client, instance v1.Object) ([]string, error)
- func GetEcertIntercertEncoded(client k8sclient.Client, instance v1.Object) ([]string, error)
- func GetEcertKeystoreEncoded(client k8sclient.Client, instance v1.Object) (string, error)
- func GetEcertSignCertEncoded(client k8sclient.Client, instance v1.Object) (string, error)
- func GetNodeSelectorTerms(arch []string, zone, region string) []corev1.NodeSelectorTerm
- func GetPodAntiAffinity(orgName string) *corev1.PodAntiAffinity
- func GetTLSCACertEncoded(client k8sclient.Client, instance v1.Object) ([]string, error)
- func GetTLSIntercertEncoded(client k8sclient.Client, instance v1.Object) ([]string, error)
- func GetTLSKeystoreEncoded(client k8sclient.Client, instance v1.Object) (string, error)
- func GetTLSSignCertEncoded(client k8sclient.Client, instance v1.Object) (string, error)
- func UpdateBackupSecret(client k8sclient.Client, scheme *runtime.Scheme, instance v1.Object, ...) error
- func UpdateBackupSecretData(data map[string][]byte, crypto *Crypto) (map[string][]byte, error)
- type Backup
- type CACryptoBytes
- type CACryptoEncoded
- type Crypto
- type Result
Constants ¶
View Source
const ITERATIONS = 10
Number of iterations we are storing
Variables ¶
This section is empty.
Functions ¶
func AddArchSelector ¶
func AddArchSelector(arch []string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
func AddRegionSelector ¶
func AddRegionSelector(region string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
func AddZoneSelector ¶
func AddZoneSelector(zone string, nodeSelectorTerms *[]corev1.NodeSelectorTerm)
func BackupCACrypto ¶
func BackupCrypto ¶
func CreateBackupSecret ¶
func CreateBackupSecretData ¶
func GetBackupSecret ¶
func GetCACrypto ¶
func GetEcertCACertEncoded ¶
func GetEcertKeystoreEncoded ¶
func GetEcertSignCertEncoded ¶
func GetNodeSelectorTerms ¶
func GetNodeSelectorTerms(arch []string, zone, region string) []corev1.NodeSelectorTerm
func GetPodAntiAffinity ¶
func GetPodAntiAffinity(orgName string) *corev1.PodAntiAffinity
func GetTLSCACertEncoded ¶
func GetTLSIntercertEncoded ¶
func GetTLSKeystoreEncoded ¶
func GetTLSSignCertEncoded ¶
func UpdateBackupSecret ¶
Types ¶
type CACryptoBytes ¶
type CACryptoBytes struct { Cert []byte Key []byte OperationsCert []byte OperationsKey []byte TLSCert []byte TLSKey []byte }
func GetCACryptoBytes ¶
func GetTLSCACryptoBytes ¶
type CACryptoEncoded ¶
type CACryptoEncoded struct { Cert string Key string OperationsCert string OperationsKey string TLSCert string TLSKey string }
func GetCACryptoEncoded ¶
func GetTLSCACryptoEncoded ¶
Directories ¶
Path | Synopsis |
---|---|
images/mocks
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
mocks
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.