blob: 0396a5d7e0c7fdd9670b7ccfc74abad238d6d4c4 [file] [log] [blame]
package mounttable
type Collection interface {
// Export sets the value for a name. Overwrite controls the behavior when
// an entry exists, if Overwrite is true, then the binding is replaced,
// otherwise the call fails with an error. The Val must be no larger than
// MaxSize bytes.
Export(Val string, Overwrite bool) error
// Lookup retrieves the value associated with a name. Returns an error if
// there is no such binding.
Lookup() ([]byte, error)
}