Documentation ¶
Rendered for windows/amd64
Index ¶
- type HcnMock
- func (hcnObj HcnMock) CreateEndpoint(network *hcn.HostComputeNetwork, endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) CreateLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) (*hcn.HostComputeLoadBalancer, error)
- func (hcnObj HcnMock) CreateRemoteEndpoint(network *hcn.HostComputeNetwork, endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) DeleteAllHnsLoadBalancerPolicy()
- func (hcnObj HcnMock) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
- func (hcnObj HcnMock) DeleteLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) error
- func (hcnObj HcnMock) DsrSupported() error
- func (hcnObj HcnMock) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) GetEndpointByName(endpointName string) (*hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) GetLoadBalancerByID(loadBalancerId string) (*hcn.HostComputeLoadBalancer, error)
- func (hcnObj HcnMock) GetNetworkByID(networkID string) (*hcn.HostComputeNetwork, error)
- func (hcnObj HcnMock) GetNetworkByName(networkName string) (*hcn.HostComputeNetwork, error)
- func (hcnObj HcnMock) GetSupportedFeatures() hcn.SupportedFeatures
- func (hcnObj HcnMock) Ipv6DualStackSupported() error
- func (hcnObj HcnMock) ListEndpoints() ([]hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) ListEndpointsOfNetwork(networkId string) ([]hcn.HostComputeEndpoint, error)
- func (hcnObj HcnMock) ListLoadBalancers() ([]hcn.HostComputeLoadBalancer, error)
- func (hcnObj HcnMock) PopulateQueriedEndpoints(epId, hnsId, ipAddress, mac string, prefixLen uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HcnMock ¶
type HcnMock struct {
// contains filtered or unexported fields
}
func NewHcnMock ¶
func NewHcnMock(hnsNetwork *hcn.HostComputeNetwork) *HcnMock
func (HcnMock) CreateEndpoint ¶
func (hcnObj HcnMock) CreateEndpoint(network *hcn.HostComputeNetwork, endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
func (HcnMock) CreateLoadBalancer ¶
func (hcnObj HcnMock) CreateLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) (*hcn.HostComputeLoadBalancer, error)
func (HcnMock) CreateRemoteEndpoint ¶
func (hcnObj HcnMock) CreateRemoteEndpoint(network *hcn.HostComputeNetwork, endpoint *hcn.HostComputeEndpoint) (*hcn.HostComputeEndpoint, error)
func (HcnMock) DeleteAllHnsLoadBalancerPolicy ¶
func (hcnObj HcnMock) DeleteAllHnsLoadBalancerPolicy()
func (HcnMock) DeleteEndpoint ¶
func (hcnObj HcnMock) DeleteEndpoint(endpoint *hcn.HostComputeEndpoint) error
func (HcnMock) DeleteLoadBalancer ¶
func (hcnObj HcnMock) DeleteLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) error
func (HcnMock) DsrSupported ¶
func (HcnMock) GetEndpointByID ¶
func (hcnObj HcnMock) GetEndpointByID(endpointId string) (*hcn.HostComputeEndpoint, error)
func (HcnMock) GetEndpointByName ¶
func (hcnObj HcnMock) GetEndpointByName(endpointName string) (*hcn.HostComputeEndpoint, error)
func (HcnMock) GetLoadBalancerByID ¶
func (hcnObj HcnMock) GetLoadBalancerByID(loadBalancerId string) (*hcn.HostComputeLoadBalancer, error)
func (HcnMock) GetNetworkByID ¶
func (hcnObj HcnMock) GetNetworkByID(networkID string) (*hcn.HostComputeNetwork, error)
func (HcnMock) GetNetworkByName ¶
func (hcnObj HcnMock) GetNetworkByName(networkName string) (*hcn.HostComputeNetwork, error)
func (HcnMock) GetSupportedFeatures ¶
func (hcnObj HcnMock) GetSupportedFeatures() hcn.SupportedFeatures
func (HcnMock) Ipv6DualStackSupported ¶
func (HcnMock) ListEndpoints ¶
func (hcnObj HcnMock) ListEndpoints() ([]hcn.HostComputeEndpoint, error)
func (HcnMock) ListEndpointsOfNetwork ¶
func (hcnObj HcnMock) ListEndpointsOfNetwork(networkId string) ([]hcn.HostComputeEndpoint, error)
func (HcnMock) ListLoadBalancers ¶
func (hcnObj HcnMock) ListLoadBalancers() ([]hcn.HostComputeLoadBalancer, error)
func (HcnMock) PopulateQueriedEndpoints ¶
Click to show internal directories.
Click to hide internal directories.