kubewaitingcontainer

package
v0.0.0-...-477458c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JSONPatchType is the JSON patch type supported by Kubernetes
	JSONPatchType string = "application/json-patch+json"
	// MergePatchType is the merge patch type supported by Kubernetes
	MergePatchType string = "application/merge-patch+json"
	// StrategicMergePatchType is the strategic merge patch type supported by Kubernetes
	StrategicMergePatchType string = "application/strategic-merge-patch+json"
	// ApplyPatchType is the apply patch type supported by Kubernetes
	ApplyPatchType string = "application/apply-patch+yaml"
)

Variables

View Source
var (
	// PatchTypes is a list of all supported patch types
	PatchTypes = []string{
		JSONPatchType,
		MergePatchType,
		StrategicMergePatchType,
		ApplyPatchType,
	}
)

Functions

func NewKubeWaitingContainer

NewKubeWaitingContainer creates a new Kubernetes ephemeral container that are waiting to be created until moderated session conditions are met.

func ValidateKubeWaitingContainer

func ValidateKubeWaitingContainer(k *kubewaitingcontainerpb.KubernetesWaitingContainer) error

ValidateKubeWaitingContainer checks that required parameters are set for the specified KubeWaitingContainer

Types

This section is empty.

Jump to

Keyboard shortcuts

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