Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for Message (0.17 sec)

  1. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    // Request-level error messages contain three headers, as follows:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  2. internal/deadlineconn/deadlineconn_test.go

    			t.Errorf("failed to read from client. %v", terr)
    			return
    		}
    		received = string(b)
    		if received != "message two\n" {
    			t.Errorf(`server: expected: "message two\n", got: %v`, received)
    			return
    		}
    
    		// Send a response.
    		_, terr = io.WriteString(deadlineconn, "messages received\n")
    		if terr != nil {
    			t.Errorf("failed to write to client. %v", terr)
    			return
    		}
    	}()
    
    	c, err := net.Dial("tcp", serverAddr)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Nov 05 18:09:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. internal/config/errors-utils.go

    		msg:    u.msg,
    		detail: u.detail,
    		action: u.action,
    		hint:   u.hint,
    	}
    }
    
    // Error returns the error message
    func (u Err) Error() string {
    	if u.detail == "" {
    		if u.msg != "" {
    			return u.msg
    		}
    		return "<nil>"
    	}
    	return u.detail
    }
    
    // Msg - Replace the current error's message
    func (u Err) Msg(m string, args ...interface{}) Err {
    	e := u.Clone()
    	e.msg = fmt.Sprintf(m, args...)
    	return e
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    				VersionID: req.VersionID,
    				Objects:   objects,
    			},
    		},
    	}
    
    	if trace != nil {
    		entry.Trace = &log.Trace{
    			Message:   message,
    			Source:    trace,
    			Variables: tags,
    		}
    	} else {
    		entry.Message = message
    	}
    
    	if anonFlag {
    		entry.API.Args.Bucket = HashString(entry.API.Args.Bucket)
    		entry.API.Args.Object = HashString(entry.API.Args.Object)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. internal/s3select/genmessage.go

    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	message := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message))
    
    	fmt.Println(buf.Bytes())
    }
    
    func genProgressHeader() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test.go

    		},
    		{
    			"Check termination message match true",
    			config.RepairConfig{
    				SidecarAnnotation:  "sidecar.istio.io/status",
    				InitContainerName:  constants.ValidationContainerName,
    				InitTerminationMsg: "Termination Message",
    			},
    			makeDetectPod(
    				"TerminationMessageMatchTrue",
    				"Termination Message",
    				0),
    			true,
    		},
    		{
    			"Check termination message match true for trailing and leading space",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    	v, ok := c.inStream.Load(m.MuxID)
    	if !ok {
    		if debugPrint {
    			fmt.Println(c.Local, "OpMuxClientMsg: Unknown Mux:", m.MuxID)
    		}
    		gridLogIf(ctx, c.queueMsg(message{Op: OpDisconnectClientMux, MuxID: m.MuxID}, nil))
    		PutByteBuffer(m.Payload)
    		return
    	}
    	v.message(m)
    }
    
    func (c *Connection) handleResponse(m message) {
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. internal/s3select/errors.go

    	Error() string
    }
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair_test_helpers.go

    			Waiting: &corev1.ContainerStateWaiting{
    				Reason:  "CrashLoopBackOff",
    				Message: "Back-off 5m0s restarting failed blah blah blah",
    			},
    		},
    		LastTerminationState: corev1.ContainerState{
    			Terminated: &corev1.ContainerStateTerminated{
    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    				Message:  "Died for some reason",
    			},
    		},
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. istioctl/pkg/util/formatting/formatter.go

    func printYAML(ms diag.Messages) (string, error) {
    	yamlOutput, err := yaml.Marshal(ms)
    	return string(yamlOutput), err
    }
    
    // Formatting options for Message
    var (
    	colorPrefixes = map[diag.Level]string{
    		diag.Info:    "",           // no special color for info messages
    		diag.Warning: "\033[33m",   // yellow
    		diag.Error:   "\033[1;31m", // bold red
    	}
    )
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top