files

package
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesExtractor

type FilesExtractor struct{}

func New

func New() *FilesExtractor

func (*FilesExtractor) ExtractConfigurationsFromYamlFile

func (f *FilesExtractor) ExtractConfigurationsFromYamlFile(path string) (*[]extractor.Configuration, string, *extractor.InvalidFile)

func (*FilesExtractor) ExtractFilesConfigurations

func (f *FilesExtractor) ExtractFilesConfigurations(paths []string, concurrency int) (chan *extractor.FileConfigurations, chan *extractor.InvalidFile)

func (*FilesExtractor) ExtractYamlFileToUnknownStruct

func (f *FilesExtractor) ExtractYamlFileToUnknownStruct(path string) (UnknownStruct, error)

type FilesExtractorInterface

type FilesExtractorInterface interface {
	ExtractFilesConfigurations(paths []string, concurrency int) (chan *extractor.FileConfigurations, chan *extractor.InvalidFile)
	ExtractYamlFileToUnknownStruct(path string) (UnknownStruct, error)
}

type UnknownStruct

type UnknownStruct map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL