package
0.0.0-20241107090105-8ff5e5f6d6c8
Repository: https://github.com/connect-sdk/batch-api.git
Documentation: pkg.go.dev
# Functions
BatchJobStateChangedEvent_State is the enum type of BatchJobStateChangedEvent.State.
BatchTaskStateChangedEvent_State is the enum type of BatchTaskStateChangedEvent.State.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
The Job will be deleted, but has not been deleted yet.
At least one Task in the Job has failed.
Job is admitted (validated and persisted) and waiting for resources.
Resource allocation has been successful.
Job is scheduled to run as soon as resource allocation is ready.
Job state unspecified.
All Tasks in the Job have finished successfully.
The Task is assigned to at least one VM.
The Task has failed.
The Task is created and waiting for resources.
The Task is running.
Unknown state.
The Task has succeeded.
The Task has not been executed when the Job finishes.
# Variables
Notify users that the job state has changed.
Notify users that the task state has changed.
Enum value maps for BatchJobStateChangedEvent_State.
Enum value maps for BatchJobStateChangedEvent_State.
No description provided by the author
Enum value maps for BatchTaskStateChangedEvent_State.
Enum value maps for BatchTaskStateChangedEvent_State.
No description provided by the author
The error occurs when the event is unknown.
No description provided by the author
# Structs
BatchJobStateChangedEvent is emitted when a job's state changes.
BatchJobStateChangedEventValidationError is the validation error returned by BatchJobStateChangedEvent.Validate if the designated constraints aren't met.
BatchTaskStateChangedEvent is emitted when a task's state changes.
BatchTaskStateChangedEventValidationError is the validation error returned by BatchTaskStateChangedEvent.Validate if the designated constraints aren't met.
NoBatchPageInfo is a no-op implementation of BatchPageInfo.
NopBatchJobIterator is a no-op implementation of BatchJobIterator.
NopBatchServiceClient is a no-op implementation of BatchServiceClient.
NopBatchTaskIterator is a no-op implementation of BatchTaskIterator.
NopDeleteBatchJobOperation is a no-op implementation of DeleteBatchJobOperation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
BatchJobEvent is the interface for batch job event type BatchJobEvent interface {.
BatchJobEventHandler handles connect.batch.v1.BatchJobEvent event.
No description provided by the author
No description provided by the author
PageInfo contains information about an iterator's paging state.
BatchServiceClient is the client API for BatchService service.
BatchTaskEvent is the interface for batch job event type BatchTaskEvent interface {.
BatchTaskEventHandler handles connect.batch.v1.BatchTaskEvent event.
No description provided by the author
DeleteJobOperation manages a long-running operation from DeleteJob.
# Type aliases
No description provided by the author
Valid Job states.
BatchJobStateChangedEventMultiError is an error wrapping multiple validation errors returned by BatchJobStateChangedEvent.ValidateAll() if the designated constraints aren't met.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Task states.
BatchTaskStateChangedEventMultiError is an error wrapping multiple validation errors returned by BatchTaskStateChangedEvent.ValidateAll() if the designated constraints aren't met.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author