gpusubscriberimpl

package
v0.0.0-...-424e0f7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package gpusubscriberimpl subscribes to GPU events

Package gpusubscriberimpl subscribes to GPU events

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponent

func NewComponent(reqs Requires) gpusubscriber.Component

NewComponent returns a new gpu subscriber.

Types

type NoopSubscriber

type NoopSubscriber struct{}

NoopSubscriber is a no-op implementation of the gpusubscriber.Component interface.

func (NoopSubscriber) GetGPUTags

func (s NoopSubscriber) GetGPUTags() map[int32][]string

GetGPUTags returns an empty map as a no-op implementation.

type Requires

type Requires struct {
	compdef.In
	Lc compdef.Lifecycle

	WMeta  workloadmeta.Component
	Tagger tagger.Component
}

Requires defines the dependencies of the gpu subscriber component.

Jump to

Keyboard shortcuts

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