Documentation ¶
Index ¶
- Constants
- Variables
- func CleanUpSubmarinerManifests(ctx context.Context, client kubernetes.Interface, recorder events.Recorder, ...) error
- func GenerateIPSecPSKSecret(client kubernetes.Interface, brokerNamespace string) error
- func GetBrokerAPIServer(dynamicClient dynamic.Interface) (string, error)
- func GetBrokerTokenAndCA(client kubernetes.Interface, brokerNS, clusterName string) (token, ca string, err error)
- func GetIPSecPSK(client kubernetes.Interface, brokerNamespace string) (string, error)
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 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.
Click to show internal directories.
Click to hide internal directories.