gatewaysecret

package
v0.0.0-...-67aceb4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 struct {
	// contains filtered or unexported fields
}

func NewGatewaySecretHandler

func NewGatewaySecretHandler(client Client, timeParserFunc TimeParserFunc) *Handler

func (*Handler) ManageGatewaySecret

func (h *Handler) ManageGatewaySecret(ctx context.Context, rootSecret *apicorev1.Secret) error

type TimeParserFunc

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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