types

package
v0.0.0-...-7ffc8d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterScheduling

type ClusterScheduling struct {
	SchedulingStatus []PodRequestScheduling `json:"schedulingStatus"`
}

ClusterScheduling define cluster scheduling status.

type NodeScheduling

type NodeScheduling struct {
	Node                   *v1.Node                 `json:"node,omitempty"`
	PredMaxschedulingCount int64                    `json:"predMaxschedulingCount"`
	LastReason             []PredicateFailureReason `json:"lastReason,omitempty"`
}

NodeScheduling define node scheduling status.

type PodRequestScheduling

type PodRequestScheduling struct {
	Pod                    *v1.Pod          `json:"pod"`
	PredMaxschedulingCount int64            `json:"predMaxschedulingCount"`
	NodeScheduling         []NodeScheduling `json:"nodeScheduling"`
}

PodRequestScheduling define pod scheduling status.

type PredicateFailureReason

type PredicateFailureReason interface {
	GetReason() string
	Error() string
}

PredicateFailureReason interface represents the failure reason of a predicate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL