logs

package
v0.7.13-12-g9bb6b3f7 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: BSD-3-Clause Imports: 11 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 Log

func Log(ctx context.Context, opts *LogOptions, args ...string) error

Log retrieves the console output from a KraftCloud instance.

func NewCmd

func NewCmd() *cobra.Command

Types

type LogOptions

type LogOptions struct {
	Tail int `local:"true" long:"tail" short:"n" usage:"Lines of recent logs to display" default:"-1"`
	// contains filtered or unexported fields
}

func (*LogOptions) Pre

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

func (*LogOptions) Run

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