Documentation
¶
Overview ¶
Package skillsvc provides the default implementation of skills.SkillService.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(store storage.SkillStore, opts ...Option) skills.SkillService
New creates a new SkillService backed by the given store.
Types ¶
type Option ¶ added in v0.10.0
type Option func(*service)
Option configures the skill service.
func WithInstaller ¶ added in v0.10.0
WithInstaller sets the installer for filesystem operations.
func WithOCIStore ¶ added in v0.10.1
WithOCIStore sets the local OCI store for skill artifacts.
func WithPackager ¶ added in v0.10.1
func WithPackager(p ociskills.SkillPackager) Option
WithPackager sets the skill packager for building OCI artifacts.
func WithPathResolver ¶ added in v0.10.0
func WithPathResolver(pr skills.PathResolver) Option
WithPathResolver sets the path resolver for skill installations.
func WithRegistryClient ¶ added in v0.10.1
func WithRegistryClient(rc ociskills.RegistryClient) Option
WithRegistryClient sets the registry client for push/pull operations.
Click to show internal directories.
Click to hide internal directories.