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 ¶
func NewController(logger logging.Logger, c client.Client, scheme *runtime.Scheme, config *config.LandscaperServiceConfiguration) (reconcile.Reconciler, error)
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.
Click to show internal directories.
Click to hide internal directories.