Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) Config() pluginsrv.Config
- func (p *Plugin) Context() context.Context
- func (p *Plugin) DeleteRepository(ctx context.Context, repository string, deleteFiles bool) (err error)
- func (p *Plugin) GetRepositoryFileByName(ctx context.Context, repository string, name string) (repositoryFile *apiv1.RepositoryFile, err error)
- func (p *Plugin) GetRepositoryFileByTag(ctx context.Context, repository string, tag string) (repositoryFile *apiv1.RepositoryFile, err error)
- func (p *Plugin) ListRepositoryFiles(ctx context.Context, repository string, page *apiv1.Page) (repositoryFiles []*apiv1.RepositoryFile, err error)
- func (p *Plugin) ListRepositoryLogs(ctx context.Context, repository string, page *apiv1.Page) (logs []apiv1.RepositoryLog, err error)
- func (p *Plugin) RemoveRepositoryFile(ctx context.Context, repository string, tag string) (err error)
- func (p *Plugin) RepositoryManager() *repository.Manager[*staticrepository.Handler]
- func (p *Plugin) Start(transport http.RoundTripper, _ *mtls.CAPEM, beskarMeta *gossip.BeskarMeta) 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) DeleteRepository ¶
func (*Plugin) GetRepositoryFileByName ¶
func (*Plugin) GetRepositoryFileByTag ¶
func (*Plugin) ListRepositoryFiles ¶
func (*Plugin) ListRepositoryLogs ¶
func (*Plugin) RemoveRepositoryFile ¶
func (*Plugin) RepositoryManager ¶
func (p *Plugin) RepositoryManager() *repository.Manager[*staticrepository.Handler]
func (*Plugin) Start ¶
func (p *Plugin) Start(transport http.RoundTripper, _ *mtls.CAPEM, beskarMeta *gossip.BeskarMeta) error
Click to show internal directories.
Click to hide internal directories.