update

package
v0.7.0-103-gef8590f Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: BSD-3-Clause Imports: 9 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 NewCmd

func NewCmd() *cobra.Command

func Update

func Update(ctx context.Context, opts *UpdateOptions, args ...string) error

Update the local index of known locations for remote Unikraft components.

Types

type UpdateOptions

type UpdateOptions struct {
	Manager string `long:"manager" short:"m" usage:"Force the handler type" default:"manifest" local:"true"`
}

func (*UpdateOptions) Pre

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

func (*UpdateOptions) Run

func (opts *UpdateOptions) 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