k8s

package
v2.0.28+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartManager

type ChartManager struct {
	*ResourceManager
}
var (
	Charts *ChartManager
)

func (ChartManager) GetDescription

func (m ChartManager) GetDescription(obj jsonutils.JSONObject) interface{}

func (ChartManager) GetRepoWithName

func (m ChartManager) GetRepoWithName(obj jsonutils.JSONObject) interface{}

func (ChartManager) GetVersion

func (m ChartManager) GetVersion(obj jsonutils.JSONObject) interface{}

type ClusterResourceManager

type ClusterResourceManager struct {
	*ResourceManager
}

func NewClusterResourceManager

func NewClusterResourceManager(keyword, keywordPlural string, columns, adminColumns *Columns) *ClusterResourceManager

func (ClusterResourceManager) GetCluster

func (man ClusterResourceManager) GetCluster(obj jsonutils.JSONObject) interface{}

type Columns

type Columns struct {
	// contains filtered or unexported fields
}

func NewClusterCols

func NewClusterCols(col ...string) *Columns

func NewColumns

func NewColumns(cols ...string) *Columns

func NewNamespaceCols

func NewNamespaceCols(col ...string) *Columns

func NewResourceCols

func NewResourceCols(col ...string) *Columns

func (*Columns) Add

func (c *Columns) Add(cols ...string) *Columns

func (Columns) Array

func (c Columns) Array() []string

type ConfigMapManager

type ConfigMapManager struct {
	*NamespaceResourceManager
}
var ConfigMaps *ConfigMapManager

type DeploymentManager

type DeploymentManager struct {
	*NamespaceResourceManager
}
var Deployments *DeploymentManager

type ListPrinter

type ListPrinter interface {
	GetColumns(*mcclient.ClientSession) []string
}

type NamespaceResourceManager

type NamespaceResourceManager struct {
	*ClusterResourceManager
}

func NewNamespaceResourceManager

func NewNamespaceResourceManager(kw, kwp string, columns, adminColumns *Columns) *NamespaceResourceManager

func (NamespaceResourceManager) GetName

func (m NamespaceResourceManager) GetName(obj jsonutils.JSONObject) interface{}

func (NamespaceResourceManager) GetNamespace

func (m NamespaceResourceManager) GetNamespace(obj jsonutils.JSONObject) interface{}

type PodManager

type PodManager struct {
	*NamespaceResourceManager
}
var Pods *PodManager

func (PodManager) GetIP

func (m PodManager) GetIP(obj jsonutils.JSONObject) interface{}

func (PodManager) GetLabels

func (m PodManager) GetLabels(obj jsonutils.JSONObject) interface{}

func (PodManager) GetNode

func (m PodManager) GetNode(obj jsonutils.JSONObject) interface{}

func (PodManager) GetRestarts

func (m PodManager) GetRestarts(obj jsonutils.JSONObject) interface{}

func (PodManager) GetStatus

func (m PodManager) GetStatus(obj jsonutils.JSONObject) interface{}

type RawResourceManager

type RawResourceManager struct {
	// contains filtered or unexported fields
}
var RawResource *RawResourceManager

func (*RawResourceManager) Delete

func (m *RawResourceManager) Delete(s *mcclient.ClientSession, kind string, namespace string, name string, query jsonutils.JSONObject, ctxs []modules.ManagerContext) error

func (*RawResourceManager) Get

func (*RawResourceManager) Put

type ReleaseManager

type ReleaseManager struct {
	*NamespaceResourceManager
}
var (
	Releases *ReleaseManager
)

type ResourceManager

type ResourceManager struct {
	*modules.ResourceManager
}
var (
	Clusters *ResourceManager
)
var (
	Logs *ResourceManager
)
var (
	Nodes *ResourceManager
)
var (
	Repos *ResourceManager
)

func NewResourceManager

func NewResourceManager(keyword, keywordPlural string, columns, adminColumns *Columns) *ResourceManager

type ServiceManager

type ServiceManager struct {
	*NamespaceResourceManager
}
var Services *ServiceManager

func (ServiceManager) GetAge

func (s ServiceManager) GetAge(obj jsonutils.JSONObject) interface{}

func (ServiceManager) GetClusterIP

func (s ServiceManager) GetClusterIP(obj jsonutils.JSONObject) interface{}

func (ServiceManager) GetPorts

func (s ServiceManager) GetPorts(obj jsonutils.JSONObject) interface{}

func (ServiceManager) GetSelector

func (s ServiceManager) GetSelector(obj jsonutils.JSONObject) interface{}

func (ServiceManager) GetType

func (s ServiceManager) GetType(obj jsonutils.JSONObject) interface{}

type TillerManager

type TillerManager struct {
	*ResourceManager
}
var (
	Tiller *TillerManager
)

Jump to

Keyboard shortcuts

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