Documentation
¶
Index ¶
- Variables
- func EqualDecisions(src, dst []corev1.ObjectReference) bool
- func EqualRecommendations(src, dst []corev1alpha1.ScoredObjectReference) bool
- func GenKey(or corev1.ObjectReference) string
- func GetAdvisor(instance *corev1alpha1.PlacementRule, advisorName string) *corev1alpha1.Advisor
- func IsSameRecommendation(instance *corev1alpha1.PlacementRule, advisorName string, ...) bool
- func MakeRecommendation(instance *corev1alpha1.PlacementRule, advisorName string, ...)
- func Recommended(instance *corev1alpha1.PlacementRule, advisorName string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EmptyRecommendatation = []corev1.ObjectReference{
zeroObjectReference,
}
)
Functions ¶
func EqualDecisions ¶
func EqualDecisions(src, dst []corev1.ObjectReference) bool
func EqualRecommendations ¶
func EqualRecommendations(src, dst []corev1alpha1.ScoredObjectReference) bool
func GenKey ¶
func GenKey(or corev1.ObjectReference) string
func GetAdvisor ¶
func GetAdvisor(instance *corev1alpha1.PlacementRule, advisorName string) *corev1alpha1.Advisor
func IsSameRecommendation ¶
func IsSameRecommendation(instance *corev1alpha1.PlacementRule, advisorName string, rec []corev1alpha1.ScoredObjectReference) bool
func MakeRecommendation ¶
func MakeRecommendation(instance *corev1alpha1.PlacementRule, advisorName string, rec []corev1alpha1.ScoredObjectReference)
func Recommended ¶
func Recommended(instance *corev1alpha1.PlacementRule, advisorName string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.