model

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v0.0.81

type Action struct {
	FunctionRef *FunctionRef `json:"function_ref,omitempty"`
}

节点操作详情

func (Action) String added in v0.0.81

func (o Action) String() string

type AsyncInvokeFunctionRequest

type AsyncInvokeFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (AsyncInvokeFunctionRequest) String

type AsyncInvokeFunctionResponse

type AsyncInvokeFunctionResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AsyncInvokeFunctionResponse) String

type AsyncInvokeReservedFunctionRequest added in v0.0.47

type AsyncInvokeReservedFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (AsyncInvokeReservedFunctionRequest) String added in v0.0.47

type AsyncInvokeReservedFunctionResponse added in v0.0.47

type AsyncInvokeReservedFunctionResponse struct {
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AsyncInvokeReservedFunctionResponse) String added in v0.0.47

type BatchDeleteFunctionTriggersRequest

type BatchDeleteFunctionTriggersRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (BatchDeleteFunctionTriggersRequest) String

type BatchDeleteFunctionTriggersResponse

type BatchDeleteFunctionTriggersResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteFunctionTriggersResponse) String

type BatchDeleteWorkflowsRequest added in v0.0.81

type BatchDeleteWorkflowsRequest struct {
	Body *BatchDeleteWorkflowsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteWorkflowsRequest) String added in v0.0.81

type BatchDeleteWorkflowsRequestBody added in v0.0.81

type BatchDeleteWorkflowsRequestBody struct {
	WorkflowUrns *[]string `json:"workflow_urns,omitempty"`
}

函数流批量删除Body体

func (BatchDeleteWorkflowsRequestBody) String added in v0.0.81

type BatchDeleteWorkflowsResponse added in v0.0.81

type BatchDeleteWorkflowsResponse struct {
	Success *[]string `json:"success,omitempty"`

	Fail           *[]OperateErrorInfo `json:"fail,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (BatchDeleteWorkflowsResponse) String added in v0.0.81

type CreateDependencyRequest

type CreateDependencyRequest struct {
	Body *CreateDependencyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDependencyRequest) String

func (o CreateDependencyRequest) String() string

type CreateDependencyRequestBody

type CreateDependencyRequestBody struct {
	DependFile *string `json:"depend_file,omitempty"`

	DependLink *string `json:"depend_link,omitempty"`

	DependType string `json:"depend_type"`

	Runtime CreateDependencyRequestBodyRuntime `json:"runtime"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

func (CreateDependencyRequestBody) String

type CreateDependencyRequestBodyRuntime

type CreateDependencyRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (CreateDependencyRequestBodyRuntime) MarshalJSON

func (c CreateDependencyRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*CreateDependencyRequestBodyRuntime) UnmarshalJSON

func (c *CreateDependencyRequestBodyRuntime) UnmarshalJSON(b []byte) error

type CreateDependencyResponse

type CreateDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDependencyResponse) String

func (o CreateDependencyResponse) String() string

type CreateEventRequest

type CreateEventRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateEventRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateEventRequest) String

func (o CreateEventRequest) String() string

type CreateEventRequestBody

type CreateEventRequestBody struct {
	Name string `json:"name"`

	Content string `json:"content"`
}

创建测试事件请求体。

func (CreateEventRequestBody) String

func (o CreateEventRequestBody) String() string

type CreateEventResponse

type CreateEventResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventResponse) String

func (o CreateEventResponse) String() string

type CreateFunctionRequest

type CreateFunctionRequest struct {
	Body *CreateFunctionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionRequest) String

func (o CreateFunctionRequest) String() string

type CreateFunctionRequestBody

type CreateFunctionRequestBody struct {
	FuncName string `json:"func_name"`

	Package string `json:"package"`

	Runtime CreateFunctionRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	CodeType CreateFunctionRequestBodyCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Type *CreateFunctionRequestBodyType `json:"type,omitempty"`
}

函数属性结构体。

func (CreateFunctionRequestBody) String

func (o CreateFunctionRequestBody) String() string

type CreateFunctionRequestBodyCodeType

type CreateFunctionRequestBodyCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyCodeType) MarshalJSON

func (c CreateFunctionRequestBodyCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyCodeType) UnmarshalJSON

func (c *CreateFunctionRequestBodyCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyRuntime

type CreateFunctionRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyRuntime) MarshalJSON

func (c CreateFunctionRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyRuntime) UnmarshalJSON

func (c *CreateFunctionRequestBodyRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyType added in v0.0.57

type CreateFunctionRequestBodyType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyType) MarshalJSON added in v0.0.57

func (c CreateFunctionRequestBodyType) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyType) UnmarshalJSON added in v0.0.57

func (c *CreateFunctionRequestBodyType) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyTypeEnum added in v0.0.57

type CreateFunctionRequestBodyTypeEnum struct {
	V1 CreateFunctionRequestBodyType
	V2 CreateFunctionRequestBodyType
}

func GetCreateFunctionRequestBodyTypeEnum added in v0.0.57

func GetCreateFunctionRequestBodyTypeEnum() CreateFunctionRequestBodyTypeEnum

type CreateFunctionResponse

type CreateFunctionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *CreateFunctionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *CreateFunctionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (CreateFunctionResponse) String

func (o CreateFunctionResponse) String() string

type CreateFunctionResponseCodeType

type CreateFunctionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseCodeType) MarshalJSON

func (c CreateFunctionResponseCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseCodeType) UnmarshalJSON

func (c *CreateFunctionResponseCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionResponseRuntime

type CreateFunctionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseRuntime) MarshalJSON

func (c CreateFunctionResponseRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseRuntime) UnmarshalJSON

func (c *CreateFunctionResponseRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionTriggerRequest

type CreateFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateFunctionTriggerRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionTriggerRequest) String

type CreateFunctionTriggerRequestBody

type CreateFunctionTriggerRequestBody struct {
	TriggerTypeCode CreateFunctionTriggerRequestBodyTriggerTypeCode `json:"trigger_type_code"`

	TriggerStatus *CreateFunctionTriggerRequestBodyTriggerStatus `json:"trigger_status,omitempty"`

	EventTypeCode *string `json:"event_type_code,omitempty"`

	EventData *interface{} `json:"event_data"`
}

func (CreateFunctionTriggerRequestBody) String

type CreateFunctionTriggerRequestBodyTriggerStatus

type CreateFunctionTriggerRequestBodyTriggerStatus struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerRequestBodyTriggerStatus) MarshalJSON

func (*CreateFunctionTriggerRequestBodyTriggerStatus) UnmarshalJSON

type CreateFunctionTriggerRequestBodyTriggerTypeCode

type CreateFunctionTriggerRequestBodyTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerRequestBodyTriggerTypeCode) MarshalJSON

func (*CreateFunctionTriggerRequestBodyTriggerTypeCode) UnmarshalJSON

type CreateFunctionTriggerResponse

type CreateFunctionTriggerResponse struct {
	TriggerId *string `json:"trigger_id,omitempty"`

	TriggerTypeCode *CreateFunctionTriggerResponseTriggerTypeCode `json:"trigger_type_code,omitempty"`

	TriggerStatus *CreateFunctionTriggerResponseTriggerStatus `json:"trigger_status,omitempty"`

	EventData *interface{} `json:"event_data,omitempty"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time,omitempty"`

	CreatedTime    *sdktime.SdkTime `json:"created_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateFunctionTriggerResponse) String

type CreateFunctionTriggerResponseTriggerStatus

type CreateFunctionTriggerResponseTriggerStatus struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerResponseTriggerStatus) MarshalJSON

func (*CreateFunctionTriggerResponseTriggerStatus) UnmarshalJSON

type CreateFunctionTriggerResponseTriggerStatusEnum

type CreateFunctionTriggerResponseTriggerStatusEnum struct {
	ACTIVE   CreateFunctionTriggerResponseTriggerStatus
	DISABLED CreateFunctionTriggerResponseTriggerStatus
}

func GetCreateFunctionTriggerResponseTriggerStatusEnum

func GetCreateFunctionTriggerResponseTriggerStatusEnum() CreateFunctionTriggerResponseTriggerStatusEnum

type CreateFunctionTriggerResponseTriggerTypeCode

type CreateFunctionTriggerResponseTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerResponseTriggerTypeCode) MarshalJSON

func (*CreateFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON

type CreateFunctionVersionRequest

type CreateFunctionVersionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateFunctionVersionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionVersionRequest) String

type CreateFunctionVersionRequestBody

type CreateFunctionVersionRequestBody struct {
	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (CreateFunctionVersionRequestBody) String

type CreateFunctionVersionResponse

type CreateFunctionVersionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *CreateFunctionVersionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *CreateFunctionVersionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	VersionDescription *string `json:"version_description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type *CreateFunctionVersionResponseType `json:"type,omitempty"`

	EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"`

	FunctionAsyncConfig *FunctionAsyncConfig `json:"function_async_config,omitempty"`
	HttpStatusCode      int                  `json:"-"`
}

Response Object

func (CreateFunctionVersionResponse) String

type CreateFunctionVersionResponseCodeType

type CreateFunctionVersionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseCodeType) MarshalJSON

func (c CreateFunctionVersionResponseCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseCodeType) UnmarshalJSON

func (c *CreateFunctionVersionResponseCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseRuntime

type CreateFunctionVersionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseRuntime) MarshalJSON

func (c CreateFunctionVersionResponseRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseRuntime) UnmarshalJSON

func (c *CreateFunctionVersionResponseRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseType added in v0.0.53

type CreateFunctionVersionResponseType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseType) MarshalJSON added in v0.0.53

func (c CreateFunctionVersionResponseType) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseType) UnmarshalJSON added in v0.0.53

func (c *CreateFunctionVersionResponseType) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseTypeEnum added in v0.0.53

type CreateFunctionVersionResponseTypeEnum struct {
	V1 CreateFunctionVersionResponseType
	V2 CreateFunctionVersionResponseType
}

func GetCreateFunctionVersionResponseTypeEnum added in v0.0.53

func GetCreateFunctionVersionResponseTypeEnum() CreateFunctionVersionResponseTypeEnum

type CreateVersionAliasRequest

type CreateVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateVersionAliasRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateVersionAliasRequest) String

func (o CreateVersionAliasRequest) String() string

type CreateVersionAliasRequestBody

type CreateVersionAliasRequestBody struct {
	Name string `json:"name"`

	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
}

版本别名结构

func (CreateVersionAliasRequestBody) String

type CreateVersionAliasResponse

type CreateVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (CreateVersionAliasResponse) String

type CreateWorkflowRequest added in v0.0.81

type CreateWorkflowRequest struct {
	Body *CreateWorkflowRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateWorkflowRequest) String added in v0.0.81

func (o CreateWorkflowRequest) String() string

type CreateWorkflowRequestBody added in v0.0.81

type CreateWorkflowRequestBody struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Triggers *[]Trigger `json:"triggers,omitempty"`

	Start *string `json:"start,omitempty"`

	Functions *[]Function `json:"functions,omitempty"`

	States *[]OperationState `json:"states,omitempty"`

	Constants *interface{} `json:"constants,omitempty"`

	Retries *[]Retry `json:"retries,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

函数流创建body体

func (CreateWorkflowRequestBody) String added in v0.0.81

func (o CreateWorkflowRequestBody) String() string

type CreateWorkflowResponse added in v0.0.81

type CreateWorkflowResponse struct {
	Id *string `json:"id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateWorkflowResponse) String added in v0.0.81

func (o CreateWorkflowResponse) String() string

type DeleteDependencyRequest

type DeleteDependencyRequest struct {
	DependId string `json:"depend_id"`
}

Request Object

func (DeleteDependencyRequest) String

func (o DeleteDependencyRequest) String() string

type DeleteDependencyResponse

type DeleteDependencyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteDependencyResponse) String

func (o DeleteDependencyResponse) String() string

type DeleteEventRequest

type DeleteEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteEventRequest) String

func (o DeleteEventRequest) String() string

type DeleteEventResponse

type DeleteEventResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEventResponse) String

func (o DeleteEventResponse) String() string

type DeleteFunctionAsyncInvokeConfigRequest

type DeleteFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteFunctionAsyncInvokeConfigRequest) String

type DeleteFunctionAsyncInvokeConfigResponse

type DeleteFunctionAsyncInvokeConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionAsyncInvokeConfigResponse) String

type DeleteFunctionRequest

type DeleteFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteFunctionRequest) String

func (o DeleteFunctionRequest) String() string

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionResponse) String

func (o DeleteFunctionResponse) String() string

type DeleteFunctionTriggerRequest

type DeleteFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode DeleteFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`
}

Request Object

func (DeleteFunctionTriggerRequest) String

type DeleteFunctionTriggerRequestTriggerTypeCode

type DeleteFunctionTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (DeleteFunctionTriggerRequestTriggerTypeCode) MarshalJSON

func (*DeleteFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON

type DeleteFunctionTriggerResponse

type DeleteFunctionTriggerResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionTriggerResponse) String

type DeleteVersionAliasRequest

type DeleteVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`
}

Request Object

func (DeleteVersionAliasRequest) String

func (o DeleteVersionAliasRequest) String() string

type DeleteVersionAliasResponse

type DeleteVersionAliasResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteVersionAliasResponse) String

type Dependency

type Dependency struct {
	Id string `json:"id"`

	Owner string `json:"owner"`

	Link string `json:"link"`

	Runtime string `json:"runtime"`

	Etag string `json:"etag"`

	Size int64 `json:"size"`

	Name string `json:"name"`

	Description string `json:"description"`

	FileName *string `json:"file_name,omitempty"`
}

函数依赖包结构。

func (Dependency) String

func (o Dependency) String() string

type EnableLtsLogsRequest added in v0.0.53

type EnableLtsLogsRequest struct {
}

Request Object

func (EnableLtsLogsRequest) String added in v0.0.53

func (o EnableLtsLogsRequest) String() string

type EnableLtsLogsResponse added in v0.0.53

type EnableLtsLogsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnableLtsLogsResponse) String added in v0.0.53

func (o EnableLtsLogsResponse) String() string

type ExportFunctionRequest added in v0.0.47

type ExportFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Config *bool `json:"config,omitempty"`

	Code *bool `json:"code,omitempty"`

	Type *ExportFunctionRequestType `json:"type,omitempty"`
}

Request Object

func (ExportFunctionRequest) String added in v0.0.47

func (o ExportFunctionRequest) String() string

type ExportFunctionRequestType added in v0.0.57

type ExportFunctionRequestType struct {
	// contains filtered or unexported fields
}

func (ExportFunctionRequestType) MarshalJSON added in v0.0.57

func (c ExportFunctionRequestType) MarshalJSON() ([]byte, error)

func (*ExportFunctionRequestType) UnmarshalJSON added in v0.0.57

func (c *ExportFunctionRequestType) UnmarshalJSON(b []byte) error

type ExportFunctionRequestTypeEnum added in v0.0.57

type ExportFunctionRequestTypeEnum struct {
	TYPE ExportFunctionRequestType
	CODE ExportFunctionRequestType
}

func GetExportFunctionRequestTypeEnum added in v0.0.57

func GetExportFunctionRequestTypeEnum() ExportFunctionRequestTypeEnum

type ExportFunctionResponse added in v0.0.47

type ExportFunctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ExportFunctionResponse) String added in v0.0.47

func (o ExportFunctionResponse) String() string

type FuncAsyncDestinationConfig

type FuncAsyncDestinationConfig struct {
	OnSuccess *FuncDestinationConfig `json:"on_success,omitempty"`

	OnFailure *FuncDestinationConfig `json:"on_failure,omitempty"`
}

函数异步调用目标参数配置。

func (FuncAsyncDestinationConfig) String

type FuncCode

type FuncCode struct {
	File *string `json:"file,omitempty"`

	Link *string `json:"link,omitempty"`
}

FuncCode结构返回体。

func (FuncCode) String

func (o FuncCode) String() string

type FuncDestinationConfig

type FuncDestinationConfig struct {
	Destination *FuncDestinationConfigDestination `json:"destination,omitempty"`

	Param *string `json:"param,omitempty"`
}

函数通知目标参数配置。

func (FuncDestinationConfig) String

func (o FuncDestinationConfig) String() string

type FuncDestinationConfigDestination

type FuncDestinationConfigDestination struct {
	// contains filtered or unexported fields
}

func (FuncDestinationConfigDestination) MarshalJSON

func (c FuncDestinationConfigDestination) MarshalJSON() ([]byte, error)

func (*FuncDestinationConfigDestination) UnmarshalJSON

func (c *FuncDestinationConfigDestination) UnmarshalJSON(b []byte) error

type FuncMount

type FuncMount struct {
	MountType string `json:"mount_type"`

	MountResource string `json:"mount_resource"`

	MountSharePath string `json:"mount_share_path"`

	LocalMountPath string `json:"local_mount_path"`
}

函数挂载结构体。

func (FuncMount) String

func (o FuncMount) String() string

type FuncVpc

type FuncVpc struct {
	VpcName string `json:"vpc_name"`

	VpcId string `json:"vpc_id"`

	SubnetName string `json:"subnet_name"`

	SubnetId string `json:"subnet_id"`

	Cidr string `json:"cidr"`

	Gateway string `json:"gateway"`
}

函数vpc配置。

func (FuncVpc) String

func (o FuncVpc) String() string

type Function added in v0.0.81

type Function struct {
	Name *string `json:"name,omitempty"`

	Operation *string `json:"operation,omitempty"`

	Metadata *interface{} `json:"metadata,omitempty"`
}

函数信息

func (Function) String added in v0.0.81

func (o Function) String() string

type FunctionAsyncConfig added in v0.0.68

