Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for xdsserver (0.15 sec)

  1. pkg/istio-agent/grpcxds/grpc_bootstrap.go

    // See https://github.com/grpc/grpc-go/blob/master/xds/internal/xdsclient/bootstrap/bootstrap.go
    // TODO use structs from gRPC lib if created/exported
    type Bootstrap struct {
    	XDSServers                 []XdsServer                    `json:"xds_servers,omitempty"`
    	Node                       *core.Node                     `json:"node,omitempty"`
    	CertProviders              map[string]CertificateProvider `json:"certificate_providers,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/servicecontroller.go

    func (s *Server) initServiceControllers(args *PilotArgs) error {
    	serviceControllers := s.ServiceController()
    
    	s.serviceEntryController = serviceentry.NewController(
    		s.configController, s.XDSServer,
    		s.environment.Watcher,
    		serviceentry.WithClusterID(s.clusterID),
    	)
    	serviceControllers.AddRegistry(s.serviceEntryController)
    
    	registered := sets.New[provider.ID]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/test/echo/server/endpoint/grpc.go

    		Config: config,
    		f:      forwarder.New(),
    	}
    }
    
    func (s *grpcInstance) GetConfig() Config {
    	return s.Config
    }
    
    func (s *grpcInstance) newServer(opts ...grpc.ServerOption) grpcServer {
    	if s.Port.XDSServer {
    		if len(s.Port.XDSTestBootstrap) > 0 {
    			opts = append(opts, xds.BootstrapContentsForTesting(s.Port.XDSTestBootstrap))
    		}
    		epLog.Infof("Using xDS for serverside gRPC on %d", s.Port.Port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/templates/deployment.yaml

              - --forwarding_address=0.0.0.0:{{ $appContainer.FallbackPort }}
    {{- end }}
              - --metrics=15014
              - --cluster={{ $cluster }}
    {{- range $i, $p := $appContainer.ContainerPorts }}
    {{- if and $p.XDSServer (eq .Protocol "GRPC") }}
              - --xds-grpc-server={{ $p.Port }}
    {{- else if eq .Protocol "GRPC" }}
              - --grpc={{ $p.Port }}
    {{- else if eq .Protocol "TCP" }}
              - --tcp={{ $p.Port }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pkg/test/echo/cmd/server/main.go

    				ports[portIndex] = &common.Port{
    					Name:        "grpc-" + strconv.Itoa(i),
    					Protocol:    protocol.GRPC,
    					Port:        p,
    					TLS:         tlsByPort[p],
    					ServerFirst: serverFirstByPort[p],
    					XDSServer:   xdsGRPCByPort[p],
    				}
    				portIndex++
    			}
    			for i, p := range tcpPorts {
    				ports[portIndex] = &common.Port{
    					Name:        "tcp-" + strconv.Itoa(i),
    					Protocol:    protocol.TCP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/grpcecho_test.go

    		ip := fmt.Sprintf("127.0.0.%d", i+1)
    
    		ep, err := endpoint.New(endpoint.Config{
    			Port: &common.Port{
    				Name:             "grpc",
    				Port:             0,
    				Protocol:         protocol.GRPC,
    				XDSServer:        true,
    				XDSReadinessTLS:  s.tls,
    				XDSTestBootstrap: GRPCBootstrap("echo-"+s.version, s.namespace, ip, xdsPort),
    			},
    			ListenerIP: ip,
    			Version:    s.version,
    		})
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. pkg/test/echo/server/instance.go

    	}
    	return "", fmt.Errorf("--bind-ip set but INSTANCE_IP undefined")
    }
    
    func (s *Instance) newEndpoint(port *common.Port, listenerIP string, udsServer string) (endpoint.Instance, error) {
    	return endpoint.New(endpoint.Config{
    		Port:          port,
    		UDSServer:     udsServer,
    		IsServerReady: s.isReady,
    		Version:       s.Version,
    		Cluster:       s.Cluster,
    		TLSCert:       s.TLSCert,
    		TLSKey:        s.TLSKey,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 07:54:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. pkg/log/uds_test.go

    // limitations under the License.
    
    package log
    
    import (
    	"encoding/json"
    	"io"
    	"net"
    	"net/http"
    	"path/filepath"
    	"reflect"
    	"testing"
    	"time"
    )
    
    type udsServer struct {
    	messages []string
    }
    
    func (us *udsServer) handleLog(w http.ResponseWriter, r *http.Request) {
    	var body []byte
    	if r.Body != nil {
    		if data, err := io.ReadAll(r.Body); err == nil {
    			body = data
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. pkg/test/echo/server/endpoint/instance.go

    type OnReadyFunc func()
    
    // Config for a single endpoint Instance.
    type Config struct {
    	IsServerReady IsServerReadyFunc
    	Version       string
    	Cluster       string
    	TLSCert       string
    	TLSKey        string
    	UDSServer     string
    	Dialer        common.Dialer
    	Port          *common.Port
    	ListenerIP    string
    	IstioVersion  string
    	Namespace     string
    	DisableALPN   bool
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/AbstractGcsDependencyResolutionTest.groovy

    abstract class AbstractGcsDependencyResolutionTest extends AbstractDependencyResolutionTest {
    
        @Rule
        public final GcsServer server = new GcsServer(temporaryFolder)
    
        def setup() {
            executer.withArgument('-i')
            executer.withArgument("-D${GCS_ENDPOINT_PROPERTY}=${server.uri}")
            executer.withArgument("-D${GCS_SERVICE_PATH_PROPERTY}=/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top