Documentation
¶
Index ¶
- func BuiltinCatalog() *model.Catalog
- func CatalogSync(mc model.ClientSet) catalogSyncer
- func GetOrgFromGitURL(str string) (string, error)
- func GetOrgRepos(ctx context.Context, client *scm.Client, orgName string) ([]*scm.Repository, error)
- func GetRepos(ctx context.Context, c *model.Catalog) ([]*scm.Repository, error)
- func SyncTemplates(ctx context.Context, mc model.ClientSet, c *model.Catalog) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinCatalog ¶
BuiltinCatalog returns the seal builtin catalog.
func CatalogSync ¶
func GetOrgFromGitURL ¶
GetOrgFromGitURL parses the organization from the given git repository URL.
func GetOrgRepos ¶
func GetOrgRepos(ctx context.Context, client *scm.Client, orgName string) ([]*scm.Repository, error)
GetOrgRepos returns full repositories list from the given org.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.