config

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigMapList             configmap.ConfigMapList                         `json:"configMapList"`
	PersistentVolumeClaimList persistentvolumeclaim.PersistentVolumeClaimList `json:"persistentVolumeClaimList"`
	SecretList                secret.SecretList                               `json:"secretList"`
}

Config structure contains all resource lists grouped into the config category.

func GetConfig

func GetConfig(client *kubernetes.Clientset, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery) (*Config, error)

GetConfig returns a list of all config resources in the cluster.

func GetConfigFromChannels

func GetConfigFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery,
	nsQuery *common.NamespaceQuery) (*Config, error)

GetConfigFromChannels returns a list of all config in the cluster, from the channel sources.

Jump to

Keyboard shortcuts

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