Documentation
¶
Index ¶
- func GetClusterNames() (sets.Set[string], error)
- type Cluster
- type ClusterCreateOption
- type ClusterCreateOptions
- type ClusterOption
- type ClusterOptions
- type Config
- type ConfigOption
- func WithConfigTemplate[T string | []byte](arg T) ConfigOption
- func WithConfigValues[T string | []byte](arg T) ConfigOption
- func WithDefaultName(name string) ConfigOption
- func WithFuncMap(funcMap template.FuncMap) ConfigOption
- func WithImage(image string) ConfigOption
- func WithNvml(nvml nvml.Interface) ConfigOption
- func WithOutput(stdout, stderr io.Writer) ConfigOption
- type ConfigOptions
- type GPUInfo
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster struct {
Name string
// contains filtered or unexported fields
}
func NewCluster ¶
func NewCluster(opts ...ClusterOption) (*Cluster, error)
func (*Cluster) Create ¶
func (c *Cluster) Create(opts ...ClusterCreateOption) error
func (*Cluster) PrintClusterInfo ¶
func (*Cluster) RegisterNvidiaRuntimeClass ¶
type ClusterCreateOption ¶
type ClusterCreateOption func(*ClusterCreateOptions)
func WithRetain ¶
func WithRetain() ClusterCreateOption
func WithWait ¶
func WithWait(wait time.Duration) ClusterCreateOption
type ClusterCreateOptions ¶
type ClusterCreateOptions struct {
// contains filtered or unexported fields
}
type ClusterOption ¶
type ClusterOption func(*ClusterOptions)
func WithConfig ¶
func WithConfig(config *Config) ClusterOption
func WithKubeConfig ¶
func WithKubeConfig(kubeconfig string) ClusterOption
func WithName ¶
func WithName(name string) ClusterOption
type ClusterOptions ¶
type ClusterOptions struct {
// contains filtered or unexported fields
}
type ConfigOption ¶
type ConfigOption func(*ConfigOptions)
func WithConfigTemplate ¶
func WithConfigTemplate[T string | []byte](arg T) ConfigOption
func WithConfigValues ¶
func WithConfigValues[T string | []byte](arg T) ConfigOption
func WithDefaultName ¶
func WithDefaultName(name string) ConfigOption
func WithFuncMap ¶
func WithFuncMap(funcMap template.FuncMap) ConfigOption
func WithImage ¶
func WithImage(image string) ConfigOption
func WithNvml ¶
func WithNvml(nvml nvml.Interface) ConfigOption
func WithOutput ¶
func WithOutput(stdout, stderr io.Writer) ConfigOption
type ConfigOptions ¶
type ConfigOptions struct {
// contains filtered or unexported fields
}
type Node ¶
type Node struct {
Name string
// contains filtered or unexported fields
}
func (*Node) ConfigureContainerRuntime ¶
func (*Node) GetGPUInfo ¶
func (*Node) InstallContainerToolkit ¶
func (*Node) PatchProcDriverNvidia ¶
Click to show internal directories.
Click to hide internal directories.