Documentation ¶
Index ¶
- type BaseJob
- func (j *BaseJob) Errors() IErrors
- func (j *BaseJob) GetExecutableNotFoundErrorDocumentation(pm string) string
- func (j *BaseJob) GetExitError(err error, commandOutput string) error
- func (j *BaseJob) GetFile() string
- func (j *BaseJob) ReceiveStatus() chan string
- func (j *BaseJob) SendStatus(status string)
- type BaseJobError
- func (e BaseJobError) Command() string
- func (e BaseJobError) Documentation() string
- func (e BaseJobError) Error() string
- func (e BaseJobError) IsCritical() bool
- func (e *BaseJobError) SetCommand(command string)
- func (e *BaseJobError) SetDocumentation(doc string)
- func (e *BaseJobError) SetIsCritical(isCritical bool)
- func (e *BaseJobError) SetStatus(status string)
- func (e BaseJobError) Status() string
- type Errors
- func (errors *Errors) Append(err IError)
- func (errors *Errors) Critical(err IError)
- func (errors *Errors) GetAll() []IError
- func (errors *Errors) GetCriticalErrors() []IError
- func (errors *Errors) GetWarningErrors() []IError
- func (errors *Errors) HasError() bool
- func (errors *Errors) Warning(err IError)
- type IError
- type IErrors
- type IJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseJob ¶
type BaseJob struct {
// contains filtered or unexported fields
}
func NewBaseJob ¶
func (*BaseJob) GetExecutableNotFoundErrorDocumentation ¶ added in v1.7.11
func (*BaseJob) GetExitError ¶
func (*BaseJob) ReceiveStatus ¶
func (*BaseJob) SendStatus ¶
type BaseJobError ¶ added in v1.7.0
type BaseJobError struct {
// contains filtered or unexported fields
}
func NewBaseJobError ¶ added in v1.7.0
func NewBaseJobError(err string) *BaseJobError
func (BaseJobError) Command ¶ added in v1.7.0
func (e BaseJobError) Command() string
func (BaseJobError) Documentation ¶ added in v1.7.0
func (e BaseJobError) Documentation() string
func (BaseJobError) Error ¶ added in v1.7.0
func (e BaseJobError) Error() string
func (BaseJobError) IsCritical ¶ added in v1.7.0
func (e BaseJobError) IsCritical() bool
func (*BaseJobError) SetCommand ¶ added in v1.7.0
func (e *BaseJobError) SetCommand(command string)
func (*BaseJobError) SetDocumentation ¶ added in v1.7.0
func (e *BaseJobError) SetDocumentation(doc string)
func (*BaseJobError) SetIsCritical ¶ added in v1.7.0
func (e *BaseJobError) SetIsCritical(isCritical bool)
func (*BaseJobError) SetStatus ¶ added in v1.7.0
func (e *BaseJobError) SetStatus(status string)
func (BaseJobError) Status ¶ added in v1.7.0
func (e BaseJobError) Status() string
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
func (*Errors) GetCriticalErrors ¶
func (*Errors) GetWarningErrors ¶
Click to show internal directories.
Click to hide internal directories.