Documentation
¶
Rendered for windows/amd64
Index ¶
- type HnsV2WrapperInterface
- type Hnsv2wrapper
- func (w Hnsv2wrapper) AddNamespaceEndpoint(namespaceId string, endpointId string) error
- func (Hnsv2wrapper) CreateEndpoint(endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
- func (Hnsv2wrapper) CreateNetwork(network *hcn.HostComputeNetwork) (*hcn.HostComputeNetwork, error)
- func (Hnsv2wrapper) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
- func (Hnsv2wrapper) DeleteNetwork(network *hcn.HostComputeNetwork) error
- func (f Hnsv2wrapper) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
- func (w Hnsv2wrapper) GetNamespaceByID(netNamespacePath string) (*hcn.HostComputeNamespace, error)
- func (w Hnsv2wrapper) GetNetworkByID(networkId string) (*hcn.HostComputeNetwork, error)
- func (w Hnsv2wrapper) RemoveNamespaceEndpoint(namespaceId string, endpointId string) error
- type Hnsv2wrapperFake
- func (Hnsv2wrapperFake) AddNamespaceEndpoint(namespaceId string, endpointId string) error
- func (Hnsv2wrapperFake) CreateEndpoint(endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
- func (f Hnsv2wrapperFake) CreateNetwork(network *hcn.HostComputeNetwork) (*hcn.HostComputeNetwork, error)
- func (Hnsv2wrapperFake) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
- func (f Hnsv2wrapperFake) DeleteNetwork(network *hcn.HostComputeNetwork) error
- func (f Hnsv2wrapperFake) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
- func (Hnsv2wrapperFake) GetNamespaceByID(netNamespacePath string) (*hcn.HostComputeNamespace, error)
- func (f Hnsv2wrapperFake) GetNetworkByID(networkId string) (*hcn.HostComputeNetwork, error)
- func (Hnsv2wrapperFake) RemoveNamespaceEndpoint(namespaceId string, endpointId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HnsV2WrapperInterface ¶
type HnsV2WrapperInterface interface {
CreateEndpoint(endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
CreateNetwork(network *hcn.HostComputeNetwork) (*hcn.HostComputeNetwork, error)
DeleteNetwork(network *hcn.HostComputeNetwork) error
GetNamespaceByID(netNamespacePath string) (*hcn.HostComputeNamespace, error)
AddNamespaceEndpoint(namespaceId string, endpointId string) error
RemoveNamespaceEndpoint(namespaceId string, endpointId string) error
GetNetworkByID(networkId string) (*hcn.HostComputeNetwork, error)
GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
}
type Hnsv2wrapper ¶
type Hnsv2wrapper struct {
}
func (Hnsv2wrapper) AddNamespaceEndpoint ¶
func (w Hnsv2wrapper) AddNamespaceEndpoint(namespaceId string, endpointId string) error
func (Hnsv2wrapper) CreateEndpoint ¶
func (Hnsv2wrapper) CreateEndpoint(endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
func (Hnsv2wrapper) CreateNetwork ¶
func (Hnsv2wrapper) CreateNetwork(network *hcn.HostComputeNetwork) (*hcn.HostComputeNetwork, error)
func (Hnsv2wrapper) DeleteEndpoint ¶
func (Hnsv2wrapper) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
func (Hnsv2wrapper) DeleteNetwork ¶
func (Hnsv2wrapper) DeleteNetwork(network *hcn.HostComputeNetwork) error
func (Hnsv2wrapper) GetEndpointByID ¶
func (f Hnsv2wrapper) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
func (Hnsv2wrapper) GetNamespaceByID ¶
func (w Hnsv2wrapper) GetNamespaceByID(netNamespacePath string) (*hcn.HostComputeNamespace, error)
func (Hnsv2wrapper) GetNetworkByID ¶
func (w Hnsv2wrapper) GetNetworkByID(networkId string) (*hcn.HostComputeNetwork, error)
func (Hnsv2wrapper) RemoveNamespaceEndpoint ¶
func (w Hnsv2wrapper) RemoveNamespaceEndpoint(namespaceId string, endpointId string) error
type Hnsv2wrapperFake ¶
type Hnsv2wrapperFake struct {
}
func (Hnsv2wrapperFake) AddNamespaceEndpoint ¶
func (Hnsv2wrapperFake) AddNamespaceEndpoint(namespaceId string, endpointId string) error
func (Hnsv2wrapperFake) CreateEndpoint ¶
func (Hnsv2wrapperFake) CreateEndpoint(endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
func (Hnsv2wrapperFake) CreateNetwork ¶
func (f Hnsv2wrapperFake) CreateNetwork(network *hcn.HostComputeNetwork) (*hcn.HostComputeNetwork, error)
func (Hnsv2wrapperFake) DeleteEndpoint ¶
func (Hnsv2wrapperFake) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
func (Hnsv2wrapperFake) DeleteNetwork ¶
func (f Hnsv2wrapperFake) DeleteNetwork(network *hcn.HostComputeNetwork) error
func (Hnsv2wrapperFake) GetEndpointByID ¶
func (f Hnsv2wrapperFake) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
func (Hnsv2wrapperFake) GetNamespaceByID ¶
func (Hnsv2wrapperFake) GetNamespaceByID(netNamespacePath string) (*hcn.HostComputeNamespace, error)
func (Hnsv2wrapperFake) GetNetworkByID ¶
func (f Hnsv2wrapperFake) GetNetworkByID(networkId string) (*hcn.HostComputeNetwork, error)
func (Hnsv2wrapperFake) RemoveNamespaceEndpoint ¶
func (Hnsv2wrapperFake) RemoveNamespaceEndpoint(namespaceId string, endpointId string) error
Click to show internal directories.
Click to hide internal directories.