Documentation
¶
Index ¶
- func Delete(client *golangsdk.ServiceClient, gatewayID, groupID string) (err error)
- type CreateOpts
- type GroupPage
- type GroupResp
- func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*GroupResp, error)
- func ExtractGateways(r pagination.NewPage) ([]GroupResp, error)
- func Get(client *golangsdk.ServiceClient, gatewayID, groupID string) (*GroupResp, error)
- func List(client *golangsdk.ServiceClient, opts ListOpts) ([]GroupResp, error)
- func Update(client *golangsdk.ServiceClient, opts UpdateOpts) (*GroupResp, error)
- type ListOpts
- type UpdateOpts
- type UrlDomains
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOpts ¶
type GroupPage ¶
type GroupPage struct {
pagination.NewSinglePageBase
}
type GroupResp ¶
type GroupResp struct {
ID string `json:"id"`
Name string `json:"name"`
Status int `json:"status"`
SlDomain string `json:"sl_domain"`
RegisterTime string `json:"register_time"`
UpdateTime string `json:"update_time"`
OnSellStatus int `json:"on_sell_status"`
UrlDomains []UrlDomains `json:"url_domains"`
SlDomains []string `json:"sl_domains"`
Description string `json:"remark"`
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*GroupResp, error)
func ExtractGateways ¶
func ExtractGateways(r pagination.NewPage) ([]GroupResp, error)
func Update ¶
func Update(client *golangsdk.ServiceClient, opts UpdateOpts) (*GroupResp, error)
type UpdateOpts ¶
type UrlDomains ¶
type UrlDomains struct {
DomainId string `json:"id"`
DomainName string `json:"name"`
CnameStatus int `json:"cname_status"`
SslID string `json:"ssl_id"`
SslName string `json:"ssl_name"`
MinSslVersion string `json:"min_ssl_version"`
VfClientCertEnabled bool `json:"verified_client_certificate_enabled"`
HasTrustedCa bool `json:"is_has_trusted_root_ca"`
}
Click to show internal directories.
Click to hide internal directories.