utils

package
v0.0.0-...-f256f36 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDirectory

func EnsureDirectory(path string, mode os.FileMode) error

func GetContext

func GetContext() (context.Context, func())

func ListParameters

func ListParameters(out io.Writer, keys []string, varMaps []map[string]string)

func MergeMaps

func MergeMaps(base map[string]interface{}, m ...map[string]interface{}) map[string]interface{}

func NetworkOverlap

func NetworkOverlap(netCIDRs []*net.IPNet) error

func RandStringRunes

func RandStringRunes(n int) string

func RemoveDuplicateInts

func RemoveDuplicateInts(slice []int) (result []int)

func RemoveDuplicateStrings

func RemoveDuplicateStrings(slice []string) (result []string)

func UnusedPort

func UnusedPort() int

func WaitOrCancel

func WaitOrCancel(f func(context.Context) error)

Types

This section is empty.

Directories

Path Synopsis
This implement utilities around git subtree
This implement utilities around git subtree

Jump to

Keyboard shortcuts

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