util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContainerInterfaceName

func GenerateContainerInterfaceName(podName string, podNamespace string) string

Calculates a suitable interface name using the pod namespace and pod name. The output should be deterministic (so that multiple calls to GenerateContainerInterfaceName with the same parameters return the same value). The output should have length interfaceNameLength (15). The probability of collision should be neglectable.

Types

This section is empty.

Directories

Path Synopsis
Package ethtool provides Go wrappers for ioctl ethtool system calls on Linux
Package ethtool provides Go wrappers for ioctl ethtool system calls on Linux

Jump to

Keyboard shortcuts

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