tokenmanager

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretTypeToken     = corev1.SecretType("github.as-code.io/token")
	SecretTypeBasicAuth = corev1.SecretType("github.as-code.io/basic-auth")
	BasicAuthUsername   = "x-access-token"
)

Variables

This section is empty.

Functions

func NewTokenSecret

func NewTokenSecret(ctx context.Context, key types.NamespacedName, owner tokenManager, options ...Option) (*tokenSecret, error)

Types

type Option

type Option func(*tokenSecret)

func WithGHApp

func WithGHApp(ghait ghait.GHAIT) Option

func WithLogger

func WithLogger(logger logr.Logger) Option

func WithReconciler

func WithReconciler(reconciler tokenReconciler) Option

Jump to

Keyboard shortcuts

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