multiclusterapp

package
v2.2.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 29 Imported by: 48

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetMemberStore

func SetMemberStore(ctx context.Context, schema *types.Schema, mgmt *config.ScaledContext)

Types

type Store

type Store struct {
	types.Store
	// contains filtered or unexported fields
}

func (*Store) Create

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

func (*Store) Update

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

type Wrapper

type Wrapper struct {
	MultiClusterApps              v3.MultiClusterAppInterface
	MultiClusterAppLister         v3.MultiClusterAppLister
	MultiClusterAppRevisionLister v3.MultiClusterAppRevisionLister
	PrtbLister                    v3.ProjectRoleTemplateBindingLister
	CrtbLister                    v3.ClusterRoleTemplateBindingLister
	RoleTemplateLister            v3.RoleTemplateLister
	Users                         v3.UserInterface
}

func (Wrapper) ActionHandler

func (w Wrapper) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error

func (Wrapper) Formatter

func (w Wrapper) Formatter(apiContext *types.APIContext, resource *types.RawResource)

func (Wrapper) LinkHandler

func (w Wrapper) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error

func (Wrapper) Validator

func (w Wrapper) Validator(request *types.APIContext, schema *types.Schema, data map[string]interface{}) error

Jump to

Keyboard shortcuts

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