// 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 runtime import ( "github.com/talos-systems/talos/pkg/machinery/config" ) // Runtime defines the runtime parameters. type Runtime interface { Config() config.Provider LoadAndValidateConfig([]byte) (config.Provider, error) SetConfig(config.Provider) error CanApplyImmediate(config.Provider) error State() State Events() EventStream Logging() LoggingManager NodeName() (string, error) }