interfaces

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InferenceRelayInterface

type InferenceRelayInterface interface {
	Create(ctx context.Context, obj *v1.InferenceRelay) (*v1.InferenceRelay, error)
	Update(ctx context.Context, obj *v1.InferenceRelay) (*v1.InferenceRelay, error)
	UpdateStatus(ctx context.Context, obj *v1.InferenceRelay) (*v1.InferenceRelay, error)
	Delete(ctx context.Context, name string, options metav1.DeleteOptions) error
	Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.InferenceRelay, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.InferenceRelayList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
}

type KubernetesClient

type KubernetesClient interface {
	Start() error
	Stop()
	Clientset() kubernetes.Interface
	DynamicClient() dynamic.Interface
	RESTConfig() *rest.Config
	InformerFactory() informers.SharedInformerFactory
	LlmsafespacesV1() (LLMSafespacesV1Interface, error)
}

type LLMSafespacesV1Interface

type LLMSafespacesV1Interface interface {
	RuntimeEnvironments() RuntimeEnvironmentInterface
	Workspaces(namespace string) WorkspaceInterface
	InferenceRelays() InferenceRelayInterface
}

type LoggerInterface

type LoggerInterface interface {
	Debug(msg string, keysAndValues ...interface{})
	Info(msg string, keysAndValues ...interface{})
	Warn(msg string, keysAndValues ...interface{})
	Error(msg string, err error, keysAndValues ...interface{})
	Fatal(msg string, err error, keysAndValues ...interface{})
	With(keysAndValues ...interface{}) LoggerInterface
	Sync() error
}

LoggerInterface defines the interface for logging operations

type WorkspaceInterface

type WorkspaceInterface interface {
	Create(ctx context.Context, obj *v1.Workspace) (*v1.Workspace, error)
	Update(ctx context.Context, obj *v1.Workspace) (*v1.Workspace, error)
	UpdateStatus(ctx context.Context, obj *v1.Workspace) (*v1.Workspace, error)
	Delete(ctx context.Context, name string, options metav1.DeleteOptions) error
	Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.Workspace, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.WorkspaceList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions) (*v1.Workspace, error)
}

Jump to

Keyboard shortcuts

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