v1alpha1

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the config.n8s.nebuly.ai v1alpha1 API group

Index

Constants

View Source
const (
	GroupName = "config.n8s.nebuly.ai"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type GpuPartitionerConfig

type GpuPartitionerConfig struct {
	metav1.TypeMeta                        `json:",inline"`
	cfg.ControllerManagerConfigurationSpec `json:",inline"`
	SchedulerConfigFile                    string        `json:"schedulerConfigFile,omitempty"`
	KnownMigGeometriesFile                 string        `json:"knownMigGeometriesFile,omitempty"`
	BatchWindowTimeoutSeconds              time.Duration `json:"batchWindowTimeoutSeconds"`
	BatchWindowIdleSeconds                 time.Duration `json:"batchWindowIdleSeconds"`
}

func (*GpuPartitionerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GpuPartitionerConfig.

func (*GpuPartitionerConfig) DeepCopyInto

func (in *GpuPartitionerConfig) DeepCopyInto(out *GpuPartitionerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GpuPartitionerConfig) DeepCopyObject

func (in *GpuPartitionerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GpuPartitionerConfig) Validate

func (c *GpuPartitionerConfig) Validate() error

type MigAgentConfig

type MigAgentConfig struct {
	metav1.TypeMeta                        `json:",inline"`
	cfg.ControllerManagerConfigurationSpec `json:",inline"`
	ReportConfigIntervalSeconds            time.Duration `json:"reportConfigIntervalSeconds"`
}

func (*MigAgentConfig) DeepCopy

func (in *MigAgentConfig) DeepCopy() *MigAgentConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigAgentConfig.

func (*MigAgentConfig) DeepCopyInto

func (in *MigAgentConfig) DeepCopyInto(out *MigAgentConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MigAgentConfig) DeepCopyObject

func (in *MigAgentConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OperatorConfig

type OperatorConfig struct {
	metav1.TypeMeta                        `json:",inline"`
	cfg.ControllerManagerConfigurationSpec `json:",inline"`
	NvidiaGpuResourceMemoryGB              int64 `json:"NvidiaGpuResourceMemoryGB"`
}

func (*OperatorConfig) DeepCopy

func (in *OperatorConfig) DeepCopy() *OperatorConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorConfig.

func (*OperatorConfig) DeepCopyInto

func (in *OperatorConfig) DeepCopyInto(out *OperatorConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperatorConfig) DeepCopyObject

func (in *OperatorConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

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