Documentation ¶
Index ¶
- type IndexFactory
- func (f *IndexFactory) CreateIndex(repoName string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
- func (f *IndexFactory) Exists(repoName string) bool
- func (f *IndexFactory) FetchIndex(name string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
- func (f *IndexFactory) FindIndex(repoName string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
- func (f *IndexFactory) LoadIndex(repoName string, opts ...imgutil.IndexOption) (index imgutil.ImageIndex, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexFactory ¶
type IndexFactory struct {
// contains filtered or unexported fields
}
func NewIndexFactory ¶
func NewIndexFactory(keychain authn.Keychain, path string) *IndexFactory
func (*IndexFactory) CreateIndex ¶
func (f *IndexFactory) CreateIndex(repoName string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
func (*IndexFactory) Exists ¶
func (f *IndexFactory) Exists(repoName string) bool
func (*IndexFactory) FetchIndex ¶
func (f *IndexFactory) FetchIndex(name string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
func (*IndexFactory) FindIndex ¶
func (f *IndexFactory) FindIndex(repoName string, opts ...imgutil.IndexOption) (idx imgutil.ImageIndex, err error)
func (*IndexFactory) LoadIndex ¶
func (f *IndexFactory) LoadIndex(repoName string, opts ...imgutil.IndexOption) (index imgutil.ImageIndex, err error)
Click to show internal directories.
Click to hide internal directories.