Documentation ¶
Index ¶
- func CreateCert(client clientset.Interface, pkiPath, kubeadmInitConfPath string) error
- func CreateOrUpdateSessionKeyToSecret(client clientset.Interface, key []byte) error
- func GangwayCertExists(client clientset.Interface) (bool, error)
- func GangwaySecretExists(client clientset.Interface) (bool, error)
- func GenerateSessionKey() ([]byte, error)
- func GetClientSecret(client clientset.Interface) string
- func RestartPods(client clientset.Interface) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCert ¶ added in v0.8.0
CreateCert creates a signed certificate for gangway with kubernetes CA certificate and key
func CreateOrUpdateSessionKeyToSecret ¶ added in v0.8.0
CreateOrUpdateSessionKeyToSecret create/update session key to secret
func GangwayCertExists ¶ added in v1.1.0
func GangwaySecretExists ¶ added in v1.1.0
func GenerateSessionKey ¶ added in v0.8.0
GenerateSessionKey generates session key
func GetClientSecret ¶ added in v1.2.9
GetClientSecret returns the client secret from global variable if present or from gangway ConfigMap if present otherwise generates a new client secret and stores it in gClientSecret
func RestartPods ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.