network

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	List(ctx context.Context) ([]types.Network, error)
	Create(ctx context.Context, params params.NetworkCreate) (types.Network, error)
	Ensure(ctx context.Context, network types.Network) error
	Deactivate(ctx context.Context, network types.Network) error
	Delete(ctx context.Context, network types.Network, a ipallocator.IPAllocator) error
	Exists(ctx context.Context, id string) (types.Network, bool, error)
}

func NewRepository

func NewRepository(config *config.Config, store store.Store, managers netmanager.ManagerMap) Repository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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