security

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Scope string `json:"-"`
	Name  string `json:"name"`
	Desc  string `json:"-"`
	Id    string `json:"id"`
	// contains filtered or unexported fields
}

func NewDBGroup added in v0.6.0

func NewDBGroup(serviceName, scope string, vpc vpc.VPC, e2 *ec2.Client) (g Group, err error)

func NewGroup

func NewGroup(scope string, vpc vpc.VPC, e2 *ec2.Client) (g Group, err error)

func (Group) AddBaseAuthorization

func (g Group) AddBaseAuthorization() (err error)

func (Group) AddDatabaseAuthorization added in v0.6.0

func (g Group) AddDatabaseAuthorization(serverSgId string) (err error)

func (Group) AddLoadbalancerAuthorization added in v0.3.3

func (g Group) AddLoadbalancerAuthorization(loadbalancerId string, port int) (err error)

func (Group) AddServerAccess added in v0.6.0

func (g Group) AddServerAccess(sgId string) (err error)

func (*Group) AuthorizeHazelcast

func (g *Group) AuthorizeHazelcast() (err error)

func (*Group) Create

func (g *Group) Create() (groupId string, err error)

func (*Group) Delete

func (g *Group) Delete() (err error)

func (Group) Wait

func (g Group) Wait() (err error)

func (Group) WithEC2

func (g Group) WithEC2(e *ec2.Client) Group

Jump to

Keyboard shortcuts

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