security

package
v1.20.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateCidrRanges

func UpdateCidrRanges(existingCidrRanges []string, cidrRanges map[string]struct{}, opts *UpdateCidrRangeOptions, item *security.IPAllowlist)

UpdateCidrRanges updates the CIDR ranges to be added to the existing list without messing up the order of existing ones previously added

Types

type UpdateCidrRangeOptions

type UpdateCidrRangeOptions struct {
	AddedCidrRanges   []string
	RemovedCidrRanges []string
}

Update options for CIDR ranges

Jump to

Keyboard shortcuts

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