run

package
v0.0.0-...-663520b Latest Latest
Warning

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

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

Documentation

Overview

Package run implements 'agent run' (and deprecated 'agent start').

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

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

Commands returns a slice of subcommands for the 'agent' command.

func StopAgentWithDefaults

func StopAgentWithDefaults()

StopAgentWithDefaults is a temporary way for other packages to use stopAgent.

Types

type Servicedef

type Servicedef struct {
	// contains filtered or unexported fields
}

Servicedef defines a service

func (*Servicedef) IsEnabled

func (s *Servicedef) IsEnabled() bool

IsEnabled checks to see if a given service should be started

func (*Servicedef) Start

func (s *Servicedef) Start() error

Start starts the service

func (*Servicedef) Stop

func (s *Servicedef) Stop() error

Stop stops the service

Directories

Path Synopsis
internal
clcrunnerapi
Package clcrunnerapi implements the clc runner IPC api.
Package clcrunnerapi implements the clc runner IPC api.
clcrunnerapi/v1
Package v1 implements the api endpoints for the `/api/v1` prefix.
Package v1 implements the api endpoints for the `/api/v1` prefix.
settings
Package settings contains the runtime settings for the agent
Package settings contains the runtime settings for the agent

Jump to

Keyboard shortcuts

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