Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryParser ¶
RepositoryParser fetches archives from a GitRepository and parses the resources from them.
func NewRepositoryParser ¶
func NewRepositoryParser() *RepositoryParser
NewRepositoryParser creates and returns a RepositoryParser.
func (*RepositoryParser) ParseFromArtifacts ¶
func (p *RepositoryParser) ParseFromArtifacts(ctx context.Context, archiveURL, checksum string, dirs []kustomizationsetv1.GitRepositoryGeneratorDirectoryItem) ([]map[string]any, error)
ParseFromArtifacts extracts the archive and processes the files.
Click to show internal directories.
Click to hide internal directories.