Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOption ¶
type CreateOption = dnetwork.CreateOptions
type InspectOption ¶
type ListOption ¶
type Network ¶
type Network interface {
List(ctx context.Context, opts ...func(*ListOption)) ([]types.NetworkResource, error)
Inspect(ctx context.Context, id string, opts ...func(*InspectOption)) (types.NetworkResource, error)
//
Create(ctx context.Context, name string, opts ...func(*CreateOption)) (types.NetworkCreateResponse, error)
Remove(ctx context.Context, id string, opts ...func(opt *RemoveOption)) error
//
Prune(ctx context.Context, opts ...func(opt *PruneOption)) (types.NetworksPruneReport, error)
}
type PruneOption ¶
type RemoveOption ¶
type RemoveOption struct {
}
Click to show internal directories.
Click to hide internal directories.