Documentation
¶
Index ¶
- func CopyStringMap(source map[string]string) map[string]string
- func GetDockhandSecretsListFromK8sSecrets(ctx context.Context, secretNames []string, namespace string) ([]string, error)
- func GetSecretsChecksum(ctx context.Context, names []string, namespace string) (string, error)
- func GetServiceCertificate(ctx context.Context, name string, namespace string) (tls.Certificate, error)
- func UpdateCABundleForWebhook(ctx context.Context, name string, namespace string) error
- type PatchOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecretsChecksum ¶
GetSecretsChecksum takes a set of secrets in a namespace and returns a checksum of all of the data in those secrets
func GetServiceCertificate ¶
func GetServiceCertificate(ctx context.Context, name string, namespace string) (tls.Certificate, error)
GetServiceCertificate for service and namespace.
Types ¶
type PatchOperation ¶
type PatchOperation struct {
Op string `json:"op"`
Path string `json:"path"`
Value interface{} `json:"value,omitempty"`
}
func GenerateMetadataLabelsPatch ¶
func GenerateMetadataLabelsPatch(target map[string]string, added map[string]string) (patch []PatchOperation)
func GenerateSpecTemplateAnnotationPatch ¶
func GenerateSpecTemplateAnnotationPatch(target map[string]string, added map[string]string) (patch []PatchOperation)
Click to show internal directories.
Click to hide internal directories.