filestorage

package
v2.8.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStorage

type FileStorage struct {
	// The base path to the folder used for storage.
	Root string `json:"root,omitempty"`
}

FileStorage is a certmagic.Storage wrapper for certmagic.FileStorage.

func (FileStorage) CertMagicStorage

func (s FileStorage) CertMagicStorage() (certmagic.Storage, error)

CertMagicStorage converts s to a certmagic.Storage instance.

func (FileStorage) KengineModule

func (FileStorage) KengineModule() kengine.ModuleInfo

KengineModule returns the Kengine module information.

func (*FileStorage) UnmarshalKenginefile

func (s *FileStorage) UnmarshalKenginefile(d *kenginefile.Dispenser) error

UnmarshalKenginefile sets up the storage module from Kenginefile tokens.

Jump to

Keyboard shortcuts

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