Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var REPOSITORY_DIRECTORY = tempdir.GetPath("repositories")
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type RepositoryFactory ¶
type RepositoryFactory struct {
// contains filtered or unexported fields
}
func NewRepositoryFactory ¶
func NewRepositoryFactory() *RepositoryFactory
func (*RepositoryFactory) New ¶
func (r *RepositoryFactory) New(name string, typeName string, config map[string]interface{}) (Repository, error)
func (*RepositoryFactory) Register ¶
func (r *RepositoryFactory) Register(typeName string, conversion func(name string, installationPath string, config map[string]interface{}) (Repository, error))
Click to show internal directories.
Click to hide internal directories.