Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deckarep/blade
/ functions
Functions
41 in github.com/deckarep/blade
⨍
Functions
41
◇
Types & classes
9
↓ 2 callers
Function
consumeReaderPipes
(wg *sync.WaitGroup, host string, rdr io.Reader, isStdErr bool, attempt int)
lib/ssh/utils.go:169
↓ 1 callers
Method
AttachFlag
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 callers
Method
FlagValue
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 callers
Method
Name
Name returns the argument name or what string is in the {{}} construct.
lib/recipe/recipe_yaml.go:63
↓ 1 callers
Function
SSHAgent
SSHAgent queries the host operating systems SSH agent.
lib/ssh/utils.go:112
↓ 1 callers
Function
applyFlagOverrides
(recipe *recipe.BladeRecipeYaml, modifier *bladessh.SessionModifier)
cmd/run.go:131
↓ 1 callers
Function
applyRecipeArgs
(args recipe.BladeRecipeArguments, commands []string)
lib/ssh/session.go:187
↓ 1 callers
Function
applyRecipeFlagOverrides
(currentRecipe *recipe.BladeRecipeYaml, cobraCommand *cobra.Command)
cmd/run.go:123
↓ 1 callers
Function
consumeAndLimitConcurrency
(recipe *recipe.BladeRecipeYaml, commands []string, concurrency int)
lib/ssh/utils.go:133
↓ 1 callers
Function
createHostGlobList
()
lib/ssh/utils.go:87
↓ 1 callers
Method
do
do - the rule is one command can only ever occur per session.
lib/ssh/session_single.go:71
↓ 1 callers
Function
enqueueHost
(host string, port int)
lib/ssh/utils.go:149
↓ 1 callers
Method
execute
()
lib/ssh/session_single.go:57
↓ 1 callers
Function
executeSession
(recipe *recipe.BladeRecipeYaml, hostname string, commands []string)
lib/ssh/session.go:130
↓ 1 callers
Function
generateCommandLine
()
cmd/run.go:193
↓ 1 callers
Function
handleRecipeComponent
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 callers
Function
indexOfRecipeFolder
(parts []string)
cmd/run.go:182
↓ 1 callers
Function
lookupUsernameForHost
(host string)
lib/ssh/utils.go:64
↓ 1 callers
Function
newSingleExecution
(client *ssh.Client, hostname, command string, index int)
lib/ssh/session_single.go:35
↓ 1 callers
Function
parseSSHConfig
()
lib/ssh/utils.go:119
↓ 1 callers
Function
searchFolders
(folders ...string)
cmd/run.go:143
↓ 1 callers
Function
startSSHSession
(sshConfig *ssh.ClientConfig, hostname string, commands []string)
lib/ssh/session.go:158
↓ 1 callers
Function
userHomeDir
()
cmd/run.go:171
↓ 1 callers
Function
validateFlags
()
cmd/run.go:108
↓ 1 callers
Function
walkFolder
(rootFolder string)
cmd/run.go:155
Function
LoadRecipeYaml
(path string)
lib/recipe/util.go:30
Function
NewSessionModifier
NewSessionModifier creates and returns a new SessionModifier.
lib/ssh/session_modifiers.go:25
Function
StartSession
StartSession kicks off a Blade Recipe as a session of work to be completed.
lib/ssh/session.go:53
Function
cpuStartProfile
()
main.go:41
Function
cpuStopProfile
()
main.go:51
Function
init
()
lib/ssh/utils.go:60
Function
init
()
cmd/ssh.go:39
Function
init
()
cmd/zsh_completions.go:31
Function
init
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
Function
init
()
cmd/pipe.go:32
Function
init
()
cmd/yaml.go:34
Function
init
()
cmd/bash_completions.go:30
Function
init
()
cmd/ssh_config.go:28
Function
init
()
cmd/version.go:30
Function
main
()
main.go:32
Function
memWriteHeapProfile
()
main.go:55