Documentation
¶
Index ¶
- func GetCosignPublicKeys(rawData []byte) ([]crypto.PublicKey, error)
- func NewLazyKeyChainReader(reader func() (authn.Keychain, error)) *lazyKeyChainReader
- func NewLazyKeyChainReaderFromPod(ctx context.Context, c client.Reader, pod *corev1.Pod, ...) *lazyKeyChainReader
- func NewLazyKeyChainReaderFromSecrets(ctx context.Context, c client.Reader, namespace string, secretNames []string, ...) *lazyKeyChainReader
- type KeyChainReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCosignPublicKeys ¶
GetCosignPublicKeys parses and returns all valid cosign public keys from byte array.
func NewLazyKeyChainReader ¶
NewLazyKeyChainReader returns new lazyKeyChainReader.
func NewLazyKeyChainReaderFromPod ¶
func NewLazyKeyChainReaderFromPod(ctx context.Context, c client.Reader, pod *corev1.Pod, useOnlyImagePullSecrets bool) *lazyKeyChainReader
NewLazyKeyChainReaderFromPod creates lazyKeyChainReader for given pod.
func NewLazyKeyChainReaderFromSecrets ¶ added in v0.18.0
func NewLazyKeyChainReaderFromSecrets(ctx context.Context, c client.Reader, namespace string, secretNames []string, useOnlyImagePullSecrets bool) *lazyKeyChainReader
NewLazyKeyChainReaderFromSecrets creates lazyKeyChainReader for the given secrets.
Types ¶
type KeyChainReader ¶
KeyChainReader returns key chain for OCI registry.
Click to show internal directories.
Click to hide internal directories.