{"modulePath":"github.com/GoCodeAlone/workflow","version":"v0.68.2","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package stubprovider\n\nPackage stubprovider provides a build-tagged loadable EnginePlugin that registers an in-process \"stub\" iac.provider module. This plugin is intended for scenario testing and integration tests only — it must NOT be linked into production server binaries.\n\nLoading is controlled by the \"scenario\\_stub\" build tag (see plugins/all/extras\\_stub.go). Without the tag, plugins/all.DefaultPlugins() does not include this plugin and cmd/server cannot load it.\n\nThe registered module type is \"iac.provider\". When a config entry declares:\n\n\ttype: iac.provider\n\tconfig:\n\t  provider: stub\n\nthe module's Init validates the provider field and logs a clear warning that no real cloud operations will occur. The module registers a stubprovider.Provider as a service under its own name so infra.admin can resolve it via app.GetService(\\\u003cproviderModuleName\u003e, \u0026iacProvider).\n\n## Types\n\n```go\ntype Plugin struct {\n\tplugin.BaseEnginePlugin\n}\n```\nPlugin is the engine plugin that registers the stub iac.provider factory.\n\n```go\nfunc New() *Plugin\n```\nNew creates a new stub provider plugin.\n\n```go\nfunc (p *Plugin) ModuleFactories() map[string]plugin.ModuleFactory\n```\nModuleFactories returns a factory for \"iac.provider\" that produces a stubModule whose ProvidesServices registers a stubprovider.Provider.\n\n","path":"github.com/GoCodeAlone/workflow/plugins/stubprovider","name":"stubprovider","synopsis":"Package stubprovider provides a build-tagged loadable EnginePlugin that registers an in-process \"stub\" iac.provider module.","isRedistributable":true}
