- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DeleteLoadBalancer (0.25 sec)
-
pkg/proxy/winkernel/hcnutils.go
GetLoadBalancerByID(loadBalancerId string) (*hcn.HostComputeLoadBalancer, error) CreateLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) (*hcn.HostComputeLoadBalancer, error) DeleteLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) error // Features functions GetSupportedFeatures() hcn.SupportedFeatures Ipv6DualStackSupported() error DsrSupported() error // Policy functions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 03:08:46 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/proxy/winkernel/hns.go
} // Add to map of load balancers previousLoadBalancers[id] = lbInfo return lbInfo, err } func (hns hns) deleteLoadBalancer(hnsID string) error { lb, err := hns.hcn.GetLoadBalancerByID(hnsID) if err != nil { // Return silently return nil } err = hns.hcn.DeleteLoadBalancer(lb) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 21:21:12 UTC 2023 - 15K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier.go
) if lbIdErr != nil { return proxier.deleteLoadBalancer(hns, lbHnsID) } if _, ok := queriedLoadBalancers[lbID]; ok { // The existing loadbalancer in the system is same as what we try to delete and recreate. So we skip deleting. return false } return proxier.deleteLoadBalancer(hns, lbHnsID) } func (proxier *Proxier) deleteLoadBalancer(hns HostNetworkService, lbHnsID *string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 59K bytes - Viewed (0) -
pkg/proxy/winkernel/testing/hcnutils_mock.go
} loadBalancer.Id = hcnObj.generateLoadbalancerGuid() loadbalancerMap[loadBalancer.Id] = loadBalancer return loadBalancer, nil } func (hcnObj HcnMock) DeleteLoadBalancer(loadBalancer *hcn.HostComputeLoadBalancer) error { if _, ok := loadbalancerMap[loadBalancer.Id]; !ok { return hcn.LoadBalancerNotFoundError{LoadBalancerId: loadBalancer.Id} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 18 06:29:01 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/proxy/winkernel/hns_test.go
hcn.LoadBalancerPortMappingFlagsNone, sourceVip, []string{serviceVip}, protocol, internalPort, externalPort, ) if err != nil { t.Error(err) } err = hns.deleteLoadBalancer(LoadBalancer.Id) if err != nil { t.Error(err) } // Load balancer should not longer exist LoadBalancer, err = hcn.GetLoadBalancerByID(LoadBalancer.Id) if err == nil { t.Error(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 15.4K bytes - Viewed (0)