Documentation ¶
Index ¶
- type Layout
- func (l *Layout) AddImage(ctx context.Context, image ociimage.Image) error
- func (l *Layout) Image(ctx context.Context, desc ocispec.Descriptor) (ociimage.Image, error)
- func (l *Layout) Images(ctx context.Context) ([]ociimage.Image, error)
- func (l *Layout) Indexer() *indexer.Indexer
- func (l *Layout) ReplaceImage(ctx context.Context, image ociimage.Image, match descriptormatcher.Matcher) error
- func (l *Layout) Store() *local.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶
type Layout struct {
// contains filtered or unexported fields
}
func (*Layout) ReplaceImage ¶
func (l *Layout) ReplaceImage(ctx context.Context, image ociimage.Image, match descriptormatcher.Matcher) error
ReplaceImage replaces the target image with the new one.
Click to show internal directories.
Click to hide internal directories.