source

package
v0.8.7-285-g87dd5426 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: BSD-3-Clause Imports: 8 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 NewCmd

func NewCmd() *cobra.Command

func Source

func Source(ctx context.Context, opts *SourceOptions, args ...string) error

Source adds a remote location for discovering one-or-many Unikraft components.

Types

type SourceOptions

type SourceOptions struct {
	Force bool `short:"F" long:"force" usage:"Do not run a compatibility test before sourcing."`
}

func (*SourceOptions) Pre

func (*SourceOptions) Pre(cmd *cobra.Command, _ []string) error

func (*SourceOptions) Run

func (opts *SourceOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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