clustermanager

package
v2.0.0-alpha21+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: Apache-2.0 Imports: 18 Imported by: 1,288

Documentation

Index

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) CanCreate

func (m *Manager) CanCreate(apiContext *types.APIContext, schema *types.Schema) bool

func (*Manager) CanDelete

func (m *Manager) CanDelete(apiContext *types.APIContext, obj map[string]interface{}, schema *types.Schema) bool

func (*Manager) CanGet

func (m *Manager) CanGet(apiContext *types.APIContext, schema *types.Schema) bool

func (*Manager) CanList

func (m *Manager) CanList(apiContext *types.APIContext, schema *types.Schema) bool

func (*Manager) CanUpdate

func (m *Manager) CanUpdate(apiContext *types.APIContext, obj map[string]interface{}, schema *types.Schema) bool

func (*Manager) Config

func (m *Manager) Config(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Config, error)

func (*Manager) Filter

func (m *Manager) Filter(apiContext *types.APIContext, schema *types.Schema, obj map[string]interface{}, context map[string]string) map[string]interface{}

func (*Manager) FilterList

func (m *Manager) FilterList(apiContext *types.APIContext, schema *types.Schema, obj []map[string]interface{}, context map[string]string) []map[string]interface{}

func (*Manager) KubeConfig

func (m *Manager) KubeConfig(clusterName, token string) *clientcmdapi.Config

func (*Manager) RESTConfig

func (m *Manager) RESTConfig(cluster *v3.Cluster) (rest.Config, error)

func (*Manager) Start

func (m *Manager) Start(ctx context.Context, cluster *v3.Cluster) error

func (*Manager) Stop

func (m *Manager) Stop(cluster *v3.Cluster)

func (*Manager) UnversionedClient

func (m *Manager) UnversionedClient(apiContext *types.APIContext, storageContext types.StorageContext) (rest.Interface, error)

Jump to

Keyboard shortcuts

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