Documentation
¶
Index ¶
- func ExpandSpecWithDependencies(specs map[string]types.Spec, index string) (*types.Spec, error)
- func GetASpec(specIndex, getToTopMostPath string, ctxArg *sdk.Context, keeper *keeper.Keeper) (specRet types.Spec, err error)
- func GetAllSpecsFromFile(path string) (map[string]types.Spec, error)
- func GetAllSpecsFromLocalDir(specPath string) (map[string]types.Spec, error)
- func GetAllSpecsFromPath(path string) (map[string]types.Spec, error)
- func GetSpecFromGit(repoURL string, index string) (types.Spec, error)
- func GetSpecFromGitLab(repoURL string, index string) (types.Spec, error)
- func GetSpecFromGitLabWithToken(repoURL string, index string, gitlabToken string) (types.Spec, error)
- func GetSpecFromGitWithToken(repoURL string, index string, githubToken string) (types.Spec, error)
- func GetSpecFromLocalDir(specPath string, index string) (types.Spec, error)
- func GetSpecFromPath(path string, specIndex string, ctxArg *sdk.Context, keeper *keeper.Keeper) (specRet types.Spec, err error)
- func SpecKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandSpecWithDependencies ¶ added in v5.8.0
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 ¶ added in v5.8.0
GetAllSpecsFromFile loads all specs from a single file without expansion. Returns a map of specs keyed by their chain ID (Index).
func GetAllSpecsFromLocalDir ¶ added in v5.8.0
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 ¶ added in v5.8.0
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 ¶ added in v5.4.1
GetSpecFromGit fetches a spec from a GitHub repository (unauthenticated). Deprecated: Use specfetcher.FetchSpecFromGitHub for new code.
func GetSpecFromGitLab ¶ added in v5.8.0
GetSpecFromGitLab fetches a spec from a GitLab repository (unauthenticated). Deprecated: Use specfetcher.FetchSpecFromGitLab for new code.
func GetSpecFromGitLabWithToken ¶ added in v5.8.0
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 ¶ added in v5.5.1
GetSpecFromGitWithToken fetches a spec from a GitHub repository with optional authentication. Deprecated: Use specfetcher.FetchSpecFromGitHub for new code.
func GetSpecFromLocalDir ¶ added in v5.4.1
func GetSpecFromPath ¶
Types ¶
This section is empty.