- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getIPFamilyPolicy (0.14 sec)
-
pkg/registry/core/service/strategy.go
return reflect.DeepEqual(oldSvc.Spec.IPFamilies, newSvc.Spec.IPFamilies) } func getIPFamilyPolicy(svc *api.Service) string { if svc.Spec.IPFamilyPolicy == nil { return "" } return string(*svc.Spec.IPFamilyPolicy) } func sameIPFamilyPolicy(oldSvc, newSvc *api.Service) bool { return getIPFamilyPolicy(oldSvc) == getIPFamilyPolicy(newSvc) } func needsNodePort(svc *api.Service) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
} //TODO(thockin): Move this logic to validation? el := make(field.ErrorList, 0) // Update-only prep work. if oldService != nil { if getIPFamilyPolicy(service) == api.IPFamilyPolicySingleStack { // As long as ClusterIPs and IPFamilies have not changed, setting // the policy to single-stack is clear intent. // ClusterIPs[0] is immutable, so it is safe to keep.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0) -
pkg/registry/core/service/strategy_test.go
} if !reflect.DeepEqual(result.Spec.IPFamilyPolicy, tc.expect.Spec.IPFamilyPolicy) { t.Errorf("expected ipFamilyPolicy %q, got %q", getIPFamilyPolicy(tc.expect), getIPFamilyPolicy(result)) } for i := range result.Spec.Ports { resultPort := result.Spec.Ports[i].NodePort expectPort := tc.expect.Spec.Ports[i].NodePort if resultPort != expectPort {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/values_types.pb.go
} return nil } func (x *EgressGatewayConfig) GetIpFamilies() []string { if x != nil { return x.IpFamilies } return nil } func (x *EgressGatewayConfig) GetIpFamilyPolicy() string { if x != nil { return x.IpFamilyPolicy } return "" } // Configuration for gateways. type GatewaysConfig struct { state protoimpl.MessageState
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 329.6K bytes - Viewed (0)