model

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllSort = []Sort{
	SortAsc,
	SortDesc,
}

Functions

This section is empty.

Types

type Application

type Application struct {
	Name string `json:"name"`
}

type AuthPayload

type AuthPayload struct {
	Token string `json:"token"`
}

type Environment

type Environment struct {
	Name string `json:"name"`
}

type Location added in v1.3.0

type Location struct {
	Name string `json:"name"`
}

type NewVersion

type NewVersion struct {
	Application string  `json:"application"`
	Environment string  `json:"environment"`
	Location    *string `json:"location"`
	Version     string  `json:"version"`
}

type Sort

type Sort string
const (
	SortAsc  Sort = "asc"
	SortDesc Sort = "desc"
)

func (Sort) IsValid

func (e Sort) IsValid() bool

func (Sort) MarshalGQL

func (e Sort) MarshalGQL(w io.Writer)

func (Sort) String

func (e Sort) String() string

func (*Sort) UnmarshalGQL

func (e *Sort) UnmarshalGQL(v interface{}) error

type Version

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

type VersionOrderByInput

type VersionOrderByInput struct {
	Application *Sort `json:"application"`
	Environment *Sort `json:"environment"`
	Location    *Sort `json:"location"`
	Timestamp   *Sort `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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