data

package
v0.0.0-...-a0b8de0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	ID      string `json:"id"`

	Prefix   string `json:"prefix"`
	BuildDir string `json:"build_dir"`

	Dependencies map[string]*BuildInfoDependency `json:"dependencies"`
}

BuildInfo is made available in the APPERTURE_BUILD_INFO env var to any script that is built.

type BuildInfoDependency

type BuildInfoDependency struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	ID      string `json:"id"`
	Path    string `json:"path"`

	Dependencies []string `json:"dependencies"`
}

type CarDependency

type CarDependency struct {
	ID     string `json:"id"`
	Repo   string `json:"repo"`
	Signer string `json:"signer"`
}

type CarInfo

type CarInfo struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Version string `json:"version"`

	Repo string `json:"repo"`

	Signer string `json:"signer"`

	Dependencies []*CarDependency `json:"dependencies"`

	Platform *CarPlatform `json:"platform"`

	Constraints map[string]string `json:"constraints"`
}

type CarPlatform

type CarPlatform struct {
	OS        string `json:"os"`
	OSVersion string `json:"os_version"`
	Arch      string `json:"architecture"`
}

type GlobalPackage

type GlobalPackage struct {
	Name string `json:"name"`
	Id   string `json:"id"`
}

type GlobalPackages

type GlobalPackages struct {
	Packages []*GlobalPackage `json:"packages"`
}

type InfoFile

type InfoFile struct {
	ID   string `json:"id"`
	Repo string `json:"repo"`
}

type LockFile

type LockFile struct {
	CreatedAt time.Time        `json:"created_at"`
	Sources   []*LockFileEntry `json:"sources"`
}

type LockFileEntry

type LockFileEntry struct {
	Name string `json:"name"`
	Ref  string `json:"ref"`

	RequestedVersion string `json:"requested_verison"`
	ResolvedVersion  string `json:"resolved_version"`
}

type PackageInfo

type PackageInfo struct {
	Id          string            `json:"id"`
	Name        string            `json:"name"`
	Version     string            `json:"version"`
	Repo        string            `json:"repo"`
	DeclDeps    []string          `json:"declared_deps"`
	RuntimeDeps []string          `json:"runtime_deps"`
	BuildDeps   []string          `json:"build_deps"`
	Constraints map[string]string `json:"constraints"`
	Inputs      []*PackageInput   `json:"inputs"`
}

type PackageInput

type PackageInput struct {
	Name    string `json:"name"`
	SumType string `json:"sum_type"`
	Sum     string `json:"sum"`
	Dir     string `json:"dir,omitempty"`
	Path    string `json:"path,omitempty"`
	Id      string `json:"id,omitempty"`
}

type RepoEntry

type RepoEntry struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Description string `json:"description"`
	URL         string `json:"url"`

	Dependencies []string          `json:"dependencies"`
	Metadata     map[string]string `json:"metadata,omitempty"`
	Vendor       string            `json:"vendor,omitempty"`
}

type RepoIndex

type RepoIndex struct {
	CreatedAt time.Time   `json:"created_at"`
	Entries   []RepoEntry `json:"entries"`
}

type RepoInfo

type RepoInfo struct {
	Id string
}

type Sources

type Sources map[string]string

Jump to

Keyboard shortcuts

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