simplestreams

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	Aliases         string                           `json:"aliases"`
	Architecture    string                           `json:"arch"`
	OperatingSystem string                           `json:"os"`
	Requirements    map[string]string                `json:"requirements,omitempty"`
	Release         string                           `json:"release"`
	ReleaseCodename string                           `json:"release_codename,omitempty"`
	ReleaseTitle    string                           `json:"release_title"`
	Supported       bool                             `json:"supported,omitempty"`
	SupportedEOL    string                           `json:"support_eol,omitempty"`
	Version         string                           `json:"version,omitempty"`
	Versions        map[string]api.IncusImageVersion `json:"versions"`

	// Non-standard fields (only used on some image servers).
	Variant string `json:"variant,omitempty"`
}

Product represents a single product inside download.json.

swagger:model SimplestreamsProduct

type Products

type Products struct {
	ContentID string             `json:"content_id"`
	DataType  string             `json:"datatype"`
	Format    string             `json:"format"`
	License   string             `json:"license,omitempty"`
	Products  map[string]Product `json:"products"`
	Updated   string             `json:"updated,omitempty"`
}

Products represents the base of download.json.

swagger:model SimplestreamsProducts

type Stream

type Stream struct {
	Index   map[string]StreamIndex `json:"index"`
	Updated string                 `json:"updated,omitempty"`
	Format  string                 `json:"format"`
}

Stream represents the base structure of index.json.

swagger:model SimplestreamsStream

type StreamIndex

type StreamIndex struct {
	DataType string   `json:"datatype"`
	Path     string   `json:"path"`
	Updated  string   `json:"updated,omitempty"`
	Products []string `json:"products"`
	Format   string   `json:"format,omitempty"`
}

StreamIndex represents the Index entry inside index.json.

swagger:model SimplestreamsStreamIndex

Jump to

Keyboard shortcuts

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