types

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

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

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

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

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

NewJobRequest is an event that happens when a user submit a job.

type Transfer

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL