Documentation ¶
Index ¶
- func GetAttachedSubnets(ctx context.Context, kube client.Reader, server string) (map[string]ServerAttachment, error)
- func GetReachableFrom(ctx context.Context, kube client.Reader, vpcName string) (map[string]*ReachableFromSubnet, error)
- func IsExternalAttached(ctx context.Context, kube client.Reader, external string) (bool, error)
- func IsExternalIPReachable(ctx context.Context, kube client.Reader, source, destIP string) (bool, error)
- func IsExternalSubnetReachable(ctx context.Context, kube client.Reader, sourceServer, destSubnet string) (bool, error)
- func IsServerReachable(ctx context.Context, kube client.Reader, sourceServer, destServer string) (bool, error)
- func IsStaticExternalIPReachable(ctx context.Context, kube client.Reader, source, destIP string) (bool, error)
- func IsSubnetReachable(ctx context.Context, kube client.Reader, source, dest string) (bool, error)
- func IsSubnetReachableBetweenVPCs(ctx context.Context, kube client.Reader, ...) (bool, error)
- func IsSubnetReachableWithinVPC(ctx context.Context, kube client.Reader, vpcName, source, dest string) (bool, error)
- func IsSubnetReachableWithinVPCObj(vpc *vpcapi.VPC, source, dest string) (bool, error)
- func IsVPCPeeringRemoteNotEmpty(ctx context.Context, kube client.Reader, vpcPeering *vpcapi.VPCPeering) (bool, error)
- type ReachableFromSubnet
- type ReachableSubnet
- type ServerAttachment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttachedSubnets ¶
func GetReachableFrom ¶ added in v0.40.2
func IsExternalAttached ¶ added in v0.40.2
func IsExternalIPReachable ¶ added in v0.40.2
func IsExternalSubnetReachable ¶
func IsExternalSubnetReachable(ctx context.Context, kube client.Reader, sourceServer, destSubnet string) (bool, error)
TODO check if allowed prefix contains destSubnet
func IsServerReachable ¶
func IsStaticExternalIPReachable ¶ added in v0.40.2
func IsSubnetReachable ¶
func IsSubnetReachableWithinVPCObj ¶ added in v0.40.2
func IsVPCPeeringRemoteNotEmpty ¶ added in v0.40.2
Types ¶
type ReachableFromSubnet ¶ added in v0.40.2
type ReachableFromSubnet struct { WithinSameSubnet *ReachableSubnet `json:"withinSameSubnet,omitempty"` SameVPCSubnets []ReachableSubnet `json:"sameVPCSubnets,omitempty"` OtherVPCSubnets map[string][]ReachableSubnet `json:"otherVPCSubnets,omitempty"` // vpc -> []subnets ExternalPrefixes map[string][]string `json:"externalPrefixes,omitempty"` // external -> []prefixes }
type ReachableSubnet ¶ added in v0.40.2
type ServerAttachment ¶
Click to show internal directories.
Click to hide internal directories.