configmap

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCollectionConfigMap

func DeleteCollectionConfigMap(client *kubernetes.Clientset, configMapList []k8s.ConfigMapData) (err error)

func DeleteConfigMap

func DeleteConfigMap(client *kubernetes.Clientset, namespace string, name string) error

Types

type ConfigMap

type ConfigMap struct {
	ObjectMeta k8s.ObjectMeta `json:"objectMeta"`
	TypeMeta   k8s.TypeMeta   `json:"typeMeta"`
}

ConfigMap API resource provides mechanisms to inject containers with configuration data while keeping containers agnostic of Kubernetes

type ConfigMapCell

type ConfigMapCell api.ConfigMap

func (ConfigMapCell) GetProperty

type ConfigMapDetail

type ConfigMapDetail struct {
	// Extends list item structure.
	ConfigMap `json:",inline"`

	// Data contains the configuration data.
	// Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.
	Data map[string]string `json:"data,omitempty"`
}

ConfigMapDetail API resource provides mechanisms to inject containers with configuration data while keeping containers agnostic of Kubernetes

func GetConfigMapDetail

func GetConfigMapDetail(client kubernetes.Interface, namespace, name string) (*ConfigMapDetail, error)

GetConfigMapDetail returns detailed information about a config map

type ConfigMapList

type ConfigMapList struct {
	ListMeta k8s.ListMeta `json:"listMeta"`

	// Unordered list of Config Maps
	Items []ConfigMap `json:"items"`
}

ConfigMapList contains a list of Config Maps in the cluster.

func GetConfigMapList

func GetConfigMapList(client kubernetes.Interface, nsQuery *k8scommon.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*ConfigMapList, error)

GetConfigMapList returns a list of all ConfigMaps in the cluster.

func GetConfigMapListFromChannels

func GetConfigMapListFromChannels(channels *k8scommon.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*ConfigMapList, error)

GetConfigMapListFromChannels returns a list of all Config Maps in the cluster reading required resource list once from the channels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL