Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daidokoro/qaz
/ functions
Functions
114 in github.com/daidokoro/qaz
⨍
Functions
114
◇
Types & classes
18
↓ 102 callers
Function
HandleError
HandleError - exits on error
utils/utils.go:115
↓ 87 callers
Function
Debug
Debug - calls default logger Debug method
log/logger.go:48
↓ 70 callers
Method
MustGet
MustGet - assumes stack exists at the given Key returns value without validation
stacks/map.go:28
↓ 47 callers
Function
ColorString
ColorString - Returns colored string
log/colors.go:62
↓ 47 callers
Function
Error
Error - calls default logger Error method
log/logger.go:43
↓ 32 callers
Method
Error
(string, ...interface{})
log/logger.go:15
↓ 32 callers
Function
Info
Info - calls default logger Info method
log/logger.go:33
↓ 28 callers
Method
Get
Get = retuern stack
stacks/map.go:21
↓ 22 callers
Function
Configure
Configure parses the config file and string and returns a stacks.Map
commands/config.go:16
↓ 20 callers
Method
Add
Add - add stack
stacks/map.go:33
↓ 17 callers
Method
Range
Range - iterate over map and execute function against each k, v pair. iteration ends if function returns false
stacks/map.go:51
↓ 16 callers
Method
creds
creds - Returns credentials if role set
stacks/stack.go:85
↓ 15 callers
Method
Change
Change - Manage Cloudformation Change-Sets
stacks/change.go:31
↓ 14 callers
Function
Warn
Warn - calls default logger Warn method
log/logger.go:38
↓ 13 callers
Method
GenTimeParser
GenTimeParser - Parses templates before deploying them...
stacks/parsers.go:39
↓ 8 callers
Function
GetSession
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 callers
Function
GetSource
GetSource - Checks if arg is url or file and returns stack name and filepath/url
utils/utils.go:105
↓ 6 callers
Method
Outputs
Outputs - Get Stack outputs
stacks/outputs.go:12
↓ 6 callers
Method
update
(name, ste string)
stacks/clouformation.go:23
↓ 5 callers
Method
StackExists
StackExists - Returns true if stack exists in AWS Account, returns false if err when checking
stacks/state.go:12
↓ 4 callers
Function
ColorMap
ColorMap - Used to map a particular color to a cf status phrase - returns lowercase strings in color.
log/colors.go:31
↓ 3 callers
Function
All
All - returns true if all items in array the same as the given string
utils/utils.go:42
↓ 3 callers
Function
Create
Create - create s3 bucket
bucket/bucket.go:80
↓ 3 callers
Function
DeployHandler
DeployHandler - Handles deploying stacks in the corrcet order TODO - this is still a fairly convoluted function... need to splify
stacks/clouformation.go:71
↓ 3 callers
Method
DeployTimeParser
DeployTimeParser - Parses templates during deployment to resolve specfic Dependency functions like stackout...
stacks/parsers.go:11
↓ 3 callers
Function
Exists
Exists - checks if bucket exists - if err, then its assumed that the bucket does not exist.
bucket/bucket.go:101
↓ 3 callers
Function
Get
Get - HTTP Get request of given url and returns string
utils/utils.go:76
↓ 3 callers
Function
GetInput
GetInput - reads input from stdin - request & default (if no input)
utils/utils.go:63
↓ 3 callers
Function
Git
Git - set git repo for stack deployments
stacks/stack.go:115
↓ 3 callers
Function
New
New - returns pointer to a new repo struct
repo/repo.go:40
↓ 3 callers
Function
NewDefaultLogger
NewDefaultLogger - creates a Logger Object
log/default.go:42
↓ 3 callers
Function
S3Read
-- Contains all things S3 S3Read - Reads the content of a given s3 url endpoint and returns the content string.
bucket/bucket.go:18
↓ 3 callers
Function
S3write
S3write - Writes a file to s3 and returns the presigned url
bucket/bucket.go:49
↓ 3 callers
Function
SetDefault
SetDefault - sets default logger
log/logger.go:23
↓ 3 callers
Method
Status
Status - Checks stack status, pending, failed, complete
stacks/status.go:14
↓ 3 callers
Function
StringIn
StringIn - returns true if string in array
utils/utils.go:52
↓ 3 callers
Function
defaultConfig
DefaultConfig - sets config based on ENV variable or default config.yml
commands/helpers.go:11
↓ 3 callers
Function
send_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 callers
Method
tail
tail - tracks the progress during stack updates. c - command Type
stacks/tail.go:13
↓ 2 callers
Method
Check
Check - Validate Cloudformation templates
stacks/check.go:15
↓ 2 callers
Method
Colors
()
log/logger.go:17
↓ 2 callers
Function
ConfigTemplate
ConfigTemplate - Returns template byte string for init() function
utils/utils.go:24
↓ 2 callers
Function
Default
Default - returns the default logger
log/logger.go:28
↓ 2 callers
Method
Deploy
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 callers
Function
FetchSource
FetchSource - uses interfaces to initiate source retreival
stacks/sources.go:62
↓ 2 callers
Method
GetSession
SourceReceivers may require sessions if calling aws resources like Lambda & S3
stacks/sources.go:30
↓ 2 callers
Method
Handle
Handle - handle source
stacks/sources.go:19
↓ 2 callers
Method
Invoke
(sess *session.Session)
commands/aws_lambda.go:24
↓ 2 callers
Method
Protect
Protect - enables stack termination-protection
stacks/protect.go:10
↓ 2 callers
Method
StackPolicy
StackPolicy - Stack Cloudformation Stack policy
stacks/policy.go:13
↓ 2 callers
Method
State
State - returns complete/failed/pending state of stack
stacks/state.go:30
↓ 2 callers
Function
TailService
TailService - handles all tailing events
stacks/services.go:23
↓ 2 callers
Function
TerminateHandler
TerminateHandler - Handles terminating stacks in the correct order
stacks/clouformation.go:178
↓ 2 callers
Method
delims
delims - returns delimiters for parsing templates
stacks/stack.go:94
↓ 2 callers
Function
resolveBucket
bucket
stacks/helpers.go:28
↓ 2 callers
Function
tailWait
populates tail channel and returns when done
stacks/services.go:78
↓ 2 callers
Method
terminate
()
stacks/terminate.go:12
↓ 1 callers
Method
AddMapFuncs
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 callers
Method
CallFunctions
CallFunctions - execute gentime/deploytime functions in config
stacks/config.go:93
↓ 1 callers
Method
Count
Count - returns number of stacks
stacks/map.go:61
↓ 1 callers
Method
Debug
(string, ...interface{})
log/logger.go:16
↓ 1 callers
Method
DeploySAM
support for SAM - Serverless Arch Model Cloudformation templates DeploySAM deploys SAMs Cloudformation templates
stacks/transforms.go:14
↓ 1 callers
Function
Exports
Exports - prints all cloudformation exports
stacks/clouformation.go:48
↓ 1 callers
Method
GetSource
SourceReceiver uses GetSource to call source and apply results
stacks/sources.go:26
↓ 1 callers
Method
Info
(string, ...interface{})
log/logger.go:13
↓ 1 callers
Method
Invoke
(sess *session.Session)
stacks/lambda.go:18
↓ 1 callers
Function
IsHCL
IsHCL - returns true if s is a string in valid hcl format
utils/utils.go:129
↓ 1 callers
Function
IsJSON
IsJSON - returns true if s is a string in valid json format
utils/utils.go:123
↓ 1 callers
Method
Parameters
Parameters - Adds parameters to given stack based on config
stacks/config.go:54
↓ 1 callers
Method
SetStackName
SetStackName - sets the.Stackname with struct
stacks/stack.go:78
↓ 1 callers
Method
Tags
Tags Adds stack tags to given stack based on config
stacks/config.go:74
↓ 1 callers
Method
Update
Update - Update Cloudformation Stack
stacks/update.go:16
↓ 1 callers
Method
Vars
Vars Returns map string of config values
stacks/config.go:40
↓ 1 callers
Function
Wait
Wait - wait Until status is complete
stacks/helpers.go:50
↓ 1 callers
Method
Warn
(string, ...interface{})
log/logger.go:14
↓ 1 callers
Method
cleanup
cleanup functions in create_failed or delete_failed states
stacks/helpers.go:12
↓ 1 callers
Method
clone
()
repo/repo.go:68
↓ 1 callers
Method
get
(name string)
stacks/clouformation.go:31
↓ 1 callers
Method
getAuth
(opts *git.CloneOptions)
repo/repo.go:122
↓ 1 callers
Function
initShell
(p string, stks *stacks.Map, s *ishell.Shell)
commands/shell.go:50
↓ 1 callers
Method
readFiles
(root []os.FileInfo, dirname string)
repo/repo.go:97
Method
ChangeSetStatus
ChangeSetStatus - returns the literal change-set status
stacks/state.go:55
Method
Colors
Colors - returns bool indicating whether colors should be applied to logs
log/default.go:37
Method
Debug
Debug - Prints debug level log statements
log/default.go:30
Method
Error
Error - Prints error level log statements
log/default.go:25
Method
GetSession
GetSession - Returns session to use in all source operations
stacks/sources.go:43
Method
GetSession
GetSession - Returns session to use in all source operations
stacks/sources.go:57
Method
GetSource
GetSource - takes a Source interface and retrieves source data
stacks/sources.go:34
Method
GetSource
GetSource - takes a Source interface and retrieves source data
stacks/sources.go:48
Method
Handle
Handle - Source Handle
stacks/sources.go:93
Method
Handle
Handle - Source Handle
stacks/sources.go:105
Method
Handle
Handle - Source Handle
stacks/sources.go:117
Method
Handle
Handle - Source Handle
stacks/sources.go:162
Method
Info
Info - Prints info level log statments
log/default.go:15
Method
StackOutput
--- Template Functions for StackMap --- // StackOutput - stack output reader for template function
stacks/map.go:68
Method
StackStatus
StackStatus - return the literal stack status
stacks/state.go:74
Function
TestAllinSlice
(t *testing.T)
testing/utils_test.go:30
Function
TestConfigTemplate
(t *testing.T)
testing/utils_test.go:10
Function
TestGenerate
(t *testing.T)
testing/stacks_test.go:12
Function
TestGet
(t *testing.T)
testing/utils_test.go:42
next →
1–100 of 114, ranked by callers