{"modulePath":"github.com/GoCodeAlone/workflow-plugin-infra","version":"v1.7.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package internal\n\nPackage internal implements the workflow-plugin-infra external plugin, providing the plugin-owned infra.\\* module types (infra.http\\_redirect and infra.admin). The generic infra.\\* resource types are owned by the workflow engine (\u003e= v0.80.17) via its NewInfraModuleFactory; this plugin no longer re-declares them.\n\nPackage internal contains the secret-admin pipeline steps.\n\nstep.secret\\_list / step.secret\\_delete / step.secret\\_vault\\_status / step.secret\\_vault\\_test are the first stepTypes owned by workflow-plugin-infra. They are written NATIVELY as in-process plugin.StepFactory (ADR 0056 dual-shape): Execute takes a \\*interfaces.PipelineContext and returns an \\*interfaces.StepResult directly — no reverse sdk bridge is required (unlike workflow-plugin-auth's existing sdk steps).\n\nEach step resolves a secrets.Provider from the host application's service registry by the configured \\`module:\\` key. Built-in secrets modules (module/secrets\\_vault.go, module/secrets\\_aws.go) register themselves under their config \\`name\\` and expose the underlying provider via a Provider() accessor; this file mirrors the resolver-accessor pattern established by the engine's step.secret\\_set (module/pipeline\\_step\\_secret\\_set.go).\n\n## Variables\n\n```go\nvar Version = \"0.0.0\"\n```\nVersion is set at build time via -ldflags \"-X github.com/GoCodeAlone/workflow-plugin-infra/internal.Version=X.Y.Z\". Default is a bare semver so plugin loaders that validate semver accept unreleased dev builds; goreleaser overrides with the real release tag.\n\n## Functions\n\n```go\nfunc NewInfraPlugin() sdk.PluginProvider\n```\nNewInfraPlugin returns a new infraPlugin instance.\n\n```go\nfunc NewSecretDeleteStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)\n```\nNewSecretDeleteStepFactory returns a factory building step.secret\\_delete steps.\n\n```go\nfunc NewSecretListStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)\n```\nNewSecretListStepFactory returns a factory building step.secret\\_list steps.\n\n```go\nfunc NewSecretVaultStatusStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)\n```\nNewSecretVaultStatusStepFactory returns a factory building step.secret\\_vault\\_status steps.\n\n```go\nfunc NewSecretVaultTestStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)\n```\nNewSecretVaultTestStepFactory returns a factory building step.secret\\_vault\\_test steps.\n\n","path":"github.com/GoCodeAlone/workflow-plugin-infra/internal","name":"internal","synopsis":"Package internal implements the workflow-plugin-infra external plugin, providing the plugin-owned infra.* module types (infra.http_redirect and infra.admin).","isRedistributable":true}
