precheck

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package precheck evaluates prerequisite checks for enrollment and installation flows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportedArchitectures

func SupportedArchitectures() []string

Types

type Check

type Check struct {
	Name    string
	Passed  bool
	Message string
}

type Input

type Input struct {
	MachineInfo     *machineinfo.MachineInfo
	NVAttestPresent *bool
	DCGMReachable   *bool
	DCGMVersion     string
}

func CollectInput

func CollectInput() (Input, error)

type Result

type Result struct {
	Checks []Check
}

func Evaluate

func Evaluate(input Input) Result

func Run

func Run() (Result, error)

func (Result) FailedChecks

func (r Result) FailedChecks() []Check

func (Result) Passed

func (r Result) Passed() bool

Jump to

Keyboard shortcuts

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