Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StartKeys ¶
type StartKeys struct {
// contains filtered or unexported fields
}
StartKeys maps each source ID and prefix to the key that ingestion will start from.
A nil value of StartKeys supports Get, Set and IsDirty, but have no effect.
func (*StartKeys) Get ¶
Get returns the corresponding start key for the supplied id and prefix. If the key is not present an empty string will be returned.
An empty string will also be returned for a nil StartKeys.
func (*StartKeys) IsDirty ¶
IsDirty returns true if the internal state of the keys has changed, and requires persistence to storage.
The function will always return false if StartKeys is nil.
func (*StartKeys) ReadYAML ¶
ReadYAML populates the data from the supplied reader containing YAML content.
Click to show internal directories.
Click to hide internal directories.