Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SplitFileFormatClassic represents the file format of the standard split definition file <feature treatment> SplitFileFormatClassic = iota // SplitFileFormatJSON represents the file format of a JSON representation of split dtos SplitFileFormatJSON // SplitFileFormatYAML represents the file format of a YAML representation of split dtos SplitFileFormatYAML )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSplitFetcher ¶
type FileSplitFetcher struct {
// contains filtered or unexported fields
}
FileSplitFetcher struct fetches splits from a file
func NewFileSplitFetcher ¶
func NewFileSplitFetcher(splitFile string, logger logging.LoggerInterface) *FileSplitFetcher
NewFileSplitFetcher returns a new instance of LocalFileSplitFetcher
func (*FileSplitFetcher) Fetch ¶
func (s *FileSplitFetcher) Fetch(changeNumber int64, _ bool) (*dtos.SplitChangesDTO, error)
Fetch parses the file and returns the appropriate structures
Click to show internal directories.
Click to hide internal directories.