model

package
v0.0.38-rc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 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 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 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 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,omitempty"`

	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 *string `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,omitempty"`

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

创建测试事件请求体。

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 {
	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 CreateFunctionRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType CreateFunctionRequestBodyCodeType `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"`

	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"`

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

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

	LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"`

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

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

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

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

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

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

	ExtendConfig *string `json:"extend_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"`
}

函数属性结构体。

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 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"`

	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"`

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

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

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

	ExtendConfig *string `json:"extend_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"`
	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"`

	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"`

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

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

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

	ExtendConfig *string `json:"extend_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"`
	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 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 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 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:"triggerId"`
}

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"`

	Name string `json:"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 {
	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 FuncCode

type FuncCode struct {
	File string `json:"file"`

	Link string `json:"link"`
}

FuncCode结构返回体。

func (FuncCode) String

func (o FuncCode) String() string

type FuncMount

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

	MountResource string `json:"mount_resource"`

	MountSharePath *string `json:"mount_share_path,omitempty"`

	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 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 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"`

	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"`

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

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

	LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"`

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

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

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

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

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

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

	ExtendConfig *string `json:"extend_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"`
}

函数属性结构体。

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 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"`

	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"`

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

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

	LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"`

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

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

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

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

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

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

	ExtendConfig *string `json:"extend_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"`
}

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"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFunctionVersionsResponse) String

type ListFunctionsRequest

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

	Maxitems *string `json:"maxitems,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"`
	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"`

	MonthCode ListStatisticsRequestMonthCode `json:"month_code"`
}

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 {
	MONTHLY_STATISTICS ListStatisticsRequestFilter
	METRIC             ListStatisticsRequestFilter
}

func GetListStatisticsRequestFilterEnum

func GetListStatisticsRequestFilterEnum() ListStatisticsRequestFilterEnum

type ListStatisticsRequestMonthCode

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

func (ListStatisticsRequestMonthCode) MarshalJSON

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

func (*ListStatisticsRequestMonthCode) UnmarshalJSON

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

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"`
}

版本别名结构

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 MonthUsed

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

	Value *int32 `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 string `json:"user_id"`

	UserGroupId string `json:"user_group_id"`
}

挂载用户信息。

func (MountUser) String

func (o MountUser) 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 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 *string `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 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"`

	Concurrency *int32 `json:"concurrency,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"`

	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"`

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

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

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

	ExtendConfig *string `json:"extend_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"`
	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 ShowFunctionTriggerRequest

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

	TriggerTypeCode ShowFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"triggerId"`
}

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 ShowVersionAliasRequest

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

	Name string `json:"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 SlaReportsValue

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

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

func (SlaReportsValue) String

func (o SlaReportsValue) String() string

type StrategyConfig

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

函数策略配置。

func (StrategyConfig) String

func (o StrategyConfig) String() string

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,omitempty"`

	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 *string `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 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 {
	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 UpdateFunctionCodeRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType UpdateFunctionCodeRequestBodyCodeType `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"`

	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"`

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

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

	LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"`

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

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

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

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

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

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

	ExtendConfig *string `json:"extend_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"`
}

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 UpdateFunctionCodeRequestBodyRuntime

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

func (UpdateFunctionCodeRequestBodyRuntime) MarshalJSON

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

func (*UpdateFunctionCodeRequestBodyRuntime) UnmarshalJSON

func (c *UpdateFunctionCodeRequestBodyRuntime) 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"`

	Concurrency *int32 `json:"concurrency,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 {
	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 UpdateFunctionConfigRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType UpdateFunctionConfigRequestBodyCodeType `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"`

	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"`

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

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

	LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"`

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

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

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

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

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

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

	ExtendConfig *string `json:"extend_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"`
}

func (UpdateFunctionConfigRequestBody) String

type UpdateFunctionConfigRequestBodyCodeType

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

func (UpdateFunctionConfigRequestBodyCodeType) MarshalJSON

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

func (*UpdateFunctionConfigRequestBodyCodeType) UnmarshalJSON

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

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"`

	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"`

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

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

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

	ExtendConfig *string `json:"extend_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"`
	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 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 UpdateTriggerRequest

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

	TriggerTypeCode UpdateTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"triggerId"`

	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,omitempty"`
}

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"`

	Name string `json:"name"`

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

Request Object

func (UpdateVersionAliasRequest) String

func (o UpdateVersionAliasRequest) String() string

type UpdateVersionAliasRequestBody

type UpdateVersionAliasRequestBody 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]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

Source Files

Jump to

Keyboard shortcuts

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