Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevConfig = &Config{
Address: "127.0.0.1:8385",
}
DevConfig provides a dev config.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { // Name is the name of the backend. If stori does not support the defined // backend, it will look in its PATH for a binary plugin named // `stori-{name}-backend`. Name string `json:"name"` // Config contains the backend's config parameters. Since different backends // require different configuration parameters, we can't parse the object yet // since we don't know the schema. Config map[string]interface{} `json:"config"` }
Backend defines parameters for stori's persistence layer.
type BlobStore ¶
type BlobStore struct { // Name is the name of the backend. If stori does not support the defined // backend, it will look in its PATH for a binary plugin named // `stori-{name}-blobstore`. Name string `json:"name"` // Config contains the blobstore's config parameters. Since different // blobstores require different configuration parameters, we can't parse the // object yet since we don't know the schema. Config map[string]interface{} `json:"config"` }
BlobStore defines parameters for stori's blob storage engine.
type Config ¶
Config defines the parameters for the registry.
func LoadConfigFile ¶
LoadConfigFile loads the configuration from the given file.
Click to show internal directories.
Click to hide internal directories.