type FunctionAsyncConfig struct {
	MaxAsyncEventAgeInSeconds int32 `json:"max_async_event_age_in_seconds"`

	MaxAsyncRetryAttempts int32 `json:"max_async_retry_attempts"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified *string `json:"last_modified,omitempty"`
}

函数异步配置返回结构体。

func (FunctionAsyncConfig) String added in v0.0.68

func (o FunctionAsyncConfig) String() string

type FunctionRef added in v0.0.81

type FunctionRef struct {
	RefName *string `json:"ref_name,omitempty"`

	InvokeMode *FunctionRefInvokeMode `json:"invoke_mode,omitempty"`

	Arguments *interface{} `json:"arguments,omitempty"`
}

函数调用信息

func (FunctionRef) String added in v0.0.81

func (o FunctionRef) String() string

type FunctionRefInvokeMode added in v0.0.81

type FunctionRefInvokeMode struct {
	// contains filtered or unexported fields
}

func (FunctionRefInvokeMode) MarshalJSON added in v0.0.81

func (c FunctionRefInvokeMode) MarshalJSON() ([]byte, error)

func (*FunctionRefInvokeMode) UnmarshalJSON added in v0.0.81

func (c *FunctionRefInvokeMode) UnmarshalJSON(b []byte) error

type FunctionRefInvokeModeEnum added in v0.0.81

type FunctionRefInvokeModeEnum struct {
	SYNCHRONIZE FunctionRefInvokeMode
}

func GetFunctionRefInvokeModeEnum added in v0.0.81

func GetFunctionRefInvokeModeEnum() FunctionRefInvokeModeEnum

type ImportFunctionRequest added in v0.0.47

type ImportFunctionRequest struct {
	Body *ImportFunctionRequestBody `json:"body,omitempty"`
}

Request Object

func (ImportFunctionRequest) String added in v0.0.47

func (o ImportFunctionRequest) String() string

type ImportFunctionRequestBody added in v0.0.47

type ImportFunctionRequestBody struct {
	FuncName string `json:"func_name"`

	FileName string `json:"file_name"`

	FileType string `json:"file_type"`

	FileCode string `json:"file_code"`
}

导入函数请求结构体

func (ImportFunctionRequestBody) String added in v0.0.47

func (o ImportFunctionRequestBody) String() string

type ImportFunctionResponse added in v0.0.47

type ImportFunctionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *ImportFunctionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *ImportFunctionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	VersionDescription *string `json:"version_description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (ImportFunctionResponse) String added in v0.0.47

func (o ImportFunctionResponse) String() string

type ImportFunctionResponseCodeType added in v0.0.47

type ImportFunctionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ImportFunctionResponseCodeType) MarshalJSON added in v0.0.47

func (c ImportFunctionResponseCodeType) MarshalJSON() ([]byte, error)

func (*ImportFunctionResponseCodeType) UnmarshalJSON added in v0.0.47

func (c *ImportFunctionResponseCodeType) UnmarshalJSON(b []byte) error

type ImportFunctionResponseCodeTypeEnum added in v0.0.47

func GetImportFunctionResponseCodeTypeEnum added in v0.0.47

func GetImportFunctionResponseCodeTypeEnum() ImportFunctionResponseCodeTypeEnum

type ImportFunctionResponseRuntime added in v0.0.47

type ImportFunctionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ImportFunctionResponseRuntime) MarshalJSON added in v0.0.47

func (c ImportFunctionResponseRuntime) MarshalJSON() ([]byte, error)

func (*ImportFunctionResponseRuntime) UnmarshalJSON added in v0.0.47

func (c *ImportFunctionResponseRuntime) UnmarshalJSON(b []byte) error

type InvokeFunctionRequest

type InvokeFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	XCffLogType *string `json:"X-Cff-Log-Type,omitempty"`

	XCFFRequestVersion *string `json:"X-CFF-Request-Version,omitempty"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (InvokeFunctionRequest) String

func (o InvokeFunctionRequest) String() string

type InvokeFunctionResponse

type InvokeFunctionResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Result *string `json:"result,omitempty"`

	Log *string `json:"log,omitempty"`

	Status         *int32 `json:"status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (InvokeFunctionResponse) String

func (o InvokeFunctionResponse) String() string

type ListDependenciesRequest

