Documentation ¶
Index ¶
- Variables
- func AddApplication(app *Application) error
- func AddNamespace(namespace *Project) error
- func AddPackageURI(r *Release, uri string) error
- func AddRelease(release *Release) error
- func FindAllVersions(app *Application) ([]string, error)
- func GetAllReleases() ([]*Release, error)
- func GetAllReleasesWithoutProcessedDependencies() ([]*Release, error)
- func GetApplication(namespace, name string) (*Application, error)
- func GetApplicationHooks(app *Application) (Hooks, error)
- func GetApplications(namespace string) (map[string]*Application, error)
- func GetDependencies(r *Release) ([]*Dependency, error)
- func GetDownstreamDependencies(r *Release) ([]*Dependency, error)
- func GetDownstreamDependenciesFilteredBy(r *Release, f *DownstreamDependenciesFilter) ([]*Dependency, error)
- func GetDownstreamHooks(app *Application) ([]*Hooks, error)
- func GetNamespace(namespace string) (*Project, error)
- func GetNamespaceHooks(namespace *Project) (Hooks, error)
- func GetNamespaces() (map[string]*Project, error)
- func GetNamespacesByNames(namespaces []string) (map[string]*Project, error)
- func GetNamespacesFilteredBy(f *NamespacesFilter) (map[string]*Project, error)
- func GetNamespacesForUser(namespaces []string) (map[string]*Project, error)
- func GetPackageURIs(r *Release) ([]string, error)
- func GetProviders(providerName string) (map[string]*MinimalReleaseMetadata, error)
- func GetProvidersFilteredBy(providerName string, f *ProvidersFilter) (map[string]*MinimalReleaseMetadata, error)
- func GetRelease(namespace, name, releaseId string) (*Release, error)
- func GetReleaseByTag(namespace, name, tag string) (*Release, error)
- func GetUserMetrics(username string) (*Metrics, error)
- func HardDeleteNamespace(namespace string) error
- func IsAlreadyExists(err error) bool
- func IsLimitError(err error) bool
- func IsNotFound(err error) bool
- func IsUnauthorized(err error) bool
- func LoadFromConfig(conf *config.Config) error
- func RegisterProviders(release *core.ReleaseMetadata) error
- func SetApplicationHooks(app *Application, hooks Hooks) error
- func SetApplicationSubscribesToUpdatesFrom(app *Application, upstream []*Application) error
- func SetDependencies(r *Release, deps []*Dependency) error
- func SetNamespaceHooks(namespace *Project, hooks Hooks) error
- func SetUserMetrics(username string, previous, new *Metrics) error
- func TagRelease(release *Release, tag string) error
- func TestSetup()
- func UpdateApplication(app *Application) error
- func UpdateNamespace(namespace *Project) error
- func UpdateRelease(release *Release) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalDAO = mem.NewInMemoryDAO()
Functions ¶
func AddApplication ¶
func AddApplication(app *Application) error
func AddNamespace ¶
func AddNamespace(namespace *Project) error
func AddPackageURI ¶
func AddRelease ¶
func AddRelease(release *Release) error
func FindAllVersions ¶
func GetAllReleases ¶
func GetAllReleases() ([]*Release, error)
func GetAllReleasesWithoutProcessedDependencies ¶
func GetAllReleasesWithoutProcessedDependencies() ([]*Release, error)
func GetApplication ¶
func GetApplicationHooks ¶
func GetApplicationHooks(app *Application) (Hooks, error)
func GetApplications ¶
func GetDependencies ¶
func GetDependencies(r *Release) ([]*Dependency, error)
func GetDownstreamDependencies ¶
func GetDownstreamDependencies(r *Release) ([]*Dependency, error)
func GetDownstreamDependenciesFilteredBy ¶
func GetDownstreamDependenciesFilteredBy(r *Release, f *DownstreamDependenciesFilter) ([]*Dependency, error)
func GetDownstreamHooks ¶
func GetDownstreamHooks(app *Application) ([]*Hooks, error)
func GetNamespace ¶
func GetNamespaceHooks ¶
func GetNamespaceHooks(namespace *Project) (Hooks, error)
func GetNamespaces ¶
func GetNamespacesByNames ¶
func GetNamespacesFilteredBy ¶
func GetNamespacesForUser ¶
func GetPackageURIs ¶
func GetProviders ¶
func GetProvidersFilteredBy ¶
func GetRelease ¶
func GetReleaseByTag ¶
func GetUserMetrics ¶
func HardDeleteNamespace ¶
func IsAlreadyExists ¶
func IsLimitError ¶
func IsNotFound ¶
func IsUnauthorized ¶
func LoadFromConfig ¶
func RegisterProviders ¶
func RegisterProviders(release *core.ReleaseMetadata) error
func SetApplicationHooks ¶
func SetApplicationHooks(app *Application, hooks Hooks) error
func SetApplicationSubscribesToUpdatesFrom ¶
func SetApplicationSubscribesToUpdatesFrom(app *Application, upstream []*Application) error
func SetDependencies ¶
func SetDependencies(r *Release, deps []*Dependency) error
func SetNamespaceHooks ¶
func SetNamespaceHooks(namespace *Project, hooks Hooks) error
func SetUserMetrics ¶
func TagRelease ¶
func UpdateApplication ¶
func UpdateApplication(app *Application) error
func UpdateNamespace ¶
func UpdateNamespace(namespace *Project) error
func UpdateRelease ¶
func UpdateRelease(release *Release) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.