Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnmatchedGitTag = errors.New("unmatched git tag")
)
Functions ¶
This section is empty.
Types ¶
type GitLoader ¶
type GitLoader struct {
// contains filtered or unexported fields
}
func NewGitLoader ¶
func NewGitLoader(repo *git.Repository, integrationsDirName string) GitLoader
func (GitLoader) LoadIntegrations ¶
func (l GitLoader) LoadIntegrations() (types.Integrations, error)
func (GitLoader) NewIntegrationLoader ¶
func (l GitLoader) NewIntegrationLoader(integration types.IntegrationVersion) integrationloader.Loader
type Loader ¶
type Loader interface { LoadIntegrations() (types.Integrations, error) NewIntegrationLoader(integration types.IntegrationVersion) integrationloader.Loader }
type PathLoader ¶
type PathLoader struct {
// contains filtered or unexported fields
}
func NewPathLoader ¶
func NewPathLoader(repoPath string, integrationsDirName string) PathLoader
func (PathLoader) IntegrationsAbsPath ¶
func (l PathLoader) IntegrationsAbsPath() string
func (PathLoader) LoadIntegrations ¶
func (l PathLoader) LoadIntegrations() (types.Integrations, error)
func (PathLoader) NewIntegrationLoader ¶
func (l PathLoader) NewIntegrationLoader(integration types.IntegrationVersion) integrationloader.Loader
type SnapshotLoader ¶
type SnapshotLoader struct {
// contains filtered or unexported fields
}
func NewSnapshotLoader ¶
func NewSnapshotLoader(repo *git.Repository, repoPath string, integrationsDirName string) SnapshotLoader
func (SnapshotLoader) LoadIntegrations ¶
func (l SnapshotLoader) LoadIntegrations() (types.Integrations, error)
func (SnapshotLoader) NewIntegrationLoader ¶
func (l SnapshotLoader) NewIntegrationLoader(integration types.IntegrationVersion) integrationloader.Loader
Click to show internal directories.
Click to hide internal directories.