zitadel

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoopDestroyFunc

func NoopDestroyFunc(*kubernetes.Client) error

func NoopEnsureFunc

func NoopEnsureFunc(*kubernetes.Client) error

func Parse

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

func Takeoff

func Takeoff(monitor mntr.Monitor, gitClient *git.Client, adapt AdaptFunc, k8sClient *kubernetes.Client) func()

Types

type AdaptFunc

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

type DestroyFunc

type DestroyFunc func(k8sClient *kubernetes.Client) 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.Client) error

func NoopQueryFunc

func NoopQueryFunc(k8sClient *kubernetes.Client, queried map[string]interface{}) (EnsureFunc, error)

func QueriersToEnsureFunc

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

func ResourceEnsureToZitadelEnsure

func ResourceEnsureToZitadelEnsure(ensureFunc resources.EnsureFunc) EnsureFunc

type QueryFunc

type QueryFunc func(k8sClient *kubernetes.Client, 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