async

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvocationType

type InvocationType string
const (
	InvocationTypeEvent     InvocationType = "event"
	InvocationTypeUndefined InvocationType = ""
)

type Job

type Job struct {
	ID       string `json:"id,omitempty"`
	MatchKey string `json:"matchKey,omitempty"`
	Status   Status `json:"status,omitempty"`
	destination.Table
	destination.Cache
	Request
	Principal
	MainView      string     `json:"mainView,omitempty"`
	Module        string     `json:"module,omitempty"`
	Labels        string     `json:"labels,omitempty"`
	JobType       string     `json:"jobType,omitempty"`
	EventURL      string     `json:"eventUrl,omitempty"`
	Error         *string    `json:"error,omitempty"`
	CreationTime  time.Time  `json:"creationTime,omitempty"`
	StartTime     *time.Time `json:"startTime,omitempty"`
	EndTime       *time.Time `json:"endTime,omitempty"`
	ExpiryTime    *time.Time `json:"expiryTime,omitempty"`
	WaitTimeInMcs int        `json:"waitTimeInMcs,omitempty"`
	RunTimeInMcs  int        `json:"runTimeInMcs,omitempty"`
	Deactivated   bool       `json:"deactivated,omitempty"`
}

type Notification

type Notification struct {
	Method      NotificationMethod `json:"method,omitempty"`
	Destination string             `json:"destination,omitempty"`
}

type NotificationMethod

type NotificationMethod string
const (
	NotificationMethodStorage    NotificationMethod = "Storage"
	NotificationMethodMessageBus NotificationMethod = "MessageBus"
	NotificationMethodUndefined  NotificationMethod = ""
)

type Principal

type Principal struct {
	UserEmail *string `json:"userEmail,omitempty"`
	UserID    *string `json:"userId,omitempty"`
}

type Request

type Request struct {
	Method string `json:"method,omitempty"`
	URI    string `json:"uri,omitempty"`
}

type Status

type Status string
const (
	StatusPending Status = "PENDING"
	StatusRunning Status = "RUNNING"
	StatusDone    Status = "DONE"
	StatusError   Status = "ERROR"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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