Documentation
¶
Index ¶
- Constants
- type Store
- func (s *Store) Build(ctx context.Context, srcDir string, tag string, annotations map[string]string) error
- func (s *Store) Delete(ctx context.Context, target ocispec.Descriptor) error
- func (s *Store) Exists(ctx context.Context, target ocispec.Descriptor) (bool, error)
- func (s *Store) Fetch(ctx context.Context, target ocispec.Descriptor) (io.ReadCloser, error)
- func (s *Store) List(ctx context.Context) ([]string, error)
- func (s *Store) Prune(ctx context.Context) (int, int64, error)
- func (s *Store) Push(ctx context.Context, desc ocispec.Descriptor, r io.Reader) error
- func (s *Store) Resolve(ctx context.Context, ref string) (ocispec.Descriptor, error)
- func (s *Store) Tag(ctx context.Context, desc ocispec.Descriptor, reference string) error
Constants ¶
View Source
const ( MediaTypeSkillLayer = "application/vnd.agentskills.skill.layer.v1+tar+gzip" MediaTypeSkillConfig = "application/vnd.agentskills.skill.config.v1+json" StoreDirName = "skr/store" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Fetch ¶
func (s *Store) Fetch(ctx context.Context, target ocispec.Descriptor) (io.ReadCloser, error)
Fetch retrieves content by digest
Click to show internal directories.
Click to hide internal directories.