Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig []byte
Functions ¶
This section is empty.
Types ¶
type AESConfig ¶
type AESConfig struct { Enable bool KeepassFile configutil.EnvString KeepassEntry configutil.EnvString KeepassKey configutil.EnvString IV configutil.EnvString }
type AddConfig ¶
type AddConfig struct { Deduplicate bool NoCompress bool ObjectExtensionFolder string `toml:"objectextensions"` User *UserConfig Digest checksum.DigestAlgorithm Fixity []string Message string }
type DisplayConfig ¶
type ExtractConfig ¶
type ExtractMetaConfig ¶
type GOCFLConfig ¶
type GOCFLConfig struct { ErrorTemplate string AccessLog string Extension map[string]map[string]string Indexer *indexer.IndexerConfig Thumbnail *Thumbnail Migration *Migration AES *AESConfig Init *InitConfig Add *AddConfig Update *UpdateConfig Display *DisplayConfig Extract *ExtractConfig ExtractMeta *ExtractMetaConfig Stat *StatConfig Validate *ValidateConfig S3 *S3Config DefaultArea string Log stashconfig.Config `toml:"log"` }
func LoadGOCFLConfig ¶
func LoadGOCFLConfig(data string) (*GOCFLConfig, error)
type InitConfig ¶
type InitConfig struct { OCFLVersion string StorageRootExtensionFolder string `toml:"storagerootextensions"` Digest checksum.DigestAlgorithm }
type Migration ¶
type Migration struct { Enabled bool Function map[string]*MigrationFunction }
type MigrationFunction ¶
type S3Config ¶
type S3Config struct { Endpoint configutil.EnvString AccessKeyID configutil.EnvString AccessKey configutil.EnvString Region configutil.EnvString }
type StatConfig ¶
type Thumbnail ¶
type Thumbnail struct { Enabled bool Background string Function map[string]*ThumbnailFunction }
type ThumbnailFunction ¶
type UpdateConfig ¶
type UpdateConfig struct { Deduplicate bool NoCompress bool User *UserConfig Echo bool Message string Digest checksum.DigestAlgorithm }
type UserConfig ¶
type ValidateConfig ¶
Click to show internal directories.
Click to hide internal directories.