versions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagPackage = "package"
	FlagLimit   = "limit"
	FlagFilter  = "filter"
)

Variables

This section is empty.

Functions

func NewCmdVersions

func NewCmdVersions(f factory.Factory) *cobra.Command

The 'versions' command lists all the available versions of a given package. Only the builtin octopus server feed repository is supported.

Types

type PackageVersionViewModel

type PackageVersionViewModel struct {
	Version   string
	Published time.Time
	Size      int64 // size in bytes
}

type VersionsFlags

type VersionsFlags struct {
	Limit   *flag.Flag[int32]
	Filter  *flag.Flag[string]
	Package *flag.Flag[string]
}

func NewVersionsFlags

func NewVersionsFlags() *VersionsFlags

Jump to

Keyboard shortcuts

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