config

package
v0.0.0-...-c523002 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

config package implement configuration retrieval for session manager apis

Index

Constants

View Source
const (
	RolePublishSubscribe               = "publish_subscribe"
	MessageSchemaVersion               = "1.0"
	DefaultTransmissionTimeout         = 200 * time.Millisecond
	DefaultRoundTripTime               = 100 * time.Millisecond
	DefaultRoundTripTimeVariation      = 0
	ResendSleepInterval                = 100 * time.Millisecond
	ResendMaxAttempt                   = 3000 // 5 minutes / ResendSleepInterval
	StreamDataPayloadSize              = 1024
	OutgoingMessageBufferCapacity      = 10000
	IncomingMessageBufferCapacity      = 10000
	RTTConstant                        = 1.0 / 8.0 // Round trip time constant
	RTTVConstant                       = 1.0 / 4.0 // Round trip time variation constant
	ClockGranularity                   = 10 * time.Millisecond
	MaxTransmissionTimeout             = 1 * time.Second
	RetryBase                          = 2
	DataChannelNumMaxRetries           = 5
	DataChannelRetryInitialDelayMillis = 100
	DataChannelRetryMaxIntervalMillis  = 5000
	RetryAttempt                       = 5
	PingTimeInterval                   = 5 * time.Minute

	// Plugin names
	ShellPluginName                  = "Standard_Stream"
	PortPluginName                   = "Port"
	InteractiveCommandsPluginName    = "InteractiveCommands"
	NonInteractiveCommandsPluginName = "NonInteractiveCommands"

	//Agent Versions
	TerminateSessionFlagSupportedAfterThisAgentVersion            = "2.3.722.0"
	TCPMultiplexingSupportedAfterThisAgentVersion                 = "3.0.196.0"
	TCPMultiplexingWithSmuxKeepAliveDisabledAfterThisAgentVersion = "3.1.1511.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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