multiclusterapp

package
v0.0.0-...-d1cb446 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

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
	GrbLister                     v3.GlobalRoleBindingLister
	GrLister                      v3.GlobalRoleLister
	Prtbs                         v3.ProjectRoleTemplateBindingInterface
	Crtbs                         v3.ClusterRoleTemplateBindingInterface
	ProjectLister                 v3.ProjectLister
	ClusterLister                 v3.ClusterLister
}

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