kubernetes

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleKubernetesComponents

func HandleKubernetesComponents(workspace *common.DevWorkspaceWithConfig, api sync.ClusterAPI) error

HandleKubernetesComponents processes the Kubernetes and OpenShift components of a DevWorkspace, creating/updating objects on the cluster. This function does not verify if the workspace owner has the correct permissions to create/update/delete these objects and instead assumes the workspace owner has all applicable RBAC permissions. Only Kubernetes/OpenShift components that are inlined are supported; components that define a URI will cause a FailError to be returned

func HasKubelikeComponent

func HasKubelikeComponent(workspace *common.DevWorkspaceWithConfig) bool

func InitializeDeserializer

func InitializeDeserializer(scheme *runtime.Scheme) error

Types

type FailError

type FailError struct {
	Err error
}

func (*FailError) Error

func (e *FailError) Error() string

type RetryError

type RetryError struct {
	Err error
}

func (*RetryError) Error

func (e *RetryError) Error() string

type WarningError

type WarningError struct {
	Err error
}

func (*WarningError) Error

func (e *WarningError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