common

package
v0.68.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseOption

type ParseOption func(*parseConfig)

func WithWildcard

func WithWildcard() ParseOption

type PortRange

type PortRange struct {
	Metadata iacTypes.Metadata
	Start    iacTypes.IntValue
	End      iacTypes.IntValue
}

func FullPortRange

func FullPortRange(meta iacTypes.Metadata) PortRange

func InvalidPortRange

func InvalidPortRange(meta iacTypes.Metadata) PortRange

func NewPortRange

func NewPortRange(start, end int, meta iacTypes.Metadata) PortRange

func ParsePortRange

func ParsePortRange(input string, meta iacTypes.Metadata, opts ...ParseOption) PortRange

func (PortRange) Valid

func (r PortRange) Valid() bool

Jump to

Keyboard shortcuts

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