Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseResources = corev1.ResourceList{ corev1.ResourceCPU: resource.MustParse("0"), corev1.ResourceMemory: resource.MustParse("0"), corev1.ResourcePods: resource.MustParse("0"), corev1.ResourceEphemeralStorage: resource.MustParse("0"), ResourceNode: resource.MustParse("0"), }
View Source
var ResourceNode = corev1.ResourceName("nodes")
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller for the resource
func NewController ¶
func NewController(kubeClient client.Client, cluster *state.Cluster) *Controller
NewController is a constructor
Click to show internal directories.
Click to hide internal directories.