Documentation ¶
Index ¶
- type TeamBean
- type TeamRequest
- type TeamService
- type TeamServiceImpl
- func (impl TeamServiceImpl) Create(request *TeamRequest) (*TeamRequest, error)
- func (impl TeamServiceImpl) FetchAll() ([]TeamRequest, error)
- func (impl TeamServiceImpl) FetchForAutocomplete() ([]TeamRequest, error)
- func (impl TeamServiceImpl) FetchOne(teamId int) (*TeamRequest, error)
- func (impl TeamServiceImpl) FindByIds(ids []*int) ([]*TeamBean, error)
- func (impl TeamServiceImpl) FindTeamByAppId(appId int) (*TeamBean, error)
- func (impl TeamServiceImpl) FindTeamByAppName(appName string) (*TeamBean, error)
- func (impl TeamServiceImpl) FindTeamsByUser(userId int32) ([]team.Team, error)
- func (impl TeamServiceImpl) Update(request *TeamRequest) (*TeamRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamRequest ¶
type TeamService ¶
type TeamService interface { Create(request *TeamRequest) (*TeamRequest, error) FetchAll() ([]TeamRequest, error) FetchOne(id int) (*TeamRequest, error) FindTeamsByUser(userId int32) ([]team.Team, error) Update(request *TeamRequest) (*TeamRequest, error) FindTeamByAppId(appId int) (*TeamBean, error) FindTeamByAppName(appName string) (*TeamBean, error) FetchForAutocomplete() ([]TeamRequest, error) FindByIds(ids []*int) ([]*TeamBean, error) }
type TeamServiceImpl ¶
type TeamServiceImpl struct {
// contains filtered or unexported fields
}
func NewTeamServiceImpl ¶
func NewTeamServiceImpl(logger *zap.SugaredLogger, teamRepository team.TeamRepository, pipelineBuilder pipeline.PipelineBuilder, envService cluster.EnvironmentService, userService user.UserService) *TeamServiceImpl
func (TeamServiceImpl) Create ¶
func (impl TeamServiceImpl) Create(request *TeamRequest) (*TeamRequest, error)
func (TeamServiceImpl) FetchAll ¶
func (impl TeamServiceImpl) FetchAll() ([]TeamRequest, error)
func (TeamServiceImpl) FetchForAutocomplete ¶
func (impl TeamServiceImpl) FetchForAutocomplete() ([]TeamRequest, error)
func (TeamServiceImpl) FetchOne ¶
func (impl TeamServiceImpl) FetchOne(teamId int) (*TeamRequest, error)
func (TeamServiceImpl) FindByIds ¶
func (impl TeamServiceImpl) FindByIds(ids []*int) ([]*TeamBean, error)
func (TeamServiceImpl) FindTeamByAppId ¶
func (impl TeamServiceImpl) FindTeamByAppId(appId int) (*TeamBean, error)
func (TeamServiceImpl) FindTeamByAppName ¶
func (impl TeamServiceImpl) FindTeamByAppName(appName string) (*TeamBean, error)
func (TeamServiceImpl) FindTeamsByUser ¶
func (impl TeamServiceImpl) FindTeamsByUser(userId int32) ([]team.Team, error)
func (TeamServiceImpl) Update ¶
func (impl TeamServiceImpl) Update(request *TeamRequest) (*TeamRequest, error)
Click to show internal directories.
Click to hide internal directories.