config

package
v0.1.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 15 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

	CoreFactory     *corev1.Factory
	AppsFactory     *appsv1.Factory
	GPUStackFactory *gpustackv1.Factory

	Accelerators map[string]common.Accelerator
	// 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