type ListDependenciesRequest struct {
	DependencyType *ListDependenciesRequestDependencyType `json:"dependency_type,omitempty"`

	Runtime *ListDependenciesRequestRuntime `json:"runtime,omitempty"`

	Name *string `json:"name,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListDependenciesRequest) String

func (o ListDependenciesRequest) String() string

type ListDependenciesRequestDependencyType

type ListDependenciesRequestDependencyType struct {
	// contains filtered or unexported fields
}

func (ListDependenciesRequestDependencyType) MarshalJSON

func (c ListDependenciesRequestDependencyType) MarshalJSON() ([]byte, error)

func (*ListDependenciesRequestDependencyType) UnmarshalJSON

func (c *ListDependenciesRequestDependencyType) UnmarshalJSON(b []byte) error

type ListDependenciesRequestRuntime

type ListDependenciesRequestRuntime struct {
	// contains filtered or unexported fields
}

func (ListDependenciesRequestRuntime) MarshalJSON

func (c ListDependenciesRequestRuntime) MarshalJSON() ([]byte, error)

func (*ListDependenciesRequestRuntime) UnmarshalJSON

func (c *ListDependenciesRequestRuntime) UnmarshalJSON(b []byte) error

type ListDependenciesResponse

type ListDependenciesResponse struct {
	Count *int32 `json:"count,omitempty"`

	Dependencies *[]ListDependenciesResult `json:"dependencies,omitempty"`

	NextMarker     *int64 `json:"next_marker,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDependenciesResponse) String

func (o ListDependenciesResponse) String() string

type ListDependenciesResult

type ListDependenciesResult struct {
	Id string `json:"id"`

	Owner string `json:"owner"`

	Link string `json:"link"`

	Runtime string `json:"runtime"`

	Etag string `json:"etag"`

	Size int64 `json:"size"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	FileName *string `json:"file_name,omitempty"`
}

依赖包信息。

func (ListDependenciesResult) String

func (o ListDependenciesResult) String() string

type ListEventsRequest

type ListEventsRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListEventsRequest) String

func (o ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Events *[]ListEventsResult `json:"events,omitempty"`

	NextMarker     *int64 `json:"next_marker,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEventsResponse) String

func (o ListEventsResponse) String() string

type ListEventsResult

type ListEventsResult struct {
	Id *string `json:"id,omitempty"`

	LastModified float32 `json:"last_modified,omitempty"`

	Name *string `json:"name,omitempty"`
}

获取测试事件响应返回体。

func (ListEventsResult) String

func (o ListEventsResult) String() string

type ListFunctionAsyncInvocationsRequest added in v0.0.75

type ListFunctionAsyncInvocationsRequest struct {
	FunctionUrn string `json:"function_urn"`

	RequestId *string `json:"request_id,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Status *ListFunctionAsyncInvocationsRequestStatus `json:"status,omitempty"`

	QueryBeginTime *sdktime.SdkTime `json:"query_begin_time,omitempty"`

	QueryEndTime *sdktime.SdkTime `json:"query_end_time,omitempty"`
}

Request Object

func (ListFunctionAsyncInvocationsRequest) String added in v0.0.75

type ListFunctionAsyncInvocationsRequestStatus added in v0.0.75

type ListFunctionAsyncInvocationsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListFunctionAsyncInvocationsRequestStatus) MarshalJSON added in v0.0.75

func (*ListFunctionAsyncInvocationsRequestStatus) UnmarshalJSON added in v0.0.75

type ListFunctionAsyncInvocationsResponse added in v0.0.75

type ListFunctionAsyncInvocationsResponse struct {
	Invocations    *[]ListFunctionAsyncInvocationsResult `json:"invocations,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

Response Object

func (ListFunctionAsyncInvocationsResponse) String added in v0.0.75

type ListFunctionAsyncInvocationsResult added in v0.0.75

type ListFunctionAsyncInvocationsResult struct {
	RequestId *string `json:"request_id,omitempty"`

	Status *ListFunctionAsyncInvocationsResultStatus `json:"status,omitempty"`

	ErrorMessage *string `json:"error_message,omitempty"`

	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	EndTime *sdktime.SdkTime `json:"end_time,omitempty"`
}

异步调用记录

func (ListFunctionAsyncInvocationsResult) String added in v0.0.75

type ListFunctionAsyncInvocationsResultStatus added in v0.0.75

type ListFunctionAsyncInvocationsResultStatus struct {
	// contains filtered or unexported fields
}

func (ListFunctionAsyncInvocationsResultStatus) MarshalJSON added in v0.0.75

func (*ListFunctionAsyncInvocationsResultStatus) UnmarshalJSON added in v0.0.75

func (c *ListFunctionAsyncInvocationsResultStatus) UnmarshalJSON(b []byte) error

type ListFunctionAsyncInvokeConfigRequest

type ListFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListFunctionAsyncInvokeConfigRequest) String

type ListFunctionAsyncInvokeConfigResponse

type ListFunctionAsyncInvokeConfigResponse struct {
	AsyncInvokeConfigs *[]ListFunctionAsyncInvokeConfigResult `json:"async_invoke_configs,omitempty"`

	Count *int64 `json:"count,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListFunctionAsyncInvokeConfigResponse) String

type ListFunctionAsyncInvokeConfigResult

type ListFunctionAsyncInvokeConfigResult struct {
	FuncUrn string `json:"func_urn"`

	MaxAsyncEventAgeInSeconds int32 `json:"max_async_event_age_in_seconds"`

	MaxAsyncRetryAttempts int32 `json:"max_async_retry_attempts"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified *string `json:"last_modified,omitempty"`
}

函数异步配置返回结构体。

func (ListFunctionAsyncInvokeConfigResult) String

type ListFunctionResult

type ListFunctionResult struct {
	FuncUrn string `json:"func_urn"`

	FuncName string `json:"func_name"`

	DomainId string `json:"domain_id"`

	Namespace string `json:"namespace"`

	ProjectName string `json:"project_name"`

	Package string `json:"package"`

	Runtime ListFunctionResultRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType ListFunctionResultCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize int64 `json:"code_size"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest string `json:"digest"`

	Version string `json:"version"`

	ImageName string `json:"image_name"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	FuncVpcId *string `json:"func_vpc_id,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type *ListFunctionResultType `json:"type,omitempty"`
}

函数属性结构体。

func (ListFunctionResult) String

func (o ListFunctionResult) String() string

type ListFunctionResultCodeType

type ListFunctionResultCodeType struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultCodeType) MarshalJSON

func (c ListFunctionResultCodeType) MarshalJSON() ([]byte, error)

func (*ListFunctionResultCodeType) UnmarshalJSON

func (c *ListFunctionResultCodeType) UnmarshalJSON(b []byte) error

type ListFunctionResultRuntime

type ListFunctionResultRuntime struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultRuntime) MarshalJSON

func (c ListFunctionResultRuntime) MarshalJSON() ([]byte, error)

func (*ListFunctionResultRuntime) UnmarshalJSON

func (c *ListFunctionResultRuntime) UnmarshalJSON(b []byte) error

type ListFunctionResultType added in v0.0.53

type ListFunctionResultType struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultType) MarshalJSON added in v0.0.53

func (c ListFunctionResultType) MarshalJSON() ([]byte, error)

func (*ListFunctionResultType) UnmarshalJSON added in v0.0.53

func (c *ListFunctionResultType) UnmarshalJSON(b []byte) error

type ListFunctionResultTypeEnum added in v0.0.53

type ListFunctionResultTypeEnum struct {
	V1 ListFunctionResultType
	V2 ListFunctionResultType
}

func GetListFunctionResultTypeEnum added in v0.0.53

func GetListFunctionResultTypeEnum() ListFunctionResultTypeEnum

type ListFunctionStatisticsRequest

type ListFunctionStatisticsRequest struct {
	FuncUrn string `json:"func_urn"`

	Period string `json:"period"`
}

Request Object

func (ListFunctionStatisticsRequest) String

type ListFunctionStatisticsResponse

type ListFunctionStatisticsResponse struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	MaxDuration *[]SlaReportsValue `json:"max_duration,omitempty"`

	MinDuration *[]SlaReportsValue `json:"min_duration,omitempty"`

	RejectCount    *[]SlaReportsValue `json:"reject_count,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListFunctionStatisticsResponse) String

type ListFunctionStatisticsResponseBody

type ListFunctionStatisticsResponseBody struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	MaxDuration *[]SlaReportsValue `json:"max_duration,omitempty"`

	MinDuration *[]SlaReportsValue `json:"min_duration,omitempty"`

	RejectCount *[]SlaReportsValue `json:"reject_count,omitempty"`
}

函数指标

func (ListFunctionStatisticsResponseBody) String

type ListFunctionTriggerResult

type ListFunctionTriggerResult struct {
	TriggerId string `json:"trigger_id"`

	TriggerTypeCode ListFunctionTriggerResultTriggerTypeCode `json:"trigger_type_code"`

	TriggerStatus ListFunctionTriggerResultTriggerStatus `json:"trigger_status"`

	EventData *interface{} `json:"event_data"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time"`

	CreatedTime *sdktime.SdkTime `json:"created_time"`
}

func (ListFunctionTriggerResult) String

func (o ListFunctionTriggerResult) String() string

type ListFunctionTriggerResultTriggerStatus

type ListFunctionTriggerResultTriggerStatus struct {
	// contains filtered or unexported fields
}

func (ListFunctionTriggerResultTriggerStatus) MarshalJSON

func (c ListFunctionTriggerResultTriggerStatus) MarshalJSON() ([]byte, error)

func (*ListFunctionTriggerResultTriggerStatus) UnmarshalJSON

func (c *ListFunctionTriggerResultTriggerStatus) UnmarshalJSON(b []byte) error

type ListFunctionTriggerResultTriggerStatusEnum

type ListFunctionTriggerResultTriggerStatusEnum struct {
	ACTIVE   ListFunctionTriggerResultTriggerStatus
	DISABLED ListFunctionTriggerResultTriggerStatus
}

func GetListFunctionTriggerResultTriggerStatusEnum

func GetListFunctionTriggerResultTriggerStatusEnum() ListFunctionTriggerResultTriggerStatusEnum

type ListFunctionTriggerResultTriggerTypeCode

type ListFunctionTriggerResultTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ListFunctionTriggerResultTriggerTypeCode) MarshalJSON

func (*ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON

func (c *ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON(b []byte) error

type ListFunctionTriggersRequest

type ListFunctionTriggersRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListFunctionTriggersRequest) String

type ListFunctionTriggersResponse

type ListFunctionTriggersResponse struct {
	Body           *[]ListFunctionTriggerResult `json:"body,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListFunctionTriggersResponse) String

type ListFunctionVersionResult

type ListFunctionVersionResult struct {
	FuncUrn string `json:"func_urn"`

	FuncName string `json:"func_name"`

	DomainId string `json:"domain_id"`

	Namespace string `json:"namespace"`

	ProjectName string `json:"project_name"`

	Package string `json:"package"`

	Runtime ListFunctionVersionResultRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType ListFunctionVersionResultCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize int64 `json:"code_size"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest string `json:"digest"`

	Version string `json:"version"`

	ImageName string `json:"image_name"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	FuncVpcId *string `json:"func_vpc_id,omitempty"`

	Concurrency *int32 `json:"concurrency,omitempty"`

	ConcurrentNum *int32 `json:"concurrent_num,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	FunctionAsyncConfig *FunctionAsyncConfig `json:"function_async_config,omitempty"`

	Type *string `json:"type,omitempty"`

	EnableCloudDebug *string `json:"enable_cloud_debug,omitempty"`

	EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (ListFunctionVersionResult) String

func (o ListFunctionVersionResult) String() string

type ListFunctionVersionResultCodeType

type ListFunctionVersionResultCodeType struct {
	// contains filtered or unexported fields
}

func (ListFunctionVersionResultCodeType) MarshalJSON

func (c ListFunctionVersionResultCodeType) MarshalJSON() ([]byte, error)

func (*ListFunctionVersionResultCodeType) UnmarshalJSON

func (c *ListFunctionVersionResultCodeType) UnmarshalJSON(b []byte) error

type ListFunctionVersionResultRuntime

type ListFunctionVersionResultRuntime struct {
	// contains filtered or unexported fields
}

func (ListFunctionVersionResultRuntime) MarshalJSON

func (c ListFunctionVersionResultRuntime) MarshalJSON() ([]byte, error)

func (*ListFunctionVersionResultRuntime) UnmarshalJSON

func (c *ListFunctionVersionResultRuntime) UnmarshalJSON(b []byte) error

type ListFunctionVersionsRequest

type ListFunctionVersionsRequest struct {
	FunctionUrn string `json:"function_urn"`

	Marker *string `json:"marker,omitempty"`

	Maxitems *string `json:"maxitems,omitempty"`
}

Request Object

func (ListFunctionVersionsRequest) String

type ListFunctionVersionsResponse

type ListFunctionVersionsResponse struct {
	Versions *[]ListFunctionVersionResult `json:"versions,omitempty"`

	NextMarker *int64 `json:"next_marker,omitempty"`

	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFunctionVersionsResponse) String

type ListFunctionsRequest

type ListFunctionsRequest struct {
	Marker *string `json:"marker,omitempty"`

	Maxitems *string `json:"maxitems,omitempty"`

	PackageName *string `json:"package_name,omitempty"`
}

Request Object

func (ListFunctionsRequest) String

func (o ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	Functions *[]ListFunctionResult `json:"functions,omitempty"`

	NextMarker *int32 `json:"next_marker,omitempty"`

	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFunctionsResponse) String

func (o ListFunctionsResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Quotas         *ListQuotasResult `json:"quotas,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListQuotasResult

type ListQuotasResult struct {
	Resources []Resources `json:"resources"`
}

配额信息

func (ListQuotasResult) String

func (o ListQuotasResult) String() string

type ListStatisticsRequest

type ListStatisticsRequest struct {
	Filter ListStatisticsRequestFilter `json:"filter"`

	Period *string `json:"period,omitempty"`
}

Request Object

func (ListStatisticsRequest) String

func (o ListStatisticsRequest) String() string

type ListStatisticsRequestFilter

type ListStatisticsRequestFilter struct {
	// contains filtered or unexported fields
}

func (ListStatisticsRequestFilter) MarshalJSON

func (c ListStatisticsRequestFilter) MarshalJSON() ([]byte, error)

func (*ListStatisticsRequestFilter) UnmarshalJSON

func (c *ListStatisticsRequestFilter) UnmarshalJSON(b []byte) error

type ListStatisticsRequestFilterEnum

type ListStatisticsRequestFilterEnum struct {
	MONITOR_DATA   ListStatisticsRequestFilter
	MONTHLY_REPORT ListStatisticsRequestFilter
}

func GetListStatisticsRequestFilterEnum

func GetListStatisticsRequestFilterEnum() ListStatisticsRequestFilterEnum

type ListStatisticsResponse

type ListStatisticsResponse struct {
	Count *[]MonthUsed `json:"count,omitempty"`

	Gbs *[]MonthUsed `json:"gbs,omitempty"`

	Statistics     *ListFunctionStatisticsResponseBody `json:"statistics,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

Response Object

func (ListStatisticsResponse) String

func (o ListStatisticsResponse) String() string

type ListVersionAliasResult

type ListVersionAliasResult struct {
	Name string `json:"name"`

	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	AliasUrn string `json:"alias_urn"`

	AdditionalVersionWeights map[string]int64 `json:"additional_version_weights,omitempty"`
}

版本别名结构

func (ListVersionAliasResult) String

func (o ListVersionAliasResult) String() string

type ListVersionAliasesRequest

type ListVersionAliasesRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListVersionAliasesRequest) String

func (o ListVersionAliasesRequest) String() string

type ListVersionAliasesResponse

type ListVersionAliasesResponse struct {
	Body           *[]ListVersionAliasResult `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListVersionAliasesResponse) String

type ListWorkflowExecutionResult added in v0.0.81

type ListWorkflowExecutionResult struct {
	WorkflowId *string `json:"workflow_id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	ExecutionId *string `json:"execution_id,omitempty"`

	Status *ListWorkflowExecutionResultStatus `json:"status,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`
}

函数流执行概要信息

func (ListWorkflowExecutionResult) String added in v0.0.81

type ListWorkflowExecutionResultStatus added in v0.0.81

type ListWorkflowExecutionResultStatus struct {
	// contains filtered or unexported fields
}

func (ListWorkflowExecutionResultStatus) MarshalJSON added in v0.0.81

func (c ListWorkflowExecutionResultStatus) MarshalJSON() ([]byte, error)

func (*ListWorkflowExecutionResultStatus) UnmarshalJSON added in v0.0.81

func (c *ListWorkflowExecutionResultStatus) UnmarshalJSON(b []byte) error

type ListWorkflowExecutionResultStatusEnum added in v0.0.81

func GetListWorkflowExecutionResultStatusEnum added in v0.0.81

func GetListWorkflowExecutionResultStatusEnum() ListWorkflowExecutionResultStatusEnum

type ListWorkflowExecutionsRequest added in v0.0.81

type ListWorkflowExecutionsRequest struct {
	WorkflowId string `json:"workflow_id"`

	Limit *int32 `json:"limit,omitempty"`

	Status *ListWorkflowExecutionsRequestStatus `json:"status,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListWorkflowExecutionsRequest) String added in v0.0.81

type ListWorkflowExecutionsRequestStatus added in v0.0.81

type ListWorkflowExecutionsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListWorkflowExecutionsRequestStatus) MarshalJSON added in v0.0.81

func (c ListWorkflowExecutionsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListWorkflowExecutionsRequestStatus) UnmarshalJSON added in v0.0.81

func (c *ListWorkflowExecutionsRequestStatus) UnmarshalJSON(b []byte) error

type ListWorkflowExecutionsResponse added in v0.0.81

type ListWorkflowExecutionsResponse struct {
	Executions     *[]ListWorkflowExecutionResult `json:"executions,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

Response Object

func (ListWorkflowExecutionsResponse) String added in v0.0.81

type ListWorkflowsRequest added in v0.0.81

type ListWorkflowsRequest struct {
	WorkflowName *string `json:"workflow_name,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListWorkflowsRequest) String added in v0.0.81

func (o ListWorkflowsRequest) String() string

type ListWorkflowsResponse added in v0.0.81

type ListWorkflowsResponse struct {
	Total *int64 `json:"total,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Workflows      *[]ListWorkflowsResult `json:"workflows,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListWorkflowsResponse) String added in v0.0.81

func (o ListWorkflowsResponse) String() string

type ListWorkflowsResult added in v0.0.81

type ListWorkflowsResult struct {
	Id *string `json:"id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`
}

函数流详情

func (ListWorkflowsResult) String added in v0.0.81

func (o ListWorkflowsResult) String() string

type MonthUsed

type MonthUsed struct {
	Date *string `json:"date,omitempty"`

	Value *float32 `json:"value,omitempty"`
}

func (MonthUsed) String

func (o MonthUsed) String() string

type MountConfig

type MountConfig struct {
	MountUser *MountUser `json:"mount_user"`

	FuncMounts []FuncMount `json:"func_mounts"`
}

函数挂载配置。

func (MountConfig) String

func (o MountConfig) String() string

type MountUser

type MountUser struct {
	UserId int32 `json:"user_id"`

	UserGroupId int32 `json:"user_group_id"`
}

挂载用户信息。

func (MountUser) String

func (o MountUser) String() string

type NodeExecution added in v0.0.81

type NodeExecution struct {
	Status *NodeExecutionStatus `json:"status,omitempty"`

	Input *interface{} `json:"input,omitempty"`

	Output *interface{} `json:"output,omitempty"`

	BeginTime *int64 `json:"begin_time,omitempty"`

	EndTime *int64 `json:"end_time,omitempty"`

	ErrorMessage *interface{} `json:"error_message,omitempty"`
}

节点执行详情

func (NodeExecution) String added in v0.0.81

func (o NodeExecution) String() string

type NodeExecutionDetail added in v0.0.81

type NodeExecutionDetail struct {
	NodeId *string `json:"node_id,omitempty"`

	Executions *[]NodeExecution `json:"executions,omitempty"`
}

函数流节点执行详细信息

func (NodeExecutionDetail) String added in v0.0.81

func (o NodeExecutionDetail) String() string

type NodeExecutionStatus added in v0.0.81

type NodeExecutionStatus struct {
	// contains filtered or unexported fields
}

func (NodeExecutionStatus) MarshalJSON added in v0.0.81

func (c NodeExecutionStatus) MarshalJSON() ([]byte, error)

func (*NodeExecutionStatus) UnmarshalJSON added in v0.0.81

func (c *NodeExecutionStatus) UnmarshalJSON(b []byte) error

type NodeExecutionStatusEnum added in v0.0.81

type NodeExecutionStatusEnum struct {
	SUCCESS NodeExecutionStatus
	FAIL    NodeExecutionStatus
	RUNNING NodeExecutionStatus
	TIMEOUT NodeExecutionStatus
	CANCEL  NodeExecutionStatus
}

func GetNodeExecutionStatusEnum added in v0.0.81

func GetNodeExecutionStatusEnum() NodeExecutionStatusEnum

type ObsTriggerConfig added in v0.0.81

type ObsTriggerConfig struct {
	Bucket *string `json:"bucket,omitempty"`

	Events *[]string `json:"events,omitempty"`

	Prefix *string `json:"prefix,omitempty"`

	Suffix *string `json:"suffix,omitempty"`
}

触发器结构体

func (ObsTriggerConfig) String added in v0.0.81

func (o ObsTriggerConfig) String() string

type OnError added in v0.0.81

type OnError struct {
	Error *string `json:"error,omitempty"`

	Transition *string `json:"transition,omitempty"`

	RetryRef *string `json:"retry_ref,omitempty"`
}

错误处理策略详情

func (OnError) String added in v0.0.81

func (o OnError) String() string

type OperateErrorInfo added in v0.0.81

type OperateErrorInfo struct {
	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	ErrorDetail *string `json:"error_detail,omitempty"`
}

批量执行错误信息

func (OperateErrorInfo) String added in v0.0.81

func (o OperateErrorInfo) String() string

type OperationState added in v0.0.81

type OperationState struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Type *OperationStateType `json:"type,omitempty"`

	End *bool `json:"end,omitempty"`

	Transition *string `json:"transition,omitempty"`

	StateDataFilter *StateDataFilter `json:"state_data_filter,omitempty"`

	ActionMode *OperationStateActionMode `json:"action_mode,omitempty"`

	Actions *[]Action `json:"actions,omitempty"`

	OnErrors *[]OnError `json:"on_errors,omitempty"`
}

函数执行节点信息

func (OperationState) String added in v0.0.81

func (o OperationState) String() string

type OperationStateActionMode added in v0.0.81

type OperationStateActionMode struct {
	// contains filtered or unexported fields
}

func (OperationStateActionMode) MarshalJSON added in v0.0.81

func (c OperationStateActionMode) MarshalJSON() ([]byte, error)

func (*OperationStateActionMode) UnmarshalJSON added in v0.0.81

func (c *OperationStateActionMode) UnmarshalJSON(b []byte) error

type OperationStateActionModeEnum added in v0.0.81

type OperationStateActionModeEnum struct {
	SEQUENTIAL OperationStateActionMode
	PARALLEL   OperationStateActionMode
}

func GetOperationStateActionModeEnum added in v0.0.81

func GetOperationStateActionModeEnum() OperationStateActionModeEnum

type OperationStateType added in v0.0.81

type OperationStateType struct {
	// contains filtered or unexported fields
}

func (OperationStateType) MarshalJSON added in v0.0.81

func (c OperationStateType) MarshalJSON() ([]byte, error)

func (*OperationStateType) UnmarshalJSON added in v0.0.81

func (c *OperationStateType) UnmarshalJSON(b []byte) error

type OperationStateTypeEnum added in v0.0.81

type OperationStateTypeEnum struct {
	OPERATION OperationStateType
	SLEEP     OperationStateType
}

func GetOperationStateTypeEnum added in v0.0.81

func GetOperationStateTypeEnum() OperationStateTypeEnum

type PageInfo

type PageInfo struct {
	NextMarker int64 `json:"next_marker"`

	PreviousMarker int64 `json:"previous_marker"`

	CurrentCount int64 `json:"current_count"`
}

分页结构体。

func (PageInfo) String

func (o PageInfo) String() string

type Resources

type Resources struct {
	Quota *int32 `json:"quota,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Type *ResourcesType `json:"type,omitempty"`

	Unit *string `json:"unit,omitempty"`
}

func (Resources) String

func (o Resources) String() string

type ResourcesType

type ResourcesType struct {
	// contains filtered or unexported fields
}

func (ResourcesType) MarshalJSON

func (c ResourcesType) MarshalJSON() ([]byte, error)

func (*ResourcesType) UnmarshalJSON

func (c *ResourcesType) UnmarshalJSON(b []byte) error

type ResourcesTypeEnum

type ResourcesTypeEnum struct {
	FGS_FUNC_SCALE_DOWN_TIMEOUT ResourcesType
	FGS_FUNC_OCCURS             ResourcesType
	FGS_FUNC_PAT_IDLE_TIME      ResourcesType
	FGS_FUNC_NUM                ResourcesType
	FGS_FUNC_CODE_SIZE          ResourcesType
	FGS_WORKFLOW_NUM            ResourcesType
}

func GetResourcesTypeEnum

func GetResourcesTypeEnum() ResourcesTypeEnum

type Retry added in v0.0.81

type Retry struct {
	Name *string `json:"name,omitempty"`

	Delay *int64 `json:"delay,omitempty"`

	MaxAttempts *int64 `json:"max_attempts,omitempty"`
}

重试策略

func (Retry) String added in v0.0.81

func (o Retry) String() string

type RetryWorkFlowRequest added in v0.0.81

type RetryWorkFlowRequest struct {
	WorkflowId string `json:"workflow_id"`

	ExecutionId string `json:"execution_id"`
}

Request Object

func (RetryWorkFlowRequest) String added in v0.0.81

func (o RetryWorkFlowRequest) String() string

type RetryWorkFlowResponse added in v0.0.81

type RetryWorkFlowResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (RetryWorkFlowResponse) String added in v0.0.81

func (o RetryWorkFlowResponse) String() string

type ShowDependencyRequest

type ShowDependencyRequest struct {
	DependId string `json:"depend_id"`
}

Request Object

func (ShowDependencyRequest) String

func (o ShowDependencyRequest) String() string

type ShowDependencyResponse

type ShowDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDependencyResponse) String

func (o ShowDependencyResponse) String() string

type ShowEventRequest

type ShowEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowEventRequest) String

func (o ShowEventRequest) String() string

type ShowEventResponse

type ShowEventResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowEventResponse) String

func (o ShowEventResponse) String() string

type ShowFunctionAsyncInvokeConfigRequest

type ShowFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionAsyncInvokeConfigRequest) String

type ShowFunctionAsyncInvokeConfigResponse

type ShowFunctionAsyncInvokeConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified   *string `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowFunctionAsyncInvokeConfigResponse) String

type ShowFunctionCodeRequest

type ShowFunctionCodeRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionCodeRequest) String

func (o ShowFunctionCodeRequest) String() string

type ShowFunctionCodeResponse

type ShowFunctionCodeResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Runtime *ShowFunctionCodeResponseRuntime `json:"runtime,omitempty"`

	CodeType *ShowFunctionCodeResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	Digest *string `json:"digest,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies   *[]Dependency `json:"dependencies,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowFunctionCodeResponse) String

func (o ShowFunctionCodeResponse) String() string

type ShowFunctionCodeResponseCodeType

type ShowFunctionCodeResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionCodeResponseCodeType) MarshalJSON

func (c ShowFunctionCodeResponseCodeType) MarshalJSON() ([]byte, error)

func (*ShowFunctionCodeResponseCodeType) UnmarshalJSON

func (c *ShowFunctionCodeResponseCodeType) UnmarshalJSON(b []byte) error

type ShowFunctionCodeResponseRuntime

type ShowFunctionCodeResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ShowFunctionCodeResponseRuntime) MarshalJSON

