Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyNotFound = errors.New("key not found") ErrInvalidConfigMap = errors.New("configMap name and namespase should be provided") ErrInvalidConfigMapKey = errors.New("data key for configMap should be provided") ErrInvalidConfigMapClient = errors.New("configMap client should be provided") )
Package specific errors:
Functions ¶
func IsNotExist ¶
IsNotExist returns a boolean indicating whether the error is known to report that kubernetes resource or known key isn't found.
Types ¶
type CMFile ¶
type CMFile struct {
// contains filtered or unexported fields
}
CMFile represents a file on kubernetes ConfigMap.
func New ¶
func New(cmName, ns, key string, client v1.ConfigMapsGetter) (*CMFile, error)
New creates the new CMFile.
Click to show internal directories.
Click to hide internal directories.