Documentation ¶
Index ¶
- Constants
- func CreateWorker(ctx context.Context, c client.Client, input generated.CreateWorkerInput) (*generated.Worker, error)
- func DeleteWorkers(ctx context.Context, c client.Client, input *generated.DeleteCommonInput) (*string, error)
- func ListWorkers(ctx context.Context, c client.Client, input generated.ListWorkerInput, ...) (*generated.PaginatedResult, error)
- func ReadWorker(ctx context.Context, c client.Client, name, namespace string) (*generated.Worker, error)
- func UpdateWorker(ctx context.Context, c client.Client, input *generated.UpdateWorkerInput) (*generated.Worker, error)
- func Worker2model(ctx context.Context, c client.Client, worker *v1alpha1.Worker, showModel bool) (*generated.Worker, error)
Constants ¶
View Source
const (
NvidiaGPU = "nvidia.com/gpu"
)
Variables ¶
This section is empty.
Functions ¶
func CreateWorker ¶
func DeleteWorkers ¶
func ListWorkers ¶
func ListWorkers(ctx context.Context, c client.Client, input generated.ListWorkerInput, showWorkerModel bool, listOpts ...common.ListOptionsFunc) (*generated.PaginatedResult, error)
func ReadWorker ¶
func UpdateWorker ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.