repository

package
v0.0.0-...-ed7d7af Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var REPOSITORY_DIRECTORY = tempdir.GetPath("repositories")

Functions

This section is empty.

Types

type Config

type Config interface {
	Type() string
}

type Repository

type Repository interface {
	InstallApp(*app.Reference) (app.App, error)
	Name() string
}

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))

Directories

Path Synopsis
types

Jump to

Keyboard shortcuts

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