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