utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecIntoPod

func ExecIntoPod(client kubernetes.Interface, dpl *appsv1.Deployment, cmd string) error

ExecIntoPod is used to select

func Int

func Int(i int) *int

Int is a utility function converting an int to an int pointer

func Int32

func Int32(i int32) *int32

Int32 is a utility function converting an int32 to a pointer

func IntValue

func IntValue(i *int) int

IntValue is a utility function converting an *int32 to a value

func String

func String(s string) *string

String is a utility function converting a string to a *string

func StringValue

func StringValue(s *string) string

StringValue is a utility function converting a *string to a string

func StringValueFallback

func StringValueFallback(s *string, fb string) string

StringValueFallback is a utility function converting a converting a *string to a string with a fallback value

Types

This section is empty.

Jump to

Keyboard shortcuts

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