registryv2

package
v0.0.0-...-11bd816 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API contains state variables used by the Auth API endpoint.

func NewAPI

NewAPI constructs a new API instance.

func (*API) AddTo

func (a *API) AddTo(r *mux.Router)

AddTo implements the api.API interface.

func (*API) OverrideGenerateStorageID

func (a *API) OverrideGenerateStorageID(generateStorageID func() string) *API

OverrideGenerateStorageID replaces keppel.GenerateStorageID with a test double.

func (*API) OverrideTimeNow

func (a *API) OverrideTimeNow(timeNow func() time.Time) *API

OverrideTimeNow replaces time.Now with a test double.

Jump to

Keyboard shortcuts

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