ipwhitelist

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

NewParser creates a new whitelist annotation parser

Types

type SourceRange

type SourceRange struct {
	CIDR []string `json:"cidr,omitempty"`
}

SourceRange returns the CIDR

func (*SourceRange) Equal

func (sr1 *SourceRange) Equal(sr2 *SourceRange) bool

Equal tests for equality between two SourceRange types

Jump to

Keyboard shortcuts

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