mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-21 14:41:12 +02:00
This moves from translating a config into an internal config representation, to using an interface. The idea is that an interface gives us stronger compile time checks, and will prevent us from having to copy from on struct to another. As long as a concrete type implements the Configurator interface, it can be used to provide instructions to Talos. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
20 lines
404 B
Go
20 lines
404 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 manifest
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
type validateSuite struct {
|
|
suite.Suite
|
|
}
|
|
|
|
func TestValidateSuite(t *testing.T) {
|
|
suite.Run(t, new(validateSuite))
|
|
}
|