catalogloader

package
v0.0.0-...-913a81e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 11 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL