Versions in this module Expand all Collapse all v3 v3.3.0 Jul 18, 2024 Changes in this version + const ListInputProvider + const MultiFormatInputProvider + const SimpleListInputProvider + var ErrInactiveInput = fmt.Errorf("input is inactive") + var ErrNotImplemented = errorutil.NewWithFmt("provider %s does not implement %s") + func IsErrNotImplemented(err error) bool + func SupportedInputFormats() string + type ChunkedInputProvider interface + Count func() int64 + InputType func() string + Iterate func(callback func(value *contextargs.MetaInput) bool) + NextChunk func() bool + Set func(value string) + SetWithExclusions func(value string) error + SetWithProbe func(value string, probe types.InputLivenessProbe) error + type InputOptions struct + NotFoundCallback func(template string) bool + Options *configTypes.Options + type InputProvider interface + Close func() + Count func() int64 + InputType func() string + Iterate func(callback func(value *contextargs.MetaInput) bool) + Set func(value string) + SetWithExclusions func(value string) error + SetWithProbe func(value string, probe types.InputLivenessProbe) error + func NewInputProvider(opts InputOptions) (InputProvider, error) + type SimpleInputProvider struct + Inputs []*contextargs.MetaInput + func NewSimpleInputProvider() *SimpleInputProvider + func NewSimpleInputProviderWithUrls(urls ...string) *SimpleInputProvider + func (s *SimpleInputProvider) Close() + func (s *SimpleInputProvider) Count() int64 + func (s *SimpleInputProvider) InputType() string + func (s *SimpleInputProvider) Iterate(callback func(value *contextargs.MetaInput) bool) + func (s *SimpleInputProvider) Set(value string) + func (s *SimpleInputProvider) SetWithExclusions(value string) error + func (s *SimpleInputProvider) SetWithProbe(value string, probe types.InputLivenessProbe) error