fake

package
v0.0.0-...-b9df8bb Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretManager

type SecretManager struct {
	Err        error
	Secret     *corev1.Secret
	IsPresent  bool
	SecretName string
}

func (*SecretManager) GetSecret

func (m *SecretManager) GetSecret(ctx context.Context, namespace string, routeName string) (*corev1.Secret, error)

func (*SecretManager) LookupRouteSecret

func (m *SecretManager) LookupRouteSecret(namespace string, routeName string) (string, bool)

func (*SecretManager) Queue

func (*SecretManager) RegisterRoute

func (m *SecretManager) RegisterRoute(ctx context.Context, namespace string, routeName string, secretName string, handler cache.ResourceEventHandlerFuncs) error

func (*SecretManager) UnregisterRoute

func (m *SecretManager) UnregisterRoute(namespace string, routeName string) error

Jump to

Keyboard shortcuts

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