Documentation ¶
Index ¶
Constants ¶
View Source
const VMNotExist vmNotExist = "Machine does not exist. Use 'crc start' to create it"
Variables ¶
This section is empty.
Functions ¶
func RetryAfter ¶
RetryAfter retries for a certain duration, after a delay
Types ¶
type MultiError ¶
type MultiError struct {
Errors []error
}
func (*MultiError) Collect ¶
func (m *MultiError) Collect(err error)
func (MultiError) Error ¶ added in v1.17.0
func (m MultiError) Error() string
type PreflightError ¶ added in v1.23.0
type PreflightError struct {
Err error
}
func (*PreflightError) Error ¶ added in v1.23.0
func (p *PreflightError) Error() string
func (*PreflightError) Unwrap ¶ added in v1.23.0
func (p *PreflightError) Unwrap() error
type RetriableError ¶
type RetriableError struct {
Err error
}
RetriableError is an error that can be tried again
func (*RetriableError) Error ¶
func (r *RetriableError) Error() string
type SerializableError ¶ added in v1.23.0
type SerializableError struct {
// contains filtered or unexported fields
}
func ToSerializableError ¶ added in v1.23.0
func ToSerializableError(err error) *SerializableError
func (*SerializableError) MarshalJSON ¶ added in v1.23.0
func (e *SerializableError) MarshalJSON() ([]byte, error)
func (*SerializableError) Unwrap ¶ added in v1.23.0
func (e *SerializableError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.