secrets

package
v0.0.0-...-4679d7b Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadToken

func LoadToken(ctx context.Context, userID string, secretsClient coreClientV1.SecretInterface) (oauth2.Token, error)

func StoreToken

func StoreToken(ctx context.Context, userID string, token oauth2.Token, secretsClient coreClientV1.SecretInterface) (*corev1.Secret, error)

StoreToken creates a new secret inside kubernetes which stores the oauth2 token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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