cli

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 133 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OutputYAML YAML output.
	OutputYAML = "yaml"
	// OutputCSV CSV output.
	OutputCSV = "csv"
)

Variables

This section is empty.

Functions

func Branch

func Branch() *cobra.Command

func BuildBundles added in v0.19.0

func BuildBundles(ctx context.Context, cfg *Global) error

func BundleAll added in v0.19.5

func BundleAll(ctx context.Context, cfg *Global, bcfg *BundleConfig, args []string) (*name.Digest, error)

func CheckUpdate

func CheckUpdate() *cobra.Command

func CommonFS added in v0.19.5

func CommonFS(dirfs fs.FS) (fs.FS, error)

func Diff

func Diff() *cobra.Command

func Gc

func Gc() *cobra.Command

func Issues added in v0.13.0

func Issues() *cobra.Command

func New

func New() *cobra.Command

func Package

func Package() *cobra.Command

func Release

func Release() *cobra.Command

func SoName

func SoName() *cobra.Command

Types

type BundleConfig added in v0.19.5

type BundleConfig struct {
	BaseRef     string
	Base        v1.ImageIndex
	Repo        string
	CommonFiles fs.FS
	Pusher      *remote.Pusher

	Dirfs fs.FS
	// contains filtered or unexported fields
}

type Global added in v0.19.0

type Global struct {
	BuildID uuid.UUID

	Jobs int

	Dir             string
	DestinationRepo string
	PipelineDir     string
	Runner          string

	Archs      []string
	ExtraKeys  []string
	ExtraRepos []string

	PurlNamespace string

	OutDir string

	Fuses []string

	Bundle string

	GCS               *storage.Client
	StagingBucket     string
	DestinationBucket string

	K8sNamespace   string
	ServiceAccount string
	MachineFamily  string
	Annotations    map[string]string

	ProjectID       string
	ClusterLocation string
	ClusterName     string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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