Documentation ¶
Index ¶
- type ModuleService
- func (s *ModuleService) Exists(rs app.RequestScope, namespace, name, provider, version string) (bool, error)
- func (s *ModuleService) Get(rs app.RequestScope, namespace, name, provider, version string) (*models.Module, error)
- func (s *ModuleService) GetData(rs app.RequestScope, namespace, name, provider, version string) (io.Reader, error)
- func (s *ModuleService) Publish(rs app.RequestScope, namespace, name, provider, version string, data io.Reader) error
- func (s *ModuleService) Query(rs app.RequestScope, namespace, name, provider string, verified bool, ...) ([]models.Module, int, error)
- func (s *ModuleService) QueryVersions(rs app.RequestScope, namespace, name, provider string) ([]models.Module, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleService ¶
func NewModuleService ¶
func NewModuleService(r registry.Registry) *ModuleService
func (*ModuleService) Exists ¶
func (s *ModuleService) Exists(rs app.RequestScope, namespace, name, provider, version string) (bool, error)
func (*ModuleService) Get ¶
func (s *ModuleService) Get(rs app.RequestScope, namespace, name, provider, version string) (*models.Module, error)
func (*ModuleService) GetData ¶
func (s *ModuleService) GetData(rs app.RequestScope, namespace, name, provider, version string) (io.Reader, error)
func (*ModuleService) Publish ¶
func (s *ModuleService) Publish(rs app.RequestScope, namespace, name, provider, version string, data io.Reader) error
func (*ModuleService) Query ¶
func (s *ModuleService) Query(rs app.RequestScope, namespace, name, provider string, verified bool, offset, limit int) ([]models.Module, int, error)
func (*ModuleService) QueryVersions ¶
func (s *ModuleService) QueryVersions(rs app.RequestScope, namespace, name, provider string) ([]models.Module, error)
Click to show internal directories.
Click to hide internal directories.