keeper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 10 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandSpecWithDependencies

func ExpandSpecWithDependencies(specs map[string]types.Spec, index string) (*types.Spec, error)

ExpandSpecWithDependencies is the public version of expandSpecWithDependencies. It expands a spec by resolving all its dependencies (inherited specs) from a provided spec map.

func GetAllSpecsFromFile

func GetAllSpecsFromFile(path string) (map[string]types.Spec, error)

GetAllSpecsFromFile loads all specs from a single file without expansion. Returns a map of specs keyed by their chain ID (Index).

func GetAllSpecsFromLocalDir

func GetAllSpecsFromLocalDir(specPath string) (map[string]types.Spec, error)

GetAllSpecsFromLocalDir loads all specs from a local directory without expansion. Returns a map of specs keyed by their chain ID (Index). Later files in directory order override earlier ones for the same chain ID.

func GetAllSpecsFromPath

func GetAllSpecsFromPath(path string) (map[string]types.Spec, error)

GetAllSpecsFromPath loads all specs from a local path (file or directory) without expansion. Returns a map of specs keyed by their chain ID (Index).

func GetSpecFromGit

func GetSpecFromGit(repoURL string, index string) (types.Spec, error)

GetSpecFromGit fetches a spec from a GitHub repository (unauthenticated). Deprecated: Use specfetcher.FetchSpecFromGitHub for new code.

func GetSpecFromGitLab

func GetSpecFromGitLab(repoURL string, index string) (types.Spec, error)

GetSpecFromGitLab fetches a spec from a GitLab repository (unauthenticated). Deprecated: Use specfetcher.FetchSpecFromGitLab for new code.

func GetSpecFromGitLabWithToken

func GetSpecFromGitLabWithToken(repoURL string, index string, gitlabToken string) (types.Spec, error)

GetSpecFromGitLabWithToken fetches a spec from a GitLab repository with optional authentication. Deprecated: Use specfetcher.FetchSpecFromGitLab for new code.

func GetSpecFromGitWithToken

func GetSpecFromGitWithToken(repoURL string, index string, githubToken string) (types.Spec, error)

GetSpecFromGitWithToken fetches a spec from a GitHub repository with optional authentication. Deprecated: Use specfetcher.FetchSpecFromGitHub for new code.

func GetSpecFromLocalDir

func GetSpecFromLocalDir(specPath string, index string) (types.Spec, error)

func GetSpecFromLocalDirs

func GetSpecFromLocalDirs(specPaths []string, index string) (types.Spec, error)

GetSpecFromLocalDirs loads specs from multiple directories, merging them into a single pool before resolving the requested spec and its dependencies. Later directories override earlier ones for the same spec index.

Types

This section is empty.

Jump to

Keyboard shortcuts

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