configmap

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: Apache-2.0 Imports: 8 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 added in v1.4.0

type ConfigMapCell api.ConfigMap

func (ConfigMapCell) GetProperty added in v1.4.0

type ConfigMapDetail

type ConfigMapDetail struct {
	ObjectMeta api.ObjectMeta `json:"objectMeta"`
	TypeMeta   api.TypeMeta   `json:"typeMeta"`

	// 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