helpers

package
v0.0.0-...-28b56c0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPSecPSKSecretLength = 48
	IPSecPSKSecretName   = "submariner-ipsec-psk"
	BrokerAPIServer      = "BROKER_API_SERVER"
)

Variables

View Source
var (
	InfrastructureConfigName = "cluster"
)

Functions

func CleanUpSubmarinerManifests

func CleanUpSubmarinerManifests(
	ctx context.Context,
	client kubernetes.Interface,
	recorder events.Recorder,
	assetFunc resourceapply.AssetFunc,
	files ...string) error

CleanUpSubmarinerManifests clean up submariner resources from its manifest files

func GenerateIPSecPSKSecret

func GenerateIPSecPSKSecret(client kubernetes.Interface, brokerNamespace string) error

func GetBrokerAPIServer

func GetBrokerAPIServer(dynamicClient dynamic.Interface) (string, error)

func GetBrokerTokenAndCA

func GetBrokerTokenAndCA(client kubernetes.Interface, brokerNS, clusterName string) (token, ca string, err error)

func GetIPSecPSK

func GetIPSecPSK(client kubernetes.Interface, brokerNamespace string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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