kubernetes

package
v0.11.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateStrategy = "kubernetes"
)

Variables

View Source
var (
	ErrInvalidAgentList  = fmt.Errorf("agent deployments found not exactly 1")
	ErrOldDigestMismatch = fmt.Errorf("current digest does not match patch spec")
	ErrInvalidUpdateType = fmt.Errorf("invalid update type")
)
View Source
var (
	ComponentImageMap = map[ComponentType]oci.ImageType{
		AgentComponent:      oci.ImageTypeMinimal,
		ControllerComponent: oci.ImageTypeOpni,
	}
)

Functions

func ErrComponentUpdate

func ErrComponentUpdate(component ComponentType, err error) error

func ErrUnhandledUpdateType

func ErrUnhandledUpdateType(updateType string) error

Types

type ComponentType

type ComponentType string
const (
	AgentComponent      ComponentType = "agent"
	ControllerComponent ComponentType = "controller"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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