target

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TargetCmd = &cobra.Command{
	Use:     "target",
	Args:    cobra.NoArgs,
	Short:   "Manage targets",
	GroupID: util.TARGET_GROUP,
	Aliases: []string{"targets", "tg"},
}

Functions

func CreateTargetDtoFlow added in v0.52.0

func CreateTargetDtoFlow(ctx context.Context, params TargetCreationParams) (*apiclient.CreateTargetDTO, error)

func StartTarget added in v0.52.0

func StartTarget(apiClient *apiclient.APIClient, target apiclient.TargetDTO, restart bool) error

func StopTarget added in v0.52.0

func StopTarget(apiClient *apiclient.APIClient, target apiclient.TargetDTO) error

Types

type TargetCreationParams added in v0.52.0

type TargetCreationParams struct {
	ApiClient         *apiclient.APIClient
	ActiveProfileName string
}

Jump to

Keyboard shortcuts

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