nodeaffinity

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazyErrorNodeSelector

type LazyErrorNodeSelector struct {
	// contains filtered or unexported fields
}

func NewLazyErrorNodeSelector

func NewLazyErrorNodeSelector(ns *v1alpha1.NodeSelector) *LazyErrorNodeSelector

func (*LazyErrorNodeSelector) Match

func (s *LazyErrorNodeSelector) Match(node *v1alpha1.Node) (bool, error)

type RequiredNodeAffinity

type RequiredNodeAffinity struct {
	// contains filtered or unexported fields
}

func GetRequiredNodeAffinity

func GetRequiredNodeAffinity(inst *v1alpha1.Instance) RequiredNodeAffinity

func (RequiredNodeAffinity) Match

func (s RequiredNodeAffinity) Match(node *v1alpha1.Node) (bool, error)

Jump to

Keyboard shortcuts

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