logs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package logs implements the deployah logs command.

The command streams or tails pod logs for components deployed by Deployah, using Kubernetes selectors derived from Helm release metadata.

Register the command with Register on a nabat.dev/nabat.App instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(app *nabat.App)

Register adds the logs command to app.

Types

type Options

type Options struct {
	Project      string        `nabat:"project"`
	NoFollow     bool          `nabat:"no-follow"`
	Container    string        `nabat:"container"`
	Since        time.Duration `nabat:"since"`
	Tail         int64         `nabat:"tail"`
	Timestamps   bool          `nabat:"timestamps"`
	Resource     string        `nabat:"resource"`
	Component    string        `nabat:"component"`
	Environment  string        `nabat:"environment"`
	OnlyLogLines bool          `nabat:"only-log-lines"`
	Template     string        `nabat:"template"`
	TemplateFile string        `nabat:"template-file"`
	Timezone     string        `nabat:"timezone"`
}

Options holds command-line flags for logs.

Jump to

Keyboard shortcuts

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