Documentation
¶
Overview ¶
Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0
Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0
Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0
Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- func ForEvent(ctx context.Context, client runtimeClient.WithWatch, eventWatcher Interface) bool
- func ForEventCustomTimeout(ctx context.Context, client runtimeClient.WithWatch, eventWatcher Interface, ...) bool
- type CheckCondition
- type GenericWatcher
- type Interface
- type PodsWatcher
- type PollCondition
- type PollWatcher
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FlowTimeout = 5 * time.Minute
)
Functions ¶
func ForEventCustomTimeout ¶
Types ¶
type CheckCondition ¶
type GenericWatcher ¶
type GenericWatcher[T any, PT interface { *T runtimeClient.ObjectList }] struct { // contains filtered or unexported fields }
func NewGenericWatcher ¶
func NewGenericWatcher[T any, PT interface { *T runtimeClient.ObjectList }]( client runtimeClient.WithWatch, condition CheckCondition, listOptions ...runtimeClient.ListOption, ) *GenericWatcher[T, PT]
type PodsWatcher ¶
type PodsWatcher struct {
// contains filtered or unexported fields
}
func NewPodsWatcher ¶
func NewPodsWatcher( client runtimeClient.WithWatch, condition CheckCondition, namespace string, pods []*corev1.Pod, minRequired int, ) *PodsWatcher
type PollCondition ¶
type PollCondition func() bool
type PollWatcher ¶
type PollWatcher struct {
// contains filtered or unexported fields
}
func NewPollWatcher ¶
func NewPollWatcher(client runtimeClient.WithWatch, condition PollCondition) *PollWatcher
Click to show internal directories.
Click to hide internal directories.