cluster

package
v2.3.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 25 Imported by: 55

Documentation

Index

Constants

View Source
const (
	DefaultBackupIntervalHours = 12
	DefaultBackupRetention     = 6
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistrationTokenStore

type RegistrationTokenStore struct {
	types.Store
}

func (*RegistrationTokenStore) Create

func (r *RegistrationTokenStore) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)

type Store

type Store struct {
	types.Store
	ShellHandler types.RequestHandler

	KontainerDriverLister         v3.KontainerDriverLister
	ClusterTemplateLister         v3.ClusterTemplateLister
	ClusterTemplateRevisionLister v3.ClusterTemplateRevisionLister
	// contains filtered or unexported fields
}

func GetClusterStore

func GetClusterStore(schema *types.Schema, mgmt *config.ScaledContext, clusterManager *clustermanager.Manager, k8sProxy http.Handler) *Store

func (*Store) ByID

func (r *Store) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)

func (*Store) Create

func (r *Store) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)

func (*Store) Update

func (r *Store) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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