Documentation
¶
Index ¶
- Constants
- func DeleteRepository(client *github.Client, ctx context.Context, orgName string, repoName string) error
- func GenerateNewRepository(client *github.Client, ctx context.Context, orgName string, repoName string, ...) (string, error)
- func GenerateNewRepositoryName(displayName string, namespace string) string
- func GetMockedClient() *github.Client
- func GetRepoNameFromURL(repoURL string, orgName string) (string, error)
Constants ¶
View Source
const AppStudioAppDataOrg = "redhat-appstudio-appdata"
Variables ¶
This section is empty.
Functions ¶
func DeleteRepository ¶
func DeleteRepository(client *github.Client, ctx context.Context, orgName string, repoName string) error
Delete Repository takes in the given repository URL and attempts to delete it
func GenerateNewRepository ¶
func GetMockedClient ¶
GetMockedClient returns a simple mocked go-github client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.