Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for errstr (0.14 sec)

  1. internal/bucket/replication/error.go

    package replication
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/error.go

    type strictDecodingError struct {
    	errors []error
    }
    
    // NewStrictDecodingError creates a new strictDecodingError object.
    func NewStrictDecodingError(errors []error) error {
    	return &strictDecodingError{
    		errors: errors,
    	}
    }
    
    func (e *strictDecodingError) Error() string {
    	var s strings.Builder
    	s.WriteString("strict decoding error: ")
    	for i, err := range e.errors {
    		if i != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. internal/arn/arn_test.go

    			args: args{
    				arnStr: "arn:minio:",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    				arnStr: "arn:invalid:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN service must fail",
    			args: args{
    				arnStr: "arn:minio:invalid:us-east-1::role/my-role",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. docs/bucket/replication/sio-error.sh

    Poorna <******@****.***> 1716056341 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. operator/pkg/util/errs.go

    )
    
    // Errors is a slice of error.
    type Errors []error
    
    // Error implements the error#Error method.
    func (e Errors) Error() string {
    	return ToString(e, defaultSeparator)
    }
    
    // String implements the stringer#String method.
    func (e Errors) String() string {
    	return e.Error()
    }
    
    // ToError returns an error from Errors.
    func (e Errors) ToError() error {
    	if len(e) == 0 {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. pilot/pkg/trustbundle/trustbundle.go

    			continue
    		}
    		certs := trustDomainAnchorMap[currentTrustDomain]
    		for _, cert := range certs {
    			certStr := string(pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: cert.Raw}))
    			trustBundleLog.Debugf("from endpoint %v, fetched trust anchor cert: %v", endpoint, certStr)
    			remoteCerts = append(remoteCerts, certStr)
    		}
    	}
    	err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/cmd/trace/jsontrace.go

    		start := int64(0)
    		end := int64(math.MaxInt64)
    		if startStr, endStr := r.FormValue("start"), r.FormValue("end"); startStr != "" && endStr != "" {
    			var err error
    			start, err = strconv.ParseInt(startStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse start parameter %q: %v", startStr, err)
    				return
    			}
    
    			end, err = strconv.ParseInt(endStr, 10, 64)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/syscall/asm_netbsd_arm.s

    	MOVW trap+0(FP), R0 // sigcall num
    	MOVW a1+4(FP), R1 // a1
    	MOVW a2+8(FP), R2 // a2
    	MOVW a3+12(FP), R3 // a3
    	SWI $0 // syscall
    	MOVW $0, R2
    	BCS errorr
    	MOVW R0, r1+16(FP) // r1
    	MOVW R1, r2+20(FP) // r2
    	MOVW R2, err+24(FP) // err
    	RET
    errorr:
    	MOVW $-1, R3
    	MOVW R3, r1+16(FP) // r1
    	MOVW R2, r2+20(FP) // r2
    	MOVW R0, err+24(FP) // err
    	RET
    
    TEXT	·RawSyscall6(SB),NOSPLIT,$0-40
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 21:13:25 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  9. internal/arn/arn.go

    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    }
    
    // Parse - parses an ARN string into a type.
    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    	if ps[1] != string(arnPartitionMinio) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/internal/buildcfg/cfg.go

    	ToolTags  = toolTags()
    	GO_LDSO   = defaultGO_LDSO
    	Version   = version
    )
    
    // Error is one of the errors found (if any) in the build configuration.
    var Error error
    
    // Check exits the program with a fatal error if Error is non-nil.
    func Check() {
    	if Error != nil {
    		fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), Error)
    		os.Exit(2)
    	}
    }
    
    func envOr(key, value string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top