Documentation ¶
Index ¶
- func BuildInfo(revisionMap map[string]*appsv1alpha1.PodDecoration) (info string)
- func PatchListOfDecorations(pod *corev1.Pod, podDecorations map[string]*appsv1alpha1.PodDecoration) (err error)
- func PatchPodDecoration(pod *corev1.Pod, template *appsv1alpha1.PodDecorationPodTemplate) (err error)
- type Getter
- type PodDecorations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInfo ¶
func BuildInfo(revisionMap map[string]*appsv1alpha1.PodDecoration) (info string)
func PatchListOfDecorations ¶
func PatchListOfDecorations(pod *corev1.Pod, podDecorations map[string]*appsv1alpha1.PodDecoration) (err error)
func PatchPodDecoration ¶
func PatchPodDecoration(pod *corev1.Pod, template *appsv1alpha1.PodDecorationPodTemplate) (err error)
Types ¶
type Getter ¶
type Getter interface { GetOnPod(ctx context.Context, pod *corev1.Pod) (map[string]*appsv1alpha1.PodDecoration, error) GetEffective(ctx context.Context, pod *corev1.Pod) (map[string]*appsv1alpha1.PodDecoration, error) GetByRevisions(ctx context.Context, revisions ...string) (map[string]*appsv1alpha1.PodDecoration, error) }
type PodDecorations ¶
type PodDecorations []*appsv1alpha1.PodDecoration
func (PodDecorations) Len ¶
func (br PodDecorations) Len() int
func (PodDecorations) Less ¶
func (br PodDecorations) Less(i, j int) bool
func (PodDecorations) Swap ¶
func (br PodDecorations) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.