Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeadingRepositoryDefined ¶ added in v0.6.0
func NewLeadingRepositoryDefined(baseDir string) tractusx.QualityGuideline
func NewRepoStructureExists ¶ added in v0.6.0
func NewRepoStructureExists(baseDir string) tractusx.QualityGuideline
Types ¶
type LeadingRepositoryDefined ¶ added in v0.6.0
type LeadingRepositoryDefined struct {
// contains filtered or unexported fields
}
func (*LeadingRepositoryDefined) Description ¶ added in v0.6.0
func (l *LeadingRepositoryDefined) Description() string
func (*LeadingRepositoryDefined) ExternalDescription ¶ added in v0.6.0
func (l *LeadingRepositoryDefined) ExternalDescription() string
func (*LeadingRepositoryDefined) IsOptional ¶ added in v0.6.0
func (l *LeadingRepositoryDefined) IsOptional() bool
func (*LeadingRepositoryDefined) Name ¶ added in v0.6.0
func (l *LeadingRepositoryDefined) Name() string
func (*LeadingRepositoryDefined) Test ¶ added in v0.6.0
func (l *LeadingRepositoryDefined) Test() *tractusx.QualityResult
type RepoInfo ¶
RepoInfo is a struct to keep basic information about a repository
func GetRepoBaseInfo ¶
func GetRepoBaseInfo() *RepoInfo
GetRepoBaseInfo gathers information about repo owner and name. It leverages environment variables typically available in GitHub workflows. As fallback option, the local git config (.git/config) file is used. Results are returned as *RepoInfo
type RepoStructureExists ¶ added in v0.6.0
type RepoStructureExists struct {
// contains filtered or unexported fields
}
func (RepoStructureExists) Description ¶ added in v0.6.0
func (c RepoStructureExists) Description() string
func (RepoStructureExists) ExternalDescription ¶ added in v0.6.0
func (c RepoStructureExists) ExternalDescription() string
func (RepoStructureExists) IsOptional ¶ added in v0.6.0
func (c RepoStructureExists) IsOptional() bool
func (RepoStructureExists) Name ¶ added in v0.6.0
func (c RepoStructureExists) Name() string
func (RepoStructureExists) Test ¶ added in v0.6.0
func (c RepoStructureExists) Test() *tractusx.QualityResult
Click to show internal directories.
Click to hide internal directories.