Documentation ¶
Index ¶
- type MockSystemUserService
- type SystemUserService
- type SystemUserServiceImp
- func (su *SystemUserServiceImp) GetSystemUserServiceDetails() *models.SystemUserResponse
- func (su *SystemUserServiceImp) ValidateHabGroup() *models.Checks
- func (su *SystemUserServiceImp) ValidateHabUserAndGroupMapping() *models.Checks
- func (su *SystemUserServiceImp) ValidateOrCreateHabUser() (*models.Checks, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSystemUserService ¶
type MockSystemUserService struct {
GetSystemUserServiceDetailsFunc func() *models.SystemUserResponse
}
func (*MockSystemUserService) GetSystemUserServiceDetails ¶
func (msu *MockSystemUserService) GetSystemUserServiceDetails() *models.SystemUserResponse
GetSystemUserServiceDetails implements SystemUser
type SystemUserService ¶
type SystemUserService interface {
GetSystemUserServiceDetails() *models.SystemUserResponse
}
type SystemUserServiceImp ¶
func NewSystemUserService ¶
func NewSystemUserService(log logger.Logger, exec executil.ExecCmdService, user userutils.UserUtil) *SystemUserServiceImp
func (*SystemUserServiceImp) GetSystemUserServiceDetails ¶
func (su *SystemUserServiceImp) GetSystemUserServiceDetails() *models.SystemUserResponse
func (*SystemUserServiceImp) ValidateHabGroup ¶
func (su *SystemUserServiceImp) ValidateHabGroup() *models.Checks
func (*SystemUserServiceImp) ValidateHabUserAndGroupMapping ¶
func (su *SystemUserServiceImp) ValidateHabUserAndGroupMapping() *models.Checks
func (*SystemUserServiceImp) ValidateOrCreateHabUser ¶
func (su *SystemUserServiceImp) ValidateOrCreateHabUser() (*models.Checks, bool)
Click to show internal directories.
Click to hide internal directories.