Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZkFinalizer = "cleanUpZookeeperPVC"
)

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(slice []string, str string) bool

func IsPVCOrphan

func IsPVCOrphan(zkPvcName string, replicas int32) bool

func RemoveString

func RemoveString(slice []string, str string) (result []string)

func ServicePortByName

func ServicePortByName(ports []corev1.ServicePort, name string) (port corev1.ServicePort, err error)

ServicePortByName returns a container port of name provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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