gatewaysecret

package
v0.0.0-...-2a127b5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TLSCrt     = "tls.crt"
	TLSKey     = "tls.key"
	CACrt      = "ca.crt"
	SecretKind = "Secret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetWatcherServingCert(ctx context.Context) (*certmanagerv1.Certificate, error)
	GetGatewaySecret(ctx context.Context) (*apicorev1.Secret, error)
	CreateGatewaySecret(ctx context.Context, secret *apicorev1.Secret) error
	UpdateGatewaySecret(ctx context.Context, secret *apicorev1.Secret) error
}

type Handler

type Handler interface {
	ManageGatewaySecret(ctx context.Context, rootSecret *apicorev1.Secret) error
}

type TimeParserFunc

type TimeParserFunc func(secret *apicorev1.Secret, annotation string) (time.Time, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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