Documentation ¶
Index ¶
- type ChartManager
- type ClusterResourceManager
- type Columns
- type ConfigMapManager
- type DeploymentManager
- type ListPrinter
- type NamespaceResourceManager
- type PodManager
- func (m PodManager) GetIP(obj jsonutils.JSONObject) interface{}
- func (m PodManager) GetLabels(obj jsonutils.JSONObject) interface{}
- func (m PodManager) GetNode(obj jsonutils.JSONObject) interface{}
- func (m PodManager) GetRestarts(obj jsonutils.JSONObject) interface{}
- func (m PodManager) GetStatus(obj jsonutils.JSONObject) interface{}
- type RawResourceManager
- func (m *RawResourceManager) Delete(s *mcclient.ClientSession, kind string, namespace string, name string, ...) error
- func (m *RawResourceManager) Get(s *mcclient.ClientSession, kind string, namespace string, name string, ...) (jsonutils.JSONObject, error)
- func (m *RawResourceManager) Put(s *mcclient.ClientSession, kind string, namespace string, name string, ...) error
- type ReleaseManager
- type ResourceManager
- type ServiceManager
- func (s ServiceManager) GetAge(obj jsonutils.JSONObject) interface{}
- func (s ServiceManager) GetClusterIP(obj jsonutils.JSONObject) interface{}
- func (s ServiceManager) GetPorts(obj jsonutils.JSONObject) interface{}
- func (s ServiceManager) GetSelector(obj jsonutils.JSONObject) interface{}
- func (s ServiceManager) GetType(obj jsonutils.JSONObject) interface{}
- type TillerManager
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 NewColumns ¶
func NewNamespaceCols ¶
func NewResourceCols ¶
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 (m *RawResourceManager) Get(s *mcclient.ClientSession, kind string, namespace string, name string, query jsonutils.JSONObject, ctxs []modules.ManagerContext) (jsonutils.JSONObject, error)
func (*RawResourceManager) Put ¶
func (m *RawResourceManager) Put(s *mcclient.ClientSession, kind string, namespace string, name string, body jsonutils.JSONObject, ctxs []modules.ManagerContext) error
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{}
Click to show internal directories.
Click to hide internal directories.