pull

package
v0.6.4-204-g0223d4d Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 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 except 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"`
	ForceCache   bool   `long:"force-cache" short:"Z" usage:"Force using cache and pull directly from source"`
	Kraftfile    string `long:"kraftfile" usage:"Set an alternative path of the Kraftfile"`
	Manager      string `long:"manager" short:"M" usage:"Force the handler type (Omittion will attempt auto-detect)" default:"auto"`
	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, _ []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