start

package
v0.0.0-...-332025d Latest Latest
Warning

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

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

Documentation

Overview

Package start implements start related subcommands

Index

Constants

This section is empty.

Variables

View Source
var ErrAllComponentsDisabled = errors.New("all security-agent component are disabled")

ErrAllComponentsDisabled is returned when all components are disabled

Functions

func Commands

func Commands(globalParams *command.GlobalParams) []*cobra.Command

Commands returns the start commands

func RunAgent

func RunAgent(log log.Component, config config.Component, telemetry telemetry.Component, statusComponent status.Component, settings settings.Component, wmeta workloadmeta.Component, at authtoken.Component) (err error)

RunAgent initialized resources and starts API server

func StopAgent

func StopAgent(log log.Component)

StopAgent stops the API server and clean up resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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