Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/openwhisk-client-go
/ functions
Functions
226 in github.com/apache/openwhisk-client-go
⨍
Functions
226
◇
Types & classes
99
↓ 155 callers
Function
Debug
* Function for tracing debug level messages to stdout Output format: [file-or-function-name]:line-#:[DebugLevel] The formatted message without a
whisk/trace.go:66
↓ 45 callers
Function
MakeWskError
* Instantiate a WskError structure Parameters: error - RootErr. object implementing the error interface int - ExitCode. Used if error o
whisk/wskerror.go:72
↓ 38 callers
Function
MakeWskErrorFromWskError
* Instantiate a WskError structure Parameters: error - RootErr. object implementing the error interface WskError - WskError being wra
whisk/wskerror.go:118
↓ 32 callers
Method
Do
(req *http.Request, v interface{}, ExitWithErrorOnTimeout bool, secretToObfuscate ...ObfuscateSet)
whisk/client.go:60
↓ 24 callers
Method
NewRequest
(method, urlStr string, body interface{}, includeNamespaceInUrl bool)
whisk/client.go:59
↓ 21 callers
Method
Error
* Prints the error message contained inside an WskError. An error prefix may, or may not be displayed depending on the WskError's setting for DisplayP
whisk/wskerror.go:57
↓ 19 callers
Function
GetValue
(StoredValues map[string]string, key string, defaultvalue string)
whisk/wskprops.go:298
↓ 11 callers
Method
NewRequestUrl
(method string, urlRelResource *url.URL, body interface{}, includeNamespaceInUrl bool, appendOpenWhiskPath boo
whisk/client.go:58
↓ 10 callers
Function
bindataRead
(data []byte, name string)
wski18n/i18n_resources.go:46
↓ 9 callers
Function
addRouteOptions
addOptions adds the parameters in opt as URL query parameters to s. opt must be a struct whose fields may contain "url" tags.
whisk/util.go:50
↓ 8 callers
Method
Get
(triggerName string)
whisk/client.go:66
↓ 7 callers
Function
NewClient
NewClient creates a new whisk client with the provided http client and whisk configuration. A new http.Transport will be created when client cert or
whisk/client.go:121
↓ 7 callers
Function
Verbose
* Function for tracing debug level messages to stdout Output format: [file-or-function-name]:line-#:[DebugLevel] The formatted message without a
whisk/trace.go:91
↓ 5 callers
Function
DeleteFile
(path string)
whisk/wskprops_test.go:161
↓ 5 callers
Method
GetValue
* Retrieves a value associated with a given key from a KeyValueArr. A key of type string must be passed to the method. An interface will be returned c
whisk/shared.go:36
↓ 5 callers
Method
Getenv
(key string, defaultValue string)
whisk/wskprops.go:240
↓ 5 callers
Function
IsHttpRespSuccess
Basic Client Functions //
whisk/client.go:769
↓ 4 callers
Function
CreateFile
(lines []string, path string)
whisk/wskprops_test.go:147
↓ 4 callers
Function
GetConfigFromWhiskProperties
(pi Properties)
whisk/wskprops.go:111
↓ 4 callers
Function
GetConfigFromWskprops
(pi Properties, path string)
whisk/wskprops.go:118
↓ 4 callers
Function
GetDefaultConfigFromProperties
(pi Properties)
whisk/wskprops.go:104
↓ 4 callers
Function
IsVerbose
()
whisk/trace.go:55
↓ 4 callers
Function
ObfuscateText
(text string, replacements []ObfuscateSet)
whisk/client.go:541
↓ 4 callers
Function
getApplicationErrorMessage
(errResp interface{})
whisk/client.go:623
↓ 3 callers
Function
Asset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
wski18n/i18n_resources.go:300
↓ 3 callers
Method
GetPropsFromWhiskProperties
()
whisk/wskprops.go:194
↓ 3 callers
Function
GetValidConfigTest
()
whisk/client_test.go:40
↓ 3 callers
Method
LoadX509KeyPair
()
whisk/client.go:194
↓ 3 callers
Function
PrintJSON
(v interface{})
whisk/util.go:80
↓ 3 callers
Function
TruncateStr
TruncateStr() returns the string, truncated with ...in the middle if it exceeds the specified length
whisk/activation.go:107
↓ 3 callers
Function
_filePath
(dir, name string)
wski18n/i18n_resources.go:460
↓ 3 callers
Function
convertWskpropsToConfig
(dep *Wskprops)
whisk/wskprops.go:82
↓ 3 callers
Function
getCurrentDir
()
whisk/wskprops_test.go:104
↓ 3 callers
Function
parseSuccessResponse
(resp *http.Response, data []byte, v interface{})
whisk/client.go:703
↓ 2 callers
Method
AddOrReplace
* * Adds the specified KeyValue to the key value array. If the KeyValue's key * is already in the array, that entry is updated with the KeyValue's
whisk/shared.go:65
↓ 2 callers
Function
BodyTruncator
bodyTruncator limits the size of Req/Resp Body for --verbose ONLY. It returns truncated Req/Resp Body, reloaded io.ReadCloser and any errors.
whisk/client.go:349
↓ 2 callers
Method
Get
(triggerName string)
whisk/trigger.go:149
↓ 2 callers
Method
Get
(actionName string, fetchCode bool)
whisk/action.go:237
↓ 2 callers
Function
GetDefaultWskprops
(source string)
whisk/wskprops.go:278
↓ 2 callers
Method
GetPropsFromWhiskProperties
()
whisk/wskprops.go:157
↓ 2 callers
Method
GetPropsFromWskprops
(string)
whisk/wskprops.go:156
↓ 2 callers
Method
GetPropsFromWskprops
(path string)
whisk/wskprops.go:164
↓ 2 callers
Function
GetUrlBase
(host string)
whisk/wskprops.go:70
↓ 2 callers
Function
IsDebug
()
whisk/trace.go:58
↓ 2 callers
Method
ModTime
()
wski18n/i18n_resources.go:87
↓ 2 callers
Method
NewRequest
Request/Utility Functions //
whisk/client.go:262
↓ 2 callers
Function
ReadProps
(path string)
whisk/wskprops.go:306
↓ 2 callers
Method
addAuthHeader
(req *http.Request, authRequired bool)
whisk/client.go:327
↓ 2 callers
Function
parseErrorResponse
(resp *http.Response, data []byte, v interface{})
whisk/client.go:550
↓ 2 callers
Function
repl
actual implementation of a read-eval-print-loop
whisk/start.go:33
↓ 2 callers
Function
validateApiSwaggerResponse
(swagger *ApiSwagger)
whisk/api.go:485
↓ 1 callers
Function
AssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
wski18n/i18n_resources.go:374
↓ 1 callers
Function
AssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
wski18n/i18n_resources.go:326
↓ 1 callers
Method
DetectLanguage
()
wski18n/detection.go:24
↓ 1 callers
Method
Do
Do sends an API request and returns the API response. The API response is JSON decoded and stored in the value pointed to by v, or returned as an err
whisk/client.go:375
↓ 1 callers
Method
FindKeyValue
(key string)
whisk/shared.go:49
↓ 1 callers
Function
GetDefaultConfig
()
whisk/wskprops.go:253
↓ 1 callers
Function
GetInvalidConfigMissingApiHostTest
()
whisk/client_test.go:48
↓ 1 callers
Function
GetInvalidConfigMissingApiHostWithBaseURLTest
()
whisk/client_test.go:55
↓ 1 callers
Method
GetName
()
whisk/package.go:34
↓ 1 callers
Function
GetProperties
()
whisk/wskprops.go:267
↓ 1 callers
Function
GetStatusCodeForMessage
(msg string)
whisk/activation.go:224
↓ 1 callers
Function
GetURLBase
(host string, path string)
whisk/util.go:85
↓ 1 callers
Function
GetValidConfigDiffApiHostAndBaseURLTest
()
whisk/client_test.go:64
↓ 1 callers
Function
Init
(detector Detector)
wski18n/i18n.go:81
↓ 1 callers
Function
InitWithLocale
(locale string)
wski18n/i18n.go:87
↓ 1 callers
Function
IsResponseResultSuccess
(data []byte)
whisk/client.go:773
↓ 1 callers
Function
LangOfLocale
(locale string)
wski18n/i18n.go:143
↓ 1 callers
Method
List
(options *TriggerListOptions)
whisk/client.go:64
↓ 1 callers
Function
Locale
(detector Detector)
wski18n/i18n.go:65
↓ 1 callers
Method
MakeOperationMap
()
whisk/api.go:168
↓ 1 callers
Method
Mode
()
wski18n/i18n_resources.go:84
↓ 1 callers
Method
Name
()
wski18n/i18n_resources.go:78
↓ 1 callers
Method
NewRequestUrl
Create a HTTP request object using URL stored in url.URL object Arguments: method - HTTP verb (i.e. "GET", "PUT", etc) urlRelResource - *url.
whisk/client.go:796
↓ 1 callers
Function
PrintRequestInfo
(req *http.Request, secretToObfuscate ...ObfuscateSet)
whisk/client.go:467
↓ 1 callers
Function
PrintResponseInfo
(resp *http.Response, secretToObfuscate ...ObfuscateSet)
whisk/client.go:501
↓ 1 callers
Function
RestoreAsset
RestoreAsset restores an asset under the given directory
wski18n/i18n_resources.go:419
↓ 1 callers
Function
SetDebug
(b bool)
whisk/trace.go:47
↓ 1 callers
Function
Start
Start will start a loop reading in stdin and outputting in fd3 This is expected to be uses for implementing Go actions
whisk/start.go:52
↓ 1 callers
Function
StartWithArgs
StartWithArgs will execute the function for each arg If there are no args it will start a read-write loop on the function Expected to be used as start
whisk/start.go:64
↓ 1 callers
Method
WebAction
* Determines if an action is a web action by examining the action's annotations. A value of true is returned if the action's annotations contains a "w
whisk/action.go:115
↓ 1 callers
Function
getWhiskErrorProperties
* Returns the settings from a WskError. Values returned will include ExitCode, DisplayMsg, DisplayUsage, MsgDisplayed, DisplayPrefix, TimedOut. Param
whisk/wskerror.go:148
↓ 1 callers
Function
loadFromAsset
(locale string)
wski18n/i18n.go:95
↓ 1 callers
Function
parseApplicationError
(resp *http.Response, data []byte, v interface{})
whisk/client.go:580
↓ 1 callers
Function
validateApiListResponse
(apiList *ApiListResponse)
whisk/api.go:468
↓ 1 callers
Function
validateApiOperation
(opName string, op *ApiSwaggerOperation)
whisk/api.go:514
↓ 1 callers
Function
validateApiPath
(path *ApiSwaggerPath)
whisk/api.go:503
↓ 1 callers
Function
wski18nResourcesDe_deAllJsonBytes
()
wski18n/i18n_resources.go:99
↓ 1 callers
Function
wski18nResourcesEn_usAllJsonBytes
()
wski18n/i18n_resources.go:119
↓ 1 callers
Function
wski18nResourcesEs_esAllJsonBytes
()
wski18n/i18n_resources.go:139
↓ 1 callers
Function
wski18nResourcesFr_frAllJsonBytes
()
wski18n/i18n_resources.go:159
↓ 1 callers
Function
wski18nResourcesIt_itAllJsonBytes
()
wski18n/i18n_resources.go:179
↓ 1 callers
Function
wski18nResourcesJa_jaAllJsonBytes
()
wski18n/i18n_resources.go:199
↓ 1 callers
Function
wski18nResourcesKo_krAllJsonBytes
()
wski18n/i18n_resources.go:219
↓ 1 callers
Function
wski18nResourcesPt_brAllJsonBytes
()
wski18n/i18n_resources.go:239
↓ 1 callers
Function
wski18nResourcesZh_hansAllJsonBytes
()
wski18n/i18n_resources.go:259
↓ 1 callers
Function
wski18nResourcesZh_hantAllJsonBytes
()
wski18n/i18n_resources.go:279
Method
ActionURL
* Returns the URL of an action as a string. A valid API host, path and version must be passed. A package that contains the action must be passed as we
whisk/action.go:128
Method
AddConfigPath
(in string)
whisk/wskprops_test.go:101
Method
AppendKeyValueArr
* Appends items from appKeyValueArr to keyValueArr if the appKeyValueArr item does not exist in keyValueArr. */
whisk/shared.go:82
next →
1–100 of 226, ranked by callers