config

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(kubeConfig string) (clientcmd.ClientConfig, error)

Types

type Management

type Management struct {
	Ctx        context.Context
	K8s        *kubernetes.Clientset
	GPUDevices map[string]hdevice.Devices

	CoreFactory     *corev1.Factory
	AppsFactory     *appsv1.Factory
	GPUStackFactory *gpustackv1.Factory
	// contains filtered or unexported fields
}

func NewManagementContext

func NewManagementContext(ctx context.Context, kubeConfig string) (*Management, error)

func (*Management) Start

func (m *Management) Start(threads int) error

Jump to

Keyboard shortcuts

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