backend

package
v0.42.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamicResourceController added in v0.42.0

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

NewDynamicResourceController creates a new DynamicResourcePutController.

func NewInertDeleteController added in v0.42.0

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

NewInertDeleteController creates a new InertDeleteController.

func NewInertPutController added in v0.42.0

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

NewInertPutController creates a new InertPutController.

Types

type DynamicResourceController added in v0.42.0

type DynamicResourceController struct {
	ctrl.BaseController
}

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 added in v0.42.0

Run implements the async controller interface.

type InertDeleteController added in v0.42.0

type InertDeleteController struct {
	ctrl.BaseController
}

InertDeleteController is the async operation controller to perform DELETE processing on "inert" dynamic resources.

func (*InertDeleteController) Run added in v0.42.0

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

Run implements the async controller interface.

type InertPutController added in v0.42.0

type InertPutController struct {
	ctrl.BaseController
}

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

func (*InertPutController) Run added in v0.42.0

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

Run implements the async controller interface.

type Service

type Service struct {
	worker.Service
	// contains filtered or unexported fields
}

Service runs the backend for the dynamic-rp.

func NewService

func NewService(options *dynamicrp.Options) *Service

NewService creates a new service to run the dynamic-rp backend.

func (*Service) Name

func (w *Service) Name() string

Name returns the name of the service used for logging.

func (*Service) Run

func (w *Service) Run(ctx context.Context) error

Run runs the service.

Jump to

Keyboard shortcuts

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