# Functions
GenerateBucket returns a Bucket model that the InfluxDB API accepts for creation and update.
GenerateBucketObservation converts an Bucket response to an observation.
IsNotFoundFn returns an ErrorIs function that can tell whether the error is of kind NotFound.
IsUpToDate returns whether an update call is necessary.
LateInitialize sets the defaults from the API if user didn't set a value for such fields.
Setup adds a controller that reconciles Bucket managed resources.