Documentation ¶
Overview ¶
Package scenario defines types and utils used in the scenario
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeResources ¶
type NodeResources struct { // The UUID of the node UUID uuid.UUID // The amount of bytes of memory Memory int64 // The amount of milli CPUs in Kubernetes CPU int64 // The amount of bytes of storage Storage int64 // The amount of bytes of ephemeral storage EphemeralStorage int64 // The max amount of pods in Kubernetes MaxPods int64 // Identifier for type of node Label string }
NodeResources describe the resources of a single node, including the UUID of that node
type PodStatus ¶
type PodStatus int
PodStatus specifies the pod status
const ( // PodStatusUnset means there is no status set, used as a default PodStatusUnset PodStatus = iota // PodStatusPending means the pod is in the pending state PodStatusPending // PodStatusRunning means the pod is in the running state PodStatusRunning // PodStatusSucceeded means the pod is in the succeeded state PodStatusSucceeded // PodStatusFailed means the pod is in the failed state PodStatusFailed // PodStatusUnknown means the pod is in an unknown state PodStatusUnknown )
Click to show internal directories.
Click to hide internal directories.