Documentation
¶
Overview ¶
Package git provides the Git change detection plugin for TerraCi.
Index ¶
- type Plugin
- func (p *Plugin) Description() string
- func (p *Plugin) DetectChangedLibraries(_ context.Context, appCtx *plugin.AppContext, baseRef string, ...) ([]string, error)
- func (p *Plugin) DetectChangedModules(_ context.Context, appCtx *plugin.AppContext, baseRef string, ...) ([]*discovery.Module, []string, error)
- func (p *Plugin) Name() string
- func (p *Plugin) Preflight(_ context.Context, appCtx *plugin.AppContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct{}
Plugin is the Git change detection plugin.
func (*Plugin) Description ¶
func (*Plugin) DetectChangedLibraries ¶
func (p *Plugin) DetectChangedLibraries(_ context.Context, appCtx *plugin.AppContext, baseRef string, libraryPaths []string) ([]string, error)
DetectChangedLibraries returns library paths changed since the given base ref.
func (*Plugin) DetectChangedModules ¶
func (p *Plugin) DetectChangedModules(_ context.Context, appCtx *plugin.AppContext, baseRef string, moduleIndex *discovery.ModuleIndex) ([]*discovery.Module, []string, error)
DetectChangedModules returns modules changed since the given base ref.
Click to show internal directories.
Click to hide internal directories.