Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for clients (0.15 sec)

  1. istioctl/pkg/cli/context.go

    }
    
    func (i *instance) CLIClientWithRevision(rev string) (kube.CLIClient, error) {
    	if i.clients == nil {
    		i.clients = make(map[string]kube.CLIClient)
    	}
    	if i.clients[rev] == nil {
    		client, err := newKubeClientWithRevision(*i.kubeconfig, *i.configContext, rev)
    		if err != nil {
    			return nil, err
    		}
    		i.clients[rev] = client
    	}
    	return i.clients[rev], nil
    }
    
    func (i *instance) CLIClient() (kube.CLIClient, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    		return true
    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    		// we should skip such clients and allow
    		// blindly such insecure clients only if
    		// S3 strict compatibility is disabled.
    
    		// We return true only in situations when
    		// deployment has asked MinIO to allow for
    		// such broken clients and content-length > 0.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. cmd/crossdomain-xml-handler.go

    const crossDomainXMLEntity = "/crossdomain.xml"
    
    // A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player
    // or Adobe Acrobat (though not necessarily limited to these), permission to handle data across domains.
    // When clients request content hosted on a particular source domain and that content make requests
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    	// If a mux id is specified that mux is pinged.
    	// Clients send ping requests.
    	OpPing
    
    	// OpPong is a OpPing response returned by the server.
    	OpPong
    
    	// OpConnectMux will connect a new mux with optional payload.
    	OpConnectMux
    
    	// OpMuxConnectError is an  error while connecting a mux.
    	OpMuxConnectError
    
    	// OpDisconnectClientMux instructs a client to disconnect a mux
    	OpDisconnectClientMux
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    func (client *peerRESTClient) String() string {
    	return client.host.String()
    }
    
    // IsOnline returns true if the peer client is online.
    func (client *peerRESTClient) IsOnline() bool {
    	return client.restClient.IsOnline()
    }
    
    // Close - marks the client as closed.
    func (client *peerRESTClient) Close() error {
    	client.restClient.Close()
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. internal/grid/manager.go

    	if m.handlers.hasSubhandler(subID) && !id.isTestHandler() {
    		return fmt.Errorf("handler %v, subroute:%v: %w", id.String(), s, ErrHandlerAlreadyExists)
    	}
    	m.handlers.subSingle[subID] = h
    	// Copy so clients can also pick it up for other subpaths.
    	m.handlers.subSingle[makeZeroSubHandlerID(id)] = h
    	return nil
    }
    
    /*
    // RegisterStateless will register a stateless handler that serves
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. cmd/peer-s3-client.go

    	return toStorageErr(err)
    }
    
    func (client remotePeerS3Client) GetHost() string {
    	return client.node.Host
    }
    
    func (client remotePeerS3Client) GetPools() []int {
    	return client.pools
    }
    
    func (client *remotePeerS3Client) SetPools(p []int) {
    	client.pools = make([]int, len(p))
    	copy(client.pools, p)
    }
    
    // newPeerS3Clients creates new peer clients.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    // about HTTP headers, Set should be used instead of
    // http.Header.Set(...). Otherwise, some S3 clients will not
    // able to extract the ETag.
    func Set(etag ETag, h http.Header) {
    	// Some (broken) S3 clients expect the ETag header to
    	// literally "ETag" - not "Etag". Further, some clients
    	// expect an ETag in double quotes. Therefore, we set the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser.go

    	// credElement is fetched first to skip replacing the space in access key.
    	credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm)
    	// Replace all spaced strings, some clients can send spaced
    	// parameters and some won't. So we pro-actively remove any spaces
    	// to make parsing easier.
    	v4Auth = strings.ReplaceAll(v4Auth, " ", "")
    	if v4Auth == "" {
    		return sv, ErrAuthHeaderEmpty
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    }
    
    type Client struct {
    	client kube.Client
    	remote bool
    }
    
    func getClients(ctx cli.Context) ([]*Client, error) {
    	client, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	clients := []*Client{
    		{
    			client: client,
    			remote: false,
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top