rules

package
v0.0.0-...-d823fe1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateURL

func CreateURL(c *golangsdk.ServiceClient) string

func DeleteURL

func DeleteURL(c *golangsdk.ServiceClient, securityGroupRuleID string) string

func GetURL

func GetURL(c *golangsdk.ServiceClient, securityGroupRuleID string) 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 CreateOptsBuilder interface {
	ToSecurityGroupRuleCreateMap() (map[string]interface{}, error)
}

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

type DeleteResult struct {
	golangsdk.ErrResult
}

func Delete

func Delete(client *golangsdk.ServiceClient, securityGroupRuleID string) (r DeleteResult)

type GetResult

type GetResult struct {
	// contains filtered or unexported fields
}

func Get

func Get(client *golangsdk.ServiceClient, securityGroupRuleID string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*RespSecurityGroupRule, error)

type RespSecurityGroupRule

type RespSecurityGroupRule struct {
	SecurityGroupRule common.RespSecurityGroupRuleEntity `json:"security_group_rule"`
}

RespSecurityGroupRule 获取安全组规则详情的结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL