testing

package
v1.31.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

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 (hcnObj HcnMock) DsrSupported() error

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 (hcnObj HcnMock) Ipv6DualStackSupported() error

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

func (hcnObj HcnMock) PopulateQueriedEndpoints(epId, hnsId, ipAddress, mac string, prefixLen uint8)

func (HcnMock) UpdateLoadBalancer added in v1.31.0

func (hcnObj HcnMock) UpdateLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer, hnsLbID string) (*hcn.HostComputeLoadBalancer, error)

Jump to

Keyboard shortcuts

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