Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getEndpointByIpAddress (0.75 sec)

  1. pkg/proxy/winkernel/hns.go

    type HostNetworkService interface {
    	getNetworkByName(name string) (*hnsNetworkInfo, error)
    	getAllEndpointsByNetwork(networkName string) (map[string]*endpointInfo, error)
    	getEndpointByID(id string) (*endpointInfo, error)
    	getEndpointByIpAddress(ip string, networkName string) (*endpointInfo, error)
    	getEndpointByName(id string) (*endpointInfo, error)
    	createEndpoint(ep *endpointInfo, networkName string) (*endpointInfo, error)
    	deleteEndpoint(hnsID string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/hns_test.go

    		SchemaVersion: hcn.SchemaVersion{
    			Major: 2,
    			Minor: 0,
    		},
    	}
    	Endpoint, err := Network.CreateEndpoint(Endpoint)
    	if err != nil {
    		t.Error(err)
    	}
    
    	endpoint, err := hns.getEndpointByIpAddress(Endpoint.IpConfigurations[0].IpAddress, Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    	if !strings.EqualFold(endpoint.hnsID, Endpoint.Id) {
    		t.Errorf("%v does not match %v", endpoint.hnsID, Endpoint.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)
Back to top