# Functions
Build a local state for namespace.
DefaultStateOptions returns default value of StateOptions.
ErrAlreadyExists generates error compatible with state.ErrConflict.
ErrNotFound generates error compatible with state.ErrNotFound.
ErrOwnerConflict generates error compatible with state.ErrConflict.
ErrPendingFinalizers generates error compatible with state.ErrConflict.
ErrPhaseConflict generates error compatible with ErrConflict.
ErrUpdateSameVersion generates error compatible with state.ErrConflict.
ErrVersionConflict generates error compatible with state.ErrConflict.
NewResourceCollection returns new ResourceCollection.
NewStateWithOptions returns state builder function with options.
WithBackingStore sets a BackingStore for a in-memory resource collection.
WithHistoryCapacity sets history depth for a given namspace and resource.
WithHistoryGap sets a safety gap between watch events consumers and events producers.
WithHistoryInitialCapacity sets initial history depth for a given namspace and resource.
WithHistoryMaxCapacity sets history depth for a given namspace and resource.
# Variables
NewState creates new State with default options.
# Structs
ResourceCollection implements slice of State (by resource type).
State implements state.CoreState.
StateOptions configure inmem.State.
# Interfaces
BackingStore provides a way to persist contents of in-memory resource collection.
# Type aliases
LoadHandler is called for each resource loaded from the backing store.
StateOption applies settings to StateOptions.