util

package
v3.0.4-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCTHAStatus

func GetCTHAStatus(template *v1beta1.ConstraintTemplate) *v1beta1.ByPodStatus

func GetCfgHAStatus

func GetCfgHAStatus(cfg *configv1alpha1.Config) *configv1alpha1.ByPod

func GetHAStatus

func GetHAStatus(obj *unstructured.Unstructured) (map[string]interface{}, error)

GetHAStatus gets the value of a pod-specific subfield of status

func SetCTHAStatus

func SetCTHAStatus(template *v1beta1.ConstraintTemplate, status *v1beta1.ByPodStatus)

func SetCfgHAStatus

func SetCfgHAStatus(cfg *configv1alpha1.Config, status *configv1alpha1.ByPod)

func SetHAStatus

func SetHAStatus(obj *unstructured.Unstructured, status map[string]interface{}) error

SetHAStatus sets the value of a pod-specific subfield of status

Types

This section is empty.

Jump to

Keyboard shortcuts

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