Documentation
¶
Index ¶
- func Delete(client *golangsdk.ServiceClient, gatewayID, appID string) (err error)
- type AppResp
- func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*AppResp, error)
- func ExtractEnvs(r pagination.NewPage) ([]AppResp, error)
- func Get(client *golangsdk.ServiceClient, gatewayID, appID string) (*AppResp, error)
- func List(client *golangsdk.ServiceClient, opts ListOpts) ([]AppResp, error)
- func ResetSecret(client *golangsdk.ServiceClient, opts ResetOpts) (*AppResp, error)
- func Update(client *golangsdk.ServiceClient, appID string, opts CreateOpts) (*AppResp, error)
- type CreateOpts
- type EnvPage
- type ListOpts
- type ResetOpts
- type ValidationResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppResp ¶
type AppResp struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"remark"` Creator string `json:"creator"` UpdateTime string `json:"update_time"` AppKey string `json:"app_key"` AppSecret string `json:"app_secret"` RegisterTime string `json:"register_time"` Status int `json:"status"` AppType string `json:"app_type"` BindNum int `json:"bind_num"` }
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*AppResp, error)
func ExtractEnvs ¶
func ExtractEnvs(r pagination.NewPage) ([]AppResp, error)
func ResetSecret ¶
func ResetSecret(client *golangsdk.ServiceClient, opts ResetOpts) (*AppResp, error)
func Update ¶
func Update(client *golangsdk.ServiceClient, appID string, opts CreateOpts) (*AppResp, error)
type CreateOpts ¶
type EnvPage ¶
type EnvPage struct {
pagination.NewSinglePageBase
}
type ValidationResp ¶
type ValidationResp struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"remark"` }
func VerifyApp ¶
func VerifyApp(client *golangsdk.ServiceClient, gatewayID, appID string) (*ValidationResp, error)
Click to show internal directories.
Click to hide internal directories.