configmap

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2016 License: Apache-2.0 Imports: 4 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 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 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.Client, 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.Client, nsQuery *common.NamespaceQuery,
	pQuery *common.PaginationQuery) (*ConfigMapList, error)

GetConfigMapList returns a list of all ConfigMaps in the cluster.

func GetConfigMapListFromChannels

func GetConfigMapListFromChannels(channels *common.ResourceChannels, pQuery *common.PaginationQuery) (
	*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