Documentation ¶
Index ¶
- type ContextEnv
- type ContextHTTP
- type ContextProvider
- func (ctxProvider ContextProvider) GetAccessKey() string
- func (ctxProvider ContextProvider) GetCPUNumber() int
- func (ctxProvider ContextProvider) GetFunctionName() string
- func (ctxProvider ContextProvider) GetHandler() string
- func (ctxProvider ContextProvider) GetInitializerHandler() string
- func (ctxProvider ContextProvider) GetLogger() common.RuntimeLogger
- func (ctxProvider ContextProvider) GetMemorySize() int
- func (ctxProvider ContextProvider) GetPackage() string
- func (ctxProvider ContextProvider) GetProjectID() string
- func (ctxProvider ContextProvider) GetRemainingTimeInMilliSeconds() int
- func (ctxProvider ContextProvider) GetRequestID() string
- func (ctxProvider ContextProvider) GetRunningTimeInSeconds() int
- func (ctxProvider ContextProvider) GetSecretKey() string
- func (ctxProvider ContextProvider) GetSecurityToken() string
- func (ctxProvider ContextProvider) GetToken() string
- func (ctxProvider ContextProvider) GetUserData(key string) string
- func (ctxProvider ContextProvider) GetVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextEnv ¶
type ContextEnv struct {
// contains filtered or unexported fields
}
func GetContextEnvInstance ¶
func GetContextEnvInstance() *ContextEnv
func (*ContextEnv) InitiliazeContext ¶
func (contextObj *ContextEnv) InitiliazeContext()
type ContextHTTP ¶
type ContextHTTP struct {
// contains filtered or unexported fields
}
func GetContextHTTPHeadInstance ¶
func GetContextHTTPHeadInstance(req *common.InvokeRequest) *ContextHTTP
type ContextProvider ¶
type ContextProvider struct {
// contains filtered or unexported fields
}
func GetContextProvider ¶
func GetContextProvider(ctxEnv *ContextEnv, ctxHTTPHead *ContextHTTP) ContextProvider
func (ContextProvider) GetAccessKey ¶
func (ctxProvider ContextProvider) GetAccessKey() string
func (ContextProvider) GetCPUNumber ¶
func (ctxProvider ContextProvider) GetCPUNumber() int
func (ContextProvider) GetFunctionName ¶
func (ctxProvider ContextProvider) GetFunctionName() string
func (ContextProvider) GetHandler ¶
func (ctxProvider ContextProvider) GetHandler() string
func (ContextProvider) GetInitializerHandler ¶
func (ctxProvider ContextProvider) GetInitializerHandler() string
func (ContextProvider) GetLogger ¶
func (ctxProvider ContextProvider) GetLogger() common.RuntimeLogger
func (ContextProvider) GetMemorySize ¶
func (ctxProvider ContextProvider) GetMemorySize() int
func (ContextProvider) GetPackage ¶
func (ctxProvider ContextProvider) GetPackage() string
func (ContextProvider) GetProjectID ¶
func (ctxProvider ContextProvider) GetProjectID() string
func (ContextProvider) GetRemainingTimeInMilliSeconds ¶
func (ctxProvider ContextProvider) GetRemainingTimeInMilliSeconds() int
func (ContextProvider) GetRequestID ¶
func (ctxProvider ContextProvider) GetRequestID() string
func (ContextProvider) GetRunningTimeInSeconds ¶
func (ctxProvider ContextProvider) GetRunningTimeInSeconds() int
func (ContextProvider) GetSecretKey ¶
func (ctxProvider ContextProvider) GetSecretKey() string
func (ContextProvider) GetSecurityToken ¶
func (ctxProvider ContextProvider) GetSecurityToken() string
func (ContextProvider) GetToken ¶
func (ctxProvider ContextProvider) GetToken() string
func (ContextProvider) GetUserData ¶
func (ctxProvider ContextProvider) GetUserData(key string) string
func (ContextProvider) GetVersion ¶
func (ctxProvider ContextProvider) GetVersion() string
Click to show internal directories.
Click to hide internal directories.