Documentation ¶
Index ¶
- func CreatePatch(ns, name, tkName string, cm *corev1.ConfigMap, sk *config.SigstoreKeys) ([]byte, error)
- func CreateRemovePatch(ns, name string, cm *corev1.ConfigMap, tkName string) ([]byte, error)
- func Marshal(spec *config.SigstoreKeys) (string, error)
- func NewConfigMap(ns, name, trName string, sk *config.SigstoreKeys) (*corev1.ConfigMap, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePatch ¶
func CreatePatch(ns, name, tkName string, cm *corev1.ConfigMap, sk *config.SigstoreKeys) ([]byte, error)
CreatePatch updates a particular entry to see if they are differing and returning the patch bytes for it that's suitable for calling ConfigMap.Patch with.
func CreateRemovePatch ¶
CreateRemovePatch removes an entry from the ConfigMap and returns the patch bytes for it that's suitable for calling ConfigMap.Patch with.
func NewConfigMap ¶
NewConfigMap returns a new ConfigMap with an entry for the given TrustRoot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.