controllercontext

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 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

type ChartStatus struct {
	Reason string
	Status string
}

type Clients

type Clients struct {
	K8s  k8sclient.Interface
	Helm helmclient.Interface
}

type ClusterStatus

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