Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 147 for Kull (0.14 sec)

  1. tests/embedded_struct_test.go

    	}
    }
    
    type Content struct {
    	Content interface{} `gorm:"type:String"`
    }
    
    func (c Content) Value() (driver.Value, error) {
    	// mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530,
    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    	str, ok := src.(string)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    const (
    	psqlTableExists          = `SELECT 1 FROM %s;`
    	psqlCreateNamespaceTable = `CREATE TABLE %s (key VARCHAR PRIMARY KEY, value JSONB);`
    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	// Empty fi.VersionID indicates that versioning is either
    	// suspended or disabled on this bucket. RenameData will replace
    	// the 'null' version. We add a free-version to track its tiered
    	// content for asynchronous deletion.
    	//
    	// Note: RestoreObject and HealObject requests don't end up replacing the
    	// null version and therefore don't require the free-version to track
    	// anything
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    		return grid.NewRemoteErr(errDiskNotFound)
    	}
    	if params.Cache == nil {
    		return grid.NewRemoteErrString("NSScannerHandler: provided cache is nil")
    	}
    
    	// Collect updates, stream them before the full cache is sent.
    	updates := make(chan dataUsageEntry, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for update := range updates {
    			resp := storageNSScannerRPC.NewResponse()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. tests/create_test.go

    	}
    }
    
    func TestCreateOnConflictWithDefaultNull(t *testing.T) {
    	type OnConflictUser struct {
    		ID     string
    		Name   string `gorm:"default:null"`
    		Email  string
    		Mobile string `gorm:"default:'133xxxx'"`
    	}
    
    	err := DB.Migrator().DropTable(&OnConflictUser{})
    	AssertEqual(t, err, nil)
    	err = DB.AutoMigrate(&OnConflictUser{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    	// we read the package containing the last desired byte).
    	endEncOffset := encCumulativeSum + (endPkgNum+1)*sseDAREEncPackageBlockSize
    	// Check if the DARE package containing the end offset is a
    	// full sized package (as the last package in the part may be
    	// smaller)
    	lastPartSize, _ := sio.EncryptedSize(uint64(sizes[partEnd]))
    	if endEncOffset > encCumulativeSum+int64(lastPartSize) {
    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)
  8. cmd/object-api-listobjects_test.go

    		meta            map[string]string
    		versionID       string
    		expectDelMarker bool
    	}{
    		{testBuckets[0], "delete-file", "contentstring", nil, "", true},
    		{testBuckets[1], "delete-file", "contentstring", nil, "null", false},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    		_, err := obj.PutObject(context.Background(), object.parentBucket, object.name,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. tests/migrate_test.go

    		// sqlserver driver treats NULL and 'NULL' the same
    		t.Skip("skip sqlserver")
    	}
    
    	type NullModel struct {
    		ID      uint
    		Content string `gorm:"default:null"`
    	}
    
    	type NullStringModel struct {
    		ID      uint
    		Content string `gorm:"default:'null'"`
    		Active  bool   `gorm:"default:false"`
    	}
    
    	tableName := "null_string_model"
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/kubectl_factory.go

    	return f.full.UnstructuredClientForMapping(mapping)
    }
    
    func (f Factory) Validator(validationDirective string) (validation.Schema, error) {
    	return f.full.Validator(validationDirective)
    }
    
    func (f Factory) OpenAPISchema() (openapi.Resources, error) {
    	return f.full.OpenAPISchema()
    }
    
    func (f Factory) OpenAPIV3Client() (openapiclient.Client, error) {
    	return f.full.OpenAPIV3Client()
    }
    
    var _ util.Factory = Factory{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top