Documentation ¶
Index ¶
- func DrainChan(requests <-chan reconcile.Request, timeout time.Duration)
- func GenerateGetNameFunc(namePrefix string) func() string
- func PurgeAllConfigMaps(cli client.Client, opts ...client.ListOption) error
- func PurgeAllNodes(cli client.Client, opts ...client.ListOption) error
- func PurgeAllPods(cli client.Client, opts ...client.ListOption) error
- func PurgeAllSecrets(cli client.Client, opts ...client.ListOption) error
- func SetupLogger()
- func StartTestEnv() (env *envtest.Environment, cfg *rest.Config, cli client.Client, err error)
- func StartTestEnvWithCRD(CRDDirectoryPaths []string) (env *envtest.Environment, cfg *rest.Config, cli client.Client, err error)
- func StartTestEnvWithCRDAndScheme(CRDDirectoryPaths []string, scheme *runtime.Scheme) (env *envtest.Environment, cfg *rest.Config, cli client.Client, err error)
- func WrapReconcile(inner reconcile.Reconciler) (reconcile.Reconciler, chan reconcile.Request)
- func WrapReconcileFunc(inner reconcile.Func) (reconcile.Func, chan reconcile.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGetNameFunc ¶
func PurgeAllConfigMaps ¶
func PurgeAllConfigMaps(cli client.Client, opts ...client.ListOption) error
func PurgeAllNodes ¶
func PurgeAllNodes(cli client.Client, opts ...client.ListOption) error
func PurgeAllPods ¶
func PurgeAllPods(cli client.Client, opts ...client.ListOption) error
func PurgeAllSecrets ¶
func PurgeAllSecrets(cli client.Client, opts ...client.ListOption) error
func SetupLogger ¶
func SetupLogger()
func StartTestEnv ¶
func StartTestEnvWithCRD ¶
func WrapReconcile ¶
func WrapReconcile(inner reconcile.Reconciler) (reconcile.Reconciler, chan reconcile.Request)
WrapReconcile returns a reconcile.Reconcile implementation that delegates to inner and writes the request to requests after Reconcile is finished.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.