Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Larsen (0.26 sec)

  1. cni/cmd/istio-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    // First register the HTTP handler for NewMultipartUpload, then a HTTP request for NewMultipart upload is made.
    // The UploadID from the response body is parsed and its existence is asserted with an attempt to ListParts using it.
    func TestAPINewMultipartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecObjectLayerAPITest(t, testAPINewMultipartHandler, []string{"NewMultipart"})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. scan.go

    		if isPtr {
    			reflectValueType = reflectValueType.Elem()
    		}
    
    		if sch != nil {
    			if reflectValueType != sch.ModelType && reflectValueType.Kind() == reflect.Struct {
    				sch, _ = schema.Parse(db.Statement.Dest, db.cacheStore, db.NamingStrategy)
    			}
    
    			if len(columns) == 1 {
    				// Is Pluck
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	if !owner {
    		return errAuthentication
    	}
    
    	if claims.Audience != r.URL.RawQuery {
    		return errAuthentication
    	}
    
    	requestTimeStr := r.Header.Get("X-Minio-Time")
    	requestTime, err := time.Parse(time.RFC3339, requestTimeStr)
    	if err != nil {
    		return errMalformedAuth
    	}
    	utcNow := UTCNow()
    	delta := requestTime.Sub(utcNow)
    	if delta < 0 {
    		delta *= -1
    	}
    	if delta > DefaultSkewTime {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    }
    
    func (d *PolicyDoc) update(p policy.Policy) {
    	now := UTCNow().Round(time.Millisecond)
    	d.UpdateDate = now
    	if d.CreateDate.IsZero() {
    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/xl-storage.go

    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    		return nil
    	})
    	if err != nil {
    		return err
    	}
    	wantDirs, err := xl.getDataDirs()
    	if err != nil {
    		return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top