Documentation ¶
Index ¶
- func CreateURL(c *golangsdk.ServiceClient) string
- func DeleteURL(c *golangsdk.ServiceClient, securityGroupRuleID string) string
- func GetURL(c *golangsdk.ServiceClient, securityGroupRuleID string) string
- type CreateOpts
- type CreateOptsBuilder
- type CreateResult
- type DeleteResult
- type GetResult
- type RespSecurityGroupRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateURL ¶
func CreateURL(c *golangsdk.ServiceClient) string
Types ¶
type CreateOpts ¶
type CreateOpts struct {
SecurityGroupRule *common.ReqSecurityGroupRuleEntity `json:"security_group_rule"`
}
func (CreateOpts) ToSecurityGroupRuleCreateMap ¶
func (opts CreateOpts) ToSecurityGroupRuleCreateMap() (map[string]interface{}, error)
type CreateOptsBuilder ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*RespSecurityGroupRule, error)
type DeleteResult ¶
func Delete ¶
func Delete(client *golangsdk.ServiceClient, securityGroupRuleID string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func (GetResult) Extract ¶
func (r GetResult) Extract() (*RespSecurityGroupRule, error)
type RespSecurityGroupRule ¶
type RespSecurityGroupRule struct {
SecurityGroupRule common.RespSecurityGroupRuleEntity `json:"security_group_rule"`
}
RespSecurityGroupRule 获取安全组规则详情的结构体
Click to show internal directories.
Click to hide internal directories.