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 RuntimeEnvironmentInterface ¶
type RuntimeEnvironmentInterface interface {
Create(ctx context.Context, obj *v1.RuntimeEnvironment) (*v1.RuntimeEnvironment, error)
Update(ctx context.Context, obj *v1.RuntimeEnvironment) (*v1.RuntimeEnvironment, error)
UpdateStatus(ctx context.Context, obj *v1.RuntimeEnvironment) (*v1.RuntimeEnvironment, error)
Delete(ctx context.Context, name string, options metav1.DeleteOptions) error
Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.RuntimeEnvironment, error)
List(ctx context.Context, opts metav1.ListOptions) (*v1.RuntimeEnvironmentList, error)
Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
}
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)
}
Click to show internal directories.
Click to hide internal directories.