Documentation ¶
Index ¶
- func GetNodes(ctx context.Context, c client.Client, selector labels.Selector) []corev1.Node
- func GetNodesByImageStatus(ctx context.Context, c client.Client, label string, status string) ([]corev1.Node, error)
- func SetupWithManager(mgr ctrl.Manager) error
- type Controller
- type ControllerErrors
- type ObservedState
- type StateObserver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodesByImageStatus ¶
func SetupWithManager ¶
Types ¶
type Controller ¶
type ControllerErrors ¶
type ControllerErrors string
const (
ErrNodesNotEmpty ControllerErrors = "nodes have not removed all images"
)
func (ControllerErrors) Error ¶
func (e ControllerErrors) Error() string
type ObservedState ¶
type ObservedState struct {
// contains filtered or unexported fields
}
func NewObservedState ¶
func NewObservedState() *ObservedState
Click to show internal directories.
Click to hide internal directories.