Documentation
¶
Overview ¶
Package bootstrap composes plugin descriptors, runtimes, and existing Atmos registries.
Index ¶
- func DescribePackage(directory string, definition *manifest.Config, bindings []extension.Binding) (*pluginv1.DescribeResponse, error)
- func Descriptors() (*extension.Registry, error)
- func Prepare(ctx context.Context, atmos *schema.AtmosConfiguration, options ...Option) (func(), error)
- func PrepareAvailable(ctx context.Context, atmos *schema.AtmosConfiguration, options ...Option) (func(), error)
- func ProjectDirectory(config *schema.AtmosConfiguration) string
- func Run(ctx context.Context, atmos *schema.AtmosConfiguration, alias string, ...) error
- type ConstructorSet
- type Option
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribePackage ¶
func DescribePackage(directory string, definition *manifest.Config, bindings []extension.Binding) (*pluginv1.DescribeResponse, error)
DescribePackage derives the required runtime handshake from validated package metadata.
func Descriptors ¶
Descriptors declares supported extension types. Lifecycle code receives this registry rather than switching over a closed list of capability names.
func Prepare ¶
func Prepare(ctx context.Context, atmos *schema.AtmosConfiguration, options ...Option) (func(), error)
Prepare restores the project packages the configuration needs (see neededPackages) and registers their exports before auth initialization. Native binaries launch lazily when their services run.
func PrepareAvailable ¶
func PrepareAvailable(ctx context.Context, atmos *schema.AtmosConfiguration, options ...Option) (func(), error)
PrepareAvailable temporarily registers verified local auth plugins needed by configured registry identities. It never restores packages or contacts a registry.
func ProjectDirectory ¶
func ProjectDirectory(config *schema.AtmosConfiguration) string
ProjectDirectory locates project-local plugin state using resolved config provenance.
Types ¶
type ConstructorSet ¶
type ConstructorSet struct {
Batch authregistry.Registration
Services adapter.Services
Credentials *credential.Registry
Commands map[string]*extension.Activation
}
ConstructorSet accumulates all package exports before atomically installing them.