model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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