sg

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityGroup

type SecurityGroup struct {
	NameTag        *string
	ProjectNameTag *string
	ConfigNameTag  *string
	ServiceNameTag *string
	GroupID        *string
}

SecurityGroup struct

func Find

func Find(ec2Client aws.EC2API, nameTags []*string) ([]*SecurityGroup, error)

Find returns the security groups with tags

func (*SecurityGroup) AllowedService

func (s *SecurityGroup) AllowedService() *string

AllowedService returns which service is allowed to attach to it

func (*SecurityGroup) ConfigName

func (s *SecurityGroup) ConfigName() *string

ConfigName returns tag

func (*SecurityGroup) Name

func (s *SecurityGroup) Name() *string

Name returns tag

func (*SecurityGroup) ProjectName

func (s *SecurityGroup) ProjectName() *string

ProjectName returns tag

func (*SecurityGroup) ServiceName

func (s *SecurityGroup) ServiceName() *string

ServiceName returns tag

Jump to

Keyboard shortcuts

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