Documentation
¶
Overview ¶
Package services provide types and interfaces that defines the various abstract services that different virtual module implementations depend upon. The reason its extracted out like this is to prevent a circular dependency from virtual modules to tables package and vice-versa.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
Context is a key-value store that holds general configuration parameters for the "environment" in which a module/function is executed in. For instance, it can be used to hold API tokens or configuration.
type RepoLocator ¶
type RepoLocator interface { // Open opens the git repository specified by path. // The path need not be a file system path only and can also represent // a networked resource. The implementation should return a handle // to the initialized git repository instance, or throw an error. Open(ctx context.Context, path string) (*git.Repository, error) }
RepoLocator is a service that the virtual modules rely upon to create or open an existing git repository.
Click to show internal directories.
Click to hide internal directories.