internal

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package 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 (>= v0.80.17) via its NewInfraModuleFactory; this plugin no longer re-declares them.

Package internal contains the secret-admin pipeline steps.

step.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).

Each 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).

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Version 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.

Functions

func NewInfraPlugin

func NewInfraPlugin() sdk.PluginProvider

NewInfraPlugin returns a new infraPlugin instance.

func NewSecretDeleteStepFactory added in v1.7.0

func NewSecretDeleteStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)

NewSecretDeleteStepFactory returns a factory building step.secret_delete steps.

func NewSecretListStepFactory added in v1.7.0

func NewSecretListStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)

NewSecretListStepFactory returns a factory building step.secret_list steps.

func NewSecretVaultStatusStepFactory added in v1.7.0

func NewSecretVaultStatusStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)

NewSecretVaultStatusStepFactory returns a factory building step.secret_vault_status steps.

func NewSecretVaultTestStepFactory added in v1.7.0

func NewSecretVaultTestStepFactory() func(name string, config map[string]any, app modular.Application) (interfaces.PipelineStep, error)

NewSecretVaultTestStepFactory returns a factory building step.secret_vault_test steps.

Types

This section is empty.

Directories

Path Synopsis
dns

Jump to

Keyboard shortcuts

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