Documentation ¶
Index ¶
- func ConvertSliceToMap(inputs []string, kind string) (map[string]string, error)
- func ConvertToMap(input string, kind string) (map[string]string, error)
- func GlobPatterns(fSys filesys.FileSystem, patterns []string) ([]string, error)
- func GlobPatternsWithLoader(fSys filesys.FileSystem, ldr ifc.Loader, patterns []string) ([]string, error)
- type BuildMetadataValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSliceToMap ¶
ConvertSliceToMap converts a slice of strings in the form of `key:value` into a map.
func ConvertToMap ¶
ConvertToMap converts a string in the form of `key:value,key:value,...` into a map.
func GlobPatterns ¶
func GlobPatterns(fSys filesys.FileSystem, patterns []string) ([]string, error)
GlobPatterns accepts a slice of glob strings and returns the set of matching file paths.
func GlobPatternsWithLoader ¶
func GlobPatternsWithLoader(fSys filesys.FileSystem, ldr ifc.Loader, patterns []string) ([]string, error)
GlobPatterns accepts a slice of glob strings and returns the set of matching file paths. If files are not found, will try load from remote.
Types ¶
type BuildMetadataValidator ¶ added in v4.5.0
type BuildMetadataValidator struct{}
Click to show internal directories.
Click to hide internal directories.