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.
Click to show internal directories.
Click to hide internal directories.