database

package
v0.0.0-...-54a0447 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ObtainAuth

func ObtainAuth(key string) (types.DBAuthData, *errors.APIError)

ObtainAuth sends a request to obtain authentication data matching the given key.

func SearchForBinary

func SearchForBinary(os, arch, branch string) (string, *errors.APIError)

SearchForBinary searches for a binary in the database and returns the data if the specified binary type is found. An error is returned if the binary could not be found. We always want to send the latest binary in the database, don't cache results.

func UpdateBinary

func UpdateBinary(os, arch, branch, data string) *errors.APIError

UpdateBinary updates the current Oomph binary data in the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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