testinghelpers

package
v0.0.0-...-890bf4a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKubeconfig

func BuildKubeconfig(restConfig *rest.Config) []byte

func GetHostedImportSecret

func GetHostedImportSecret(managedClusterName string) *corev1.Secret

func GetImportSecret

func GetImportSecret(managedClusterName string) *corev1.Secret

func NewRootCA

func NewRootCA(commoneName string) ([]byte, []byte, error)

func NewServerCertificate

func NewServerCertificate(commonName string, caCertData, caKeyData []byte) ([]byte, []byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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