Fix Lint warnings: Missing comments for functions

* Added comments wherever missing for exported functions/constants

Change-Id: I7d0b79b5f56fc6c3edb60a3b58c0962ebd76314c
Relates-To: #148
This commit is contained in:
Yasin, Siraj (SY495P)
2020-05-13 10:41:52 -05:00
committed by Alexander Hughes
parent 98f14aaa93
commit 8d16fffb7c
9 changed files with 20 additions and 6 deletions

View File

@@ -31,11 +31,15 @@ import (
"opendev.org/airship/airshipctl/pkg/util"
)
//TODO(sy495p): Switch to strongly-typed errors in this file
// variables for repository errors
var (
ErrNoOpenRepo = errors.New("no open repository is stored")
ErrCantParseURL = errors.New("could not get target directory from url")
)
// OptionsBuilder interface provides specification for a repository implementation
type OptionsBuilder interface {
ToAuth() (transport.AuthMethod, error)
ToCloneOptions(auth transport.AuthMethod) *git.CloneOptions