Documentation
¶
Index ¶
- func CallGetRoutineUpdate(ctx context.Context, request *dtcpb.GetRoutineUpdateRequest, ...) error
- func CallRunRoutine(ctx context.Context, request *dtcpb.RunRoutineRequest, ...) error
- func CancelRoutine(ctx context.Context, uuid int32) error
- func GetRoutineStatus(ctx context.Context, uuid int32, includeOutput bool, ...) error
- func RemoveRoutine(ctx context.Context, uuid int32) error
- func ResumeRoutine(ctx context.Context, uuid int32) error
- func WaitUntilRoutineChangesState(ctx context.Context, uuid int32, state dtcpb.DiagnosticRoutineStatus, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallGetRoutineUpdate ¶
func CallGetRoutineUpdate(ctx context.Context, request *dtcpb.GetRoutineUpdateRequest, response *dtcpb.GetRoutineUpdateResponse) error
CallGetRoutineUpdate executes a GetRoutineUpdate call.
func CallRunRoutine ¶
func CallRunRoutine(ctx context.Context, request *dtcpb.RunRoutineRequest, response *dtcpb.RunRoutineResponse) error
CallRunRoutine executes a RunRoutine call and does validity checks on the result.
func CancelRoutine ¶
CancelRoutine cancels a routine by calling CANCEL.
func GetRoutineStatus ¶
func GetRoutineStatus(ctx context.Context, uuid int32, includeOutput bool, response *dtcpb.GetRoutineUpdateResponse) error
GetRoutineStatus gets the status of a routine by calling GET_STATUS.
func RemoveRoutine ¶
RemoveRoutine removes a routine by calling REMOVE.
func ResumeRoutine ¶
ResumeRoutine resumes a routine by calling RESUME.
func WaitUntilRoutineChangesState ¶
func WaitUntilRoutineChangesState(ctx context.Context, uuid int32, state dtcpb.DiagnosticRoutineStatus, timeout time.Duration) error
WaitUntilRoutineChangesState polls until the status of a routine changes from the state parameter or times out.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.