package
0.57.0
Repository: https://github.com/srl-labs/containerlab.git
Documentation: pkg.go.dev

# Functions

IsGitHubOrGitLabURL checks if the url is a github or gitlab url.
IsGitHubShortURL returns true for github-friendly short urls such as srl-labs/containerlab.
IsGitHubURL checks if the url is a github url.
IsGitLabURL returns true if the given url is a gitlab url.
NewGitHubRepoFromURL parses the given url and returns a GitHubRepo.
NewGitLabRepoFromURL parses the given url and returns a GitLabRepo.
No description provided by the author
NewRepo parses the given git urlPath and returns an interface that is backed by Github or Gitlab repo implementations.

# Structs

GitHubRepo struct holds the parsed github url.
GitLabRepo represents a gitlab repository.
GitRepoStruct is a struct that contains all the fields required for a GitRepo instance.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author