skillsvc

package
v0.76.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 34 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 WithGitResolver added in v0.13.0

func WithGitResolver(gr gitresolver.Resolver) Option

WithGitResolver sets the git resolver for git:// skill installations.

func WithGroupManager added in v0.11.1

func WithGroupManager(mgr groups.Manager) Option

WithGroupManager sets the group manager for skill group membership.

func WithInstaller added in v0.10.0

func WithInstaller(inst skills.Installer) Option

WithInstaller sets the installer for filesystem operations.

func WithOCIStore added in v0.10.1

func WithOCIStore(store *ociskills.Store) Option

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.

func WithSigner added in v0.43.0

func WithSigner(sg signer.Signer) Option

WithSigner sets the artifact signer used by Push. Defaults to the Sigstore signer with the composite registry keychain.

func WithSkillLookup added in v0.12.5

func WithSkillLookup(sl SkillLookup) Option

WithSkillLookup sets the registry-based skill lookup for name resolution.

func WithVerifier added in v0.42.0

func WithVerifier(v verifier.Verifier) Option

WithVerifier sets the signature verifier used by install, sync, and upgrade. Strict OCI re-anchor upgrades additionally require v to implement verifier.OCISnapshotRetriever and fail explicitly when it does not. Defaults to the Sigstore verifier with the composite registry keychain.

type SkillLookup added in v0.12.5

type SkillLookup interface {
	SearchSkills(query string) ([]regtypes.Skill, error)
}

SkillLookup resolves a plain skill name against a registry/index. registry.Provider implicitly satisfies this interface.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL