configmap

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 5 Imported by: 82

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap struct {
	ObjectMeta common.ObjectMeta `json:"objectMeta"`
	TypeMeta   common.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 common.ObjectMeta `json:"objectMeta"`
	TypeMeta   common.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 *client.Clientset, namespace, name string) (*ConfigMapDetail, error)

GetConfigMapDetail returns returns detailed information about a config map

type ConfigMapList

type ConfigMapList struct {
	ListMeta common.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 *client.Clientset, 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