kube

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeSecretInterface

func GetKubeSecretInterface(namespace string) (typev1.SecretInterface, error)

GetKubeSecretInterface creates a SecretInterface hooked up to the API server of the current cluster

func NewKubeSecretAPITokenStore

func NewKubeSecretAPITokenStore(secretAccess typev1.SecretInterface) resources.APITokenStorage

NewKubeSecretAPITokenStore generates a new kubeSecretAPITokenStore, also attempting to load the existing secret if possible (if not, it will start empty). Note that currently the secret will only be loaded once per run, so any changes made to the secret outside of this executable will be overwritten. This could easily be added with a secret watch, but isn't implemented yet since it's a relatively niche use case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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