Documentation
¶
Index ¶
- Constants
- func IsInvalidOrcIDError(err error) bool
- func IsInvalidSubmitMetadataError(err error) bool
- func IsInvalidTicketError(err error) bool
- func IsMDRepoServiceError(err error) bool
- func IsNotDirError(err error) bool
- func IsNotFileError(err error) bool
- func IsSimulationNoNotMatchingError(err error) bool
- func IsTokenNotProvidedError(err error) bool
- func IsWebDAVError(err error) bool
- func MakeDateTimeFromString(str string) (time.Time, error)
- func MakeDateTimeString(t time.Time) string
- func MakeDateTimeStringHM(t time.Time) string
- func NewDialHTTPError(url string) error
- func NewInvalidOrcIDError(requestedOrcID string, foundOrcID string) error
- func NewInvalidSubmitMetadataError() error
- func NewInvalidTicketError(ticket string) error
- func NewMDRepoServiceError(message string) error
- func NewNotDirError(dest string) error
- func NewNotFileError(dest string) error
- func NewSimulationNoNotMatchingError(valid []string, invalid []string, invalidErrors []error, expected int) error
- func NewTokenNotProvidedError() error
- func NewWebDAVError(url string, errorCode int) error
- func ParseSize(size string) (int64, error)
- func ParseTime(t string) (int, error)
- func SizeString(bytes int64) string
- type DialHTTPError
- type InvalidOrcIDError
- type InvalidSubmitMetadataError
- type InvalidTicketError
- type MDRepoServiceError
- type NotDirError
- type NotFileError
- type SimulationNoNotMatchingError
- type TokenNotProvidedError
- type WebDAVError
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func IsInvalidOrcIDError ¶
IsInvalidOrcIDError evaluates if the given error is InvalidOrcIDError
func IsInvalidSubmitMetadataError ¶
IsInvalidSubmitMetadataError evaluates if the given error is InvalidSubmitMetadataError
func IsInvalidTicketError ¶
IsInvalidTicketError evaluates if the given error is InvalidTicketError
func IsMDRepoServiceError ¶
IsMDRepoServiceError evaluates if the given error is MDRepoServiceError
func IsNotDirError ¶
IsNotDirError evaluates if the given error is NotDirError
func IsNotFileError ¶
IsNotFileError evaluates if the given error is NotFileError
func IsSimulationNoNotMatchingError ¶
IsSimulationNoNotMatchingError evaluates if the given error is SimulationNoNotMatchingError
func IsTokenNotProvidedError ¶
IsTokenNotProvidedError evaluates if the given error is TokenNotProvidedError
func IsWebDAVError ¶
IsWebDAVError evaluates if the given error is WebDAVError
func MakeDateTimeString ¶
func MakeDateTimeStringHM ¶
func NewDialHTTPError ¶
func NewInvalidOrcIDError ¶
func NewInvalidSubmitMetadataError ¶
func NewInvalidSubmitMetadataError() error
func NewInvalidTicketError ¶
func NewMDRepoServiceError ¶
func NewNotDirError ¶
func NewNotFileError ¶
func NewSimulationNoNotMatchingError ¶
func NewSimulationNoNotMatchingError(valid []string, invalid []string, invalidErrors []error, expected int) error
NewSimulationNoNotMatchingError creates a simulation no not matching error
func NewTokenNotProvidedError ¶
func NewTokenNotProvidedError() error
func NewWebDAVError ¶
func SizeString ¶
Types ¶
type DialHTTPError ¶
type DialHTTPError struct {
URL string
}
type InvalidOrcIDError ¶
func (*InvalidOrcIDError) Error ¶
func (err *InvalidOrcIDError) Error() string
Error returns error message
func (*InvalidOrcIDError) Is ¶
func (err *InvalidOrcIDError) Is(other error) bool
Is tests type of error
func (*InvalidOrcIDError) ToString ¶
func (err *InvalidOrcIDError) ToString() string
ToString stringifies the object
type InvalidSubmitMetadataError ¶
type InvalidSubmitMetadataError struct {
Errors []error
}
func (*InvalidSubmitMetadataError) Add ¶
func (err *InvalidSubmitMetadataError) Add(message error)
func (*InvalidSubmitMetadataError) Error ¶
func (err *InvalidSubmitMetadataError) Error() string
Error returns error message
func (*InvalidSubmitMetadataError) ErrorLen ¶
func (err *InvalidSubmitMetadataError) ErrorLen() int
func (*InvalidSubmitMetadataError) Is ¶
func (err *InvalidSubmitMetadataError) Is(other error) bool
Is tests type of error
func (*InvalidSubmitMetadataError) ToString ¶
func (err *InvalidSubmitMetadataError) ToString() string
ToString stringifies the object
type InvalidTicketError ¶
type InvalidTicketError struct {
Ticket string
}
func (*InvalidTicketError) Error ¶
func (err *InvalidTicketError) Error() string
Error returns error message
func (*InvalidTicketError) Is ¶
func (err *InvalidTicketError) Is(other error) bool
Is tests type of error
func (*InvalidTicketError) ToString ¶
func (err *InvalidTicketError) ToString() string
ToString stringifies the object
type MDRepoServiceError ¶
type MDRepoServiceError struct {
Message string
}
func (*MDRepoServiceError) Error ¶
func (err *MDRepoServiceError) Error() string
Error returns error message
func (*MDRepoServiceError) Is ¶
func (err *MDRepoServiceError) Is(other error) bool
Is tests type of error
func (*MDRepoServiceError) ToString ¶
func (err *MDRepoServiceError) ToString() string
ToString stringifies the object
type NotDirError ¶
type NotDirError struct {
Path string
}
func (*NotDirError) ToString ¶
func (err *NotDirError) ToString() string
ToString stringifies the object
type NotFileError ¶
type NotFileError struct {
Path string
}
func (*NotFileError) ToString ¶
func (err *NotFileError) ToString() string
ToString stringifies the object
type SimulationNoNotMatchingError ¶
type SimulationNoNotMatchingError struct {
ValidSimulationPaths []string
InvalidSimulationPaths []string
InvalidSimulationPathsErrors []error
Expected int
}
func (*SimulationNoNotMatchingError) Error ¶
func (err *SimulationNoNotMatchingError) Error() string
Error returns error message
func (*SimulationNoNotMatchingError) Is ¶
func (err *SimulationNoNotMatchingError) Is(other error) bool
Is tests type of error
func (*SimulationNoNotMatchingError) ToString ¶
func (err *SimulationNoNotMatchingError) ToString() string
ToString stringifies the object
type TokenNotProvidedError ¶
type TokenNotProvidedError struct {
}
func (*TokenNotProvidedError) Error ¶
func (err *TokenNotProvidedError) Error() string
Error returns error message
func (*TokenNotProvidedError) Is ¶
func (err *TokenNotProvidedError) Is(other error) bool
Is tests type of error
func (*TokenNotProvidedError) ToString ¶
func (err *TokenNotProvidedError) ToString() string
ToString stringifies the object
type WebDAVError ¶
func (*WebDAVError) ToString ¶
func (err *WebDAVError) ToString() string
ToString stringifies the object