entrypoint

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginNamespace = "devices.anza-labs.dev"
)

Variables

This section is empty.

Functions

func Run

func Run(
	ctx context.Context,
	log *slog.Logger,
	devicePluginServer Server,
	healthServer HealthServer,
) error

Types

type HealthServer added in v0.1.2

type HealthServer interface {
	grpc_health_v1.HealthServer
	SetServingStatus(service string, servingStatus grpc_health_v1.HealthCheckResponse_ServingStatus)
}

type Server

type Server interface {
	v1beta1.DevicePluginServer
	Name() string
	Socket() string
}

Jump to

Keyboard shortcuts

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