cli

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: GPL-3.0 Imports: 29 Imported by: 2

README

server/cli

Overview

CLI entrypoint for running the server daemon. Parses flags, configures logging, and launches the service runtime. Key routines cover certs, daemon, operator, and unpack within the cli subsystem.

Go Files

  • builder.go – CLI commands for server-side payload building.
  • certs.go – CLI actions for certificate management.
  • cli.go – Root command setup and flag parsing for the server CLI.
  • daemon.go – Commands to run the server daemon and control lifecycle.
  • operator.go – Operator management commands (create/list/etc.).
  • unpack.go – Extracts embedded assets from the server binary.
  • version.go – Prints server build/version information.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CATypes - CA types
	CATypes = map[string]string{
		"operator": certs.OperatorCA,
		"mtls":     certs.MtlsImplantCA,
		"https":    certs.HTTPSCA,
	}
)

Functions

func Execute

func Execute()

Execute - Execute root command

func StartPersistentJobs added in v1.6.0

func StartPersistentJobs(listenerJobs []*clientpb.ListenerJob) error

Types

type CA

type CA struct {
	Certificate string `json:"certificate"`
	PrivateKey  string `json:"private_key"`
}

CA - Exported CA format

Jump to

Keyboard shortcuts

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