package
0.0.0-20230228225139-6f34b335e0a4
Repository: https://github.com/diffeo/go-coordinate.git
Documentation: pkg.go.dev

# Functions

Decode tries to decode a restdata object from a reader, such as an HTTP request or response.
MaybeDecodeName examines a name, and if it appears to be base64 encoded, decodes it.
MaybeEncodeName examines a name, and if it cannot be directly inserted into a URL as-is, base64 encodes it.

# Constants

JSONMediaType requests the most recent version of the JSON representation of this content.
V1JSONMediaType is the preferred, most specific MIME type for the JSON representation of this content.

# Structs

Attempt contains complete current information about an attempt.
AttemptCompletion contains data submitted as part of one of the requests to complete or renew an attempt.
AttemptList holds a list of AttemptShort.
AttemptResponse contains the response to the Worker.RequestAttemptsURL endpoint.
AttemptShort contains minimum information to identify an attempt.
AttemptSpecific names a specific work unit to attempt.
ErrBadRequest is returned as an error when there is an error decoding HTTP headers or the request body.
ErrNotFound is a wrapper error that indicates that, due to the embedded error, a REST service should return a 404 Not Found error.
ErrorResponse can be a response to any method, generally accompanied by a failing HTTP status code.
ErrUnsupportedMediaType is returned from Decode() if the provided Content-Type: is unrecognized.
NamedResource is a resource with a name.
Namespace provides pointers to associated data about a namespace.
NamespaceList is a list of NamespaceShort.
NamespaceShort provides minimal data to identify a single namespace.
Resource is a base type for all resources in this module.
RootData is returned by the root path.
Worker contains details for a single worker.
WorkerShort includes minimal data to identify a worker.
WorkSpec contains all of the details for a single work spec.
WorkSpecList is a list of WorkSpecShort.
WorkSpecShort provides data that identifies a work spec, but no more.
WorkUnit provides complete static data for a work unit.
WorkUnitDeleted is the response to a batch delete request.
WorkUnitList is a list of WorkUnitShort.
WorkUnitShort provides minimal identifying information for a work unit.

# Interfaces

ErrorStatus describes errors that correspond to specific HTTP status codes.

# Type aliases

DataDict is an arbitrary user-provided data dictionary.