Merge "[#310] Declaration redundancy: Unused exported function"

This commit is contained in:
Zuul 2020-08-26 16:03:52 +00:00 committed by Gerrit Code Review
commit 8b891e2d49

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()