Documentation ¶
Overview ¶
Package types provides the main types of the library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affinity ¶
type Affinity metaschedulerabi.Affinity
Affinity is a key-value object with an operator for filtering clusters.
type Approval ¶
type Approval *metaschedulerabi.IERC20Approval
Approval is an event that happens when an user sets a new allowance.
type Job ¶
type Job *metaschedulerabi.Job
Job is the object stored in the smart-contract for accounting.
type JobTransition ¶
type JobTransition *metaschedulerabi.IJobRepositoryJobTransitionEvent
JobTransition is an event that happens when the status of a job changes.
type Label ¶
type Label metaschedulerabi.Label
Label is a key-value object used for filtering and annotating clusters.
type LogStream ¶
type LogStream loggerv1alpha1.LoggerAPI_ReadClient
LogStream is a readable stream of logs.
type Logger ¶
type Logger interface { // Watch the logs of a job WatchLogs(ctx context.Context, jobID [32]byte) (LogStream, error) }
Logger fetches the logs of a job.
type NewJobRequest ¶
type NewJobRequest *metaschedulerabi.MetaSchedulerNewJobRequestEvent
NewJobRequest is an event that happens when a user submit a job.
type Transfer ¶
type Transfer *metaschedulerabi.IERC20Transfer
Transfer is an event that happens when there is a ERC20 transaction.
Directories ¶
Path | Synopsis |
---|---|
abi
|
|
Package allowance describes the types and methods to interact with the
|
Package allowance describes the types and methods to interact with the |
Package credit describes the types and methods to interact with the credits.
|
Package credit describes the types and methods to interact with the credits. |
Package event describes the types and methods to interact with the events.
|
Package event describes the types and methods to interact with the events. |
Package job describes the types and methods to interact with the jobs.
|
Package job describes the types and methods to interact with the jobs. |
Package provider defines the interface for managing providers.
|
Package provider defines the interface for managing providers. |
Click to show internal directories.
Click to hide internal directories.