Documentation
¶
Index ¶
- Variables
- type Baremetal
- func (b *Baremetal) ApplyServices(ctx context.Context, cluster *biz.Cluster) error
- func (b *Baremetal) GetNodesSystemInfo(ctx context.Context, cluster *biz.Cluster) error
- func (b *Baremetal) HandlerNodes(cluster *biz.Cluster) error
- func (b *Baremetal) Install(ctx context.Context, cluster *biz.Cluster) error
- func (b *Baremetal) UnInstall(cluster *biz.Cluster) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Resource string = "resource" Shell string = "shell" NodeInitShell string = "nodeinit.sh" ComponentShell string = "component.sh" SystemInfoShell string = "systeminfo.sh" ClusterInstall string = "clusterinstall.sh" ClusterConfiguration string = "cluster-config.yaml" Install string = "install.yaml" ClusterInitAction string = "init" ClusterJoinAction string = "join" ClusterController string = "controller" ResourcePackageUrl = "https://github.com/f-rambo/infrastructure/releases/download/v0.0.1/resource-v0.0.1.tar.gz" )
View Source
var ARCH_MAP = map[string]string{
"x86_64": "amd64",
"aarch64": "arm64",
}
View Source
var ArchMap = map[string]biz.NodeArchType{ "x86_64": biz.NodeArchType_AMD64, "aarch64": biz.NodeArchType_ARM64, }
View Source
var GPUSpecMap = map[string]biz.NodeGPUSpec{ "nvidia-a10": biz.NodeGPUSpec_NVIDIA_A10, "nvidia-v100": biz.NodeGPUSpec_NVIDIA_V100, "nvidia-t4": biz.NodeGPUSpec_NVIDIA_T4, "nvidia-p100": biz.NodeGPUSpec_NVIDIA_P100, "nvidia-p4": biz.NodeGPUSpec_NVIDIA_P4, }
Functions ¶
This section is empty.
Types ¶
type Baremetal ¶
type Baremetal struct {
// contains filtered or unexported fields
}
func NewBaremetal ¶
func (*Baremetal) ApplyServices ¶
func (*Baremetal) GetNodesSystemInfo ¶
Click to show internal directories.
Click to hide internal directories.