Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for provide (0.27 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    type Option func(*KeycloakProvider)
    
    // WithTransport provide custom transport
    func WithTransport(transport http.RoundTripper) Option {
    	return func(p *KeycloakProvider) {
    		p.client = http.Client{
    			Transport: transport,
    		}
    	}
    }
    
    // WithOpenIDConfig provide OpenID Endpoint configuration discovery document
    func WithOpenIDConfig(oeConfig DiscoveryDoc) Option {
    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)
  2. istioctl/pkg/install/k8sversion/version.go

    func extractKubernetesVersion(versionInfo *version.Info) (int, error) {
    	ver, err := goversion.NewVersion(versionInfo.String())
    	if err != nil {
    		return 0, fmt.Errorf("could not parse %v", err)
    	}
    	// Segments provide slice of int eg: v1.19.1 => [1, 19, 1]
    	num := ver.Segments()[1]
    	return num, nil
    }
    
    // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 02:07:51 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide an appropriate secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSSECustomerKeyMD5: {
    		Code:           "InvalidArgument",
    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide the client calculated MD5 of the secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. docs/iam/access-manager-plugin.go

    }
    
    func main() {
    	flag.Parse()
    	serveFunc := func() error {
    		return http.ListenAndServe(":8080", nil)
    	}
    
    	if certFile != "" || keyFile != "" {
    		if certFile == "" || keyFile == "" {
    			log.Fatal("Please provide both a key file and a cert file to enable TLS.")
    		}
    		serveFunc = func() error {
    			return http.ListenAndServeTLS(":8080", certFile, keyFile, nil)
    		}
    	}
    
    	http.HandleFunc("/", mainHandler)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		// Make sure to return object info to provide extra information.
    		return objInfo, wquorum, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	if fi.Deleted {
    		if opts.VersionID == "" || opts.DeleteMarker {
    			return objInfo, wquorum, toObjectErr(errFileNotFound, bucket, object)
    		}
    		// Make sure to return object info to provide extra information.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. internal/grid/types.go

    }
    
    // NewBytesWith returns a new Bytes with the provided content.
    // When sent as a parameter, the caller gives up ownership of the byte slice.
    // When returned as response, the handler also gives up ownership of the byte slice.
    func NewBytesWith(b []byte) *Bytes {
    	bb := Bytes(b)
    	return &bb
    }
    
    // NewBytesWithCopyOf returns a new byte slice with a copy of the provided content.
    func NewBytesWithCopyOf(b []byte) *Bytes {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    			return
    		}
    		if debugPrint {
    			fmt.Printf("handler: Got Connect Req %+v\n", cReq)
    		}
    		writeErr(remote.handleIncoming(ctx, conn, cReq))
    	}
    }
    
    // AuthFn should provide an authentication string for the given aud.
    type AuthFn func(aud string) string
    
    // Connection will return the connection for the specified host.
    // If the host does not exist nil will be returned.
    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)
  8. cmd/object-api-errors.go

    type InvalidArgument GenericError
    
    func (e InvalidArgument) Error() string {
    	if e.Err != nil {
    		return "Invalid arguments provided for " + e.Bucket + "/" + e.Object + ": (" + e.Err.Error() + ")"
    	}
    	return "Invalid arguments provided for " + e.Bucket + "/" + e.Object
    }
    
    // BucketNotFound bucket does not exist.
    type BucketNotFound GenericError
    
    func (e BucketNotFound) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  10. internal/config/errors.go

    		"Invalid endpoint(s) in erasure mode",
    		"Please provide correct combination of local/remote paths",
    		"For more information, please refer to https://min.io/docs/minio/linux/operations/concepts/erasure-coding.html",
    	)
    
    	ErrInvalidNumberOfErasureEndpoints = newErrFn(
    		"Invalid total number of endpoints for erasure mode",
    		"Please provide number of endpoints greater or equal to 2",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top