func (c ShowFunctionCodeResponseRuntime) MarshalJSON() ([]byte, error)

func (*ShowFunctionCodeResponseRuntime) UnmarshalJSON

func (c *ShowFunctionCodeResponseRuntime) UnmarshalJSON(b []byte) error

type ShowFunctionConfigRequest

type ShowFunctionConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionConfigRequest) String

func (o ShowFunctionConfigRequest) String() string

type ShowFunctionConfigResponse

type ShowFunctionConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *ShowFunctionConfigResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *ShowFunctionConfigResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type *ShowFunctionConfigResponseType `json:"type,omitempty"`

	EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"`
	HttpStatusCode      int   `json:"-"`
}

Response Object

func (ShowFunctionConfigResponse) String

type ShowFunctionConfigResponseCodeType

type ShowFunctionConfigResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseCodeType) MarshalJSON

func (c ShowFunctionConfigResponseCodeType) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseCodeType) UnmarshalJSON

func (c *ShowFunctionConfigResponseCodeType) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseRuntime

type ShowFunctionConfigResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseRuntime) MarshalJSON

func (c ShowFunctionConfigResponseRuntime) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseRuntime) UnmarshalJSON

func (c *ShowFunctionConfigResponseRuntime) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseType added in v0.0.53

