admin

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 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 Admin

type Admin struct {
	NamespaceList        namespace.NamespaceList               `json:"namespaceList"`
	NodeList             node.NodeList                         `json:"nodeList"`
	PersistentVolumeList persistentvolume.PersistentVolumeList `json:"persistentVolumeList"`
	StorageClassList     storageclass.StorageClassList         `json:"storageClassList"`
}

Admin structure contains all resource lists grouped into the admin category.

func GetAdmin

func GetAdmin(client *kubernetes.Clientset) (*Admin, error)

GetAdmin returns a list of all admin resources in the cluster.

func GetAdminFromChannels

func GetAdminFromChannels(channels *common.ResourceChannels) (*Admin, error)

GetAdminFromChannels returns a list of all admin 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