resources

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func CreateRemovePatch(ns, name string, cm *corev1.ConfigMap, tkName string) ([]byte, error)

CreateRemovePatch removes an entry from the ConfigMap and returns the patch bytes for it that's suitable for calling ConfigMap.Patch with.

func Marshal

func Marshal(spec *config.SigstoreKeys) (string, error)

func NewConfigMap

func NewConfigMap(ns, name, trName string, sk *config.SigstoreKeys) (*corev1.ConfigMap, error)

NewConfigMap returns a new ConfigMap with an entry for the given TrustRoot.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL