packages

package
v0.0.0-...-add3e08 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bionic

type Bionic struct{}

func (Bionic) GetPackageMetadata

func (b Bionic) GetPackageMetadata(imageName string) (string, error)

func (Bionic) GetPackagesList

func (b Bionic) GetPackagesList(imageName string) ([]string, error)

type PackageMetadata

type PackageMetadata struct {
	Name    string        `json:"name"`
	Version string        `json:"version"`
	Arch    string        `json:"arch"`
	Source  SourcePackage `json:"source"`
	Summary string        `json:"summary"`
}

type SourcePackage

type SourcePackage struct {
	Name            string `json:"name"`
	Version         string `json:"version"`
	UpstreamVersion string `json:"upstreamVersion"`
}

Jump to

Keyboard shortcuts

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