Documentation
¶
Index ¶
Constants ¶
View Source
const (
DeviceNvidiaGPUKey = "nvidia.com/gpu"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container struct { // ID of the container specified as a DNS_LABEL. Each Container must // have a unique name. ID string `json:"id"` // Image container image name. Image Image `json:"image"` // Command to execute. Command []string `json:"command"` // Ports list of port to expose from the container. Ports []uint16 `json:"ports"` // Resources compute resources required by container. Resource Resource `json:"resource"` Status string `json:"status"` }
type Resource ¶
type Resource struct { CPU struct { Cores uint `json:"cores"` } Memory struct { Size string `json:"size"` } Devices map[string]uint `json:"devices"` }
Resource compute resources required by container.
type SlurmApptainerActivities ¶
type SlurmApptainerActivities struct {
// contains filtered or unexported fields
}
func NewSlurmApptainerActivites ¶
func NewSlurmApptainerActivites(client *ssh.Client) *SlurmApptainerActivities
Click to show internal directories.
Click to hide internal directories.