Documentation ¶
Overview ¶
Package ssmclicommands contains all the commands with its implementation.
Package ssmclicommands contains all the commands with its implementation.
Index ¶
Constants ¶
View Source
const ( START_SESSION = "start-session" INSTANCE_ID = "instance-id" REGION = "region" PROFILE = "profile" ENDPOINT = "endpoint" DOCUMENT_NAME = "document-name" PARAMETERS = "parameters" )
View Source
const (
ArgumentLength = 2
)
View Source
const START_SESSION_HELP = `` /* 846-byte string literal not displayed */
Variables ¶
View Source
var ParameterKeys = []string{INSTANCE_ID, REGION, PROFILE, ENDPOINT, DOCUMENT_NAME, PARAMETERS}
Functions ¶
func ParseCliCommand ¶
func ParseCliCommand(args []string) (err error, options []string, command string, subcommand string, parameters map[string][]string)
ParseCliCommand function parses command and returns options to validate.
func ValidateInput ¶
ValidateInput function validates the input and displays response accordingly.
Types ¶
type StartSessionCommand ¶
type StartSessionCommand struct {
// contains filtered or unexported fields
}
func (*StartSessionCommand) Execute ¶
func (s *StartSessionCommand) Execute(parameters map[string][]string) (error, string)
validates and execute start-session command
func (*StartSessionCommand) Help ¶
func (c *StartSessionCommand) Help() string
Help prints help for the start-session cli command
func (StartSessionCommand) Name ¶
func (StartSessionCommand) Name() string
Name is the command name used in the cli
Click to show internal directories.
Click to hide internal directories.