cluster

package
v2.2.9-ent-rc2+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBackupIntervalHours = 12
	DefaultBackupRetention     = 6
)

Variables

This section is empty.

Functions

func SetClusterStore

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

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
	// contains filtered or unexported fields
}

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