pod

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const WebhookInitializerName = "mutate-pod"

Variables

This section is empty.

Functions

func NewMutatingHandlers

func NewMutatingHandlers(_ manager.Manager) map[schema.GroupKind]admission.Handler

func SetPodProgressingInfos

func SetPodProgressingInfos(pod *corev1.Pod, infos PodProgressingInfos) bool

func SetProgressingInfo

func SetProgressingInfo(pod *corev1.Pod, info *rolloutv1alpha1.ProgressingInfo) bool

Types

type PodProgressingInfos

type PodProgressingInfos []rolloutv1alpha1.ProgressingInfo

func GetPodProgressingInfos

func GetPodProgressingInfos(pod *corev1.Pod) PodProgressingInfos

func MergePodProgressingInfos

func MergePodProgressingInfos(existings, news PodProgressingInfos) PodProgressingInfos

func (PodProgressingInfos) Len

func (p PodProgressingInfos) Len() int

Len implements sort.Interface.

func (PodProgressingInfos) Less

func (p PodProgressingInfos) Less(i int, j int) bool

Less implements sort.Interface.

func (PodProgressingInfos) Swap

func (p PodProgressingInfos) Swap(i int, j int)

Swap implements sort.Interface.

Jump to

Keyboard shortcuts

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