devicemanager

package
v0.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager() *cobra.Command

Types

type DeviceManager

type DeviceManager struct {
	Kubeconfig      string `usage:"Path to kubeconfig file" short:"k" env:"KUBECONFIG"`
	Namespace       string `usage:"Deployment namespace" default:"llmos-system" short:"n" env:"LLMOS_NAMESPACE"`
	HttpAddress     string `usage:"Address to listen for HTTP requests" default:"0.0.0.0:8080" short:"a" env:"LLMOS_HTTP_ADDRESS"`
	ProfilerAddress string `usage:"Address to listen for profiling" default:"0.0.0.0:6060" short:"p" env:"LLMOS_PROFILER_ADDRESS"`
	Threadiness     int    `usage:"Number of threads to run" default:"2" short:"w" env:"LLMOS_THREADINESS"`
}

func (*DeviceManager) Run

func (dm *DeviceManager) Run(cmd *cobra.Command, _ []string) error

Jump to

Keyboard shortcuts

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