MCPcopy Create free account

hub / github.com/daidokoro/qaz / functions

Functions114 in github.com/daidokoro/qaz

↓ 102 callersFunctionHandleError
HandleError - exits on error
utils/utils.go:115
↓ 87 callersFunctionDebug
Debug - calls default logger Debug method
log/logger.go:48
↓ 70 callersMethodMustGet
MustGet - assumes stack exists at the given Key returns value without validation
stacks/map.go:28
↓ 47 callersFunctionColorString
ColorString - Returns colored string
log/colors.go:62
↓ 47 callersFunctionError
Error - calls default logger Error method
log/logger.go:43
↓ 32 callersMethodError
(string, ...interface{})
log/logger.go:15
↓ 32 callersFunctionInfo
Info - calls default logger Info method
log/logger.go:33
↓ 28 callersMethodGet
Get = retuern stack
stacks/map.go:21
↓ 22 callersFunctionConfigure
Configure parses the config file and string and returns a stacks.Map
commands/config.go:16
↓ 20 callersMethodAdd
Add - add stack
stacks/map.go:33
↓ 17 callersMethodRange
Range - iterate over map and execute function against each k, v pair. iteration ends if function returns false
stacks/map.go:51
↓ 16 callersMethodcreds
creds - Returns credentials if role set
stacks/stack.go:85
↓ 15 callersMethodChange
Change - Manage Cloudformation Change-Sets
stacks/change.go:31
↓ 14 callersFunctionWarn
Warn - calls default logger Warn method
log/logger.go:38
↓ 13 callersMethodGenTimeParser
GenTimeParser - Parses templates before deploying them...
stacks/parsers.go:39
↓ 8 callersFunctionGetSession
GetSession - Returns aws session based on default run.profile and run.Region options can be overwritten by passing a function: func(*session.Options)
commands/sessions.go:12
↓ 7 callersFunctionGetSource
GetSource - Checks if arg is url or file and returns stack name and filepath/url
utils/utils.go:105
↓ 6 callersMethodOutputs
Outputs - Get Stack outputs
stacks/outputs.go:12
↓ 6 callersMethodupdate
(name, ste string)
stacks/clouformation.go:23
↓ 5 callersMethodStackExists
StackExists - Returns true if stack exists in AWS Account, returns false if err when checking
stacks/state.go:12
↓ 4 callersFunctionColorMap
ColorMap - Used to map a particular color to a cf status phrase - returns lowercase strings in color.
log/colors.go:31
↓ 3 callersFunctionAll
All - returns true if all items in array the same as the given string
utils/utils.go:42
↓ 3 callersFunctionCreate
Create - create s3 bucket
bucket/bucket.go:80
↓ 3 callersFunctionDeployHandler
DeployHandler - Handles deploying stacks in the corrcet order TODO - this is still a fairly convoluted function... need to splify
stacks/clouformation.go:71
↓ 3 callersMethodDeployTimeParser
DeployTimeParser - Parses templates during deployment to resolve specfic Dependency functions like stackout...
stacks/parsers.go:11
↓ 3 callersFunctionExists
Exists - checks if bucket exists - if err, then its assumed that the bucket does not exist.
bucket/bucket.go:101
↓ 3 callersFunctionGet
Get - HTTP Get request of given url and returns string
utils/utils.go:76
↓ 3 callersFunctionGetInput
GetInput - reads input from stdin - request & default (if no input)
utils/utils.go:63
↓ 3 callersFunctionGit
Git - set git repo for stack deployments
stacks/stack.go:115
↓ 3 callersFunctionNew
New - returns pointer to a new repo struct
repo/repo.go:40
↓ 3 callersFunctionNewDefaultLogger
NewDefaultLogger - creates a Logger Object
log/default.go:42
↓ 3 callersFunctionS3Read
-- Contains all things S3 S3Read - Reads the content of a given s3 url endpoint and returns the content string.
bucket/bucket.go:18
↓ 3 callersFunctionS3write
S3write - Writes a file to s3 and returns the presigned url
bucket/bucket.go:49
↓ 3 callersFunctionSetDefault
SetDefault - sets default logger
log/logger.go:23
↓ 3 callersMethodStatus
Status - Checks stack status, pending, failed, complete
stacks/status.go:14
↓ 3 callersFunctionStringIn
StringIn - returns true if string in array
utils/utils.go:52
↓ 3 callersFunctiondefaultConfig
DefaultConfig - sets config based on ENV variable or default config.yml
commands/helpers.go:11
↓ 3 callersFunctionsend_response
Send our response to the pre-signed URL supplied by CloudFormation If no ResponseURL is found in the request, there is no place to send a res
examples/encryption/lambda.py:9
↓ 3 callersMethodtail
tail - tracks the progress during stack updates. c - command Type
stacks/tail.go:13
↓ 2 callersMethodCheck
Check - Validate Cloudformation templates
stacks/check.go:15
↓ 2 callersMethodColors
()
log/logger.go:17
↓ 2 callersFunctionConfigTemplate
ConfigTemplate - Returns template byte string for init() function
utils/utils.go:24
↓ 2 callersFunctionDefault
Default - returns the default logger
log/logger.go:28
↓ 2 callersMethodDeploy
TODO: this function's pretty bad, waaaay too long, need to break it apart Deploy - Launch Cloudformation Stack based on config values
stacks/deploy.go:17
↓ 2 callersFunctionFetchSource
FetchSource - uses interfaces to initiate source retreival
stacks/sources.go:62
↓ 2 callersMethodGetSession
SourceReceivers may require sessions if calling aws resources like Lambda & S3
stacks/sources.go:30
↓ 2 callersMethodHandle
Handle - handle source
stacks/sources.go:19
↓ 2 callersMethodInvoke
(sess *session.Session)
commands/aws_lambda.go:24
↓ 2 callersMethodProtect
Protect - enables stack termination-protection
stacks/protect.go:10
↓ 2 callersMethodStackPolicy
StackPolicy - Stack Cloudformation Stack policy
stacks/policy.go:13
↓ 2 callersMethodState
State - returns complete/failed/pending state of stack
stacks/state.go:30
↓ 2 callersFunctionTailService
TailService - handles all tailing events
stacks/services.go:23
↓ 2 callersFunctionTerminateHandler
TerminateHandler - Handles terminating stacks in the correct order
stacks/clouformation.go:178
↓ 2 callersMethoddelims
delims - returns delimiters for parsing templates
stacks/stack.go:94
↓ 2 callersFunctionresolveBucket
bucket
stacks/helpers.go:28
↓ 2 callersFunctiontailWait
populates tail channel and returns when done
stacks/services.go:78
↓ 2 callersMethodterminate
()
stacks/terminate.go:12
↓ 1 callersMethodAddMapFuncs
AddMapFuncs - add stack map functions to function map Note: this map only exists for deploytime functions that require access to stack data at runtime
stacks/map.go:93
↓ 1 callersMethodCallFunctions
CallFunctions - execute gentime/deploytime functions in config
stacks/config.go:93
↓ 1 callersMethodCount
Count - returns number of stacks
stacks/map.go:61
↓ 1 callersMethodDebug
(string, ...interface{})
log/logger.go:16
↓ 1 callersMethodDeploySAM
support for SAM - Serverless Arch Model Cloudformation templates DeploySAM deploys SAMs Cloudformation templates
stacks/transforms.go:14
↓ 1 callersFunctionExports
Exports - prints all cloudformation exports
stacks/clouformation.go:48
↓ 1 callersMethodGetSource
SourceReceiver uses GetSource to call source and apply results
stacks/sources.go:26
↓ 1 callersMethodInfo
(string, ...interface{})
log/logger.go:13
↓ 1 callersMethodInvoke
(sess *session.Session)
stacks/lambda.go:18
↓ 1 callersFunctionIsHCL
IsHCL - returns true if s is a string in valid hcl format
utils/utils.go:129
↓ 1 callersFunctionIsJSON
IsJSON - returns true if s is a string in valid json format
utils/utils.go:123
↓ 1 callersMethodParameters
Parameters - Adds parameters to given stack based on config
stacks/config.go:54
↓ 1 callersMethodSetStackName
SetStackName - sets the.Stackname with struct
stacks/stack.go:78
↓ 1 callersMethodTags
Tags Adds stack tags to given stack based on config
stacks/config.go:74
↓ 1 callersMethodUpdate
Update - Update Cloudformation Stack
stacks/update.go:16
↓ 1 callersMethodVars
Vars Returns map string of config values
stacks/config.go:40
↓ 1 callersFunctionWait
Wait - wait Until status is complete
stacks/helpers.go:50
↓ 1 callersMethodWarn
(string, ...interface{})
log/logger.go:14
↓ 1 callersMethodcleanup
cleanup functions in create_failed or delete_failed states
stacks/helpers.go:12
↓ 1 callersMethodclone
()
repo/repo.go:68
↓ 1 callersMethodget
(name string)
stacks/clouformation.go:31
↓ 1 callersMethodgetAuth
(opts *git.CloneOptions)
repo/repo.go:122
↓ 1 callersFunctioninitShell
(p string, stks *stacks.Map, s *ishell.Shell)
commands/shell.go:50
↓ 1 callersMethodreadFiles
(root []os.FileInfo, dirname string)
repo/repo.go:97
MethodChangeSetStatus
ChangeSetStatus - returns the literal change-set status
stacks/state.go:55
MethodColors
Colors - returns bool indicating whether colors should be applied to logs
log/default.go:37
MethodDebug
Debug - Prints debug level log statements
log/default.go:30
MethodError
Error - Prints error level log statements
log/default.go:25
MethodGetSession
GetSession - Returns session to use in all source operations
stacks/sources.go:43
MethodGetSession
GetSession - Returns session to use in all source operations
stacks/sources.go:57
MethodGetSource
GetSource - takes a Source interface and retrieves source data
stacks/sources.go:34
MethodGetSource
GetSource - takes a Source interface and retrieves source data
stacks/sources.go:48
MethodHandle
Handle - Source Handle
stacks/sources.go:93
MethodHandle
Handle - Source Handle
stacks/sources.go:105
MethodHandle
Handle - Source Handle
stacks/sources.go:117
MethodHandle
Handle - Source Handle
stacks/sources.go:162
MethodInfo
Info - Prints info level log statments
log/default.go:15
MethodStackOutput
--- Template Functions for StackMap --- // StackOutput - stack output reader for template function
stacks/map.go:68
MethodStackStatus
StackStatus - return the literal stack status
stacks/state.go:74
FunctionTestAllinSlice
(t *testing.T)
testing/utils_test.go:30
FunctionTestConfigTemplate
(t *testing.T)
testing/utils_test.go:10
FunctionTestGenerate
(t *testing.T)
testing/stacks_test.go:12
FunctionTestGet
(t *testing.T)
testing/utils_test.go:42
next →1–100 of 114, ranked by callers