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) (map[string][]byte, error) // GetDirectories returns a list of directories (not files) within the target repo GetDirectories(ctx context.Context, repoURL string, revision string) ([]string, error) }
func NewArgoCDService ¶
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 more easy to test the functionality the git generator uses
Click to show internal directories.
Click to hide internal directories.