Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Helmer (0.19 sec)

  1. internal/config/notify/legacy.go

    package notify
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // SetNotifyKafka - helper for config migration from older config.
    func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	c.Helper()
    	ui, err := admClnt.GetUserInfo(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    	c.Helper()
    	randUser := mustGetUUID()
    	randPass := mustGetUUID()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    // prepareAdminErasureTestBed - helper function that setups a single-node
    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. istioctl/cmd/root_test.go

    package cmd
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    )
    
    func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) {
    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  5. misc/go_android_exec/exitcode_test.go

    	}
    	if want := 1; want != code {
    		t.Errorf("want exit code %d, got %d", want, code)
    	}
    }
    
    func TestExitCodeMissing(t *testing.T) {
    	var wantErr *regexp.Regexp
    	check := func(text string) {
    		t.Helper()
    		var out strings.Builder
    		f, exitStr := newExitCodeFilter(&out)
    		if want := "exitcode="; want != exitStr {
    			t.Fatalf("test assumes exitStr will be %q, but got %q", want, exitStr)
    		}
    		f.Write([]byte(text))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    	_, err = readXLMetaNoData(bytes.NewReader(buf), int64(len(buf)))
    	if err == nil {
    		t.Fatal("expected error but returned success")
    	}
    }
    
    func TestXLV2FormatData(t *testing.T) {
    	failOnErr := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	data := []byte("some object data")
    	data2 := []byte("some other object data")
    
    	xl := xlMetaV2{}
    	fi := FileInfo{
    		Volume:           "volume",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package cmd This file implements helper functions to validate AWS
    // Signature Version '4' authorization header.
    //
    // This package provides comprehensive helpers for following signature
    // types.
    // - Based on Authorization header.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. association.go

    package gorm
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // Association Mode contains some helper methods to handle relationship things easily.
    type Association struct {
    	DB           *DB
    	Relationship *schema.Relationship
    	Unscope      bool
    	Error        error
    }
    
    func (db *DB) Association(column string) *Association {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  9. tests/sql_builder_test.go

    }
    
    // assertEqualSQL for assert that the sql is equal, this method will ignore quote, and dialect specials.
    func assertEqualSQL(t *testing.T, expected string, actually string) {
    	t.Helper()
    
    	// replace SQL quote, convert into postgresql like ""
    	expected = replaceQuoteInSQL(expected)
    	actually = replaceQuoteInSQL(actually)
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. tests/helper_test.go

    Jinzhu <******@****.***> 1710820228 +0800
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top