type ShowFunctionConfigResponseType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseType) MarshalJSON added in v0.0.53

func (c ShowFunctionConfigResponseType) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseType) UnmarshalJSON added in v0.0.53

func (c *ShowFunctionConfigResponseType) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseTypeEnum added in v0.0.53

type ShowFunctionConfigResponseTypeEnum struct {
	V1 ShowFunctionConfigResponseType
	V2 ShowFunctionConfigResponseType
}

func GetShowFunctionConfigResponseTypeEnum added in v0.0.53

func GetShowFunctionConfigResponseTypeEnum() ShowFunctionConfigResponseTypeEnum

type ShowFunctionTriggerRequest

type ShowFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode ShowFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`
}

Request Object

func (ShowFunctionTriggerRequest) String

type ShowFunctionTriggerRequestTriggerTypeCode

type ShowFunctionTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerRequestTriggerTypeCode) MarshalJSON

func (*ShowFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON

type ShowFunctionTriggerResponse

type ShowFunctionTriggerResponse struct {
	TriggerId *string `json:"trigger_id,omitempty"`

	TriggerTypeCode *ShowFunctionTriggerResponseTriggerTypeCode `json:"trigger_type_code,omitempty"`

	TriggerStatus *ShowFunctionTriggerResponseTriggerStatus `json:"trigger_status,omitempty"`

	EventData *interface{} `json:"event_data,omitempty"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time,omitempty"`

	CreatedTime    *sdktime.SdkTime `json:"created_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ShowFunctionTriggerResponse) String

type ShowFunctionTriggerResponseTriggerStatus

type ShowFunctionTriggerResponseTriggerStatus struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerResponseTriggerStatus) MarshalJSON

func (*ShowFunctionTriggerResponseTriggerStatus) UnmarshalJSON

func (c *ShowFunctionTriggerResponseTriggerStatus) UnmarshalJSON(b []byte) error

type ShowFunctionTriggerResponseTriggerStatusEnum

type ShowFunctionTriggerResponseTriggerStatusEnum struct {
	ACTIVE   ShowFunctionTriggerResponseTriggerStatus
	DISABLED ShowFunctionTriggerResponseTriggerStatus
}

func GetShowFunctionTriggerResponseTriggerStatusEnum

func GetShowFunctionTriggerResponseTriggerStatusEnum() ShowFunctionTriggerResponseTriggerStatusEnum

type ShowFunctionTriggerResponseTriggerTypeCode

type ShowFunctionTriggerResponseTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerResponseTriggerTypeCode) MarshalJSON

func (*ShowFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON

type ShowLtsLogDetailsRequest added in v0.0.53

type ShowLtsLogDetailsRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowLtsLogDetailsRequest) String added in v0.0.53

func (o ShowLtsLogDetailsRequest) String() string

type ShowLtsLogDetailsResponse added in v0.0.53

type ShowLtsLogDetailsResponse struct {
	GroupId *string `json:"group_id,omitempty"`

	StreamId *string `json:"stream_id,omitempty"`

	StreamName     *string `json:"stream_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowLtsLogDetailsResponse) String added in v0.0.53

