Documentation
¶
Index ¶
- Constants
- func Debug(format string, args ...interface{})
- func ErrHttpEmptyResponse() error
- func ErrMissingFlowAttrs() error
- func ErrNullModelRepo() error
- func ErrNullOutput() error
- func ErrNullRepo() error
- func Error(format string, args ...interface{})
- func ErrorToHTTPStatus(err error) (int, string)
- func Errorf(format string, args ...interface{})
- func GetEnv(name string) string
- func GetEnvVar(name string) string
- func HomeDir() (string, error)
- func Info(format string, args ...interface{})
- func IsErrFileNotFound(e error) bool
- func IsErrHttpEmptyResponse(err error) bool
- func IsErrMissingFlowAttrs(err error) bool
- func IsErrNullModelRepo(err error) bool
- func IsErrNullOutput(err error) bool
- func IsErrNullRepo(err error) bool
- func JustHomeDir() string
- func Log(format string, args ...interface{})
- func Out(format string, args ...interface{})
- func Println(format string, args ...interface{})
- func SetEnvVar(name, value string) error
- func Warn(format string, args ...interface{})
- type ErrFileNotFound
- type HTTPError
- type IntMax
- type IntMeanVar
Constants ¶
View Source
const ( HttpEmptyRespError = "Empty Response from Server" NullRepo = "Repo Not found" MissingFlowAttrs = "Missing Flow attributes" NullModelRepo = "Flow has no model repo" NullOutput = "Flow has no output" )
Variables ¶
This section is empty.
Functions ¶
func ErrHttpEmptyResponse ¶
func ErrHttpEmptyResponse() error
func ErrMissingFlowAttrs ¶
func ErrMissingFlowAttrs() error
func ErrNullModelRepo ¶
func ErrNullModelRepo() error
func ErrNullOutput ¶
func ErrNullOutput() error
func ErrNullRepo ¶
func ErrNullRepo() error
func ErrorToHTTPStatus ¶
func IsErrFileNotFound ¶
func IsErrHttpEmptyResponse ¶
func IsErrMissingFlowAttrs ¶
func IsErrNullModelRepo ¶
func IsErrNullOutput ¶
func IsErrNullRepo ¶
func JustHomeDir ¶
func JustHomeDir() string
Types ¶
type ErrFileNotFound ¶
Custom error when file is not found
func (ErrFileNotFound) Error ¶
func (e ErrFileNotFound) Error() string
type HTTPError ¶
func HTTPErrorf ¶
type IntMeanVar ¶
type IntMeanVar struct {
// contains filtered or unexported fields
}
func (*IntMeanVar) AddSince ¶
func (v *IntMeanVar) AddSince(start time.Time)
func (*IntMeanVar) AddValue ¶
func (v *IntMeanVar) AddValue(value int64)
Adds value. Calculates new mean as iterative mean (avoids int overflow)
func (*IntMeanVar) String ¶
func (v *IntMeanVar) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.