caddy_storage_cf_kv

package module
v0.0.0-...-b842e7c Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateCacheResponse

type CertificateCacheResponse struct {
	DataBase64   string `json:"data_base64"`
	Size         int    `json:"size"`
	LastModified uint64 `json:"last_modified"`
}

func (*CertificateCacheResponse) DecodedData

func (r *CertificateCacheResponse) DecodedData() ([]byte, error)

type Linkup

type Linkup struct {
	Logger    *zap.SugaredLogger `json:"-"`
	WorkerUrl string             `json:"worker_url,omitempty"`
	Token     string             `json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (Linkup) CaddyModule

func (Linkup) CaddyModule() caddy.ModuleInfo

func (*Linkup) CertMagicStorage

func (s *Linkup) CertMagicStorage() (certmagic.Storage, error)

func (*Linkup) Delete

func (s *Linkup) Delete(ctx context.Context, key string) error

func (*Linkup) Exists

func (s *Linkup) Exists(ctx context.Context, key string) bool

func (*Linkup) List

func (s *Linkup) List(_ context.Context, path string, recursive bool) ([]string, error)

func (*Linkup) Load

func (s *Linkup) Load(ctx context.Context, key string) ([]byte, error)

func (*Linkup) LoadCache

func (s *Linkup) LoadCache(ctx context.Context, key string) (CertificateCacheResponse, error)

func (*Linkup) Lock

func (s *Linkup) Lock(ctx context.Context, key string) error

func (*Linkup) Provision

func (s *Linkup) Provision(ctx caddy.Context) error

func (*Linkup) Stat

func (s *Linkup) Stat(ctx context.Context, key string) (certmagic.KeyInfo, error)

func (*Linkup) Store

func (s *Linkup) Store(_ context.Context, key string, value []byte) error

func (*Linkup) Unlock

func (s *Linkup) Unlock(ctx context.Context, key string) error

func (*Linkup) UnmarshalCaddyfile

func (s *Linkup) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

Jump to

Keyboard shortcuts

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