package configmap
import "github.com/oslokommune/okctl/pkg/kube/manifests/configmap"
Package configmap provides a configmap creator and applier
Index ¶
- func NewManifest(name, namespace string, data, labels map[string]string) *v1.ConfigMap
- type ConfigMap
Functions ¶
func NewManifest ¶
NewManifest returns the ConfigMap manifest
Types ¶
type ConfigMap ¶
ConfigMap contains the state for creating a configmap
func New ¶
New returns an initialised ConfigMap creator
func (*ConfigMap) CreateConfigMap ¶
func (s *ConfigMap) CreateConfigMap(clientset kubernetes.Interface, _ *rest.Config) (interface{}, error)
CreateConfigMap creates the ConfigMap
func (*ConfigMap) DeleteConfigMap ¶
func (s *ConfigMap) DeleteConfigMap(_ kubernetes.Interface, config *rest.Config) (interface{}, error)
DeleteConfigMap deletes the ConfigMap
Source Files ¶
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 18 hours ago –
Tools for package owners.