git

package
v0.0.0-...-05e5313 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryParser

type RepositoryParser struct {
	logr.Logger
	// contains filtered or unexported fields
}

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.

Jump to

Keyboard shortcuts

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