securitygroups

package
v1.2.46 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComputeKind      = "Compute"
	InfraKind        = "Infra"
	ControlPlaneKind = "Control Plane"
	MachinePoolKind  = "Machine Pool"
)

Variables

View Source
var (
	SgKindFlagMap = map[string]string{
		ComputeKind:      additionalComputeSecurityGroupIdsFlag,
		InfraKind:        additionalInfraSecurityGroupIdsFlag,
		ControlPlaneKind: additionalControlPlaneSecurityGroupIdsFlag,
		MachinePoolKind:  securityGroupIdsFlag,
	}
	ComputeSecurityGroupFlag      = SgKindFlagMap[ComputeKind]
	InfraSecurityGroupFlag        = SgKindFlagMap[InfraKind]
	ControlPlaneSecurityGroupFlag = SgKindFlagMap[ControlPlaneKind]
	MachinePoolSecurityGroupFlag  = SgKindFlagMap[MachinePoolKind]
)

Functions

func GetSecurityGroupIds

func GetSecurityGroupIds(r *rosa.Runtime, cmd *cobra.Command,
	targetVpcId string, kind string, id string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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