arch

package
v0.0.0-...-c3ae92a Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(clusters ...*base.ClusterContext) (err error, skip bool)

If the target clusters are found to contain any non-amd64 nodes, return true.

Notice that only the cluster is checked to be amd64; if the VM needs checked, use build flags or some other technique.

Usage: check first skip; only check err if skip is false. If skip is true, error will be non-nil, with information on why skipping

TODO: make it more granular, allow for hibrid clusters? TODO: allow for list of accepted archs?

func Skip

func Skip(t *testing.T, clusters ...*base.ClusterContext) error

Calls arch.Check, and skip the test as needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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