restrictedendpoints

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const RestrictedEndpointsPluginName = "network.openshift.io/RestrictedEndpointsAdmission"

Variables

This section is empty.

Functions

func NewRestrictedEndpointsAdmission

func NewRestrictedEndpointsAdmission(restrictedNetworks []*net.IPNet) *restrictedEndpointsAdmission

NewRestrictedEndpointsAdmission creates a new endpoints admission plugin.

func ParseSimpleCIDRRules

func ParseSimpleCIDRRules(rules []string) (networks []*net.IPNet, err error)

ParseSimpleCIDRRules parses a list of CIDR strings

func RegisterRestrictedEndpoints

func RegisterRestrictedEndpoints(plugins *admission.Plugins)

Types

This section is empty.

Jump to

Keyboard shortcuts

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