network

package
Version: v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 17 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
overlaymock
Package overlaymock is a generated GoMock package.
Package overlaymock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL