mirror of
https://github.com/siderolabs/talos.git
synced 2025-09-19 04:41:13 +02:00
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>
17 lines
482 B
Go
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
|
|
}
|