injectcmd

package
v0.0.0-...-6caf7d7 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: 11 Imported by: 0

Documentation

Overview

Package injectcmd holds the inject command of CWS injector

Index

Constants

View Source
const (
	// UserSessionDataMaxSize is the maximum size for the user session context
	UserSessionDataMaxSize = 1024
)

Variables

This section is empty.

Functions

func Command

func Command() []*cobra.Command

Command returns the commands for the setup subcommand

func InjectUserSessionCmd

func InjectUserSessionCmd(args []string, params *InjectCliParams) error

InjectUserSessionCmd handles inject commands

Types

type InjectCliParams

type InjectCliParams struct {
	Data        string
	SessionType string
}

InjectCliParams contains the parameters of the inject command

Jump to

Keyboard shortcuts

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