MCPcopy Index your code

hub / github.com/apache/openwhisk-client-go / functions

Functions226 in github.com/apache/openwhisk-client-go

↓ 155 callersFunctionDebug
* 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 callersFunctionMakeWskError
* Instantiate a WskError structure Parameters: error - RootErr. object implementing the error interface int - ExitCode. Used if error o
whisk/wskerror.go:72
↓ 38 callersFunctionMakeWskErrorFromWskError
* Instantiate a WskError structure Parameters: error - RootErr. object implementing the error interface WskError - WskError being wra
whisk/wskerror.go:118
↓ 32 callersMethodDo
(req *http.Request, v interface{}, ExitWithErrorOnTimeout bool, secretToObfuscate ...ObfuscateSet)
whisk/client.go:60
↓ 24 callersMethodNewRequest
(method, urlStr string, body interface{}, includeNamespaceInUrl bool)
whisk/client.go:59
↓ 21 callersMethodError
* 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 callersFunctionGetValue
(StoredValues map[string]string, key string, defaultvalue string)
whisk/wskprops.go:298
↓ 11 callersMethodNewRequestUrl
(method string, urlRelResource *url.URL, body interface{}, includeNamespaceInUrl bool, appendOpenWhiskPath boo
whisk/client.go:58
↓ 10 callersFunctionbindataRead
(data []byte, name string)
wski18n/i18n_resources.go:46
↓ 9 callersFunctionaddRouteOptions
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 callersMethodGet
(triggerName string)
whisk/client.go:66
↓ 7 callersFunctionNewClient
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 callersFunctionVerbose
* 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 callersFunctionDeleteFile
(path string)
whisk/wskprops_test.go:161
↓ 5 callersMethodGetValue
* 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 callersMethodGetenv
(key string, defaultValue string)
whisk/wskprops.go:240
↓ 5 callersFunctionIsHttpRespSuccess
Basic Client Functions //
whisk/client.go:769
↓ 4 callersFunctionCreateFile
(lines []string, path string)
whisk/wskprops_test.go:147
↓ 4 callersFunctionGetConfigFromWhiskProperties
(pi Properties)
whisk/wskprops.go:111
↓ 4 callersFunctionGetConfigFromWskprops
(pi Properties, path string)
whisk/wskprops.go:118
↓ 4 callersFunctionGetDefaultConfigFromProperties
(pi Properties)
whisk/wskprops.go:104
↓ 4 callersFunctionIsVerbose
()
whisk/trace.go:55
↓ 4 callersFunctionObfuscateText
(text string, replacements []ObfuscateSet)
whisk/client.go:541
↓ 4 callersFunctiongetApplicationErrorMessage
(errResp interface{})
whisk/client.go:623
↓ 3 callersFunctionAsset
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 callersMethodGetPropsFromWhiskProperties
()
whisk/wskprops.go:194
↓ 3 callersFunctionGetValidConfigTest
()
whisk/client_test.go:40
↓ 3 callersMethodLoadX509KeyPair
()
whisk/client.go:194
↓ 3 callersFunctionPrintJSON
(v interface{})
whisk/util.go:80
↓ 3 callersFunctionTruncateStr
TruncateStr() returns the string, truncated with ...in the middle if it exceeds the specified length
whisk/activation.go:107
↓ 3 callersFunction_filePath
(dir, name string)
wski18n/i18n_resources.go:460
↓ 3 callersFunctionconvertWskpropsToConfig
(dep *Wskprops)
whisk/wskprops.go:82
↓ 3 callersFunctiongetCurrentDir
()
whisk/wskprops_test.go:104
↓ 3 callersFunctionparseSuccessResponse
(resp *http.Response, data []byte, v interface{})
whisk/client.go:703
↓ 2 callersMethodAddOrReplace
* * 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 callersFunctionBodyTruncator
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 callersMethodGet
(triggerName string)
whisk/trigger.go:149
↓ 2 callersMethodGet
(actionName string, fetchCode bool)
whisk/action.go:237
↓ 2 callersFunctionGetDefaultWskprops
(source string)
whisk/wskprops.go:278
↓ 2 callersMethodGetPropsFromWhiskProperties
()
whisk/wskprops.go:157
↓ 2 callersMethodGetPropsFromWskprops
(string)
whisk/wskprops.go:156
↓ 2 callersMethodGetPropsFromWskprops
(path string)
whisk/wskprops.go:164
↓ 2 callersFunctionGetUrlBase
(host string)
whisk/wskprops.go:70
↓ 2 callersFunctionIsDebug
()
whisk/trace.go:58
↓ 2 callersMethodModTime
()
wski18n/i18n_resources.go:87
↓ 2 callersMethodNewRequest
Request/Utility Functions //
whisk/client.go:262
↓ 2 callersFunctionReadProps
(path string)
whisk/wskprops.go:306
↓ 2 callersMethodaddAuthHeader
(req *http.Request, authRequired bool)
whisk/client.go:327
↓ 2 callersFunctionparseErrorResponse
(resp *http.Response, data []byte, v interface{})
whisk/client.go:550
↓ 2 callersFunctionrepl
actual implementation of a read-eval-print-loop
whisk/start.go:33
↓ 2 callersFunctionvalidateApiSwaggerResponse
(swagger *ApiSwagger)
whisk/api.go:485
↓ 1 callersFunctionAssetDir
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 callersFunctionAssetInfo
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 callersMethodDetectLanguage
()
wski18n/detection.go:24
↓ 1 callersMethodDo
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 callersMethodFindKeyValue
(key string)
whisk/shared.go:49
↓ 1 callersFunctionGetDefaultConfig
()
whisk/wskprops.go:253
↓ 1 callersFunctionGetInvalidConfigMissingApiHostTest
()
whisk/client_test.go:48
↓ 1 callersFunctionGetInvalidConfigMissingApiHostWithBaseURLTest
()
whisk/client_test.go:55
↓ 1 callersMethodGetName
()
whisk/package.go:34
↓ 1 callersFunctionGetProperties
()
whisk/wskprops.go:267
↓ 1 callersFunctionGetStatusCodeForMessage
(msg string)
whisk/activation.go:224
↓ 1 callersFunctionGetURLBase
(host string, path string)
whisk/util.go:85
↓ 1 callersFunctionGetValidConfigDiffApiHostAndBaseURLTest
()
whisk/client_test.go:64
↓ 1 callersFunctionInit
(detector Detector)
wski18n/i18n.go:81
↓ 1 callersFunctionInitWithLocale
(locale string)
wski18n/i18n.go:87
↓ 1 callersFunctionIsResponseResultSuccess
(data []byte)
whisk/client.go:773
↓ 1 callersFunctionLangOfLocale
(locale string)
wski18n/i18n.go:143
↓ 1 callersMethodList
(options *TriggerListOptions)
whisk/client.go:64
↓ 1 callersFunctionLocale
(detector Detector)
wski18n/i18n.go:65
↓ 1 callersMethodMakeOperationMap
()
whisk/api.go:168
↓ 1 callersMethodMode
()
wski18n/i18n_resources.go:84
↓ 1 callersMethodName
()
wski18n/i18n_resources.go:78
↓ 1 callersMethodNewRequestUrl
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 callersFunctionPrintRequestInfo
(req *http.Request, secretToObfuscate ...ObfuscateSet)
whisk/client.go:467
↓ 1 callersFunctionPrintResponseInfo
(resp *http.Response, secretToObfuscate ...ObfuscateSet)
whisk/client.go:501
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
wski18n/i18n_resources.go:419
↓ 1 callersFunctionSetDebug
(b bool)
whisk/trace.go:47
↓ 1 callersFunctionStart
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 callersFunctionStartWithArgs
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 callersMethodWebAction
* 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 callersFunctiongetWhiskErrorProperties
* Returns the settings from a WskError. Values returned will include ExitCode, DisplayMsg, DisplayUsage, MsgDisplayed, DisplayPrefix, TimedOut. Param
whisk/wskerror.go:148
↓ 1 callersFunctionloadFromAsset
(locale string)
wski18n/i18n.go:95
↓ 1 callersFunctionparseApplicationError
(resp *http.Response, data []byte, v interface{})
whisk/client.go:580
↓ 1 callersFunctionvalidateApiListResponse
(apiList *ApiListResponse)
whisk/api.go:468
↓ 1 callersFunctionvalidateApiOperation
(opName string, op *ApiSwaggerOperation)
whisk/api.go:514
↓ 1 callersFunctionvalidateApiPath
(path *ApiSwaggerPath)
whisk/api.go:503
↓ 1 callersFunctionwski18nResourcesDe_deAllJsonBytes
()
wski18n/i18n_resources.go:99
↓ 1 callersFunctionwski18nResourcesEn_usAllJsonBytes
()
wski18n/i18n_resources.go:119
↓ 1 callersFunctionwski18nResourcesEs_esAllJsonBytes
()
wski18n/i18n_resources.go:139
↓ 1 callersFunctionwski18nResourcesFr_frAllJsonBytes
()
wski18n/i18n_resources.go:159
↓ 1 callersFunctionwski18nResourcesIt_itAllJsonBytes
()
wski18n/i18n_resources.go:179
↓ 1 callersFunctionwski18nResourcesJa_jaAllJsonBytes
()
wski18n/i18n_resources.go:199
↓ 1 callersFunctionwski18nResourcesKo_krAllJsonBytes
()
wski18n/i18n_resources.go:219
↓ 1 callersFunctionwski18nResourcesPt_brAllJsonBytes
()
wski18n/i18n_resources.go:239
↓ 1 callersFunctionwski18nResourcesZh_hansAllJsonBytes
()
wski18n/i18n_resources.go:259
↓ 1 callersFunctionwski18nResourcesZh_hantAllJsonBytes
()
wski18n/i18n_resources.go:279
MethodActionURL
* 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
MethodAddConfigPath
(in string)
whisk/wskprops_test.go:101
MethodAppendKeyValueArr
* 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