Documentation
¶
Index ¶
- func BufferedPipedWriterProcess(f func(w io.WriteCloser)) io.ReadCloser
- func CheckRequiredFields(req *logical.Request, fields *framework.FieldData) *logical.Response
- func IsEnvVarTrue(envVarName string) bool
- type Clock
- type FixedClock
- type LogicalError
- type SystemClock
- type ThroughputReader
- type ThroughputWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferedPipedWriterProcess ¶
func BufferedPipedWriterProcess(f func(w io.WriteCloser)) io.ReadCloser
func CheckRequiredFields ¶
func IsEnvVarTrue ¶
Types ¶
type FixedClock ¶
func NewFixedClock ¶
func NewFixedClock(nowTime time.Time) *FixedClock
func (*FixedClock) Now ¶
func (c *FixedClock) Now() time.Time
type LogicalError ¶
type LogicalError error
func NewLogicalError ¶
func NewLogicalError(format string, a ...interface{}) LogicalError
type SystemClock ¶
type SystemClock struct{}
func NewSystemClock ¶
func NewSystemClock() *SystemClock
func (*SystemClock) Now ¶
func (c *SystemClock) Now() time.Time
type ThroughputReader ¶
type ThroughputReader struct { LogName string R io.Reader StartedAt time.Time LastProgressAt time.Time ProcessedBytes int Context context.Context }
func NewThroughputReader ¶
Click to show internal directories.
Click to hide internal directories.