Documentation ¶
Index ¶
- func OptJobID(id string) func(*simJob) error
- func OptJobMaxFileCount(count int) func(*simJob) error
- func OptJobMaxFileSize(size int64) func(*simJob) error
- func OptJobMaxFilesPerDirectory(count int) func(*simJob) error
- func OptJobMinFileCount(count int) func(*simJob) error
- func OptJobMinFileSize(size int64) func(*simJob) error
- func OptJobMinFilesPerDirectory(count int) func(*simJob) error
- type Simulator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptJobMaxFileCount ¶
OptJobMaxFileCount sets the maximum file count for the job
func OptJobMaxFileSize ¶
OptJobMaxFileSize sets the maximum file size for the job
func OptJobMaxFilesPerDirectory ¶
OptJobMaxFilesPerDirectory sets the maximum file count per directory for the job
func OptJobMinFileCount ¶
OptJobMinFileCount sets the minimum file count for the job
func OptJobMinFileSize ¶
OptJobMinFileSize sets the minimum file size for the job
func OptJobMinFilesPerDirectory ¶
OptJobMinFilesPerDirectory sets the minimum file count per directory for the job
Types ¶
type Simulator ¶
type Simulator struct {
// contains filtered or unexported fields
}
Simulator implements a changelog simulator
func (*Simulator) NextRecord ¶
NextRecord returns the next simulated record
func (*Simulator) Start ¶
func (s *Simulator) Start()
Start indicates that the simulator should start collecting records
Click to show internal directories.
Click to hide internal directories.