util

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAppServicesFromAppName added in v0.6.0

func ListAppServicesFromAppName(ctx *clicontext.CLIContext, namespace, appName string) ([]*riov1.Service, error)

func ListPods added in v0.6.0

func ListPods(ctx *clicontext.CLIContext, name string) ([]corev1.Pod, error)

func NormalizingEndpoints added in v0.6.0

func NormalizingEndpoints(endpoints []string, suffix string) []string

func ReadFile

func ReadFile(file string) ([]byte, error)

func ToInt added in v0.6.0

func ToInt(v *int32) *int

func ToInt32 added in v0.6.0

func ToInt32(v int) *int32

func ToPodNameOrSelector added in v0.6.0

func ToPodNameOrSelector(obj runtime.Object) (string, labels.Selector, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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