allocator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocator

type Allocator interface {
	CustomizeGateway(ret *current.Result) (*current.Result, error)
	CustomizeRoutes(ret *current.Result) (*current.Result, error)
	CustomizeDNS(ret *current.Result) (*current.Result, error)
	AddServiceRoute(ret *current.Result, serviceClusterIPRange string, nodeIPs []string) (*current.Result, error)

	Allocate(id string) (*current.IPConfig, error)
}

Allocator is the interface for allocator

type Cleaner

type Cleaner interface {
	Clean(id string) error
}

Cleaner is the interface for cleaner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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