provider

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRoutes added in v0.2.0

func GenerateRoutes(configs map[Resource]map[string]*net.IPNet) map[string]struct{}

GenerateRoutes generates the minimal number of needed routes based on a set of routing configurations.

func NewAlreadyExistsError added in v0.1.4

func NewAlreadyExistsError(msg string) error

func NewDoesNotExistError added in v0.1.4

func NewDoesNotExistError(msg string) error

Types

type AlreadyExistsError added in v0.1.4

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

func (*AlreadyExistsError) Error added in v0.1.4

func (error *AlreadyExistsError) Error() string

type DoesNotExistError added in v0.1.4

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

func (*DoesNotExistError) Error added in v0.1.4

func (error *DoesNotExistError) Error() string

type EgressConfig added in v0.1.11

type EgressConfig struct {
	Resource
	IPAddresses map[string]*net.IPNet
}

type Provider

type Provider interface {
	Ensure(configs map[Resource]map[string]*net.IPNet) error
	String() string
}

type Resource added in v0.1.11

type Resource struct {
	Name      string
	Namespace string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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