MCPcopy Create free account

hub / github.com/deckarep/blade / functions

Functions41 in github.com/deckarep/blade

↓ 2 callersFunctionconsumeReaderPipes
(wg *sync.WaitGroup, host string, rdr io.Reader, isStdErr bool, attempt int)
lib/ssh/utils.go:169
↓ 1 callersMethodAttachFlag
AttachFlag allows you to pass in a Cobra command if you'd like to attach an override flag in relation to this argument.
lib/recipe/recipe_yaml.go:41
↓ 1 callersMethodFlagValue
FlagValue returns the applied flag which either came from a command-line override or from the Recipe itself.
lib/recipe/recipe_yaml.go:47
↓ 1 callersMethodName
Name returns the argument name or what string is in the {{}} construct.
lib/recipe/recipe_yaml.go:63
↓ 1 callersFunctionSSHAgent
SSHAgent queries the host operating systems SSH agent.
lib/ssh/utils.go:112
↓ 1 callersFunctionapplyFlagOverrides
(recipe *recipe.BladeRecipeYaml, modifier *bladessh.SessionModifier)
cmd/run.go:131
↓ 1 callersFunctionapplyRecipeArgs
(args recipe.BladeRecipeArguments, commands []string)
lib/ssh/session.go:187
↓ 1 callersFunctionapplyRecipeFlagOverrides
(currentRecipe *recipe.BladeRecipeYaml, cobraCommand *cobra.Command)
cmd/run.go:123
↓ 1 callersFunctionconsumeAndLimitConcurrency
(recipe *recipe.BladeRecipeYaml, commands []string, concurrency int)
lib/ssh/utils.go:133
↓ 1 callersFunctioncreateHostGlobList
()
lib/ssh/utils.go:87
↓ 1 callersMethoddo
do - the rule is one command can only ever occur per session.
lib/ssh/session_single.go:71
↓ 1 callersFunctionenqueueHost
(host string, port int)
lib/ssh/utils.go:149
↓ 1 callersMethodexecute
()
lib/ssh/session_single.go:57
↓ 1 callersFunctionexecuteSession
(recipe *recipe.BladeRecipeYaml, hostname string, commands []string)
lib/ssh/session.go:130
↓ 1 callersFunctiongenerateCommandLine
()
cmd/run.go:193
↓ 1 callersFunctionhandleRecipeComponent
handleRecipeComponent needs to send a pointer to a pointer for lastCommand so that the state can be observed in method above.
cmd/run.go:218
↓ 1 callersFunctionindexOfRecipeFolder
(parts []string)
cmd/run.go:182
↓ 1 callersFunctionlookupUsernameForHost
(host string)
lib/ssh/utils.go:64
↓ 1 callersFunctionnewSingleExecution
(client *ssh.Client, hostname, command string, index int)
lib/ssh/session_single.go:35
↓ 1 callersFunctionparseSSHConfig
()
lib/ssh/utils.go:119
↓ 1 callersFunctionsearchFolders
(folders ...string)
cmd/run.go:143
↓ 1 callersFunctionstartSSHSession
(sshConfig *ssh.ClientConfig, hostname string, commands []string)
lib/ssh/session.go:158
↓ 1 callersFunctionuserHomeDir
()
cmd/run.go:171
↓ 1 callersFunctionvalidateFlags
()
cmd/run.go:108
↓ 1 callersFunctionwalkFolder
(rootFolder string)
cmd/run.go:155
FunctionLoadRecipeYaml
(path string)
lib/recipe/util.go:30
FunctionNewSessionModifier
NewSessionModifier creates and returns a new SessionModifier.
lib/ssh/session_modifiers.go:25
FunctionStartSession
StartSession kicks off a Blade Recipe as a session of work to be completed.
lib/ssh/session.go:53
FunctioncpuStartProfile
()
main.go:41
FunctioncpuStopProfile
()
main.go:51
Functioninit
()
lib/ssh/utils.go:60
Functioninit
()
cmd/ssh.go:39
Functioninit
()
cmd/zsh_completions.go:31
Functioninit
blade ssh deploy-cloud-server-a // matches a recipe and therefore will follow the recipe guidelines against servers defined in recipe blade ssh deploy
cmd/run.go:80
Functioninit
()
cmd/pipe.go:32
Functioninit
()
cmd/yaml.go:34
Functioninit
()
cmd/bash_completions.go:30
Functioninit
()
cmd/ssh_config.go:28
Functioninit
()
cmd/version.go:30
Functionmain
()
main.go:32
FunctionmemWriteHeapProfile
()
main.go:55