Documentation
¶
Index ¶
Constants ¶
View Source
const ManifestVersion = 1
Variables ¶
This section is empty.
Functions ¶
func CurrentSchemaVersion ¶
func CurrentSchemaVersion() string
func EncodeManifest ¶
Types ¶
type BuildManifestInput ¶
type Manifest ¶
type Manifest struct {
ManifestVersion int `json:"manifestVersion"`
Version string `json:"version"`
Tag string `json:"tag"`
Released string `json:"released"`
Channel string `json:"channel"`
APIVersion string `json:"apiVersion"`
SchemaVersion string `json:"schemaVersion"`
MinCliForDaemon string `json:"minCliForDaemon"`
MinDaemonForCli string `json:"minDaemonForCli"`
Artifacts map[string]Artifact `json:"artifacts"`
}
func BuildManifest ¶
func BuildManifest(input BuildManifestInput) (Manifest, error)
Click to show internal directories.
Click to hide internal directories.