Documentation ¶
Overview ¶
Code generated by github.com/ecordell/optgen. DO NOT EDIT.
Index ¶
- type ExperimentalServerOptions
- func ExperimentalServerOptionsWithOptions(e *ExperimentalServerOptions, opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
- func NewExperimentalServerOptionsWithOptions(opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
- func NewExperimentalServerOptionsWithOptionsAndDefaults(opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
- type ExperimentalServerOptionsOption
- func WithBulkCheckMaxConcurrency(bulkCheckMaxConcurrency uint16) ExperimentalServerOptionsOption
- func WithDefaultExportBatchSize(defaultExportBatchSize uint32) ExperimentalServerOptionsOption
- func WithMaxExportBatchSize(maxExportBatchSize uint32) ExperimentalServerOptionsOption
- func WithStreamReadTimeout(streamReadTimeout time.Duration) ExperimentalServerOptionsOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExperimentalServerOptions ¶
type ExperimentalServerOptions struct { StreamReadTimeout time.Duration `debugmap:"visible" default:"600s"` DefaultExportBatchSize uint32 `debugmap:"visible" default:"1_000"` MaxExportBatchSize uint32 `debugmap:"visible" default:"100_000"` BulkCheckMaxConcurrency uint16 `debugmap:"visible" default:"50"` }
func ExperimentalServerOptionsWithOptions ¶
func ExperimentalServerOptionsWithOptions(e *ExperimentalServerOptions, opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
ExperimentalServerOptionsWithOptions configures an existing ExperimentalServerOptions with the passed in options set
func NewExperimentalServerOptionsWithOptions ¶
func NewExperimentalServerOptionsWithOptions(opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
NewExperimentalServerOptionsWithOptions creates a new ExperimentalServerOptions with the passed in options set
func NewExperimentalServerOptionsWithOptionsAndDefaults ¶
func NewExperimentalServerOptionsWithOptionsAndDefaults(opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
NewExperimentalServerOptionsWithOptionsAndDefaults creates a new ExperimentalServerOptions with the passed in options set starting from the defaults
func (ExperimentalServerOptions) DebugMap ¶
func (e ExperimentalServerOptions) DebugMap() map[string]any
DebugMap returns a map form of ExperimentalServerOptions for debugging
func (*ExperimentalServerOptions) ToOption ¶
func (e *ExperimentalServerOptions) ToOption() ExperimentalServerOptionsOption
ToOption returns a new ExperimentalServerOptionsOption that sets the values from the passed in ExperimentalServerOptions
func (*ExperimentalServerOptions) WithOptions ¶
func (e *ExperimentalServerOptions) WithOptions(opts ...ExperimentalServerOptionsOption) *ExperimentalServerOptions
WithOptions configures the receiver ExperimentalServerOptions with the passed in options set
type ExperimentalServerOptionsOption ¶
type ExperimentalServerOptionsOption func(e *ExperimentalServerOptions)
func WithBulkCheckMaxConcurrency ¶ added in v1.25.0
func WithBulkCheckMaxConcurrency(bulkCheckMaxConcurrency uint16) ExperimentalServerOptionsOption
WithBulkCheckMaxConcurrency returns an option that can set BulkCheckMaxConcurrency on a ExperimentalServerOptions
func WithDefaultExportBatchSize ¶
func WithDefaultExportBatchSize(defaultExportBatchSize uint32) ExperimentalServerOptionsOption
WithDefaultExportBatchSize returns an option that can set DefaultExportBatchSize on a ExperimentalServerOptions
func WithMaxExportBatchSize ¶
func WithMaxExportBatchSize(maxExportBatchSize uint32) ExperimentalServerOptionsOption
WithMaxExportBatchSize returns an option that can set MaxExportBatchSize on a ExperimentalServerOptions
func WithStreamReadTimeout ¶
func WithStreamReadTimeout(streamReadTimeout time.Duration) ExperimentalServerOptionsOption
WithStreamReadTimeout returns an option that can set StreamReadTimeout on a ExperimentalServerOptions