Documentation ¶
Overview ¶
Package configmaps provides implementation of ConfigMap resources for Kubernetes
Deprecated: Use the resources package instead.
Index ¶
- type ConfigMapsdeprecated
- func (obj *ConfigMaps) Apply(yaml string, namespace string) (k8sTypes.ConfigMap, error)deprecated
- func (obj *ConfigMaps) Create(configMap k8sTypes.ConfigMap, namespace string, opts metav1.CreateOptions) (k8sTypes.ConfigMap, error)deprecated
- func (obj *ConfigMaps) Delete(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *ConfigMaps) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.ConfigMap, error)deprecated
- func (obj *ConfigMaps) Kill(name, namespace string, opts metav1.DeleteOptions) errordeprecated
- func (obj *ConfigMaps) List(namespace string) ([]k8sTypes.ConfigMap, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMaps
deprecated
type ConfigMaps struct {
// contains filtered or unexported fields
}
ConfigMaps provides API for manipulating ConfigMap resources within a Kubernetes cluster
Deprecated: No longer used in favor of generic resources.
func New
deprecated
func New(ctx context.Context, client kubernetes.Interface, metaOptions metav1.ListOptions) *ConfigMaps
New creates a new instance backed by the provided client
Deprecated: No longer used.
func (*ConfigMaps) Create
deprecated
func (obj *ConfigMaps) Create( configMap k8sTypes.ConfigMap, namespace string, opts metav1.CreateOptions, ) (k8sTypes.ConfigMap, error)
Create creates the Kubernetes resource given the supplied object
Deprecated: Use resources.Create instead.
func (*ConfigMaps) Delete
deprecated
func (obj *ConfigMaps) Delete(name, namespace string, opts metav1.DeleteOptions) error
Delete removes the named ConfigMap from the namespace
Deprecated: Use resources.Delete instead.
func (*ConfigMaps) Get
deprecated
func (obj *ConfigMaps) Get(name, namespace string, opts metav1.GetOptions) (k8sTypes.ConfigMap, error)
Get returns the named ConfigMaps instance within the namespace if available
Deprecated: Use resources.Get instead.
func (*ConfigMaps) Kill
deprecated
func (obj *ConfigMaps) Kill(name, namespace string, opts metav1.DeleteOptions) error
Kill removes the named ConfigMap from the namespace
Deprecated: Use resources.Delete instead.