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
Click to show internal directories.
Click to hide internal directories.