Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
contract.FactoryOperator
}
func NewClient ¶
func NewClient(opts ClientOptions) (Client, error)
type ClientOption ¶ added in v0.1.36
type ClientOption func(*ClientOptions)
func WithDefaultsRegistry ¶ added in v0.1.414
func WithDefaultsRegistry(x DefaultsRegistry) ClientOption
func WithToRegister ¶ added in v0.1.36
func WithToRegister(x ToRegister) ClientOption
type ClientOptions ¶ added in v0.1.36
type ClientOptions struct {
D DefaultsRegistry
T ToRegister
}
func ApplyClientOptions ¶ added in v0.1.36
func ApplyClientOptions(opts *ClientOptions, modifiers ...ClientOption) ClientOptions
type DefaultTool ¶ added in v0.1.11
func NewTool ¶
func NewTool(c Client, opts contract.ToolOptions[Client]) *DefaultTool
func (*DefaultTool) NewDefault ¶ added in v0.1.414
NewDefault retrieves a pre-registered default instance from the factory.
type DefaultsRegistry ¶ added in v0.1.414
DefaultsRegistry is a map of collection names to default values, each of which must implement engine.Record.
type ToRegister ¶ added in v0.1.36
Click to show internal directories.
Click to hide internal directories.