certmanagersync

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidStoreType = errors.New("invalid store type")
)

Functions

func HandleSecret

func HandleSecret(s *corev1.Secret) error

func SyncSecretToStore

func SyncSecretToStore(secret *corev1.Secret, store StoreType) error

Types

type RemoteStore

type RemoteStore interface {
	Update(secret *corev1.Secret) error
}

func NewStore

func NewStore(storeType StoreType) (RemoteStore, error)

type StoreType

type StoreType string
const (
	ACMStoreType          StoreType = "acm"
	CloudflareStoreType   StoreType = "cloudflare"
	DigitalOceanStoreType StoreType = "digitalocean"
	FilepathStoreType     StoreType = "filepath"
	GCPStoreType          StoreType = "gcp"
	HerokuStoreType       StoreType = "heroku"
	IncapsulaStoreType    StoreType = "incapsula"
	ThreatxStoreType      StoreType = "threatx"
	VaultStoreType        StoreType = "vault"
)

func EnabledStores

func EnabledStores(s *corev1.Secret) []StoreType

Jump to

Keyboard shortcuts

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