pull

package
v0.2.2-18-g3195c1f Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file expect in compliance with the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.2.0

func New() *cobra.Command

Types

type Pull added in v0.2.0

type Pull struct {
	AllVersions  bool   `long:"all-versions" short:"A" usage:"Pull all versions"`
	Architecture string `long:"arch" short:"m" usage:"Specify the desired architecture"`
	Manager      string `long:"manager" short:"M" usage:"Force the handler type (Omittion will attempt auto-detect)" default:"auto"`
	NoCache      bool   `long:"no-cache" short:"Z" usage:"Do not use cache and pull directly from source"`
	NoChecksum   bool   `long:"no-checksum" short:"C" usage:"Do not verify package checksum (if available)"`
	NoDeps       bool   `long:"no-deps" short:"D" usage:"Do not pull dependencies"`
	Platform     string `long:"plat" short:"p" usage:"Specify the desired platform"`
	WithDeps     bool   `long:"with-deps" short:"d" usage:"Pull dependencies"`
	Workdir      string `long:"workdir" short:"w" usage:"Set a path to working directory to pull components to"`
}

func (*Pull) Pre added in v0.2.0

func (opts *Pull) Pre(cmd *cobra.Command, args []string) error

func (*Pull) Run added in v0.2.0

func (opts *Pull) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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