gpu

package
v0.0.0-...-e779149 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPUKind

type GPUKind struct {
	ResourceName string `json:"resourceName,omitempty" yaml:"resourceName,omitempty"`
	ResourceType string `json:"resourceType,omitempty" yaml:"resourceType,omitempty"`
	Default      bool   `json:"default,omitempty" yaml:"default,omitempty"`
}

type Options

type Options struct {
	Kinds []GPUKind `json:"kinds,omitempty" yaml:"kinds,omitempty"`
}

func NewGPUOptions

func NewGPUOptions() *Options

func (*Options) AddFlags

func (s *Options) AddFlags(fs *pflag.FlagSet, c *Options)

func (*Options) ApplyTo

func (s *Options) ApplyTo(options *Options)

func (*Options) Validate

func (s *Options) Validate() []error

Jump to

Keyboard shortcuts

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