- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ServiceEntry_NONE (0.4 sec)
-
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
{Number: 80, Name: "http-number", Protocol: "http"}, {Number: 8080, Name: "http2-number", Protocol: "http2"}, }, Location: networking.ServiceEntry_MESH_EXTERNAL, Resolution: networking.ServiceEntry_NONE, }, } ) var tcpNone = &config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.ServiceEntry, Name: "tcpNone", Namespace: "tcpNone", CreationTimestamp: GlobalTime,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
} // Reverse in convertServices. Note that enum values are different var resolution networking.ServiceEntry_Resolution switch svc.Resolution { case model.Passthrough: // 2 resolution = networking.ServiceEntry_NONE // 0 case model.DNSLB: // 1 resolution = networking.ServiceEntry_DNS // 2 case model.DNSRoundRobinLB: // 3 resolution = networking.ServiceEntry_DNS_ROUND_ROBIN // 3 case model.ClientSideLB: // 0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/xds/cds_test.go
Ports: []*networking.ServicePort{{ Number: 80, Protocol: "HTTP", Name: "http", }}, SubjectAltNames: []string{"custom"}, Resolution: networking.ServiceEntry_NONE, }, } cases := []struct { name string objs []runtime.Object configs []config.Config sans []string }{ { name: "Kubernetes service and EDS ServiceEntry",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 02:06:39 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
Ports: []*networking.ServicePort{ {Number: 80, Protocol: "http", Name: "http-valid1"}, {Number: 8080, Protocol: "http", Name: "http-valid2"}, }, Resolution: networking.ServiceEntry_NONE, }, valid: true, }, { name: "discovery type none, endpoints provided", in: &networking.ServiceEntry{ Hosts: []string{"google.com"}, Ports: []*networking.ServicePort{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pilot/test/mock/config.go
Host: "job", }, Weight: 80, }, }, }, }, } ExampleServiceEntry = &networking.ServiceEntry{ Hosts: []string{"*.google.com"}, Resolution: networking.ServiceEntry_NONE, Ports: []*networking.ServicePort{ {Number: 80, Name: "http-name", Protocol: "http"}, {Number: 8080, Name: "http2-name", Protocol: "http2"}, }, } ExampleGateway = &networking.Gateway{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 13.2K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if err != nil { return err } for _, se := range ses.Items { if se.Spec.Resolution != networking.ServiceEntry_NONE { continue } changed := false for _, p := range se.Spec.Ports { if p.TargetPort != 0 && p.Number != p.TargetPort { changed = true } } if changed {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/config/validation/validation.go
cidrFound = cidrFound || strings.Contains(address, "/") errs = AppendValidation(errs, agent.ValidateIPSubnet(address)) } if cidrFound { if serviceEntry.Resolution != networking.ServiceEntry_NONE && serviceEntry.Resolution != networking.ServiceEntry_STATIC { errs = AppendValidation(errs, fmt.Errorf("CIDR addresses are allowed only for NONE/STATIC resolution types")) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
}, { name: "different resolution", current: updatedHTTPDNS, new: func() *config.Config { c := updatedHTTPDNS.DeepCopy() c.Spec.(*networking.ServiceEntry).Resolution = networking.ServiceEntry_NONE return &c }(), updated: stringsToHosts(updatedHTTPDNS.Spec.(*networking.ServiceEntry).Hosts), }, { name: "config modified with added/deleted host", current: updatedHTTPDNS,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0)