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 ¶
func NewKubeWaitingContainer(name string, spec *kubewaitingcontainerpb.KubernetesWaitingContainerSpec) (*kubewaitingcontainerpb.KubernetesWaitingContainer, error)
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.
Click to show internal directories.
Click to hide internal directories.