start

package
v0.9.1-0...-cefb01c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 59 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) (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