Documentation ¶
Overview ¶
Package ssmconnectionchannel contains logic for tracking the Agent's primary upstream connection channel and its various states.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseMDSSwitchChannel ¶
func CloseMDSSwitchChannel()
CloseMDSSwitchChannel close MDS switch golang channel
func GetConnectionChannel ¶
func GetConnectionChannel() contracts.SSMConnectionChannel
GetConnectionChannel returns the SSM Connection channel(MDS or MGS)
func GetMDSSwitchChannel ¶
func GetMDSSwitchChannel() chan bool
GetMDSSwitchChannel returns the golang channel containing values to switch ON or OFF MDS
func SetConnectionChannel ¶
SetConnectionChannel sets the Upstream SSM connection channel(MDS or MGS)
Types ¶
type MGSState ¶
type MGSState string
MGSState shows the current MGS connection state
const ( // MGSSuccess denotes that the current MGS connection state is successful MGSSuccess MGSState = "MGSSuccess" // MGSFailed denotes that the current MGS connection state has failed MGSFailed MGSState = "MGSFailed" // MGSFailedDueToAccessDenied denotes that the current MGS connection state threw access denied MGSFailedDueToAccessDenied MGSState = "MGSFailedDueToAccessDenied" )
Click to show internal directories.
Click to hide internal directories.