Documentation
¶
Index ¶
- Constants
- Variables
- type App
- type Apps
- type Custom
- type File
- type Metadata
- type Repo
- type Signed
- type Target
- func (t *Target) AppNames() (res []string)
- func (t *Target) AppURIs() (res []string)
- func (t *Target) Diff(other *Target) (added, removed, same, from, to Apps)
- func (t *Target) Equals(other *Target) bool
- func (t *Target) IsUnknown() bool
- func (t *Target) NoApps() bool
- func (t *Target) ShortlistApps(shortlist []string)
- func (t *Target) ShortlistAppsByURI(shortlist []string)
- type Targets
Constants ¶
View Source
const (
TargetsResourcePath = "/repo/targets.json"
)
Variables ¶
View Source
var (
UnknownTarget = Target{
ID: "unknown",
Version: -1,
}
)
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Signatures *json.RawMessage `json:"signatures"`
Signed Signed `json:"signed"`
}
type Target ¶
func (*Target) ShortlistApps ¶
func (*Target) ShortlistAppsByURI ¶
type Targets ¶
type Targets []Target
func (Targets) GetLatestTarget ¶
func (Targets) GetSortedList ¶
func (Targets) GetTargetByID ¶
func (Targets) GetTargetByVersion ¶
Click to show internal directories.
Click to hide internal directories.