worker

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NvidiaGPU = "nvidia.com/gpu"
)

Variables

This section is empty.

Functions

func DeleteWorkers

func DeleteWorkers(ctx context.Context, c client.Client, input *generated.DeleteCommonInput) (*string, error)

func ListWorkers

func ListWorkers(ctx context.Context, c client.Client, input generated.ListWorkerInput, showWorkerModel bool, listOpts ...common.ListOptionsFunc) (*generated.PaginatedResult, error)

func ReadWorker

func ReadWorker(ctx context.Context, c client.Client, name, namespace string) (*generated.Worker, error)

func Worker2model

func Worker2model(ctx context.Context, c client.Client, worker *v1alpha1.Worker, showModel bool) (*generated.Worker, error)

Worker2model convert unstructured `CR Worker` to graphql model

Types

This section is empty.

Jump to

Keyboard shortcuts

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