util

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareEndpointSpec

func CompareEndpointSpec(left, right subv1.EndpointSpec) bool

func FlattenColors

func FlattenColors(colorCodes []string) string

func GetClusterCRDName

func GetClusterCRDName(cluster types.SubmarinerCluster) (string, error)

func GetClusterIdFromCableName

func GetClusterIdFromCableName(cableName string) string

func GetDefaultGatewayInterface

func GetDefaultGatewayInterface() (*net.Interface, error)

func GetEndpointCRDName

func GetEndpointCRDName(endpoint types.SubmarinerEndpoint) (string, error)

func GetEndpointCRDNameFromParams

func GetEndpointCRDNameFromParams(clusterID, cableName string) (string, error)

func GetLocalEndpoint

func GetLocalEndpoint(clusterID string, backend string, backendConfig map[string]string, natEnabled bool, subnets []string) (types.SubmarinerEndpoint, error)

func GetLocalIP

func GetLocalIP() net.IP

func ParseSecure

func ParseSecure(token string) (types.Secure, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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