Documentation ¶
Overview ¶
Package configmap manipulates the k8s api of configmap object
Index ¶
- type ConfigMap
- func (c *ConfigMap) Create(cm *corev1.ConfigMap) error
- func (c *ConfigMap) Delete(namespace, name string) error
- func (c *ConfigMap) DeleteIfExists(namespace, name string) error
- func (c *ConfigMap) Exists(namespace, name string) error
- func (c *ConfigMap) Get(namespace, name string) (*corev1.ConfigMap, error)
- func (c *ConfigMap) Patch(cm *corev1.ConfigMap) error
- func (c *ConfigMap) Update(cm *corev1.ConfigMap) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct {
// contains filtered or unexported fields
}
ConfigMap is the object to encapsulate ConfigMap
func (*ConfigMap) DeleteIfExists ¶
DeleteIfExists delete if k8s configmap exists
type Option ¶
type Option func(*ConfigMap)
Option configures an ConfigMap
func WithCompleteParams ¶
func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option
WithCompleteParams provides an Option
Click to show internal directories.
Click to hide internal directories.