network

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	types.Metadata
	SecurityGroups         []SecurityGroup
	NetworkWatcherFlowLogs []NetworkWatcherFlowLog
}

type NetworkWatcherFlowLog

type NetworkWatcherFlowLog struct {
	types.Metadata
	RetentionPolicy RetentionPolicy
}

type PortRange

type PortRange struct {
	types.Metadata
	Start int
	End   int
}

func (PortRange) Includes

func (r PortRange) Includes(port int) bool

type RetentionPolicy

type RetentionPolicy struct {
	types.Metadata
	Enabled types.BoolValue
	Days    types.IntValue
}

type SecurityGroup

type SecurityGroup struct {
	types.Metadata
	Rules []SecurityGroupRule
}

type SecurityGroupRule

type SecurityGroupRule struct {
	types.Metadata
	Outbound             types.BoolValue
	Allow                types.BoolValue
	SourceAddresses      []types.StringValue
	SourcePorts          []PortRange
	DestinationAddresses []types.StringValue
	DestinationPorts     []PortRange
}

Jump to

Keyboard shortcuts

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