Documentation
¶
Index ¶
- func FilterFilesByPatterns(files []types.File, includePatterns, excludePatterns []string) []types.File
- func FilterFilesByPatternsPackageName(packages []types.Package, includePatterns, excludePatterns []string) []types.Package
- func GenOCIImagePath(host string, pathParams ...string) string
- func GetPyPIVersion(filename string) string
- func GetRegistryRef(account string, ref string, registry string) string
- func GetSkipPrinter() *pterm.PrefixPrinter
- func IsFileLevelFilterableArtifact(artifactType types.ArtifactType) bool
- func IsPackageLevelFilterableArtifact(artifactType types.ArtifactType) bool
- func MatchesPattern(filePath string, patterns []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterFilesByPatterns ¶ added in v1.3.3
func FilterFilesByPatternsPackageName ¶ added in v1.3.3
func FilterFilesByPatternsPackageName(packages []types.Package, includePatterns, excludePatterns []string) []types.Package
This is to filter based on package name
func GenOCIImagePath ¶
func GetPyPIVersion ¶
func GetSkipPrinter ¶
func GetSkipPrinter() *pterm.PrefixPrinter
func IsFileLevelFilterableArtifact ¶ added in v1.3.3
func IsFileLevelFilterableArtifact(artifactType types.ArtifactType) bool
func IsPackageLevelFilterableArtifact ¶ added in v1.3.3
func IsPackageLevelFilterableArtifact(artifactType types.ArtifactType) bool
func MatchesPattern ¶ added in v1.3.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.