operator

package
v1.87.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(gitClient *git.Client, file string) (*tree.Tree, error)

Types

type AdaptFunc

type AdaptFunc func(
	monitor mntr.Monitor,
	desired *tree.Tree,
	current *tree.Tree,
) (
	QueryFunc,
	DestroyFunc,
	ConfigureFunc,
	map[string]*secret.Secret,
	map[string]*secret.Existing,
	bool,
	error,
)

type ConfigureFunc

type ConfigureFunc func(k8sClient kubernetes.ClientInt, queried map[string]interface{}, gitops bool) error

type DestroyFunc

type DestroyFunc func(k8sClient kubernetes.ClientInt) error

func DestroyersToDestroyFunc

func DestroyersToDestroyFunc(monitor mntr.Monitor, destroyers []DestroyFunc) DestroyFunc

func ResourceDestroyToZitadelDestroy

func ResourceDestroyToZitadelDestroy(destroyFunc resources.DestroyFunc) DestroyFunc

type EnsureFunc

type EnsureFunc func(k8sClient kubernetes.ClientInt) error

func QueriersToEnsureFunc

func QueriersToEnsureFunc(monitor mntr.Monitor, infoLogs bool, queriers []QueryFunc, k8sClient kubernetes.ClientInt, queried map[string]interface{}) (EnsureFunc, error)

func ResourceEnsureToZitadelEnsure

func ResourceEnsureToZitadelEnsure(ensureFunc resources.EnsureFunc) EnsureFunc

type QueryFunc

type QueryFunc func(k8sClient kubernetes.ClientInt, queried map[string]interface{}) (EnsureFunc, error)

func EnsureFuncToQueryFunc

func EnsureFuncToQueryFunc(ensure EnsureFunc) QueryFunc

func ResourceQueryToZitadelQuery

func ResourceQueryToZitadelQuery(queryFunc resources.QueryFunc) QueryFunc

Jump to

Keyboard shortcuts

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