Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 1,759 for interface (0.06 sec)

  1. internal/handlers/forwarder.go

    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    func newBufPool(sz int) httputil.BufferPool {
    	return &bufPool{sz: sz, pool: sync.Pool{
    		New: func() interface{} {
    			buf := make([]byte, sz)
    			return &buf
    		},
    	}}
    }
    
    // ServeHTTP forwards HTTP traffic using the configured transport
    func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    func getClaimsFromToken(token string) (map[string]interface{}, error) {
    	jwtClaims, err := getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey)
    	if err != nil {
    		return nil, err
    	}
    	return jwtClaims.Map(), nil
    }
    
    // Fetch claims in the security token returned by the client and validate the token.
    func checkClaimsFromToken(r *http.Request, cred auth.Credentials) (map[string]interface{}, APIErrorCode) {
    	token := getSessionToken(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. LICENSES/vendor/github.com/container-storage-interface/spec/LICENSE

    = vendor/github.com/container-storage-interface/spec licensed under: =
    
                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  4. docs/sts/ldap.go

    }
    
    func main() {
    	flag.Parse()
    	if ldapUsername == "" || ldapPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// LDAP STS API.
    
    	// Initialize LDAP credentials
    	var ldapOpts []cr.LDAPIdentityOpt
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

    /**
     * Checks the model for missing or invalid values.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelValidator {
        /**
         * Checks the specified file model for missing or invalid values. This model is directly created from the POM
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/PrimitiveSink.java

    /**
     * An object which can receive a stream of primitive values.
     *
     * @author Kevin Bourrillion
     * @since 12.0 (in 11.0 as {@code Sink})
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
       *
       * @param b a byte
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putByte(byte b);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. internal/s3select/sql/evaluate.go

    			return nil, errInvalidKeypath
    		}
    		return r.Get(pathExpr[len(pathExpr)-1].Key.keyString())
    	}
    }
    
    // jsonToValue will convert the json value to an internal value.
    func jsonToValue(result interface{}) (*Value, error) {
    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/server_test.go

    		).Return(nil)
    	}
    }
    
    func getFakeDPWithIPSet(fs *fakeServer, fakeClient kubernetes.Interface, fakeSet ipset.IPSet) *meshDataplane {
    	return &meshDataplane{
    		kubeClient:         fakeClient,
    		netServer:          fs,
    		hostsideProbeIPSet: fakeSet,
    	}
    }
    
    func getFakeDP(fs *fakeServer, fakeClient kubernetes.Interface) *meshDataplane {
    	fakeIPSetDeps := ipset.FakeNLDeps()
    
    	fakeIPSetDeps.On("addIP",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top