Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { // AddModule adds a module based on a VCS repository. The VCS repository name must follow the naming convention // of the VCS implementation passed to the registry API on initialization. AddModule(ctx context.Context, vcsRepository string) error // UpdateModule updates the list of available versions for a module in the registry from its source repository. // This function is idempotent and adds the module to the storage if it does not exist yet. UpdateModule(ctx context.Context, moduleAddr module.Addr) error }
API describes the API interface for accessing the registry.
type ModuleAddFailedError ¶
func (ModuleAddFailedError) Error ¶
func (m ModuleAddFailedError) Error() string
func (ModuleAddFailedError) Unwrap ¶
func (m ModuleAddFailedError) Unwrap() error
type ModuleAlreadyExistsError ¶
func (ModuleAlreadyExistsError) Error ¶
func (m ModuleAlreadyExistsError) Error() string
type ModuleUpdateFailedError ¶
func (ModuleUpdateFailedError) Error ¶
func (m ModuleUpdateFailedError) Error() string
func (ModuleUpdateFailedError) Unwrap ¶
func (m ModuleUpdateFailedError) Unwrap() error
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
segmented-module-dump
command
Package main contains a tool to dump modules according to version batch sizes.
|
Package main contains a tool to dump modules according to version batch sizes. |
segmented-provider-dump
command
Package main contains a tool to dump providers according to version batch sizes.
|
Package main contains a tool to dump providers according to version batch sizes. |
internal
|
|
tools/license-headers
command
|
|
tools/lint
command
|
|
Click to show internal directories.
Click to hide internal directories.