Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryableError ¶
Types ¶
type MIMOError ¶
type MIMOError interface { error MIMOErrorVariety() MIMOErrorVariety }
func NewMIMOError ¶
func NewMIMOError(err error, variety MIMOErrorVariety) MIMOError
func TerminalError ¶
func TransientError ¶
type MIMOErrorVariety ¶
type MIMOErrorVariety string
const ( MIMOErrorTypeTransientError MIMOErrorVariety = "TransientError" MIMOErrorTypeTerminalError MIMOErrorVariety = "TerminalError" )
type TaskContext ¶
type TaskContext interface { context.Context Now() time.Time Environment() env.Interface ClientHelper() (clienthelper.Interface, error) Log() *logrus.Entry LocalFpAuthorizer() (autorest.Authorizer, error) // OpenShiftCluster GetClusterUUID() string GetOpenShiftClusterProperties() api.OpenShiftClusterProperties GetOpenshiftClusterDocument() *api.OpenShiftClusterDocument SetResultMessage(string) GetResultMessage() string }
func GetTaskContext ¶
func GetTaskContext(c context.Context) (TaskContext, error)
Click to show internal directories.
Click to hide internal directories.