Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecurityGroup ¶
type SecurityGroup struct {
Region string `yaml:"Region"`
SgName string `yaml:"SgName"`
SgId string `yaml:"SgId"`
// contains filtered or unexported fields
}
func (*SecurityGroup) AuthSgIngress ¶
func (sg *SecurityGroup) AuthSgIngress(ip string, desc string) (err error)
func (*SecurityGroup) Init ¶
func (sg *SecurityGroup) Init() (err error)
func (*SecurityGroup) ListSg ¶
func (sg *SecurityGroup) ListSg(groupIds []string) (sgs []*ec2.SecurityGroup, err error)
func (*SecurityGroup) RevokeSgIngress ¶
func (sg *SecurityGroup) RevokeSgIngress(ip string) (err error)
Click to show internal directories.
Click to hide internal directories.