Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotExist = errors.New("cluster not exist. ") ErrMaintaining = errors.New("cluster being maintaining .please try again later. ") )
Functions ¶
func BuildApiserverClient ¶
func BuildApiserverClient()
func Clients ¶
func Clients() map[string]*kubernetes.Clientset
func Managers ¶
func Managers() map[string]*ClusterManager
Types ¶
type CacheIndexer ¶
type ClusterManager ¶
type ClusterManager struct { Cluster *models.Cluster Client *kubernetes.Clientset Config *rest.Config Indexer *CacheIndexer }
func Manager ¶
func Manager(cluster string) (*ClusterManager, error)
func (ClusterManager) Close ¶
func (c ClusterManager) Close()
Click to show internal directories.
Click to hide internal directories.