bundle

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func GetOneFromBundle

func GetOneFromBundle(b Bundle, keys ...string) (io.Reader, error)

Types

type Bundle

type Bundle interface {
	Get(key string) (io.Reader, error)
	List() ([]string, error)
	ListPaths() ([]string, error)
	Path(path string) (Bundle, error)
}

func NewFileSystemBundle

func NewFileSystemBundle(path string) Bundle

func NewK8sConfigMapBundle

func NewK8sConfigMapBundle(cm *corev1.ConfigMap) Bundle

func NewK8sSecretBundle

func NewK8sSecretBundle(secret *corev1.Secret) Bundle

func NewKvBundle

func NewKvBundle(kv map[string][]byte) Bundle

Jump to

Keyboard shortcuts

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