# Packages
Code generated by counterfeiter.
# Functions
CleanCloneGitHubRepo creates a guaranteed fresh checkout of a given repository.
CloneOrOpenDefaultGitHubRepoSSH clones the default Kubernetes GitHub repository via SSH if the repoPath is empty, otherwise updates it at the expected repoPath.
CloneOrOpenGitHubRepo works with a repository in the given directory, or creates one if the directory is empty.
CloneOrOpenRepo creates a temp directory containing the provided GitHub repository via the url.
ConfigureGlobalCustomUserAndEmail globally configures a custom git user and email.
ConfigureGlobalDefaultUserAndEmail globally configures the default git user and email.
GetDefaultKubernetesRepoURL returns the default HTTPS repo URL for Kubernetes.
GetKubernetesRepoURL takes a GitHub org and repo, and useSSH as a boolean and returns a repo URL for Kubernetes.
GetRepoURL takes a GitHub org and repo, and useSSH as a boolean and returns a repo URL for the specified repo.
GetUserEmail reads the user's name from git.
GetUserName Reads the local user's name from the git configuration.
IsReleaseBranch returns true if the provided branch is a Kubernetes release branch.
No description provided by the author
NewDescribeOptions creates new repository describe options.
NewNetworkError creates a new NetworkError.
NewRemote creates a new remote for the provided name and URLs.
OpenRepo tries to open the provided repoPath.
ParseRepoSlug parses a repository string and return the organization and repository name/.
Remotify returns the name prepended with the default remote.
ShallowCleanCloneGitHubRepo creates a guaranteed fresh checkout of a GitHub repository.
ShallowCloneOrOpenGitHubRepo this is the *GitHub* counterpart of ShallowCloneOrOpenRepo.
ShallowCloneOrOpenRepo clones performs a shallow clone of a repository (a clone of depth 1).
# Constants
DefaultBranch is the default branch name.
DefaultGitEmail is the default email used for commits.
DefaultGithubOrg is the default GitHub org used for Kubernetes project repos.
DefaultGithubReleaseRepo is the default git repository used for SIG Release.
DefaultGithubRepo is the default git repository.
DefaultGitUser is the default user name used for commits.
DefaultRef is the default git reference name.
DefaultRemote is the default git remote name.
# Structs
DescribeOptions is the type for the argument passed to repo.Describe.
DiscoverResult is the result of a revision discovery.
NetworkError is a wrapper for the error class.
Remote is a representation of a git remote location.
Repo is a wrapper for a Kubernetes repository instance.
# Interfaces
Repository is the main interface to the git.Repository functionality
counterfeiter:generate .
Worktree is the main interface to the git.Worktree functionality
counterfeiter:generate .