Documentation ¶
Index ¶
- Variables
- func ConfigMapToFile(cm *v1.ConfigMap) (*dependencies.File, error)
- func CreateFileRef(configMapName, key string) string
- func FileToConfigMap(file *dependencies.File) (*v1.ConfigMap, error)
- func NewFileStorage(cfg *rest.Config, namespace string, syncFrequency time.Duration) (dependencies.FileStorage, error)
- func ParseFileRef(fileRef string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidConfigMapErr = errors.New("config map must have exactly 1 value in either BinaryData or Data")
Functions ¶
func ConfigMapToFile ¶
func ConfigMapToFile(cm *v1.ConfigMap) (*dependencies.File, error)
func CreateFileRef ¶
func FileToConfigMap ¶
func FileToConfigMap(file *dependencies.File) (*v1.ConfigMap, error)
func NewFileStorage ¶
func NewFileStorage(cfg *rest.Config, namespace string, syncFrequency time.Duration) (dependencies.FileStorage, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.