Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KaminoCsvLoader ¶
type KaminoCsvLoader struct {
// contains filtered or unexported fields
}
KaminoCsvLoader specifc state for database Saver provider.
func NewLoader ¶
func NewLoader(ctx context.Context, log *logrus.Entry, ds datasource.Datasourcer) (*KaminoCsvLoader, error)
NewLoader open the encoding process on provider file, read the header from the first line and return a Loader compatible object.
func (*KaminoCsvLoader) Close ¶
func (cl *KaminoCsvLoader) Close(log *logrus.Entry) error
Close closes the datasource.
func (*KaminoCsvLoader) Name ¶
func (cl *KaminoCsvLoader) Name() string
Name give the name of the destination.
func (*KaminoCsvLoader) Next ¶
func (cl *KaminoCsvLoader) Next() bool
Next moves to next record and return false if there is no more records.
type KaminoCsvSaver ¶
type KaminoCsvSaver struct {
// contains filtered or unexported fields
}
KaminoCsvSaver specifc state for database Saver provider.
func NewSaver ¶
func NewSaver(ctx context.Context, log *logrus.Entry, ds datasource.Datasourcer) (*KaminoCsvSaver, error)
NewSaver open the encoding process on provider file and return a Saver compatible object.
func (*KaminoCsvSaver) Close ¶
func (cs *KaminoCsvSaver) Close(log *logrus.Entry) error
Close closes the destination.
func (*KaminoCsvSaver) Name ¶
func (cs *KaminoCsvSaver) Name() string
Name give the name of the destination.
Click to show internal directories.
Click to hide internal directories.