Documentation ¶
Index ¶
- func LoadOrRebuild(ctx context.Context, c Cache, fbc fs.FS) error
- type Cache
- type JSON
- func (q *JSON) Build(ctx context.Context, fbcFsys fs.FS) error
- func (q *JSON) CheckIntegrity(fbcFsys fs.FS) error
- func (q *JSON) GetBundle(_ context.Context, pkgName, channelName, csvName string) (*api.Bundle, error)
- func (q *JSON) GetBundleForChannel(ctx context.Context, pkgName string, channelName string) (*api.Bundle, error)
- func (q *JSON) GetBundleThatProvides(ctx context.Context, group, version, kind string) (*api.Bundle, error)
- func (q *JSON) GetBundleThatReplaces(ctx context.Context, name, pkgName, channelName string) (*api.Bundle, error)
- func (q *JSON) GetChannelEntriesThatProvide(ctx context.Context, group, version, kind string) ([]*registry.ChannelEntry, error)
- func (pkgs JSON) GetChannelEntriesThatReplace(_ context.Context, name string) ([]*registry.ChannelEntry, error)
- func (q *JSON) GetLatestChannelEntriesThatProvide(ctx context.Context, group, version, kind string) ([]*registry.ChannelEntry, error)
- func (pkgs JSON) GetPackage(_ context.Context, name string) (*registry.PackageManifest, error)
- func (q *JSON) ListBundles(ctx context.Context) ([]*api.Bundle, error)
- func (pkgs JSON) ListPackages(_ context.Context) ([]string, error)
- func (q *JSON) Load() error
- func (q *JSON) SendBundles(_ context.Context, s registry.BundleSender) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache interface { registry.GRPCQuery CheckIntegrity(fbc fs.FS) error Build(ctx context.Context, fbc fs.FS) error Load() error }
type JSON ¶
type JSON struct {
// contains filtered or unexported fields
}
func (*JSON) GetBundleForChannel ¶
func (*JSON) GetBundleThatProvides ¶
func (*JSON) GetBundleThatReplaces ¶
func (*JSON) GetChannelEntriesThatProvide ¶
func (JSON) GetChannelEntriesThatReplace ¶
func (*JSON) GetLatestChannelEntriesThatProvide ¶
func (JSON) GetPackage ¶
func (*JSON) SendBundles ¶
Click to show internal directories.
Click to hide internal directories.