Documentation ¶
Overview ¶
Package configurationmanager helps us to handle agent config in ssm-setup-cli
Package configurationmanager helps us to handle agent config in ssm-setup-cli
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAgent ¶
func ConfigureAgent(log log.T, manager IConfigurationManager, folderPath string) error
ConfigureAgent verifies the agent is not already configured, checks if configuration is available and configures the agent
Types ¶
type IConfigurationManager ¶
type IConfigurationManager interface { // IsConfigAvailable returns true if config file is available else false IsConfigAvailable(folderPath string) (bool, error) // ConfigureAgent copies the config in the folder to the applicable location to configure the agent ConfigureAgent(folderPath string) error // CreateUpdateAgentConfigWithOnPremIdentity copies the config in the folder to the applicable location to configure the agent CreateUpdateAgentConfigWithOnPremIdentity() error }
IConfigurationManager contains functions for handling agent configurations
Source Files ¶
Click to show internal directories.
Click to hide internal directories.