types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: Apache-2.0 Imports: 19 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 Context

type Context struct {
	Namespace string

	Apps        *apps.Factory
	AutoScale   *autoscale.Factory
	Build       *build.Factory
	CertManager *certmanager.Factory
	Core        *core.Factory
	Ext         *apiextensions.Factory
	Extensions  *extensions.Factory
	Global      *admin.Factory
	K8s         kubernetes.Interface
	Networking  *networking.Factory
	RBAC        *rbac.Factory
	Rio         *rio.Factory
	Serving     *serving.Factory
	Storage     *storage.Factory
	Webhook     *webhookinator.Factory

	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