Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) CreateRepository(ctx context.Context, repository string, properties *apiv1.RepositoryProperties) (err error)
- func (p *Plugin) DeleteRepository(ctx context.Context, repository string) (err error)
- func (p *Plugin) GetRepository(ctx context.Context, repository string) (properties *apiv1.RepositoryProperties, err error)
- func (p *Plugin) GetRepositoryPackage(ctx context.Context, repository string, id string) (repositoryPackage *apiv1.RepositoryPackage, err error)
- func (p *Plugin) GetRepositorySyncStatus(ctx context.Context, repository string) (syncStatus *apiv1.SyncStatus, err error)
- func (p *Plugin) ListRepositoryLogs(ctx context.Context, repository string, page *apiv1.Page) (logs []apiv1.RepositoryLog, err error)
- func (p *Plugin) ListRepositoryPackages(ctx context.Context, repository string, page *apiv1.Page) (repositoryPackages []*apiv1.RepositoryPackage, err error)
- func (p *Plugin) RemoveRepositoryPackage(ctx context.Context, repository string, id string) (err error)
- func (p *Plugin) Serve(ln net.Listener) error
- func (p *Plugin) SyncRepository(ctx context.Context, repository string) (err error)
- func (p *Plugin) UpdateRepository(ctx context.Context, repository string, properties *apiv1.RepositoryProperties) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CreateRepository ¶
func (*Plugin) DeleteRepository ¶
func (*Plugin) GetRepository ¶
func (*Plugin) GetRepositoryPackage ¶
func (*Plugin) GetRepositorySyncStatus ¶
func (*Plugin) ListRepositoryLogs ¶
func (*Plugin) ListRepositoryPackages ¶
func (*Plugin) RemoveRepositoryPackage ¶
func (*Plugin) SyncRepository ¶
func (*Plugin) UpdateRepository ¶
Click to show internal directories.
Click to hide internal directories.