Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrder ¶
func CreateOrder(i, j *unstructured.Unstructured) bool
CreateOrder is to be used in a sort.Slice() comparison. It is to help make sure that resources are created in an order that causes a reliable startup.
func HashWorkloadConfigs ¶
HashWorkloadConfigs iterates daemonsets, walks their volumes, and updates their pod templates with annotations that include the hashes of the content for each configmap or secret.
Types ¶
type DynamicHelper ¶
type DynamicHelper interface { RefreshAPIResources() error CreateOrUpdate(obj *unstructured.Unstructured) error Delete(groupKind, namespace, name string) error Ensure(o *unstructured.Unstructured) error Get(groupKind, namespace, name string) (*unstructured.Unstructured, error) List(groupKind, namespace string) (*unstructured.UnstructuredList, error) }
Click to show internal directories.
Click to hide internal directories.