Documentation
¶
Index ¶
Constants ¶
View Source
const (
// name of our custom finalizer
FinalizerName = "function.adx-mon.azure.com/finalizer"
)
Variables ¶
This section is empty.
Functions ¶
func ConvertToTypedList ¶ added in v0.2.0
func ConvertToTypedList(objects []client.Object, list client.ObjectList) error
func FilterCompleted ¶ added in v0.2.0
FilterCompleted will filter out objects that are completed, as determined by their Conditions being in a "True" state and the ObservedGeneration matching the current generation of the object.
Types ¶
type CRDHandler ¶ added in v0.2.0
type CRDHandler interface {
List(ctx context.Context, list client.ObjectList, filters ...ListFilterFunc) error
UpdateStatus(ctx context.Context, obj client.Object, errStatus error) error
UpdateStatusWithKustoErrorParsing(ctx context.Context, obj client.Object, errStatus error) error
}
func NewCRDHandler ¶ added in v0.2.0
func NewCRDHandler(client client.Client, elector scheduler.Elector) CRDHandler
type ListFilterFunc ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.