models

package
v0.0.0-...-24a3c11 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckOutput

type CheckOutput []GitBranch

type CheckRequest

type CheckRequest struct {
	Source  Source    `json:"source"`
	Version GitBranch `json:"version"`
}

type GitBranch

type GitBranch struct {
	Branch string    `json:"branch"`
	Ref    string    `json:"ref"`
	Time   time.Time `json:"date"`
}

type InOutput

type InOutput struct {
	Version  GitBranch `json:"version"`
	Metadata []KVPair  `json:"metadata"`
}

type InRequest

type InRequest struct {
	Source  Source    `json:"source"`
	Version GitBranch `json:"version"`
}

type KVPair

type KVPair struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type Source

type Source struct {
	URI        string `json:"uri"`
	PrivateKey string `json:"private_key"`
}

Jump to

Keyboard shortcuts

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