Documentation ¶
Index ¶
- Constants
- func IsConfigMapKeyNotFound(err error) bool
- func IsConfigMapNotFound(err error) bool
- func IsInvalidConfig(err error) bool
- func IsInvalidConfigMap(err error) bool
- func IsWrongName(err error) bool
- func IsWrongNamespace(err error) bool
- func IsWrongTypeError(err error) bool
- type Config
- type Resource
Constants ¶
View Source
const (
Name = "configmapv1"
)
Variables ¶
This section is empty.
Functions ¶
func IsConfigMapKeyNotFound ¶
IsConfigMapKeyNotFound asserts configMapKeyNotFoundError.
func IsConfigMapNotFound ¶
IsConfigMapNotFound asserts configMapNotFoundError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsInvalidConfigMap ¶
IsInvalidConfigMap asserts invalidConfigMapError.
func IsWrongNamespace ¶
IsWrongNamespace asserts wrongNamespaceError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Config ¶
type Config struct { K8sClient kubernetes.Interface Logger micrologger.Logger CertDirectory string // ConfigMapKey is the key in the configmap under which the prometheus configuration is held. ConfigMapKey string ConfigMapName string ConfigMapNamespace string }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
func (*Resource) EnsureDeleted ¶
Click to show internal directories.
Click to hide internal directories.