whitelist

package
v0.0.0-...-b5980d5 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry string

Entry of the whitelist.

func (Entry) Equals

func (e Entry) Equals(a Entry) bool

Equals return true if name is equals.

func (Entry) String

func (e Entry) String() string

type List

type List []Entry

List of whitelist entries.

func ByString

func ByString(list string) List

ByString create a whitelist from comma seperated string.

func (List) Contains

func (l List) Contains(e Entry) bool

Contains return true if entry is found.

func (List) Filter

func (l List) Filter(k8sobjects []k8s_runtime.Object) []k8s_runtime.Object

Filter out all kubernetes object kinds not in whitelist.

func (List) IsEmpty

func (l List) IsEmpty() bool

IsEmpty return list is empty.

Jump to

Keyboard shortcuts

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