util

package
v0.0.4-dev.0...-067a624 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToRkeConfig

func ConvertToRkeConfig(config string) (v3.RancherKubernetesEngineConfig, error)

func DeleteLegacyServiceAccountAndRoleBinding

func DeleteLegacyServiceAccountAndRoleBinding(clientset kubernetes.Interface) error

func GenerateServiceAccountToken

func GenerateServiceAccountToken(clientset kubernetes.Interface) (string, error)

GenerateServiceAccountToken generate a serviceAccountToken for clusterAdmin given a rest clientset

Types

This section is empty.

Jump to

Keyboard shortcuts

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