catalog

package
v0.3.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltinCatalog

func BuiltinCatalog() *model.Catalog

BuiltinCatalog returns the seal builtin catalog.

func CatalogSync

func CatalogSync(mc model.ClientSet) catalogSyncer

func GetOrgFromGitURL

func GetOrgFromGitURL(str string) (string, error)

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.

func GetRepos

func GetRepos(ctx context.Context, c *model.Catalog) ([]*scm.Repository, error)

GetRepos returns org and a list of repositories from the given catalog.

func SyncTemplates

func SyncTemplates(ctx context.Context, mc model.ClientSet, c *model.Catalog) (err error)

SyncTemplates fetch and update catalog templates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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