Documentation ¶
Index ¶
- type KubernetesNodeInfoService
- func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetAllAvailableProcessingNodes() ([]*v1.Node, error)
- func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetAllNodes() ([]*v1.Node, error)
- func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetType(node *v1.Node) *NodeTypeIdentifier
- func (kubernetesNodeInfoService *KubernetesNodeInfoService) GroupNodesByType(nodes []*v1.Node) []*NodeGroup
- func (kubernetesNodeInfoService *KubernetesNodeInfoService) IsAvailableProcessingNode(node *v1.Node) bool
- type NodeGroup
- type NodeInfoService
- type NodeTypeIdentifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesNodeInfoService ¶
type KubernetesNodeInfoService struct {
// contains filtered or unexported fields
}
func NewKubernetesNodeInfoService ¶
func NewKubernetesNodeInfoService(clusterContext context.ClusterContext, toleratedTaints []string) *KubernetesNodeInfoService
func (*KubernetesNodeInfoService) GetAllAvailableProcessingNodes ¶
func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetAllAvailableProcessingNodes() ([]*v1.Node, error)
func (*KubernetesNodeInfoService) GetAllNodes ¶
func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetAllNodes() ([]*v1.Node, error)
func (*KubernetesNodeInfoService) GetType ¶
func (kubernetesNodeInfoService *KubernetesNodeInfoService) GetType(node *v1.Node) *NodeTypeIdentifier
func (*KubernetesNodeInfoService) GroupNodesByType ¶
func (kubernetesNodeInfoService *KubernetesNodeInfoService) GroupNodesByType(nodes []*v1.Node) []*NodeGroup
func (*KubernetesNodeInfoService) IsAvailableProcessingNode ¶ added in v0.3.65
func (kubernetesNodeInfoService *KubernetesNodeInfoService) IsAvailableProcessingNode(node *v1.Node) bool
type NodeGroup ¶
type NodeGroup struct { NodeType *NodeTypeIdentifier Nodes []*v1.Node }
type NodeInfoService ¶
type NodeTypeIdentifier ¶ added in v0.4.20
Click to show internal directories.
Click to hide internal directories.