cmdcockpit

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package cmdcockpit binds Cockpit arguments and output to narrow operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, deps Dependencies) *cobra.Command

Types

type Dependencies

type Dependencies struct {
	Local      func(context.Context, cockpitrun.LocalRequest) (cockpitrun.LocalSession, error)
	HostedURL  func() (string, error)
	Export     func(context.Context, cockpitrun.ExportRequest) cockpitrun.ExportResult
	Open       func(string) error
	IsTerminal func(any) bool
}

Jump to

Keyboard shortcuts

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