Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinPort = 0 MaxPort = 65535 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶
type Firewall []FirewallRule
Firewall contains all firewall rules to be applied for either ingress or egress.
func (Firewall) AWS ¶
func (f Firewall) AWS() []ec2types.IpPermission
func (Firewall) Azure ¶
func (f Firewall) Azure() ([]*armnetwork.SecurityRule, error)
type FirewallRule ¶
type FirewallRule struct { Name string Description string Protocol string IPRange string FromPort int ToPort int }
FirewallRule holds a single firewall rule.
type Instances ¶
Instances is a map of gcp Instances. The ID of an instance is used as key.
func (Instances) PrivateIPs ¶
PrivateIPs returns the private IPs of all the instances of the Constellation.
type PortOutOfRangeError ¶
PortOutOfRangeError occurs when either FromPort or ToPort are out of range of [MinPort-MaxPort].
func (*PortOutOfRangeError) Error ¶
func (p *PortOutOfRangeError) Error() string
type ScalingGroup ¶
ScalingGroup is a group of instances, with an identifying group ID.
Click to show internal directories.
Click to hide internal directories.