service

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockRepository added in v1.3.0

func NewMockRepository(
	mockGetTLSSecrets func(namespace string) ([]tls.Secret, error),
	mockGetTLSSecret func(namespace, name string) (tls.Secret, error),
) tls.Repository

Types

type Manager added in v1.3.0

type Manager interface {
	ListTLSSecrets(namespace string) ([]tls.Secret, error)
	LoadTLSSecret(namespace, name string) (tls.Secret, error)
}

func NewDefaultManager added in v1.3.0

func NewDefaultManager(tr tls.Repository) Manager

func NewMockSecretService

func NewMockSecretService(
	mockListTLSSecrets func(namespace string) ([]tls.Secret, error),
	mockLoadTLSSecret func(namespace, name string) (tls.Secret, error)) Manager

Jump to

Keyboard shortcuts

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