ocpconds

package
v2.7.1-0...-5f38440 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsOCPv0

type IsOCPv0 struct{}

IsOCPv0 checks if it is an OCP firmware of variant before 2022.

func (IsOCPv0) Check

func (IsOCPv0) Check(ctx context.Context, s *types.State) bool

Check implements types.Condition.

func (IsOCPv0) FirmwareVendorVersion

func (IsOCPv0) FirmwareVendorVersion() types.RawBytes

FirmwareVendorVersion returns the well-known PCD Firmware Vendor Version string.

type IsOCPv1

type IsOCPv1 struct{}

IsOCPv0 checks if it is an OCP firmware of variant after 2022.

func (IsOCPv1) Check

func (IsOCPv1) Check(ctx context.Context, s *types.State) bool

Check implements types.Condition.

func (IsOCPv1) FirmwareVendorVersion

func (IsOCPv1) FirmwareVendorVersion() types.RawBytes

FirmwareVendorVersion returns the well-known PCD Firmware Vendor Version string.

Jump to

Keyboard shortcuts

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