redirector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPriority = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller contains all local information required for reconciliation.

func NewRedirectorController

func NewRedirectorController(data *datastore.Data, log *zap.SugaredLogger) *Controller

NewRedirectorController returns an instantiated controller.

func (*Controller) Reconcile

func (c *Controller) Reconcile() error

Reconcile defines the reconciliation loop.

func (*Controller) ReconcileDelete

func (c *Controller) ReconcileDelete()

ReconcileDelete defines what happens on shutdown.

Jump to

Keyboard shortcuts

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