events

package
v0.6.7-283-g5b9c370 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: BSD-3-Clause Imports: 17 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 Events added in v0.2.0

type Events struct {
	Granularity  time.Duration `long:"poll-granularity" short:"g" usage:"How often the machine store and state should polled"`
	QuitTogether bool          `long:"quit-together" short:"q" usage:"Exit event loop when machine exits"`
	// contains filtered or unexported fields
}

func (*Events) Pre added in v0.6.0

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

func (*Events) Run added in v0.2.0

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