func (o ShowLtsLogDetailsResponse) String() string

type ShowTenantMetricRequest added in v0.0.81

type ShowTenantMetricRequest struct {
	Period *string `json:"period,omitempty"`
}

Request Object

func (ShowTenantMetricRequest) String added in v0.0.81

func (o ShowTenantMetricRequest) String() string

type ShowTenantMetricResponse added in v0.0.81

type ShowTenantMetricResponse struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	RunningCount   *[]SlaReportsValue `json:"running_count,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ShowTenantMetricResponse) String added in v0.0.81

func (o ShowTenantMetricResponse) String() string

type ShowTracingRequest added in v0.0.68

type ShowTracingRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowTracingRequest) String added in v0.0.68

func (o ShowTracingRequest) String() string

type ShowTracingResponse added in v0.0.68

type ShowTracingResponse struct {
	TracingAk *string `json:"tracing_ak,omitempty"`

	TracingSk      *string `json:"tracing_sk,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowTracingResponse) String added in v0.0.68

func (o ShowTracingResponse) String() string

type ShowVersionAliasRequest

type ShowVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`
}

Request Object

func (ShowVersionAliasRequest) String

func (o ShowVersionAliasRequest) String() string

type ShowVersionAliasResponse

type ShowVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (ShowVersionAliasResponse) String

func (o ShowVersionAliasResponse) String() string

type ShowWorkFlowMetricRequest added in v0.0.81

type ShowWorkFlowMetricRequest struct {
	WorkflowUrn string `json:"workflow_urn"`

	Period *string `json:"period,omitempty"`
}

Request Object

func (ShowWorkFlowMetricRequest) String added in v0.0.81

func (o ShowWorkFlowMetricRequest) String() string

type ShowWorkFlowMetricResponse added in v0.0.81

type ShowWorkFlowMetricResponse struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	RunningCount   *[]SlaReportsValue `json:"running_count,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ShowWorkFlowMetricResponse) String added in v0.0.81

type ShowWorkFlowRequest added in v0.0.81

type ShowWorkFlowRequest struct {
	WorkflowId string `json:"workflow_id"`
}

Request Object

func (ShowWorkFlowRequest) String added in v0.0.81

func (o ShowWorkFlowRequest) String() string

type ShowWorkFlowResponse added in v0.0.81

type ShowWorkFlowResponse struct {
	Id *string `json:"id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`

	Definition     *CreateWorkflowRequestBody `json:"definition,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ShowWorkFlowResponse) String added in v0.0.81

func (o ShowWorkFlowResponse) String() string

type ShowWorkflowExecutionRequest added in v0.0.81

type ShowWorkflowExecutionRequest struct {
	WorkflowId string `json:"workflow_id"`

	ExecutionId string `json:"execution_id"`
}

Request Object

func (ShowWorkflowExecutionRequest) String added in v0.0.81

type ShowWorkflowExecutionResponse added in v0.0.81

type ShowWorkflowExecutionResponse struct {
	WorkflowId *string `json:"workflow_id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	ExecutionId *string `json:"execution_id,omitempty"`

	Status *ShowWorkflowExecutionResponseStatus `json:"status,omitempty"`

	Headers *interface{} `json:"headers,omitempty"`

	Input *interface{} `json:"input,omitempty"`

	Output *interface{} `json:"output,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`

	NodeExecutionDetails *[]NodeExecutionDetail `json:"node_execution_details,omitempty"`
	HttpStatusCode       int                    `json:"-"`
}

Response Object

func (ShowWorkflowExecutionResponse) String added in v0.0.81

type ShowWorkflowExecutionResponseStatus added in v0.0.81

type ShowWorkflowExecutionResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowWorkflowExecutionResponseStatus) MarshalJSON added in v0.0.81

func (c ShowWorkflowExecutionResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowWorkflowExecutionResponseStatus) UnmarshalJSON added in v0.0.81

func (c *ShowWorkflowExecutionResponseStatus) UnmarshalJSON(b []byte) error

type SlaReportsValue

type SlaReportsValue struct {
	Timestamp *int32 `json:"timestamp,omitempty"`

	Value *int32 `json:"value,omitempty"`
}

func (SlaReportsValue) String

func (o SlaReportsValue) String() string

type StartWorkflowExecutionRequest added in v0.0.81

type StartWorkflowExecutionRequest struct {
	WorkflowId string `json:"workflow_id"`

	XCreateTime *string `json:"X-Create-Time,omitempty"`

	XWorkflowRunID *string `json:"X-WorkflowRun-ID,omitempty"`

	Body *StartWorkflowExecutionRequestBody `json:"body,omitempty"`
}

Request Object

func (StartWorkflowExecutionRequest) String added in v0.0.81

type StartWorkflowExecutionRequestBody added in v0.0.81

type StartWorkflowExecutionRequestBody struct {
	Headers *interface{} `json:"headers,omitempty"`

	Input *interface{} `json:"input,omitempty"`
}

函数流执行请求body体

func (StartWorkflowExecutionRequestBody) String added in v0.0.81

type StartWorkflowExecutionResponse added in v0.0.81

type StartWorkflowExecutionResponse struct {
	ExecutionId    *string `json:"execution_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartWorkflowExecutionResponse) String added in v0.0.81

type StateDataFilter added in v0.0.81

type StateDataFilter struct {
	Input *string `json:"input,omitempty"`

	Output *string `json:"output,omitempty"`
}

输入输出过滤配置

func (StateDataFilter) String added in v0.0.81

func (o StateDataFilter) String() string

type StopWorkFlowRequest added in v0.0.81

type StopWorkFlowRequest struct {
	WorkflowId string `json:"workflow_id"`

	ExecutionId string `json:"execution_id"`
}

Request Object

func (StopWorkFlowRequest) String added in v0.0.81

func (o StopWorkFlowRequest) String() string

type StopWorkFlowResponse added in v0.0.81

type StopWorkFlowResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (StopWorkFlowResponse) String added in v0.0.81

func (o StopWorkFlowResponse) String() string

type StrategyConfig

type StrategyConfig struct {
	Concurrency int32 `json:"concurrency"`

	ConcurrentNum *int32 `json:"concurrent_num,omitempty"`
}

函数策略配置。

func (StrategyConfig) String

func (o StrategyConfig) String() string

type Trigger added in v0.0.81

type Trigger struct {
	TriggerName *string `json:"trigger_name,omitempty"`

	TriggerType *TriggerTriggerType `json:"trigger_type,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	TriggerConfig *ObsTriggerConfig `json:"trigger_config,omitempty"`
}

触发器结构体

func (Trigger) String added in v0.0.81

func (o Trigger) String() string

type TriggerTriggerType added in v0.0.81

type TriggerTriggerType struct {
	// contains filtered or unexported fields
}

func (TriggerTriggerType) MarshalJSON added in v0.0.81

func (c TriggerTriggerType) MarshalJSON() ([]byte, error)

func (*TriggerTriggerType) UnmarshalJSON added in v0.0.81

func (c *TriggerTriggerType) UnmarshalJSON(b []byte) error

type TriggerTriggerTypeEnum added in v0.0.81

type TriggerTriggerTypeEnum struct {
	FLOWTIMER TriggerTriggerType
	OBS       TriggerTriggerType
}

func GetTriggerTriggerTypeEnum added in v0.0.81

func GetTriggerTriggerTypeEnum() TriggerTriggerTypeEnum

type UpdateDependencyRequest

type UpdateDependencyRequest struct {
	DependId string `json:"depend_id"`

	Body *UpdateDependencyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateDependencyRequest) String

func (o UpdateDependencyRequest) String() string

type UpdateDependencyRequestBody

type UpdateDependencyRequestBody struct {
	DependFile *string `json:"depend_file,omitempty"`

	DependLink *string `json:"depend_link,omitempty"`

	DependType string `json:"depend_type"`

	Runtime UpdateDependencyRequestBodyRuntime `json:"runtime"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

func (UpdateDependencyRequestBody) String

type UpdateDependencyRequestBodyRuntime

type UpdateDependencyRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateDependencyRequestBodyRuntime) MarshalJSON

func (c UpdateDependencyRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*UpdateDependencyRequestBodyRuntime) UnmarshalJSON

func (c *UpdateDependencyRequestBodyRuntime) UnmarshalJSON(b []byte) error

type UpdateDependencyResponse

type UpdateDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDependencyResponse) String

func (o UpdateDependencyResponse) String() string

type UpdateEventRequest

type UpdateEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`

	Body *UpdateEventRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEventRequest) String

func (o UpdateEventRequest) String() string

type UpdateEventRequestBody

type UpdateEventRequestBody struct {
	Content *string `json:"content,omitempty"`
}

更新测试事件请求体。

func (UpdateEventRequestBody) String

func (o UpdateEventRequestBody) String() string

type UpdateEventResponse

type UpdateEventResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEventResponse) String

func (o UpdateEventResponse) String() string

