registry

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RESTInPeace

func RESTInPeace(storage rest.StandardStorage, err error) rest.StandardStorage

RESTInPeace is just a simple function that panics on error. Otherwise returns the given storage object. It is meant to be a wrapper for onex server registries.

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for API services against etcd.

Directories

Path Synopsis
apps
chain
Package chain provides Registry interface and its RESTStorage implementation for storing Chain objects.
Package chain provides Registry interface and its RESTStorage implementation for storing Chain objects.
chain/storage
Package storage provides Registry interface and its REST implementation for storing chain api objects.
Package storage provides Registry interface and its REST implementation for storing chain api objects.
miner
Package miner provides Registry interface and its RESTStorage implementation for storing Miner objects.
Package miner provides Registry interface and its RESTStorage implementation for storing Miner objects.
miner/storage
Package storage provides Registry interface and its REST implementation for storing miner api objects.
Package storage provides Registry interface and its REST implementation for storing miner api objects.
minerset
Package minerset provides Registry interface and its RESTStorage implementation for storing Miner objects.
Package minerset provides Registry interface and its RESTStorage implementation for storing Miner objects.
minerset/storage
Package storage provides Registry interface and its REST implementation for storing minerset api objects.
Package storage provides Registry interface and its REST implementation for storing minerset api objects.
coordination
core
flowcontrol

Jump to

Keyboard shortcuts

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