ui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OctantPluginsDir

func OctantPluginsDir() string

OctantPluginsDir returns the location of octant plugins

func VerifyOctantPluginVersion

func VerifyOctantPluginVersion(runner cmdrunner.CommandRunner, pluginName, requiredVersion string, fn func() (string, error)) error

func VerifyOctantPlugins

func VerifyOctantPlugins(runner cmdrunner.CommandRunner) error

Types

type Options

type Options struct {
	options.BaseOptions
	CommandRunner cmdrunner.CommandRunner
	BrowserPath   string
	Host          string
	Port          int
	OctantArgs    []string
}

func NewCmdUI

func NewCmdUI() (*cobra.Command, *Options)

NewCmdUI opens the octant UI

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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