controller

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SwitchoverAnnotationKeyPath = []string{"metadata", "annotations", usecase.SwitchoverAnnotationKey}

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(config *config.Config) *Controller

func (*Controller) Run

func (ctr *Controller) Run()

func (*Controller) WithFunc

func (ctr *Controller) WithFunc(controllerFunc func(request entity.ControllerRequest) (entity.ControllerResponse, error)) *Controller

func (*Controller) WithRetry

func (ctr *Controller) WithRetry(attempts uint, delay time.Duration) *Controller

Jump to

Keyboard shortcuts

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