agent

command
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package main represents the entry point of the agent.

Package main represents the entry point of the agent. Parser contains logic for commandline handling flags

Directories

Path Synopsis
Package agent represents the core SSM agent object
Package agent represents the core SSM agent object
agentlogstocloudwatch
cloudwatchlogspublisher
Package cloudwatchlogspublisher is responsible for pulling logs from the log queue and publishing them to cloudwatch
Package cloudwatchlogspublisher is responsible for pulling logs from the log queue and publishing them to cloudwatch
Package appconfig manages the configuration of the agent.
Package appconfig manages the configuration of the agent.
association
converter
Package converter converts the plugin information from version 1.0 and 1.2 to version 2.0
Package converter converts the plugin information from version 1.0 and 1.2 to version 2.0
frequentcollector
Package frequentcollector enable customers to detect changed inventory types and upload the changed inventory data to SSM service between 2 scheduled collections.
Package frequentcollector enable customers to detect changed inventory types and upload the changed inventory data to SSM service between 2 scheduled collections.
mocks/processor
Package processor manage polling of associations, dispatching association to processor
Package processor manage polling of associations, dispatching association to processor
mocks/service
Package service wraps SSM service
Package service wraps SSM service
model
Package model provides model definition for association
Package model provides model definition for association
parser
Package parser contains utilities for parsing and encoding MDS/SSM messages.
Package parser contains utilities for parsing and encoding MDS/SSM messages.
processor
Package processor manage polling of associations, dispatching association to processor
Package processor manage polling of associations, dispatching association to processor
rateexpr
Package rateexpr provides logic for parsing and scheduling rate expressions
Package rateexpr provides logic for parsing and scheduling rate expressions
recorder
Package recorder records the association name of the last executed association to avoid duplicate execution
Package recorder records the association name of the last executed association to avoid duplicate execution
scheduleexpression
Package scheduleexpression provides interface for schedule expression and factory for constructing generic parsed schedule expression
Package scheduleexpression provides interface for schedule expression and factory for constructing generic parsed schedule expression
schedulemanager
Package schedulemanager schedules association and submits the association to the task pool schedulemanager is a singleton so it can be access at the plugin level
Package schedulemanager schedules association and submits the association to the task pool schedulemanager is a singleton so it can be access at the plugin level
schedulemanager/signal
Package signal manages signal channel required by sending/receiving request for executing scheduled association
Package signal manages signal channel required by sending/receiving request for executing scheduled association
scheduler
Package scheduler provides ability to create scheduled job
Package scheduler provides ability to create scheduled job
service
Package service wraps SSM service
Package service wraps SSM service
cli
Package cli represents the entry point of the ssm agent cli.
Package cli represents the entry point of the ssm agent cli.
clicommand
Package clicommand contains the implementation of all commands for the ssm agent cli
Package clicommand contains the implementation of all commands for the ssm agent cli
cliutil
Package cliutil contains helper functions for cli and clicommand
Package cliutil contains helper functions for cli and clicommand
cliutil/mocks
Package mocks represents the mock for interface CliCommand in cliutil package.
Package mocks represents the mock for interface CliCommand in cliutil package.
Package main represents the entry point of the ssm agent cli.
Package main represents the entry point of the ssm agent cli.
Package context defines a type that carries context specific data such as the logger.
Package context defines a type that carries context specific data such as the logger.
Package contracts helps persist documents state to disk
Package contracts helps persist documents state to disk
Package executers contains general purpose (shell) command executing objects.
Package executers contains general purpose (shell) command executing objects.
Package fileutil contains utilities for working with the file system.
Package fileutil contains utilities for working with the file system.
artifact
Package artifact contains utilities for working downloading files.
Package artifact contains utilities for working downloading files.
filemanager
TODO: This package is a start to migration of the fileutil code to be inside an interface for better mocking.
TODO: This package is a start to migration of the fileutil code to be inside an interface for better mocking.
filemanager/mock
Package fileutil_mock has mock functions for filemanager package
Package fileutil_mock has mock functions for filemanager package
framework
coremanager
Package coremanager encapsulates the logic for configuring, starting and stopping core modules
Package coremanager encapsulates the logic for configuring, starting and stopping core modules
coremanager/mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
coremodules
Package coremodules contains a list of implemented core modules.
Package coremodules contains a list of implemented core modules.
docmanager
Package docmanager helps persist documents state to disk
Package docmanager helps persist documents state to disk
docparser
Package docparser contains methods for parsing and encoding any type of document, i.e.
Package docparser contains methods for parsing and encoding any type of document, i.e.
docparser/parameters
Package parameters provides utilities to parse ssm document parameters
Package parameters provides utilities to parse ssm document parameters
docparser/parameterstore
Package parameterstore contains modules to resolve ssm parameters present in the document.
Package parameterstore contains modules to resolve ssm parameters present in the document.
docparser/paramvalidator
Package paramvalidator is responsible for registering all the param validators available and exposes getter functions to be utilized by other modules
Package paramvalidator is responsible for registering all the param validators available and exposes getter functions to be utilized by other modules
docparser/paramvalidator/allowedregexparamvalidator
Package allowedregexparamvalidator is responsible for validating parameter value with regex pattern given in the document.
Package allowedregexparamvalidator is responsible for validating parameter value with regex pattern given in the document.
docparser/paramvalidator/allowedvalueparamvalidator
Package allowedvalueparamvalidator is responsible for validating parameter value with the allowed values given in the document.
Package allowedvalueparamvalidator is responsible for validating parameter value with the allowed values given in the document.
docparser/paramvalidator/minmaxcharparamvalidator
Package minmaxcharparamvalidator is responsible for validating parameter value with the min max char restriction given in the document for parameters.
Package minmaxcharparamvalidator is responsible for validating parameter value with the min max char restriction given in the document for parameters.
docparser/paramvalidator/minmaxitemparamvalidator
Package minmaxitemparamvalidator is responsible for validating parameter value with the min max item restriction given in the document for parameters.
Package minmaxitemparamvalidator is responsible for validating parameter value with the min max item restriction given in the document for parameters.
processor
Package processor defines the document processing unit interface
Package processor defines the document processing unit interface
processor/executer
Package executer provides interfaces as document execution logic
Package executer provides interfaces as document execution logic
processor/executer/basicexecuter
Package basicexecuter provides interfaces as document execution logic
Package basicexecuter provides interfaces as document execution logic
processor/executer/iohandler
Package iohandler implements the iohandler for the plugins
Package iohandler implements the iohandler for the plugins
processor/executer/iohandler/iomodule
Package iomodule implements the output modules
Package iomodule implements the output modules
processor/executer/iohandler/iomodule/mock
Package iomodulemock implements the mock iomodule
Package iomodulemock implements the mock iomodule
processor/executer/iohandler/mock
Package iohandlermocks implements the mock iohandler
Package iohandlermocks implements the mock iohandler
processor/executer/iohandler/multiwriter
Package multiwriter implements a multi-writer
Package multiwriter implements a multi-writer
processor/executer/iohandler/multiwriter/mock
Package multiwritermock creates the mock mulitwriter
Package multiwritermock creates the mock mulitwriter
processor/executer/mock
Package executer provides interfaces as document execution logic
Package executer provides interfaces as document execution logic
processor/executer/outofproc/proc
Package process wraps up the os.Process interface and also provides os-specific process lookup functions
Package process wraps up the os.Process interface and also provides os-specific process lookup functions
processor/executer/outofproc/sessionworker
Package main implements a separate worker which is used to execute requests from session manager.
Package main implements a separate worker which is used to execute requests from session manager.
processor/executer/plugin
Package plugin contains general interfaces and types relevant to plugins.
Package plugin contains general interfaces and types relevant to plugins.
runpluginutil
Package runpluginutil run plugin utility functions without referencing the actually plugin impl packages
Package runpluginutil run plugin utility functions without referencing the actually plugin impl packages
Package health contains routines that periodically reports health information of the agent
Package health contains routines that periodically reports health information of the agent
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
Package hibernation is responsible for the agent in hibernate mode.
Package hibernation is responsible for the agent in hibernate mode.
mocks
Code generated by mockery v2.9.4.
Code generated by mockery v2.9.4.
ipc
messagebus
Package messagebus logic to send message and get reply over IPC
Package messagebus logic to send message and get reply over IPC
Package jsonutil contains various utilities for dealing with json data.
Package jsonutil contains various utilities for dealing with json data.
log
logger
Package ssmlog is used to initialize ssm functional logger
Package ssmlog is used to initialize ssm functional logger
ssmlog
Package ssmlog is used to initialize ssm functional logger
Package ssmlog is used to initialize ssm functional logger
Package longrunning implements longrunning plugins
Package longrunning implements longrunning plugins
datastore
Package datastore has utilites to read and write from long running plugins data-store
Package datastore has utilites to read and write from long running plugins data-store
jobobject
Package JobObject allows creation of job object for SSM agent process.
Package JobObject allows creation of job object for SSM agent process.
manager
Package manager encapsulates everything related to long running plugin manager that starts, stops & configures long running plugins
Package manager encapsulates everything related to long running plugin manager that starts, stops & configures long running plugins
mocks/cloudwatch
Package cloudwatch implements cloudwatch plugin and its configuration
Package cloudwatch implements cloudwatch plugin and its configuration
mocks/manager
Package manager encapsulates everything related to long running plugin manager that starts, stops & configures long running plugins
Package manager encapsulates everything related to long running plugin manager that starts, stops & configures long running plugins
plugin
Package plugin contains all essential structs/interfaces for long running plugins
Package plugin contains all essential structs/interfaces for long running plugins
plugin/cloudwatch
Package cloudwatch implements cloudwatch plugin and its configuration
Package cloudwatch implements cloudwatch plugin and its configuration
plugin/rundaemon
Package rundaemon implements rundaemon plugin and its configuration
Package rundaemon implements rundaemon plugin and its configuration
managedInstances
auth
package auth provides methods to implement managed instances auth support
package auth provides methods to implement managed instances auth support
fingerprint
Package fingerprint contains functions that helps identify an instance this is done to protect customers from launching two instances with the same instance identifier and thus running commands intended for one on the other
Package fingerprint contains functions that helps identify an instance this is done to protect customers from launching two instances with the same instance identifier and thus running commands intended for one on the other
registration
package registration provides managed instance information
package registration provides managed instance information
sharedCredentials
package sharedCredentials provides access to the aws shared credentials file.
package sharedCredentials provides access to the aws shared credentials file.
user
package user re-implements os/user functions without the use of cgo
package user re-implements os/user functions without the use of cgo
vault
Package vault provide interface for data storage.
Package vault provide interface for data storage.
vault/fsvault
Package fsvault implements vault with file system storage.
Package fsvault implements vault with file system storage.
Package messageservice will be responsible for initializing MDS and MGS interactors and then launch message handlers to handle the commands received from interactors.
Package messageservice will be responsible for initializing MDS and MGS interactors and then launch message handlers to handle the commands received from interactors.
contracts
Package contracts defines the common structs needed for messageservice
Package contracts defines the common structs needed for messageservice
interactor
Package interactor contains the logic to communicate with upstream core services MGS & MDS
Package interactor contains the logic to communicate with upstream core services MGS & MDS
interactor/mdsinteractor
Package mdsinteractor will be responsible for communicating with MDS
Package mdsinteractor will be responsible for communicating with MDS
interactor/mgsinteractor
Package mgsinteractor contains logic to open control channel and communicate with MGS
Package mgsinteractor contains logic to open control channel and communicate with MGS
interactor/mgsinteractor/replytypes
Package replytypes will be responsible for handling agent run command reply type from the processor
Package replytypes will be responsible for handling agent run command reply type from the processor
messagehandler
Package messagehandler defines methods to be used by Interactors for submission of commands to the processors through ProcessorWrappers It also forwards the replies receives from processor wrapper
Package messagehandler defines methods to be used by Interactors for submission of commands to the processors through ProcessorWrappers It also forwards the replies receives from processor wrapper
messagehandler/idempotency
Package idempotency implements methods to maintain idempotency with the commands received
Package idempotency implements methods to maintain idempotency with the commands received
messagehandler/processorwrappers
Package processorwrappers implements different processor wrappers to handle the processors which launches document worker and session worker for now
Package processorwrappers implements different processor wrappers to handle the processors which launches document worker and session worker for now
utils
Package utils provides utility functions to be used by interactors
Package utils provides utility functions to be used by interactors
mocks
log
updateutil
Package updateutil contains updater specific utilities.
Package updateutil contains updater specific utilities.
Package platform contains platform specific utilities.
Package platform contains platform specific utilities.
plugins
configurecontainers/windowscontainerutil
Package windowscontainerutil implements the the install and uninstall steps for windows for the configurecontainers plugin.
Package windowscontainerutil implements the the install and uninstall steps for windows for the configurecontainers plugin.
configuredaemon
Package configuredaemon implements the ConfigureDaemon plugin.
Package configuredaemon implements the ConfigureDaemon plugin.
configurepackage
Package configurepackage implements the ConfigurePackage plugin.
Package configurepackage implements the ConfigurePackage plugin.
configurepackage/birdwatcher/archive
package archive holds the resources for the archive
package archive holds the resources for the archive
configurepackage/birdwatcher/birdwatcherarchive
Package birdwatcherarchive contains the struct that is called when the package information is stored in birdwatcher
Package birdwatcherarchive contains the struct that is called when the package information is stored in birdwatcher
configurepackage/birdwatcher/documentarchive
Package documentarchive contains the struct that is called when the package information is stored in birdwatcher
Package documentarchive contains the struct that is called when the package information is stored in birdwatcher
configurepackage/birdwatcher/facade
This package returns the means of creating an object of type facade
This package returns the means of creating an object of type facade
configurepackage/birdwatcher/facade/mocks
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
configurepackage/birdwatcher/facade/retryer
Package retryer overrides the default ssm retryer delay logic to suit GetManifest, DescribeDocument and GetDocument
Package retryer overrides the default ssm retryer delay logic to suit GetManifest, DescribeDocument and GetDocument
configurepackage/installer
Package installer implements interfaces for installing and uninstalling packages
Package installer implements interfaces for installing and uninstalling packages
configurepackage/installer/mock
Package installer_mock implements the mock for the installer package
Package installer_mock implements the mock for the installer package
configurepackage/localpackages
Package localpackages implements the local storage for packages managed by the ConfigurePackage plugin.
Package localpackages implements the local storage for packages managed by the ConfigurePackage plugin.
configurepackage/localpackages/mock
Package repository_mock implements the mock for Repository.
Package repository_mock implements the mock for Repository.
configurepackage/packageservice/mock
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
configurepackage/ssminstaller
Package ssminstaller implements the installer for ssm packages that use documents or scripts to install and uninstall.
Package ssminstaller implements the installer for ssm packages that use documents or scripts to install and uninstall.
domainjoin
Package domainjoin implements the domain join plugin.
Package domainjoin implements the domain join plugin.
downloadcontent
Package downloadcontent implements the aws:downloadContent plugin
Package downloadcontent implements the aws:downloadContent plugin
downloadcontent/gitresource
Package gitresource implements methods and defines resources required to access git repositories
Package gitresource implements methods and defines resources required to access git repositories
downloadcontent/gitresource/github
Package github implements the methods to access resources from github
Package github implements the methods to access resources from github
downloadcontent/gitresource/github/privategithub
Package privategithub deals with all the authorization invocations to access private github
Package privategithub deals with all the authorization invocations to access private github
downloadcontent/gitresource/github/privategithub/githubclient
Package githubclient contains methods for interacting with git
Package githubclient contains methods for interacting with git
downloadcontent/gitresource/github/privategithub/githubclient/mock
Package mock_githubclient contains methods to mock githubclient package
Package mock_githubclient contains methods to mock githubclient package
downloadcontent/gitresource/privategit
Package privategit implements the methods to access resources over Git
Package privategit implements the methods to access resources over Git
downloadcontent/gitresource/privategit/handler
Package handler provides methods for accessing git repositories over SSH or HTTP(s)
Package handler provides methods for accessing git repositories over SSH or HTTP(s)
downloadcontent/gitresource/privategit/handler/core
Package core contains wrapper structs for the git package resources
Package core contains wrapper structs for the git package resources
downloadcontent/gitresource/privategit/handler/core/mock
Package mock defines the struct and its corresponding methods for mocking core.Repository
Package mock defines the struct and its corresponding methods for mocking core.Repository
downloadcontent/gitresource/privategit/handler/mock
Package mock defines the struct and its corresponding methods for mocking handler.IGitHandler
Package mock defines the struct and its corresponding methods for mocking handler.IGitHandler
downloadcontent/httpresource
Package httpresource provides methods to download resources over HTTP(s)
Package httpresource provides methods to download resources over HTTP(s)
downloadcontent/httpresource/handler
Package handler provides methods to access resources over HTTP(s)
Package handler provides methods to access resources over HTTP(s)
downloadcontent/httpresource/handler/auth/digest
Package digest defines functionality required to support digest authorization
Package digest defines functionality required to support digest authorization
downloadcontent/remoteresource
Package remoteresource is the factory for creating and developing on multiple remote resources
Package remoteresource is the factory for creating and developing on multiple remote resources
downloadcontent/remoteresource/mock
Package remoteresource_mock has mock functions for remoteresource package
Package remoteresource_mock has mock functions for remoteresource package
downloadcontent/s3resource
Package s3resource implements the methods to access resources from s3
Package s3resource implements the methods to access resources from s3
downloadcontent/ssmdocresource
Package ssmdocresource implements the methods to access resources from ssm
Package ssmdocresource implements the methods to access resources from ssm
downloadcontent/system
Package system have all the files related dependencies used by the copy package
Package system have all the files related dependencies used by the copy package
downloadcontent/types
Package types defines custom types
Package types defines custom types
inventory
Package inventory contains implementation of aws:softwareInventory plugin
Package inventory contains implementation of aws:softwareInventory plugin
inventory/datauploader
Package datauploader contains routines upload inventory data to SSM - Inventory service
Package datauploader contains routines upload inventory data to SSM - Inventory service
inventory/gatherers
Package gatherers contains routines for different types of inventory gatherers
Package gatherers contains routines for different types of inventory gatherers
inventory/gatherers/application
Package application contains a application gatherer.
Package application contains a application gatherer.
inventory/gatherers/awscomponent
Package awscomponent contains a aws component gatherer.
Package awscomponent contains a aws component gatherer.
inventory/gatherers/billinginfo
Package billinginfo contains a billinginfo gatherer.
Package billinginfo contains a billinginfo gatherer.
inventory/gatherers/custom
Package custom contains a gatherer for collecting custom inventory items
Package custom contains a gatherer for collecting custom inventory items
inventory/gatherers/file
Package file contains file gatherer.
Package file contains file gatherer.
inventory/gatherers/instancedetailedinformation
Package instancedetailedinformation contains a gatherer for the AWS:InstanceDetailedInformation inventory type.
Package instancedetailedinformation contains a gatherer for the AWS:InstanceDetailedInformation inventory type.
inventory/gatherers/network
Package network contains a network gatherer.
Package network contains a network gatherer.
inventory/gatherers/registry
Package registry collects information about windows registry
Package registry collects information about windows registry
inventory/gatherers/role
Package role contains a role gatherer.
Package role contains a role gatherer.
inventory/gatherers/service
Package service contains a service gatherer.
Package service contains a service gatherer.
inventory/mocks/datauploader
Package datauploader contains routines upload inventory data to SSM - Inventory service
Package datauploader contains routines upload inventory data to SSM - Inventory service
inventory/mocks/gatherers
Package gatherers contains routines for different types of inventory gatherers
Package gatherers contains routines for different types of inventory gatherers
inventory/model
Package model contains contracts for inventory
Package model contains contracts for inventory
lrpminvoker
Package lrpminvoker contains implementation of lrpm-invoker plugin.
Package lrpminvoker contains implementation of lrpm-invoker plugin.
pluginutil
Package pluginutil implements some common functions shared by multiple plugins.
Package pluginutil implements some common functions shared by multiple plugins.
refreshassociation
Package refreshassociation implements the refreshassociation plugin.
Package refreshassociation implements the refreshassociation plugin.
rundocument
Package rundocument implements the aws:runDocument plugin
Package rundocument implements the aws:runDocument plugin
rundocument/mocks/rundocument
Package rundocument implements the aws:runDocument plugin
Package rundocument implements the aws:runDocument plugin
runscript
Package runscript implements the RunScript plugin.
Package runscript implements the RunScript plugin.
updateec2config
Package updateec2config implements the UpdateEC2Config plugin.
Package updateec2config implements the UpdateEC2Config plugin.
updatessmagent
Package updatessmagent implements the UpdateSsmAgent plugin.
Package updatessmagent implements the UpdateSsmAgent plugin.
Package proxy config to handle set/get proxy settings
Package proxy config to handle set/get proxy settings
Package rebooter provides utilities used to reboot a machine.
Package rebooter provides utilities used to reboot a machine.
Package runcommand implements runcommand core processing module
Package runcommand implements runcommand core processing module
contracts
Package model contains message struct for MDS/SSM messages.
Package model contains message struct for MDS/SSM messages.
mds
Package service is a wrapper for the SSM Message Delivery Service and Offline Command Service
Package service is a wrapper for the SSM Message Delivery Service and Offline Command Service
Package s3util contains methods for interacting with S3.
Package s3util contains methods for interacting with S3.
Package sdkutil provides utilities used to call awssdk.
Package sdkutil provides utilities used to call awssdk.
retryer
Package retryer overrides the default aws sdk retryer delay logic to better suit the mds needs
Package retryer overrides the default aws sdk retryer delay logic to better suit the mds needs
session
communicator
communicator package implement base communicator for network connections.
communicator package implement base communicator for network connections.
communicator/mocks
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
communicator/websocketutil
Package websocketutil contains methods for interacting with websocket connections.
Package websocketutil contains methods for interacting with websocket connections.
config
config package implement configuration retrieval for the session package.
config package implement configuration retrieval for the session package.
contracts
Package contracts defines all channel messages structure.
Package contracts defines all channel messages structure.
controlchannel
Package controlchannel implement control communicator for web socket connection.
Package controlchannel implement control communicator for web socket connection.
crypto
crypto package provides methods to encrypt and decrypt data
crypto package provides methods to encrypt and decrypt data
crypto/mocks
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
datachannel
Package datachannel implements data channel which is used to interactively run commands.
Package datachannel implements data channel which is used to interactively run commands.
datachannel/mocks
Code generated by mockery 2.7.4.
Code generated by mockery 2.7.4.
logging
Package logging reads byte data from the log file and prints it on the console.
Package logging reads byte data from the log file and prints it on the console.
logging/console
Package console contains platform specific configurations to enable logging.
Package console contains platform specific configurations to enable logging.
mocks
Package shell is a common library that implements session manager shell.
Package shell is a common library that implements session manager shell.
plugins/interactivecommands
Package interactivecommands implements session shell plugin with interactive commands.
Package interactivecommands implements session shell plugin with interactive commands.
plugins/noninteractivecommands
Package noninteractivecommands implements session shell sessionPlugin with non-interactive command execution.
Package noninteractivecommands implements session shell sessionPlugin with non-interactive command execution.
plugins/port
Package port implements session manager's port plugin
Package port implements session manager's port plugin
plugins/port/mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
plugins/sessionplugin
Package sessionplugin implements functionality common to all session manager plugins
Package sessionplugin implements functionality common to all session manager plugins
plugins/sessionplugin/mocks
Code generated by mockery 2.7.4.
Code generated by mockery 2.7.4.
plugins/singlecommand
Package singlecommand implements session shell plugin with interactive or non-interactive single command.
Package singlecommand implements session shell plugin with interactive or non-interactive single command.
plugins/standardstream
Package standardstream implements session standard stream plugin.
Package standardstream implements session standard stream plugin.
retry
Package retry implements back off retry strategy for session manager channel connection.
Package retry implements back off retry strategy for session manager channel connection.
service
Package service is a wrapper for the message gateway Service
Package service is a wrapper for the message gateway Service
service/mocks
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
shell
Package shell is a common library that implements session manager shell.
Package shell is a common library that implements session manager shell.
shell/constants
Package constants manages the configuration of the session shell.
Package constants manages the configuration of the session shell.
shell/execcmd
Package execcmd wraps up the os.Process interface.
Package execcmd wraps up the os.Process interface.
telemetry
Package telemetry is used to schedule and send the audit logs to MGS
Package telemetry is used to schedule and send the audit logs to MGS
utility
utility package implements all the shared methods between clients.
utility package implements all the shared methods between clients.
utility/model
Package model contains data objects for session utility
Package model contains data objects for session utility
winpty
winpty package is wrapper package for calling procedures of winpty.dll
winpty package is wrapper package for calling procedures of winpty.dll
Package main represents the entry point of the ssm agent setup manager.
Package main represents the entry point of the ssm agent setup manager.
managers/common
Package common contains common constants and functions needed to be accessed across ssm-setup-cli
Package common contains common constants and functions needed to be accessed across ssm-setup-cli
managers/common/mocks
Package mocks contains mocks for IManagerHelper type
Package mocks contains mocks for IManagerHelper type
managers/configurationmanager
Package configurationmanager helps us to handle agent config in ssm-setup-cli
Package configurationmanager helps us to handle agent config in ssm-setup-cli
managers/configurationmanager/mocks
Code generated by mockery v2.9.4.
Code generated by mockery v2.9.4.
managers/downloadmanager
Package downloadmanager helps us with file download related functions in ssm-setup-cli
Package downloadmanager helps us with file download related functions in ssm-setup-cli
managers/helpers
Package helpers contains helper functions for SSM-Setup-CLI
Package helpers contains helper functions for SSM-Setup-CLI
managers/packagemanagers
Package packagemanagers holds functions querying using local package manager
Package packagemanagers holds functions querying using local package manager
managers/registermanager
Package registermanager contains functions related to register
Package registermanager contains functions related to register
managers/servicemanagers
Package servicemanagers contains functions related to service manager
Package servicemanagers contains functions related to service manager
managers/verificationmanagers
Package verificationmanagers is used to verify the agent packages
Package verificationmanagers is used to verify the agent packages
ssm
anonauth
Package anonauth is an interface to the anonymous methods of the SSM service.
Package anonauth is an interface to the anonymous methods of the SSM service.
authregister
Package authregister is an interface to the anonymous methods of the SSM service.
Package authregister is an interface to the anonymous methods of the SSM service.
rsaauth
Package rsaauth is an interface to the RSA signed methods of the SSM service.
Package rsaauth is an interface to the RSA signed methods of the SSM service.
ssmparameterresolver
Package ssmparameterresolver provides helper methods to detect, validate and extract parameter store parameter references.
Package ssmparameterresolver provides helper methods to detect, validate and extract parameter store parameter references.
util
Package util contains helper function common for ssm service
Package util contains helper function common for ssm service
Package ssmconnectionchannel contains logic for tracking the Agent's primary upstream connection channel and its various states.
Package ssmconnectionchannel contains logic for tracking the Agent's primary upstream connection channel and its various states.
Package startup implements startup plugin processor
Package startup implements startup plugin processor
model
Package model provides model definition for startup processor
Package model provides model definition for startup processor
serialport
Package serialport implements serial port capabilities
Package serialport implements serial port capabilities
util
This package is for project's utilities
This package is for project's utilities
util/interop
Package interop provides structures and functions for syscall's data structure marshalling.
Package interop provides structures and functions for syscall's data structure marshalling.
Package task contains a default implementation of the interfaces in the task package.
Package task contains a default implementation of the interfaces in the task package.
Package times provides a set of utilities related to processing time.
Package times provides a set of utilities related to processing time.
update
processor
Package processor contains the methods for update ssm agent.
Package processor contains the methods for update ssm agent.
tester
Package tester is responsible for initiating testing based on the test stage value passed
Package tester is responsible for initiating testing based on the test stage value passed
tester/common
Package common contains common methods, interfaces and variables used across the tester packages
Package common contains common methods, interfaces and variables used across the tester packages
tester/testcases
Package testcases contains test cases from all testStages
Package testcases contains test cases from all testStages
updater
Package main represents the entry point of the ssm agent updater.
Package main represents the entry point of the ssm agent updater.
Package updateutil contains updater specific utilities.
Package updateutil contains updater specific utilities.
updateconstants
Package updateconstants contains constants related to update
Package updateconstants contains constants related to update
updatemanifest
Package updatemanifest implements the logic for the ssm agent s3 manifest.
Package updatemanifest implements the logic for the ssm agent s3 manifest.
updates3util
Package updates3util implements the logic for s3 update download
Package updates3util implements the logic for s3 update download
Package version contains constants to indicate the current version of the agent.
Package version contains constants to indicate the current version of the agent.

Jump to

Keyboard shortcuts

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