securitygroup

package
v0.0.75 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 6 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) 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
}

func NewManager added in v0.0.68

func NewManager(sysDomain, token string, 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
}

Jump to

Keyboard shortcuts

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