Help us shape the future of Go! Take the 2026 Go Developer Survey

network

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 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

Jump to

Keyboard shortcuts

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