debian

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPSource

func NewHTTPSource(uri string, opts Options) kubernetesversions.Source

Types

type BinaryParagraph

type BinaryParagraph struct {
	Package      string
	Version      string
	Architecture string
}

BinaryParagraph is a simple struct that holds Debian's package control files. See https://www.debian.org/doc/debian-policy/#s-binarycontrolfiles. TODO(dkoshkin): consider using a type from pault.ag/go/debian/control.

func (*BinaryParagraph) GetVersion

func (p *BinaryParagraph) GetVersion() string

GetVersion returns the version with format "vX.X.X" dropping all other version information.

type Options

type Options struct {
	Architecture string
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

func (Source) List

Jump to

Keyboard shortcuts

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