util

package
v0.0.0-...-0c57748 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package kubernetes/util provides helper functions for the kubernetes middleware

Index

Constants

View Source
const (
	WildcardStar = "*"
	WildcardAny  = "any"
)

Variables

This section is empty.

Functions

func StringInSlice

func StringInSlice(a string, slice []string) bool

StringInSlice check whether string a is a member of slice.

func SymbolContainsWildcard

func SymbolContainsWildcard(symbol string) bool

SymbolContainsWildcard checks whether symbol contains a wildcard value

Types

type StoreToNamespaceLister

type StoreToNamespaceLister struct {
	cache.Store
}

StoreToNamespaceLister makes a Store that lists Namespaces.

func (*StoreToNamespaceLister) List

func (s *StoreToNamespaceLister) List() (ns api.NamespaceList, err error)

List lists all Namespaces in the store.

Jump to

Keyboard shortcuts

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