types

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 21 Imported by: 46

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v0.1.0

func Register(f func(context.Context, *Context) error) func(ctx context.Context) error

Types

type Config added in v0.6.0

type Config interface {
	Get(section, name string) string
}

type Context

type Context struct {
	Namespace string

	Apps          *apps.Factory
	Batch         *batch.Factory
	Build         *build.Factory
	Core          *core.Factory
	Ext           *apiextensions.Factory
	Istio         *istio.Factory
	K8sNetworking *extensionsv1beta1.Factory
	Admin         *admin.Factory
	K8s           kubernetes.Interface
	RBAC          *rbac.Factory
	Rio           *rio.Factory
	SMI           *smi.Factory
	Gateway       *gateway.Factory
	Gloo          *gloo.Factory
	Storage       *storage.Factory
	Webhook       *webhookinator.Factory

	RestConfig *rest.Config
	Config     Config
	Apply      apply.Apply
}

func BuildContext added in v0.1.0

func BuildContext(ctx context.Context, namespace string, config *rest.Config) (context.Context, *Context)

func From added in v0.1.0

func From(ctx context.Context) *Context

func NewContext

func NewContext(namespace string, config *rest.Config) *Context

func (*Context) Start

func (c *Context) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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