atlasplugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package atlasplugin provides the Atlas migration driver plugin. Atlas has larger dependencies (HCL toolchain) so it ships as a separate binary to keep the main workflow-plugin-migrations binary lean.

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Version is set at build time via -ldflags.

Functions

func NewPlugin

func NewPlugin() sdk.PluginProvider

NewPlugin returns a new AtlasPlugin.

Types

type AtlasPlugin

type AtlasPlugin struct{}

AtlasPlugin implements sdk.PluginProvider for the Atlas driver.

func (*AtlasPlugin) CreateModule

func (p *AtlasPlugin) CreateModule(typeName, name string, rawCfg map[string]any) (sdk.ModuleInstance, error)

CreateModule creates a module instance for the requested type. This binary ships all three drivers (golang-migrate, goose, atlas) but the atlas driver is the primary addition over the main plugin binary.

func (*AtlasPlugin) CreateStep

func (p *AtlasPlugin) CreateStep(typeName, name string, _ map[string]any) (sdk.StepInstance, error)

CreateStep returns an error — use the main plugin binary for pipeline steps.

func (*AtlasPlugin) Manifest

func (p *AtlasPlugin) Manifest() sdk.PluginManifest

Manifest returns plugin metadata.

func (*AtlasPlugin) ModuleTypes

func (p *AtlasPlugin) ModuleTypes() []string

ModuleTypes returns the module types this plugin provides.

func (*AtlasPlugin) StepTypes

func (p *AtlasPlugin) StepTypes() []string

StepTypes returns nil — steps are handled by the main plugin binary.

Jump to

Keyboard shortcuts

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