fileparsing

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetYamlFiles

func GetYamlFiles(directory string, fileRegex *string) []string

GetYamlFiles gets all YAML files in a directory

Types

type Resource

type Resource struct {
	FileName string
	Yaml     unstructured.Unstructured
	Branch   git.BranchType
}

Resource represents a Kubernetes resource from a YAML file

func ParseYaml

func ParseYaml(dir string, files []string, branch git.BranchType) []Resource

ParseYaml parses YAML files into Resources

Jump to

Keyboard shortcuts

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