templates

package
v0.0.0-...-94e4715 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const KubeConfigClientT = `` /* 402-byte string literal not displayed */
View Source
const KubeConfigProxyClientT = `` /* 394-byte string literal not displayed */
View Source
const KubeConfigTokenClientT = `` /* 408-byte string literal not displayed */

Variables

This section is empty.

Functions

func CompileTemplateFromMap

func CompileTemplateFromMap(tmplt string, configMap interface{}) (string, error)

func GetKubeConfig

func GetKubeConfig(kubernetesURL, clusterName, componentName, cacrt, crt, key string) (string, error)

func GetKubeConfigByProxy

func GetKubeConfigByProxy(kubernetesURL, clusterName, componentName, cacrt, crt, key string) (string, error)

func GetKubeTokenConfig

func GetKubeTokenConfig(kubernetesURL, clusterName, componentName, namespace, token string, expired time.Time) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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