types

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Store

func Store(ctx context.Context, c *Context) context.Context

Types

type Context

type Context struct {
	Image     string
	Namespace string

	Batch  *batch.Factory
	Gitjob *gitjob.Factory
	Core   *core.Factory
	K8s    kubernetes.Interface

	Apply apply.Apply
}

func BuildContext

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

func From

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