controller

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EgressConfigSource added in v0.1.13

type EgressConfigSource interface {
	ListConfigs() ([]provider.EgressConfig, error)
	Config() <-chan provider.EgressConfig
}

type EgressController

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

EgressController is the controller for creating Egress configuration via a provider.

func NewEgressController

func NewEgressController(prov provider.Provider, configSource EgressConfigSource, interval time.Duration) *EgressController

NewEgressController initializes a new EgressController.

func (*EgressController) Run

func (c *EgressController) Run(ctx context.Context)

Run runs the EgressController main loop.

Jump to

Keyboard shortcuts

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