securitygroup

package
v0.0.91 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesJsonMatch added in v0.0.74

func DoesJsonMatch(val1, val2 string) (bool, error)

Types

type DefaultSecurityGroupManager added in v0.0.68

type DefaultSecurityGroupManager struct {
	Cfg             config.Reader
	FilePattern     string
	FilePaths       []string
	CloudController cloudcontroller.Manager
}

DefaultSecurityGroupManager -

func (*DefaultSecurityGroupManager) AssignDefaultSecurityGroups added in v0.0.84

func (m *DefaultSecurityGroupManager) AssignDefaultSecurityGroups() error

AssignDefaultSecurityGroups -

func (*DefaultSecurityGroupManager) Contains added in v0.0.84

func (m *DefaultSecurityGroupManager) Contains(list []string, groupName string) bool

func (*DefaultSecurityGroupManager) CreateApplicationSecurityGroups added in v0.0.68

func (m *DefaultSecurityGroupManager) CreateApplicationSecurityGroups() error

CreateApplicationSecurityGroups -

type Entity

type Entity struct {
	Name    string `json:"name"`
	Rules   []Rule `json:"rules"`
	Running bool   `json:"running_default"`
	Staging bool   `json:"staging_default"`
}

Entity -

type Manager added in v0.0.68

type Manager interface {
	CreateApplicationSecurityGroups() error
	AssignDefaultSecurityGroups() error
}

func NewManager added in v0.0.68

func NewManager(cloudController cloudcontroller.Manager, cfg config.Reader) Manager

NewManager -

type MetaData

type MetaData struct {
	GUID string `json:"guid"`
}

MetaData -

type Resource

type Resource struct {
	MetaData MetaData `json:"metadata"`
	Entity   Entity   `json:"entity"`
}

Resource -

type Rule

type Rule struct {
	Destination string `json:"destination"`
	Protocol    string `json:"protocol"`
	Ports       string `json:"ports"`
}

Rule -

type UnmarshalledDeepMatcher added in v0.0.74

type UnmarshalledDeepMatcher struct {
	Ordered            bool
	InvertOrderingKeys map[string]bool
	Subset             bool
}

Directories

Path Synopsis
Package mock_securitygroup is a generated GoMock package.
Package mock_securitygroup is a generated GoMock package.

Jump to

Keyboard shortcuts

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