api

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package api defines the interface to a store server

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidRequest signals the request could not be processed
	// due to erroneous parameters
	ErrInvalidRequest = errors.New("invalid request")
	// ErrRequestFailed signals the request failed, probably due to a network error
	ErrRequestFailed = errors.New("request failed")
	// ErrObjectStoreAccess signals the access to the store failed
	ErrObjectStoreAccess = errors.New("store access failed")
)

Functions

This section is empty.

Types

type StoreResponse

type StoreResponse struct {
	Error  *k6build.WrappedError
	Object store.Object
}

StoreResponse is the response to a store server request

Jump to

Keyboard shortcuts

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