fetch

package
v0.7.11-27-gdbee4fb3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: BSD-3-Clause Imports: 22 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 Fetch

func Fetch(ctx context.Context, opts *FetchOptions, args ...string) error

Fetch Unikraft unikernel dependencies

func NewCmd

func NewCmd() *cobra.Command

Types

type FetchOptions

type FetchOptions struct {
	Architecture string `long:"arch" short:"m" usage:"Filter the creation of the build by architecture of known targets"`
	Kraftfile    string `long:"kraftfile" short:"K" usage:"Set an alternative path of the Kraftfile"`
	NoCache      bool   `long:"no-cache" usage:"Do not use the cache when pulling dependencies"`
	NoConfigure  bool   `long:"no-configure" usage:"Do not run Unikraft's configure step before building"`
	NoPull       bool   `long:"no-pull" usage:"Do not pull the dependencies of the project"`
	Platform     string `long:"plat" short:"p" usage:"Filter the creation of the build by platform of known targets"`
	Target       string `long:"target" short:"t" usage:"Build a particular known target"`
	// contains filtered or unexported fields
}

func (*FetchOptions) Pre

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

func (*FetchOptions) Run

func (opts *FetchOptions) Run(ctx context.Context, _ []string) error

Jump to

Keyboard shortcuts

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