Documentation ¶
Index ¶
- Variables
- func ApplyPatch(revision *appsv1.ControllerRevision) (*appsv1alpha1.PodDecoration, error)
- func CurrentRevision(pod *corev1.Pod, podDecorationName string) *string
- func GetDecorationInfoString(podDecorations map[string]*appsv1alpha1.PodDecoration) string
- func GetPodDecorationFromRevision(revision *appsv1.ControllerRevision) (*appsv1alpha1.PodDecoration, error)
- func SetDecorationInfo(pod *corev1.Pod, podDecorations map[string]*appsv1alpha1.PodDecoration)
- type DecorationInfo
- type DecorationRevisionInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var PodDecorationCodec = scheme.Codecs.LegacyCodec(appsv1alpha1.SchemeGroupVersion)
Functions ¶
func ApplyPatch ¶
func ApplyPatch(revision *appsv1.ControllerRevision) (*appsv1alpha1.PodDecoration, error)
func GetDecorationInfoString ¶
func GetDecorationInfoString(podDecorations map[string]*appsv1alpha1.PodDecoration) string
func GetPodDecorationFromRevision ¶
func GetPodDecorationFromRevision(revision *appsv1.ControllerRevision) (*appsv1alpha1.PodDecoration, error)
func SetDecorationInfo ¶
func SetDecorationInfo(pod *corev1.Pod, podDecorations map[string]*appsv1alpha1.PodDecoration)
Types ¶
type DecorationInfo ¶
func UnmarshallFromString ¶
func UnmarshallFromString(val string) ([]*DecorationInfo, error)
type DecorationRevisionInfo ¶
type DecorationRevisionInfo []*DecorationInfo
func GetDecorationRevisionInfo ¶
func GetDecorationRevisionInfo(pod *corev1.Pod) (info DecorationRevisionInfo)
func (DecorationRevisionInfo) GetRevision ¶
func (d DecorationRevisionInfo) GetRevision(name string) *string
func (DecorationRevisionInfo) Size ¶
func (d DecorationRevisionInfo) Size() int
Click to show internal directories.
Click to hide internal directories.