Documentation ¶
Index ¶
- type UnarchiveDataSourceModel
- func (z *UnarchiveDataSourceModel) AddFileNames(filenames []string)
- func (c UnarchiveDataSourceModel) DecideOutputDir() string
- func (c UnarchiveDataSourceModel) ExcludePatterns() extract.TestFunc
- func (c UnarchiveDataSourceModel) IncludePatterns() extract.TestFunc
- func (c UnarchiveDataSourceModel) IsFlat() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnarchiveDataSourceModel ¶
type UnarchiveDataSourceModel struct { FileName types.String `tfsdk:"file_name"` Output types.String `tfsdk:"output"` Includes types.List `tfsdk:"includes"` Excludes types.List `tfsdk:"excludes"` Flat types.Bool `tfsdk:"flat"` Type types.String `tfsdk:"type"` FileNames types.List `tfsdk:"file_names"` }
UnarchiveDataSourceModel is unarchive data source model
func (*UnarchiveDataSourceModel) AddFileNames ¶
func (z *UnarchiveDataSourceModel) AddFileNames(filenames []string)
AddFileNames adds all the output file names to the result
func (UnarchiveDataSourceModel) DecideOutputDir ¶
func (c UnarchiveDataSourceModel) DecideOutputDir() string
DecideOutputDir gets the final output directory
func (UnarchiveDataSourceModel) ExcludePatterns ¶
func (c UnarchiveDataSourceModel) ExcludePatterns() extract.TestFunc
ExcludePatterns return a function helps to filter which file is excluded
func (UnarchiveDataSourceModel) IncludePatterns ¶
func (c UnarchiveDataSourceModel) IncludePatterns() extract.TestFunc
IncludePatterns return a function helps to filter which file is included
func (UnarchiveDataSourceModel) IsFlat ¶
func (c UnarchiveDataSourceModel) IsFlat() bool
IsFlat is if the output file should be flatted
Click to show internal directories.
Click to hide internal directories.