cmd

package
v0.0.0-...-d91ab75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TalosRelease      string
	KubernetesVersion string
)

TalosRelease and KubernetesVersion are set as build arguments.

Functions

func Execute

func Execute()

Execute root command.

func Should

func Should(err error)

Should panics if err != nil

Should is useful when error should never happen in customer environment, it can only be development error.

Types

type Options

type Options struct {
	SkipTeardown bool

	BootstrapClusterName    string
	BootstrapTalosVmlinuz   string
	BootstrapTalosInitramfs string
	BootstrapTalosInstaller string
	BootstrapCNIBundleURL   string
	BootstrapCIDR           string

	TalosKernelURL string
	TalosInitrdURL string

	ClusterctlConfigPath    string
	CoreProvider            string
	BootstrapProviders      []string
	InfrastructureProviders []string
	ControlPlaneProviders   []string

	RegistryMirrors []string

	ManagementNodes int

	BootstrapMemMB  int64
	BootstrapCPUs   int64
	BootstrapDiskGB int64

	ManagementMemMB  int64
	ManagementCPUs   int64
	ManagementDiskGB int64

	DefaultBootOrder string

	TalosctlPath string

	PowerSimulatedExplicitFailureProb float64
	PowerSimulatedSilentFailureProb   float64
}

Options control the sidero testing.

func DefaultOptions

func DefaultOptions() Options

DefaultOptions returns default settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL