Documentation ¶
Index ¶
- func Create(c *client.Client, cm *Instance) error
- func Delete(c *client.Client, configmap string, namespace string) error
- func Exists(c *client.Client, configmap string, namespace string) (string, error)
- func ListAll(c *client.Client) (*v1.ConfigMapList, error)
- func Show(c *client.Client, configmap string, namespace string) (*v1.ConfigMap, error)
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create creates a configmap using the values from the ConfigMap struct via the Client.Clientset
Args:
ConfigMap - ConfigMap struct Client - Client strucut Returns: error or nil
func Delete ¶
Delete deletes a configmap
Args:
Client - client struct from the client module configmap - ConigMap Name namespace - Namespace Returns: error or nil
func Exists ¶
Exists will check if the configmap exists or not
Args:
- Pointer to a Client struct
Returns:
string (namespace name) OR error type
Types ¶
Click to show internal directories.
Click to hide internal directories.