Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repos ¶
type Repos interface { // GetFiles returns content of files (not directories) within the target repo GetFiles(ctx context.Context, repoURL string, revision string, pattern string, noRevisionCache bool) (map[string][]byte, error) // GetDirectories returns a list of directories (not files) within the target repo GetDirectories(ctx context.Context, repoURL string, revision string, noRevisionCache bool) ([]string, error) }
type RepositoryDB ¶
type RepositoryDB interface {
GetRepository(ctx context.Context, url string) (*v1alpha1.Repository, error)
}
RepositoryDB Is a lean facade for ArgoDB, Using a lean interface makes it easier to test the functionality of the git generator
Click to show internal directories.
Click to hide internal directories.