Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsyncInvokeResp ¶
type AsyncInvokeResp struct {
FuncUrn string `json:"func_urn"`
MaxEventAge int `json:"max_async_event_age_in_seconds"`
MaxRetry int `json:"max_async_retry_attempts"`
DestinationConfig *DestinationConfig `json:"destination_config,omitempty"`
CreatedTime string `json:"created_time"`
LastModified string `json:"last_modified"`
EnableStatusLog bool `json:"enable_async_status_log"`
}
func Get ¶
func Get(client *golangsdk.ServiceClient, funcURN string) (*AsyncInvokeResp, error)
func Update ¶
func Update(client *golangsdk.ServiceClient, opts UpdateOpts) (*AsyncInvokeResp, error)
type Destination ¶
type DestinationConfig ¶
type DestinationConfig struct {
OnSuccess *Destination `json:"on_success,omitempty"`
OnFailure *Destination `json:"on_failure,omitempty"`
}
type UpdateOpts ¶
type UpdateOpts struct {
FuncUrn string `json:"-"`
MaxEventAge *int `json:"max_async_event_age_in_seconds,omitempty"`
MaxRetry *int `json:"max_async_retry_attempts,omitempty"`
EnableStatusLog *bool `json:"enable_async_status_log,omitempty"`
DestinationConfig *DestinationConfig `json:"destination_config,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.