Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newHcnImpl (0.17 sec)

  1. pkg/proxy/winkernel/hns_test.go

    	internalPort      = 80
    	externalPort      = 32440
    )
    
    func TestGetNetworkByName(t *testing.T) {
    	// TODO: remove skip once the test has been fixed.
    	t.Skip("Skipping failing test on Windows.")
    	hns := hns{hcn: newHcnImpl()}
    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    
    	if !strings.EqualFold(network.id, Network.Id) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/hcnutils.go

    	GetSupportedFeatures() hcn.SupportedFeatures
    	Ipv6DualStackSupported() error
    	DsrSupported() error
    	// Policy functions
    	DeleteAllHnsLoadBalancerPolicy()
    }
    
    type hcnImpl struct{}
    
    func newHcnImpl() hcnImpl {
    	return hcnImpl{}
    }
    
    func (hcnObj hcnImpl) GetNetworkByName(networkName string) (*hcn.HostComputeNetwork, error) {
    	return hcn.GetNetworkByName(networkName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 03:08:46 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/proxier.go

    type StackCompatTester interface {
    	DualStackCompatible(networkName string) bool
    }
    
    type DualStackCompatTester struct{}
    
    func (t DualStackCompatTester) DualStackCompatible(networkName string) bool {
    	hcnImpl := newHcnImpl()
    	// First tag of hcsshim that has a proper check for dual stack support is v0.8.22 due to a bug.
    	if err := hcnImpl.Ipv6DualStackSupported(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top