Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 597 for opzione (0.18 sec)

  1. docs/sts/assume-role.go

    	if minioUsername == "" || minioPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// STS API.
    
    	// Initialize credential options
    	var stsOpts cr.STSAssumeRoleOptions
    	stsOpts.AccessKey = minioUsername
    	stsOpts.SecretKey = minioPassword
    
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  2. internal/http/server.go

    type Server struct {
    	http.Server
    	Addrs           []string      // addresses on which the server listens for new connection.
    	TCPOptions      TCPOptions    // all the configurable TCP conn specific configurable options.
    	ShutdownTimeout time.Duration // timeout used for graceful server shutdown.
    	listenerMutex   sync.Mutex    // to guard 'listener' field.
    	listener        *httpListener // HTTP listener for all 'Addrs' field.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/sts/custom-token-identity.go

    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatalf("Error parsing sts endpoint: %v", err)
    	}
    	copts := &minio.Options{
    		Creds:  li,
    		Secure: stsEndpointURL.Scheme == "https",
    	}
    	minioClient, err := minio.New(stsEndpointURL.Host, copts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  4. internal/mountinfo/mountinfo_linux.go

    		if _, err := strconv.Atoi(fields[5]); err != nil {
    			return nil, err
    		}
    
    		mounts = append(mounts, mountInfo{
    			Device:  fields[0],
    			Path:    fields[1],
    			FSType:  fields[2],
    			Options: strings.Split(fields[3], ","),
    			Freq:    fields[4],
    			Pass:    fields[5],
    		})
    	}
    	return mounts, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  5. docs/debugging/s3-check-md5/main.go

    	if err != nil {
    		log.Fatalln(err)
    	}
    	if insecure {
    		// skip TLS verification
    		transport.TLSClientConfig.InsecureSkipVerify = true
    	}
    
    	s3Client, err := minio.New(u.Host, &minio.Options{
    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	if debug {
    		s3Client.TraceOn(os.Stderr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. internal/config/dns/operator_dns.go

    type OperatorDNS struct {
    	httpClient *http.Client
    	Endpoint   string
    	rootCAs    *x509.CertPool
    	username   string
    	password   string
    }
    
    // OperatorOption - functional options pattern style for OperatorDNS
    type OperatorOption func(*OperatorDNS)
    
    // Authentication - custom username and password for authenticating at the endpoint
    func Authentication(username, password string) OperatorOption {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. internal/config/identity/openid/provider/keycloak.go

    	}
    	return User{}, fmt.Errorf("Unable to lookup %s - keycloak user lookup returned %v", userid, resp.Status)
    }
    
    // Option is a function type that accepts a pointer Target
    type Option func(*KeycloakProvider)
    
    // WithTransport provide custom transport
    func WithTransport(transport http.RoundTripper) Option {
    	return func(p *KeycloakProvider) {
    		p.client = http.Client{
    			Transport: transport,
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  8. docs/extensions/s3zip/examples/minio-go/main.go

    import (
    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  9. cmd/testdata/config/invalid.yaml

            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
      ftp: # settings for MinIO to act as an ftp server
            address: ':8021'
            passive-port-range: '30000-40000'
      sftp: # settings for MinIO to act as an sftp server
            address: ':8022'
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 866 bytes
    - Viewed (0)
  10. cmd/lock-rest-server-common.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 973 bytes
    - Viewed (0)
Back to top