Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) AddRemote(ctx context.Context, repository string, ...) (err error)
- func (p *Plugin) Config() pluginsrv.Config
- func (p *Plugin) Context() context.Context
- func (p *Plugin) CreateRepository(ctx context.Context, repository string, ...) (err error)
- func (p *Plugin) DeleteRemote(ctx context.Context, repository string, remoteName string) (err error)
- func (p *Plugin) DeleteRepository(ctx context.Context, repository string) (err error)
- func (p *Plugin) GetRepositorySyncStatus(ctx context.Context, repository string) (syncStatus *apiv1.SyncStatus, err error)
- func (p *Plugin) ListRepositoryRefs(ctx context.Context, repository string) (refs []apiv1.OSTreeRef, err error)
- func (p *Plugin) RepositoryManager() *repository.Manager[*ostreerepository.Handler]
- func (p *Plugin) Start(transport http.RoundTripper, _ *mtls.CAPEM, beskarMeta *gossip.BeskarMeta) error
- func (p *Plugin) SyncRepository(ctx context.Context, repository string, ...) (err error)
- func (p *Plugin) UpdateRemote(ctx context.Context, repository string, remoteName string, ...) (err error)
Constants ¶
View Source
const ( PluginName = "ostree" PluginAPIPathPattern = "/artifacts/ostree/api/v1" )
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) DeleteRemote ¶ added in v0.0.22
func (*Plugin) DeleteRepository ¶
func (*Plugin) GetRepositorySyncStatus ¶
func (*Plugin) ListRepositoryRefs ¶ added in v0.0.25
func (*Plugin) RepositoryManager ¶
func (p *Plugin) RepositoryManager() *repository.Manager[*ostreerepository.Handler]
func (*Plugin) Start ¶
func (p *Plugin) Start(transport http.RoundTripper, _ *mtls.CAPEM, beskarMeta *gossip.BeskarMeta) error
func (*Plugin) SyncRepository ¶
func (*Plugin) UpdateRemote ¶ added in v0.0.22
Click to show internal directories.
Click to hide internal directories.