Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
Accessor meta.MetadataAccessor
// contains filtered or unexported fields
}
Parser parses a list of Kustomization objects and extracts information from them.
func (*Parser) Add ¶
func (p *Parser) Add(list []sourcev1.GitRepository) error
Add a list of GitRepository objects to be parsed.
func (*Parser) Repositories ¶
func (p *Parser) Repositories() []Repository
Repositories gets the summary of repositories that were parsed.
type Repository ¶
type Repository struct {
URL string
Refs []RepositoryRef
}
Repository is a summarised version of a list of GitRepository objects.
type RepositoryRef ¶
type RepositoryRef struct {
types.NamespacedName
Ref sourcev1.GitRepositoryRef
}
RepositoryRef indicates which ref a specific GitRepository is tracking.
Click to show internal directories.
Click to hide internal directories.