Documentation ¶
Index ¶
- type Manager
- func (m *Manager) APIExtClient(apiContext *types.APIContext, storageContext types.StorageContext) (clientset.Interface, error)
- func (m *Manager) AccessControl(apiContext *types.APIContext, storageContext types.StorageContext) (types.AccessControl, error)
- func (m *Manager) CanCreate(apiContext *types.APIContext, schema *types.Schema) bool
- func (m *Manager) CanDelete(apiContext *types.APIContext, obj map[string]interface{}, schema *types.Schema) bool
- func (m *Manager) CanGet(apiContext *types.APIContext, schema *types.Schema) bool
- func (m *Manager) CanList(apiContext *types.APIContext, schema *types.Schema) bool
- func (m *Manager) CanUpdate(apiContext *types.APIContext, obj map[string]interface{}, schema *types.Schema) bool
- func (m *Manager) ClusterName(apiContext *types.APIContext) string
- func (m *Manager) Config(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Config, error)
- func (m *Manager) Filter(apiContext *types.APIContext, schema *types.Schema, obj map[string]interface{}, ...) map[string]interface{}
- func (m *Manager) FilterList(apiContext *types.APIContext, schema *types.Schema, ...) []map[string]interface{}
- func (m *Manager) GetHTTPSPort() int
- func (m *Manager) KubeConfig(clusterName, token string) *clientcmdapi.Config
- func (m *Manager) RESTConfig(cluster *v3.Cluster) (rest.Config, error)
- func (m *Manager) Start(ctx context.Context, cluster *v3.Cluster) error
- func (m *Manager) Stop(cluster *v3.Cluster)
- func (m *Manager) UnversionedClient(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Interface, error)
- func (m *Manager) UserContext(clusterName string) (*config.UserContext, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { ScaledContext *config.ScaledContext // contains filtered or unexported fields }
func NewManager ¶
func NewManager(httpsPort int, context *config.ScaledContext) *Manager
func (*Manager) APIExtClient ¶
func (m *Manager) APIExtClient(apiContext *types.APIContext, storageContext types.StorageContext) (clientset.Interface, error)
func (*Manager) AccessControl ¶
func (m *Manager) AccessControl(apiContext *types.APIContext, storageContext types.StorageContext) (types.AccessControl, error)
func (*Manager) ClusterName ¶
func (m *Manager) ClusterName(apiContext *types.APIContext) string
func (*Manager) Config ¶
func (m *Manager) Config(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Config, error)
func (*Manager) FilterList ¶
func (*Manager) GetHTTPSPort ¶
func (*Manager) KubeConfig ¶
func (m *Manager) KubeConfig(clusterName, token string) *clientcmdapi.Config
func (*Manager) UnversionedClient ¶
func (m *Manager) UnversionedClient(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Interface, error)
func (*Manager) UserContext ¶
func (m *Manager) UserContext(clusterName string) (*config.UserContext, error)
Click to show internal directories.
Click to hide internal directories.