Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyObject

func ApplyObject(ctx context.Context, client k8sclient.Client, obj *uns.Unstructured) error

ApplyObject applies the desired object against the apiserver, merging it with any existing objects if already present.

func IsObjectSupported

func IsObjectSupported(obj *uns.Unstructured) error

IsObjectSupported rejects objects with configurations we don't support. This catches ServiceAccounts with secrets, which is valid but we don't support reconciling them.

func MergeObjectForUpdate

func MergeObjectForUpdate(current, updated *uns.Unstructured) error

MergeObjectForUpdate prepares a "desired" object to be updated. Some objects, such as Deployments and Services require some semantic-aware updates

Types

This section is empty.

Source Files