faasinfra

package
v0.0.2-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SCFileDownload = ""
	SCSuccess      = "0"

	ECInternalError  = "k_ec_000001"
	ECNoTenantID     = "k_ec_000002"
	ECNoUserID       = "k_ec_000003"
	ECUnknownError   = "k_ec_000004"
	ECOpUnknownError = "k_op_ec_00001"
	ECSystemBusy     = "k_op_ec_20001"
	ECSystemError    = "k_op_ec_20002"
	ECRateLimitError = "k_fs_ec_000004"
	ECTokenExpire    = "k_ident_013000"
	ECIllegalToken   = "k_ident_013001"
	ECMissingToken   = "k_op_ec_10205"
)
View Source
const (
	PathInvokeFunction            = "/cloudfunction/v1/namespaces/:namespace/function/invokeSync"
	PathInvokeFunctionAsync       = "/faasAsyncTask/v1/namespaces/:namespace/asyncTask/CreateAsyncTask"
	PathInvokeFunctionDistributed = "/distributedTask/v1/namespaces/:namespace/create"
)

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() request.IRequestFaaSInfra

func GetPathInvokeFunction

func GetPathInvokeFunction(namespace string) string

func GetPathInvokeFunctionAsync

func GetPathInvokeFunctionAsync(namespace string) string

func GetPathInvokeFunctionDistributed

func GetPathInvokeFunctionDistributed(namespace string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL