controller

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamicResourceController

func NewDynamicResourceController(opts ctrl.Options, ucp *v20231001preview.ClientFactory, engine engine.Engine, configurationLoader configloader.ConfigurationLoader) (ctrl.Controller, error)

NewDynamicResourceController creates a new DynamicResourcePutController.

func NewInertDeleteController

func NewInertDeleteController(opts ctrl.Options) (ctrl.Controller, error)

NewInertDeleteController creates a new InertDeleteController.

func NewInertPutController

func NewInertPutController(opts ctrl.Options) (ctrl.Controller, error)

NewInertPutController creates a new InertPutController.

func NewRecipeDeleteController

func NewRecipeDeleteController(opts ctrl.Options, engine engine.Engine, configurationLoader configloader.ConfigurationLoader) (ctrl.Controller, error)

NewRecipeDeleteController creates a new RecipeDeleteController.

func NewRecipePutController

func NewRecipePutController(opts ctrl.Options, engine engine.Engine, configurationLoader configloader.ConfigurationLoader) (ctrl.Controller, error)

NewRecipePutController creates a new RecipePutController.

Types

type DynamicResourceController

type DynamicResourceController struct {
	ctrl.BaseController
	// contains filtered or unexported fields
}

DynamicResourceController is the async operation controller to perform processing on dynamic resources.

This controller will use the capabilities and the operation to determine the correct controller to use.

func (*DynamicResourceController) Run

Run implements the async controller interface.

type InertDeleteController

type InertDeleteController struct {
	ctrl.BaseController
}

InertDeleteController is the async operation controller to perform DELETE processing on dynamic resources not deployed using recipes.

func (*InertDeleteController) Run

func (c *InertDeleteController) Run(ctx context.Context, request *ctrl.Request) (ctrl.Result, error)

Run executes the deletion of a dynamic resource from the database. It implements the async controller interface and returns an error if the deletion fails.

type InertPutController

type InertPutController struct {
	ctrl.BaseController
}

InertPutController is the async operation controller to perform PUT processing on "inert" dynamic resources.

func (*InertPutController) Run

func (c *InertPutController) Run(ctx context.Context, request *ctrl.Request) (ctrl.Result, error)

Run implements the async controller interface.

type RecipeDeleteController

type RecipeDeleteController struct {
	ctrl.BaseController
	// contains filtered or unexported fields
}

RecipeDeleteController is the async operation controller to perform DELETE processing on dynamic resources deployed using recipes.

func (*RecipeDeleteController) Run

Run processes DELETE operations for dynamic resources deployed using recipes. It creates and delegates the request to DeleteResource controller to handle the deletion.

type RecipePutController

type RecipePutController struct {
	ctrl.BaseController
	// contains filtered or unexported fields
}

RecipePutController is the async operation controller to perform PUT processing on "recipe" dynamic resources.

func (*RecipePutController) Run

func (c *RecipePutController) Run(ctx context.Context, request *ctrl.Request) (ctrl.Result, error)

Run processes PUT operations for dynamic resources deployed using recipes. It creates and delegates the request to CreateOrUpdateResource controller to handle the operation.

Jump to

Keyboard shortcuts

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