cli

package
v0.0.0-...-16aca47 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: GPL-2.0, GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI is the interactive operator shell that talks to the REST API.

func New

func New(baseURL, token, certPath string) (*CLI, error)

New creates a certificate-pinned CLI targeting the loopback operator API.

func (*CLI) Run

func (c *CLI) Run()

Run starts the interactive shell. Blocks until the user types "exit" or "quit".

Jump to

Keyboard shortcuts

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