package
1.46.2
Repository: https://github.com/flipt-io/flipt.git
Documentation: pkg.go.dev

# Functions

NewSnapshotStore constructs and configures a Store.
WithAuth returns an option which configures the auth method used by the provided source.
WithCABundle returns an option which configures the CA Bundle used for validating the TLS connection to the provided source.
WithDirectory sets a root directory which the store will walk from to discover feature flag state files.
WithFilesystemStorage configures the Git repository to clone into the local filesystem, instead of the default which is in-memory.
WithInsecureTLS returns an option which configures the insecure TLS setting for the provided source.
WithPollOptions configures the poller used to trigger update procedures.
WithRef configures the target reference to be used when fetching and building fs.FS implementations.
WithSemverResolver configures how the reference will be resolved for the repository.

# Constants

REFERENCE_CACHE_EXTRA_CAPACITY is the additionally capacity reserved in the cache for non-default references.

# Structs

SnapshotStore is an implementation of storage.SnapshotStore This implementation is backed by a Git repository and it tracks an upstream reference.