Documentation ¶
Index ¶
Constants ¶
View Source
const ( AdminUsername = "admin" AdminPassword = "admin" AdminAccountType = 2 )
Variables ¶
This section is empty.
Functions ¶
func MockResouceTree ¶
func MockResouceTree(name string) model.ResourceTree
Types ¶
type K8sClientMock ¶
func NewK8sClientMock ¶
func NewK8sClientMock(db *gorm.DB) *K8sClientMock
type TreeMock ¶
type TreeMock struct {
// contains filtered or unexported fields
}
func NewTreeMock ¶
func (*TreeMock) CreateTreeMock ¶
func (t *TreeMock) CreateTreeMock()
type UserMock ¶
type UserMock struct {
// contains filtered or unexported fields
}
func NewUserMock ¶
func (*UserMock) CreateUserAdmin ¶
func (u *UserMock) CreateUserAdmin()
Click to show internal directories.
Click to hide internal directories.