distro

package
v0.0.0-...-63db9e9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "distro"

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

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

func FromString

func FromString(namespaceStr string) (*Namespace, error)

func NewNamespace

func NewNamespace(provider string, distroType distro.Type, version string) *Namespace

func (*Namespace) DistroType

func (n *Namespace) DistroType() distro.Type

func (*Namespace) Provider

func (n *Namespace) Provider() string

func (*Namespace) Resolver

func (n *Namespace) Resolver() resolver.Resolver

func (Namespace) String

func (n Namespace) String() string

func (*Namespace) Version

func (n *Namespace) Version() string

Jump to

Keyboard shortcuts

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