hops

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServeConsoleOpt = "console"
	ServeK8sAppOpt  = "k8sapp"
	ServeRunnerOpt  = "runner"
)

TODO: I'm not super happy with this string based toggle approach as it has ended up being overly complex for such a simple capability. This was formed due to limitations in the CLI library, but we should probably refactor a bit and stop those limitations leaking into the rest of the code.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	Address string
	Serve   bool
}

type HopsServer

type HopsServer struct {
	HopsPath    string
	KeyFilePath string
	Logger      zerolog.Logger
	ReplayEvent string
	Console
	K8sApp
	Runner
}

func (*HopsServer) Start

func (h *HopsServer) Start(ctx context.Context) error

type K8sApp

type K8sApp struct {
	KubeConfig  string
	Serve       bool
	PortForward bool
}

type Runner

type Runner struct {
	Serve bool
}

Jump to

Keyboard shortcuts

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