type UpdateFunctionAsyncInvokeConfigRequest

type UpdateFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionAsyncInvokeConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionAsyncInvokeConfigRequest) String

type UpdateFunctionAsyncInvokeConfigRequestBody

type UpdateFunctionAsyncInvokeConfigRequestBody struct {
	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`
}

函数异步配置请求体。

func (UpdateFunctionAsyncInvokeConfigRequestBody) String

type UpdateFunctionAsyncInvokeConfigResponse

type UpdateFunctionAsyncInvokeConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified   *string `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateFunctionAsyncInvokeConfigResponse) String

type UpdateFunctionCodeRequest

type UpdateFunctionCodeRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionCodeRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionCodeRequest) String

func (o UpdateFunctionCodeRequest) String() string

type UpdateFunctionCodeRequestBody

type UpdateFunctionCodeRequestBody struct {
	CodeType UpdateFunctionCodeRequestBodyCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	FuncCode *FuncCode `json:"func_code"`

	DependList *[]string `json:"depend_list,omitempty"`
}

func (UpdateFunctionCodeRequestBody) String

type UpdateFunctionCodeRequestBodyCodeType

type UpdateFunctionCodeRequestBodyCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeRequestBodyCodeType) MarshalJSON

func (c UpdateFunctionCodeRequestBodyCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeRequestBodyCodeType) UnmarshalJSON

func (c *UpdateFunctionCodeRequestBodyCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionCodeResponse

type UpdateFunctionCodeResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Runtime *UpdateFunctionCodeResponseRuntime `json:"runtime,omitempty"`

	CodeType *UpdateFunctionCodeResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	Digest *string `json:"digest,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies   *[]Dependency `json:"dependencies,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateFunctionCodeResponse) String

type UpdateFunctionCodeResponseCodeType

type UpdateFunctionCodeResponseCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeResponseCodeType) MarshalJSON

func (c UpdateFunctionCodeResponseCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeResponseCodeType) UnmarshalJSON

func (c *UpdateFunctionCodeResponseCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionCodeResponseRuntime

type UpdateFunctionCodeResponseRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeResponseRuntime) MarshalJSON

func (c UpdateFunctionCodeResponseRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeResponseRuntime) UnmarshalJSON

func (c *UpdateFunctionCodeResponseRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigRequest

type UpdateFunctionConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionConfigRequest) String

type UpdateFunctionConfigRequestBody

type UpdateFunctionConfigRequestBody struct {
	FuncName string `json:"func_name"`

	Runtime UpdateFunctionConfigRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	UserData *string `json:"user_data,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	IsStatefulFunction *bool `json:"is_stateful_function,omitempty"`
}

func (UpdateFunctionConfigRequestBody) String

type UpdateFunctionConfigRequestBodyRuntime

type UpdateFunctionConfigRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigRequestBodyRuntime) MarshalJSON

func (c UpdateFunctionConfigRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON

func (c *UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponse

type UpdateFunctionConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *UpdateFunctionConfigResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *UpdateFunctionConfigResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type *UpdateFunctionConfigResponseType `json:"type,omitempty"`

	EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"`

	IsStatefulFunction *bool `json:"is_stateful_function,omitempty"`
	HttpStatusCode     int   `json:"-"`
}

Response Object

func (UpdateFunctionConfigResponse) String

type UpdateFunctionConfigResponseCodeType

type UpdateFunctionConfigResponseCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseCodeType) MarshalJSON

func (c UpdateFunctionConfigResponseCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseCodeType) UnmarshalJSON

func (c *UpdateFunctionConfigResponseCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseRuntime

type UpdateFunctionConfigResponseRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseRuntime) MarshalJSON

func (c UpdateFunctionConfigResponseRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseRuntime) UnmarshalJSON

func (c *UpdateFunctionConfigResponseRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseType added in v0.0.53

type UpdateFunctionConfigResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseType) MarshalJSON added in v0.0.53

func (c UpdateFunctionConfigResponseType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseType) UnmarshalJSON added in v0.0.53

func (c *UpdateFunctionConfigResponseType) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseTypeEnum added in v0.0.53

type UpdateFunctionConfigResponseTypeEnum struct {
	V1 UpdateFunctionConfigResponseType
	V2 UpdateFunctionConfigResponseType
}

func GetUpdateFunctionConfigResponseTypeEnum added in v0.0.53

func GetUpdateFunctionConfigResponseTypeEnum() UpdateFunctionConfigResponseTypeEnum

type UpdateFunctionReservedInstancesRequest

type UpdateFunctionReservedInstancesRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionReservedInstancesRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionReservedInstancesRequest) String

type UpdateFunctionReservedInstancesRequestBody

type UpdateFunctionReservedInstancesRequestBody struct {
	Count int32 `json:"count"`
}

func (UpdateFunctionReservedInstancesRequestBody) String

type UpdateFunctionReservedInstancesResponse

type UpdateFunctionReservedInstancesResponse struct {
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateFunctionReservedInstancesResponse) String

type UpdateTracingRequest added in v0.0.68

type UpdateTracingRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateTracingRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTracingRequest) String added in v0.0.68

func (o UpdateTracingRequest) String() string

type UpdateTracingRequestBody added in v0.0.68

type UpdateTracingRequestBody struct {
	TracingAk *string `json:"tracing_ak,omitempty"`

	TracingSk *string `json:"tracing_sk,omitempty"`
}

更新函数调用链请求体

func (UpdateTracingRequestBody) String added in v0.0.68

func (o UpdateTracingRequestBody) String() string

type UpdateTracingResponse added in v0.0.68

type UpdateTracingResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateTracingResponse) String added in v0.0.68

func (o UpdateTracingResponse) String() string

type UpdateTriggerRequest

type UpdateTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode UpdateTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`

	Body *UpdateTriggerRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTriggerRequest) String

func (o UpdateTriggerRequest) String() string

type UpdateTriggerRequestBody

type UpdateTriggerRequestBody struct {
	TriggerStatus UpdateTriggerRequestBodyTriggerStatus `json:"trigger_status"`
}

func (UpdateTriggerRequestBody) String

func (o UpdateTriggerRequestBody) String() string

type UpdateTriggerRequestBodyTriggerStatus

type UpdateTriggerRequestBodyTriggerStatus struct {
	// contains filtered or unexported fields
}

func (UpdateTriggerRequestBodyTriggerStatus) MarshalJSON

func (c UpdateTriggerRequestBodyTriggerStatus) MarshalJSON() ([]byte, error)

func (*UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON

func (c *UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON(b []byte) error

type UpdateTriggerRequestBodyTriggerStatusEnum

type UpdateTriggerRequestBodyTriggerStatusEnum struct {
	ACTIVE   UpdateTriggerRequestBodyTriggerStatus
	DISABLED UpdateTriggerRequestBodyTriggerStatus
}

func GetUpdateTriggerRequestBodyTriggerStatusEnum

func GetUpdateTriggerRequestBodyTriggerStatusEnum() UpdateTriggerRequestBodyTriggerStatusEnum

type UpdateTriggerRequestTriggerTypeCode

type UpdateTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (UpdateTriggerRequestTriggerTypeCode) MarshalJSON

func (c UpdateTriggerRequestTriggerTypeCode) MarshalJSON() ([]byte, error)

func (*UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON

func (c *UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON(b []byte) error

type UpdateTriggerResponse

type UpdateTriggerResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateTriggerResponse) String

func (o UpdateTriggerResponse) String() string

type UpdateVersionAliasRequest

type UpdateVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`

	Body *UpdateVersionAliasRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateVersionAliasRequest) String

func (o UpdateVersionAliasRequest) String() string

type UpdateVersionAliasRequestBody

type UpdateVersionAliasRequestBody struct {
	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
}

func (UpdateVersionAliasRequestBody) String

type UpdateVersionAliasResponse

type UpdateVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (UpdateVersionAliasResponse) String

type UpdateWorkFlowRequest added in v0.0.81

type UpdateWorkFlowRequest struct {
	WorkflowId string `json:"workflow_id"`

	Body *UpdateWorkflowRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateWorkFlowRequest) String added in v0.0.81

func (o UpdateWorkFlowRequest) String() string

type UpdateWorkFlowResponse added in v0.0.81

type UpdateWorkFlowResponse struct {
	Id *string `json:"id,omitempty"`

	WorkflowUrn *string `json:"workflow_urn,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateWorkFlowResponse) String added in v0.0.81

func (o UpdateWorkFlowResponse) String() string

type UpdateWorkflowRequestBody added in v0.0.81

type UpdateWorkflowRequestBody struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Triggers *[]Trigger `json:"triggers,omitempty"`

	Start *string `json:"start,omitempty"`

	Functions *[]Function `json:"functions,omitempty"`

	States *[]OperationState `json:"states,omitempty"`

	Constants *interface{} `json:"constants,omitempty"`

	Retries *[]Retry `json:"retries,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

函数流创建body体

func (UpdateWorkflowRequestBody) String added in v0.0.81

func (o UpdateWorkflowRequestBody) String() string

Source Files

Jump to

Keyboard shortcuts

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