controllercontext

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func NewContext

func NewContext(ctx context.Context, c Context) context.Context

Types

type ChartStatus added in v1.0.6

type ChartStatus struct {
	Reason string
	Status string
}

type Clients

type Clients struct {
	G8s  versioned.Interface
	K8s  kubernetes.Interface
	Helm helmclient.Interface
}

type ClusterStatus added in v1.0.6

type ClusterStatus struct {
	IsDeleting    bool
	IsUnavailable bool
}

type Context

type Context struct {
	AppCatalog v1alpha1.AppCatalog
	Clients    Clients
	Status     Status
}

func FromContext

func FromContext(ctx context.Context) (*Context, error)

type Status

type Status struct {
	ChartStatus   ChartStatus
	ClusterStatus ClusterStatus
}

Jump to

Keyboard shortcuts

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