utils

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServiceAccountSecret

func CreateServiceAccountSecret(ctx context.Context, client client.Client, c *config.LandscaperServiceConfiguration) error

func DefaultControllerConfiguration

func DefaultControllerConfiguration() *config.LandscaperServiceConfiguration

func DefaultTargetShootConfiguration

func DefaultTargetShootConfiguration() *config.TargetShootSidecarConfiguration

func RequestFromObject

func RequestFromObject(obj client.Object) reconcile.Request

RequestFromObject creates a new reconcile.for a object

func ShouldNotReconcile

func ShouldNotReconcile(ctx context.Context, reconciler reconcile.Reconciler, req reconcile.Request, optionalDescription ...interface{})

ShouldNotReconcile reconciles the given reconciler with the given request and expects that an error occurred

func ShouldReconcile

func ShouldReconcile(ctx context.Context, reconciler reconcile.Reconciler, req reconcile.Request, optionalDescription ...interface{}) reconcile.Result

ShouldReconcile reconciles the given reconciler with the given request and expects that no error occurred

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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