mirror of
https://github.com/paralus/paralus.git
synced 2026-03-05 18:40:18 +00:00
* restructure rcloud-base as a single base controller * updated master.rest * moved sentry from internal to pkg as it is used by relay * removing unused rpc and it's dependencies * Fix usermgmt tests * Don't redefine variables in rest file Co-authored-by: Abin Simon <abin.simon@rafay.co>
19 lines
256 B
Go
19 lines
256 B
Go
package apply
|
|
|
|
import (
|
|
"testing"
|
|
|
|
clusterv2 "github.com/RafaySystems/rcloud-base/proto/types/controller"
|
|
)
|
|
|
|
func TestGetGVK(t *testing.T) {
|
|
ns := clusterv2.Namespace{}
|
|
|
|
gvk, err := GetGVK(&ns)
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
t.Log(gvk)
|
|
}
|