network

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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
}

func (*Network) GetMetadata added in v0.3.24

func (n *Network) GetMetadata() *types.Metadata

func (*Network) GetRawValue added in v0.3.24

func (n *Network) GetRawValue() interface{}

type NetworkWatcherFlowLog

type NetworkWatcherFlowLog struct {
	types.Metadata
	RetentionPolicy RetentionPolicy
}

func (*NetworkWatcherFlowLog) GetMetadata added in v0.3.24

func (n *NetworkWatcherFlowLog) GetMetadata() *types.Metadata

func (*NetworkWatcherFlowLog) GetRawValue added in v0.3.24

func (n *NetworkWatcherFlowLog) GetRawValue() interface{}

type PortRange added in v0.4.0

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

func (PortRange) Includes added in v0.4.0

func (r PortRange) Includes(port int) bool

type RetentionPolicy

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

func (*RetentionPolicy) GetMetadata added in v0.3.24

func (r *RetentionPolicy) GetMetadata() *types.Metadata

func (*RetentionPolicy) GetRawValue added in v0.3.24

func (r *RetentionPolicy) GetRawValue() interface{}

type SecurityGroup

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

func (*SecurityGroup) GetMetadata added in v0.3.24

func (s *SecurityGroup) GetMetadata() *types.Metadata

func (*SecurityGroup) GetRawValue added in v0.3.24

func (s *SecurityGroup) GetRawValue() interface{}

type SecurityGroupRule

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

func (*SecurityGroupRule) GetMetadata added in v0.3.24

func (s *SecurityGroupRule) GetMetadata() *types.Metadata

func (*SecurityGroupRule) GetRawValue added in v0.3.24

func (s *SecurityGroupRule) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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