store

package
v0.0.0-...-ce25c02 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RELEASE_CHANNELS = []entities.ReleaseChannel{
	{Name: "DEV", Value: 0},
	{Name: "RELEASE_CANDIDATE", Value: 1},
	{Name: "RELEASE", Value: 2},
}

Functions

func AppRepository

func AppRepository() repositories.AppRepository

func Count

func Count[T any](query string, args ...interface{}) (int, error)

func CreateStore

func CreateStore(host string, username string, password string, reset bool)

func CredentialsRepository

func CredentialsRepository() repositories.CredentialsRepository

func GetProduct

func GetProduct(query string, args ...interface{}) (entities.Product, error)

func Insert

func Insert[T any](item T) error

func InstallRepository

func InstallRepository() repositories.InstallRepository

func IsConnected

func IsConnected() bool

func List

func List[T any]() ([]T, error)

func ProductRepository

func ProductRepository() repositories.ProductRepository

func PullProducts

func PullProducts(productNames []string, releaseChannel int) ([]entities.Product, error)

func QueuedChangeRepository

func QueuedChangeRepository() repositories.QueuedChangeRepository

func ReleaseChannelRepository

func ReleaseChannelRepository() repositories.ReleaseChannelRepository

func ReleaseRepository

func ReleaseRepository() repositories.ReleaseRepository

func StoredChangeRepository

func StoredChangeRepository() repositories.StoredChangeRepository

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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