# Functions
No description provided by the author
GetFilePermissions is a utility method that gets permissions of a file.
GetWindowsBaseDataPath returns the correct path to append to a user home directory to store application data.
NewCommandConfig creates a new CommandConfig object from the local ECS config file and flags.
NewCommandConfig creates a new CommandConfig object from the local ECS config file and flags and custom region.
NewDefaultDestination creates a new Destination object.
NewINIReadWriter creates a new Ini Parser object for the old ini configs.
NewLocalConfig creates a new instance of LocalConfig from the cluster name.
NewReadWriter creates a new Parser object.
ReadClusterFile reads the cluster config file and returns a cluster config object.
ReadCredFile reads the cluster config file and returns a profile config object.
Searches as far up the context as necessary.
ValidateLaunchType checks that the launch type specified was an allowed value.
# Constants
No description provided by the author
No description provided by the author
Launch types are case sensitive.
No description provided by the author
No description provided by the author
# Structs
Cluster is a simple struct for storing a single ECS cluster config.
ClusterConfig is the top level struct representing the cluster config file.
CommandConfig contains the configuration parameters and AWS Session required to run a specific command.
Destination stores the config destination path to write to and the permissions to create the ecs config directory if none exists.
INIReadWriter NOTE: DEPRECATED.
SectionKeys is the struct embedded in iniLocalConfig.
LocalConfig is the top level struct representing the local ECS configuration.
Profile is a simple struct for storing a single AWS profile config.
ProfileConfig is the top level struct representing the Credentials file.
YAMLReadWriter implements the ReadWriter interfaces.
# Interfaces
ReadWriter interface has methods to read and write ecs-cli config to and from the config file.