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
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
overlaymock
Package overlaymock is a generated GoMock package.
|
Package overlaymock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.