restrictedendpoints

package
v3.11.0-0.22.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const RestrictedEndpointsPluginName = "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