mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-12 09:37:05 +02:00
This adds a command that lists all of the images used by Talos. This is useful in the case of airgap installs, so that users will know which images to pull. Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
31 lines
686 B
Go
31 lines
686 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/.
|
|
|
|
// +build integration_cli
|
|
|
|
package cli
|
|
|
|
import (
|
|
"github.com/talos-systems/talos/internal/integration/base"
|
|
)
|
|
|
|
// ImagesSuite verifies the images command.
|
|
type ImagesSuite struct {
|
|
base.CLISuite
|
|
}
|
|
|
|
// SuiteName ...
|
|
func (suite *ImagesSuite) SuiteName() string {
|
|
return "cli.ImagesSuite"
|
|
}
|
|
|
|
// TestSuccess verifies successful execution.
|
|
func (suite *ImagesSuite) TestSuccess() {
|
|
suite.RunCLI([]string{"images"})
|
|
}
|
|
|
|
func init() {
|
|
allSuites = append(allSuites, new(ImagesSuite))
|
|
}
|