versions

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	ID          int64  `json:"id"`
	Application string `json:"application"`
	Environment string `json:"environment"`
	Location    string `json:"location"`
	Timestamp   string `json:"timestamp"`
	Version     string `json:"version"`
}

func GetAll

func GetAll(opts ...query.QueryOpts) []Version

func GetLast added in v1.4.0

func GetLast() []Version

func (Version) Save

func (v Version) Save() int64

type VersionOrderBy

type VersionOrderBy struct {
	Application query.Sort
	Environment query.Sort
	Location    query.Sort
	Timestamp   query.Sort
}

func (VersionOrderBy) GetParts

func (vop VersionOrderBy) GetParts() query.QueryParts

Jump to

Keyboard shortcuts

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