[#310] Declaration redundancy: Unused exported function

* removed a unused exported function

Closes: #310

Change-Id: Ib174b31cd68bdc2cf9a63dd89efd9beb8ab7d78e
This commit is contained in:
muly 2020-07-28 11:39:21 -04:00 committed by Bijaya Sharma
parent 0966c5bb3b
commit b6e92132db

View File

@ -154,18 +154,6 @@ func DummyAuthInfo() *config.AuthInfo {
return a
}
// DummyKubeAuthInfo creates a AuthInfo kubeconfig object
// for unit testing
func DummyKubeAuthInfo() *kubeconfig.AuthInfo {
authinfo := kubeconfig.NewAuthInfo()
authinfo.Username = "dummy_username"
authinfo.Password = "dummy_password"
authinfo.ClientCertificate = "dummy_certificate"
authinfo.ClientKey = "dummy_key"
authinfo.Token = "dummy_token"
return authinfo
}
// DummyClusterPurpose creates ClusterPurpose config object for unit testing
func DummyClusterPurpose() *config.ClusterPurpose {
cp := config.NewClusterPurpose()