landscaperdeployments

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddControllerToManager

func AddControllerToManager(logger logging.Logger, mgr manager.Manager, config *config.LandscaperServiceConfiguration) error

AddControllerToManager adds the landscaperdeployments controller to the manager

func NewController

NewController returns a new landscaperdeployments controller

Types

type Controller

type Controller struct {
	operation.Operation

	UniqueIDFunc func() string

	ReconcileFunc    func(ctx context.Context, deployment *lssv1alpha1.LandscaperDeployment) error
	HandleDeleteFunc func(ctx context.Context, deployment *lssv1alpha1.LandscaperDeployment) error
	// contains filtered or unexported fields
}

Controller is the landscaperdeployments controller

func NewTestActuator

func NewTestActuator(op operation.Operation, logger logging.Logger) *Controller

NewTestActuator creates a new controller for testing purposes.

func (*Controller) NewUniqueID

func (c *Controller) NewUniqueID() string

NewUniqueID creates a new unique id string with a length of 8.

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile reconciles requests for landscaperdeployments

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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