Documentation
¶
Index ¶
- type App
- func (a *App) Login(ctx context.Context, registry, user, pass string) error
- func (a *App) Pull(ctx context.Context, reference string) error
- func (a *App) Push(ctx context.Context, reference, path string) error
- func (a *App) Run(ctx context.Context, reference string, makeFlags, targets []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Cfg *config.Config // Cfg holds global configuration settings
// contains filtered or unexported fields
}
App is the main application object that coordinates interaction with the artifact store and the process runner.
func New ¶
New creates a new App given a configuration. It initializes the underlying store and runner.
func (*App) Login ¶
Login authenticates against the specified OCI registry. It tries flags first, then configuration, and finally prompts interactively for missing username or password.
func (*App) Pull ¶
Pull fetches a remote Makefile artifact and prints its contents to stdout. It first retrieves the file from cache or, on cache miss, from the registry.
Click to show internal directories.
Click to hide internal directories.