configmap

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap struct {
	ObjectMeta api.ObjectMeta `json:"objectMeta"`
	TypeMeta   api.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 api.ListMeta `json:"listMeta"`

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

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

ConfigMapList contains a list of Config Maps in the cluster.

func GetConfigMapList

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

GetConfigMapList returns a list of all ConfigMaps in the cluster.

func GetConfigMapListFromChannels

func GetConfigMapListFromChannels(channels *common.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