app

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: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MCappLabel = "mcapp"
)

Variables

This section is empty.

Functions

func Formatter

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

Types

type Wrapper

type Wrapper struct {
	Clusters              v3.ClusterInterface
	TemplateVersionClient v3.CatalogTemplateVersionInterface
	KubeConfigGetter      common.KubeConfigGetter
	AppGetter             pv3.AppsGetter
	UserLister            v3.UserLister
	UserManager           user.Manager
}

func (Wrapper) ActionHandler

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

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