Versions in this module Expand all Collapse all v1 v1.0.26 Apr 28, 2021 v1.0.25 Nov 13, 2020 v1.0.22 Apr 20, 2020 v1.0.21 Mar 10, 2020 v1.0.20 Dec 19, 2019 v1.0.19 Nov 11, 2019 v1.0.18 Sep 14, 2019 Changes in this version + const ALIAS + const ASINVOKE + const CODE + const CONFIG + const FGS + const FUNCTION + const INVOKE + const VERSION + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListAlias(c *gophercloud.ServiceClient, functionUrn string) pagination.Pager + func ListVersions(c *gophercloud.ServiceClient, opts ListOptsBuilder, functionUrn string) pagination.Pager + type AliasResult struct + AliasUrn string + Description string + LastModified string + Name string + Version string + func ExtractAliasList(r pagination.Page) ([]AliasResult, error) + type CreateAliasOpts struct + Name string + Version string + func (opts CreateAliasOpts) ToCreateFunctionMap() (map[string]interface{}, error) + type CreateOpts struct + AppXrole string + CodeFilename string + CodeType string + CodeUrl string + DependencyPkg string + Description string + FuncCode FunctionCodeOpts + FuncName string + Handler string + MemorySize int + Package string + Runtime string + Timeout int + UserData string + Xrole string + func (opts CreateOpts) ToCreateFunctionMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToCreateFunctionMap func() (map[string]interface{}, error) + type CreateResult struct + func AsyncInvoke(c *gophercloud.ServiceClient, m map[string]interface{}, functionUrn string) (r CreateResult) + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func CreateAlias(c *gophercloud.ServiceClient, opts CreateOptsBuilder, functionUrn string) (r CreateResult) + func CreateVersion(c *gophercloud.ServiceClient, opts CreateOptsBuilder, functionUrn string) (r CreateResult) + func Invoke(c *gophercloud.ServiceClient, m map[string]interface{}, functionUrn string) (r CreateResult) + func (r CreateResult) Extract() (*Function, error) + func (r CreateResult) ExtractAlias() (*AliasResult, error) + func (r CreateResult) ExtractInvoke() (interface{}, error) + type CreateVersionOpts struct + Description string + Digest string + Version string + func (opts CreateVersionOpts) ToCreateFunctionMap() (map[string]interface{}, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, functionUrn string) (r DeleteResult) + func DeleteAlias(c *gophercloud.ServiceClient, functionUrn, aliasName string) (r DeleteResult) + type Dependency struct + Description string + ETag string + FileName string + FuncVersions []*FunctionVersion + Id string + Link string + Name string + Namespace string + Owner string + Runtime string + SaveType int + Size int64 + type FuncMount struct + FuncVersions []*FunctionVersion + Id string + LocalMountPath string + MountResource string + MountSharePath string + MountType string + ProjectId string + SaveType int + Status string + UserGroupId *int + UserId *int + type FuncVpc struct + Cidr string + DomainId string + Gateway string + Id string + Namespace string + SubnetId string + SubnetName string + VpcId string + VpcName string + type Function struct + AppXrole *string + CodeFileName string + CodeSize int64 + CodeType string + CodeUrl string + Concurrency int + Cpu int + DependList []string + Dependencies []*Dependency + Description string + Digest string + DomainId string + ExtendConfig string + FuncCode FunctionCode + FuncId string + FuncName string + FuncUrn string + FuncVpc *FuncVpc + Handler string + Id string + ImageName string + InitializerHandler string + InitializerTimeout int + LastModified string + LastmodifiedUtc int64 + MemorySize int + MountConfig *MountConfig + Namespace string + Package string + ProjectName string + Runtime string + StrategyConfig StrategyConfig + Timeout int + UserData string + Version string + VersionDescription string + Xrole string + type FunctionBase struct + DomainId string + FuncName string + Id string + Namespace string + Package string + ProjectName string + type FunctionCode struct + File string + Link string + type FunctionCodeOpts struct + File string + Link string + type FunctionList struct + Functions []Function + NextMarker int + func ExtractList(r pagination.Page) (FunctionList, error) + type FunctionPage struct + type FunctionVersion struct + AppXrole string + CodeFileName string + CodeSize int64 + CodeType string + CodeUrl string + Concurrency int + Cpu int + Dependencies []*Dependency + Description string + Digest string + ExtendConfig string + FuncBase *FunctionBase + FuncId string + FuncMounts []*FuncMount + FuncVpcId string + Handler string + Id string + ImageName string + InitializerHandler string + InitializerTimeout int + LastModified int64 + MemorySize int + MountConfig *MountConfig + Runtime string + Timeout int + UserData string + Version string + VersionDescription string + Vpc *FuncVpc + Xrole string + type GetResult struct + func GetAlias(c *gophercloud.ServiceClient, functionUrn, aliasName string) (r GetResult) + func GetCode(c *gophercloud.ServiceClient, functionUrn string) (r GetResult) + func GetMetadata(c *gophercloud.ServiceClient, functionUrn string) (r GetResult) + func (r GetResult) Extract() (*Function, error) + func (r GetResult) ExtractAlias() (*AliasResult, error) + func (r GetResult) ExtractInvoke() (interface{}, error) + type ListOpts struct + Marker string + MaxItems string + func (opts ListOpts) ToMetricsListQuery() (string, error) + type ListOptsBuilder interface + ToMetricsListQuery func() (string, error) + type MountConfig struct + FuncMounts []*FuncMount + MountUser *MountUser + type MountUser struct + UserGroupId *int + UserId *int + type StrategyConfig struct + Concurrency *int + type UpdateAliasOpts struct + Description string + Version string + func (opts UpdateAliasOpts) ToUpdateMap() (map[string]interface{}, error) + type UpdateCodeOpts struct + CodeType string + CodeUrl string + DependencyPkg string + FuncCode FunctionCodeOpts + func (opts UpdateCodeOpts) ToUpdateMap() (map[string]interface{}, error) + type UpdateMetadataOpts struct + AppXrole string + CodeType string + CodeUrl string + DependencyPkg string + Description string + Handler string + MemorySize int + Runtime string + Timeout int + UserData string + Xrole string + func (opts UpdateMetadataOpts) ToUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func UpdateAlias(c *gophercloud.ServiceClient, functionUrn, aliasName string, ...) (r UpdateResult) + func UpdateCode(c *gophercloud.ServiceClient, functionUrn string, opts UpdateOptsBuilder) (r UpdateResult) + func UpdateMetadata(c *gophercloud.ServiceClient, functionUrn string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Function, error) + func (r UpdateResult) ExtractAlias() (*AliasResult, error) + func (r UpdateResult) ExtractInvoke() (interface{}, error) + type Versions struct + NextMarker int + Versions []Function + func ExtractVersionlist(r pagination.Page) (Versions, error)