controllercontext

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 5 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 {
	K8s  k8sclient.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