Andrey Smirnov 4adb613f66 refactor: bring more control to install.Manifest execution
This unifies more code paths under the control of `install.Manifest` vs.
being split across the installer and manifest code.

There should be no functional changes now.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-20 01:08:14 -07:00

17 lines
482 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package bootloader
import (
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
)
// Bootloader describes a bootloader.
type Bootloader interface {
Labels() (string, string, error)
Install(string, interface{}, runtime.Sequence) error
Default(string) error
}