Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotModified is returned from a source when the data has not // been modified, identified based on the provided hash value ErrNotModified = errors.New("not modified") )
Functions ¶
func WithDataSource ¶
func WithDataSource(source DataSource, pollDuration time.Duration) containers.Option[Engine]
func WithPollDuration ¶
func WithPollDuration(dur time.Duration) containers.Option[Engine]
Types ¶
type CachedSource ¶
type DataSource ¶
type DataSource CachedSource[map[string]any]
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
type PolicySource ¶
type PolicySource CachedSource[[]byte]
Click to show internal directories.
Click to hide internal directories.