 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func Appendable[T any, Subject datastruct.Appendable[T]](mk func(tb testing.TB) Subject, opts ...ListOption[T]) contract.Contract
- func Containable[T any, Subject SubjectContainable[T]](mk func(testing.TB) Subject, opts ...ListOption[T]) contract.Contract
- func KeyValueStore[K comparable, V any](make func(tb testing.TB) datastruct.KeyValueStore[K, V], ...) contract.Contract
- func List[T any, Subject datastruct.List[T]](mk func(tb testing.TB) Subject, opts ...ListOption[T]) contract.Contract
- func OrderedList[T any](make func(tb testing.TB) datastruct.List[T], opts ...ListOption[T]) contract.Contract
- func Sequence[T any](make contract.Make[datastruct.Sequence[T]], opts ...SequenceOption[T]) contract.Contract
- type KVSConfig
- type KVSOption
- type ListConfig
- type ListOption
- type SequenceConfig
- type SequenceOption
- type SubjectContainable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Appendable ¶ added in v0.307.0
func Appendable[T any, Subject datastruct.Appendable[T]](mk func(tb testing.TB) Subject, opts ...ListOption[T]) contract.Contract
func Containable ¶ added in v0.307.0
func Containable[T any, Subject SubjectContainable[T]](mk func(testing.TB) Subject, opts ...ListOption[T]) contract.Contract
func KeyValueStore ¶
func KeyValueStore[K comparable, V any](make func(tb testing.TB) datastruct.KeyValueStore[K, V], opts ...KVSOption[K, V]) contract.Contract
func List ¶
func List[T any, Subject datastruct.List[T]](mk func(tb testing.TB) Subject, opts ...ListOption[T]) contract.Contract
func OrderedList ¶
func OrderedList[T any](make func(tb testing.TB) datastruct.List[T], opts ...ListOption[T]) contract.Contract
func Sequence ¶
func Sequence[T any](make contract.Make[datastruct.Sequence[T]], opts ...SequenceOption[T]) contract.Contract
Types ¶
type ListConfig ¶
func (ListConfig[T]) Configure ¶
func (c ListConfig[T]) Configure(o *ListConfig[T])
type ListOption ¶
type ListOption[T any] interface { option.Option[ListConfig[T]] }
type SequenceConfig ¶
func (SequenceConfig[T]) Configure ¶
func (sc SequenceConfig[T]) Configure(t *SequenceConfig[T])
func (SequenceConfig[T]) ToListConfig ¶
func (sc SequenceConfig[T]) ToListConfig() ListConfig[T]
type SequenceOption ¶
type SequenceOption[T any] option.Option[SequenceConfig[T]]
type SubjectContainable ¶ added in v0.307.0
type SubjectContainable[T any] interface { datastruct.Containable[T] datastruct.Appendable[T] }
 Click to show internal directories. 
   Click to hide internal directories.