Documentation ¶ Index ¶ func For[T kclient.Object](ctx context.Context, c kclient.WithWatch, obj T, ...) (def T, _ error) func ForList[T kclient.Object](ctx context.Context, c kclient.WithWatch, obj T, namespace string, ...) error type ListOption type Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func For ¶ func For[T kclient.Object](ctx context.Context, c kclient.WithWatch, obj T, condition func(T) (bool, error), opts ...Option) (def T, _ error) func ForList ¶ added in v0.26.0 func ForList[T kclient.Object](ctx context.Context, c kclient.WithWatch, obj T, namespace string, condition func(T) (bool, error), opts ...ListOption) error Types ¶ type ListOption ¶ added in v0.26.0 type ListOption struct { Timeout time.Duration ListOptions []kclient.ListOption } type Option ¶ type Option struct { Timeout time.Duration Create bool WaitForExists bool } Source Files ¶ View all Source files waitfor.go Click to show internal directories. Click to hide internal directories.