{"modulePath":"github.com/newstack-cloud/bluelink/apps/deploy-engine","version":"v0.8.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pluginmeta\n\n## Types\n\n```go\ntype Lookup interface {\n\t// GetProviderMetadata returns the plugin ID and version for a provider namespace.\n\t// The providerNamespace is the last segment of the plugin ID (e.g., \"aws\" from \"newstack-cloud/aws\").\n\t// Returns nil if the provider is not registered.\n\tGetProviderMetadata(providerNamespace string) *ProviderMetadata\n}\n```\nLookup provides access to provider plugin metadata.\n\n```go\nfunc NewLookup(manager pluginservicev1.Manager) Lookup\n```\nNewLookup creates a new Lookup that retrieves provider metadata from the plugin manager.\n\n```go\ntype LookupFunc func(providerNamespace string) (pluginID, pluginVersion string)\n```\nLookupFunc is a function type that can be used as a provider metadata lookup. This is useful for passing to DeployContext where a simple function signature is preferred.\n\n```go\nfunc ToLookupFunc(lookup Lookup) LookupFunc\n```\nToLookupFunc converts a Lookup interface to a LookupFunc.\n\n```go\ntype ProviderMetadata struct {\n\tPluginID      string\n\tPluginVersion string\n}\n```\nProviderMetadata holds plugin identification for a provider.\n\n","path":"github.com/newstack-cloud/bluelink/apps/deploy-engine/internal/pluginmeta","name":"pluginmeta","synopsis":"","isRedistributable":true}
