Documentation ¶
Index ¶
- type TeamBean
- type TeamRequest
- type TeamService
- type TeamServiceImpl
- func (impl TeamServiceImpl) Create(request *TeamRequest) (*TeamRequest, error)
- func (impl TeamServiceImpl) FetchAllActive() ([]TeamRequest, error)
- func (impl TeamServiceImpl) FetchForAutocomplete() ([]TeamRequest, error)
- func (impl TeamServiceImpl) FetchOne(teamId int) (*TeamRequest, error)
- func (impl TeamServiceImpl) FindActiveTeamByAppName(appName string) (*TeamBean, error)
- func (impl TeamServiceImpl) FindByIds(ids []*int) ([]*TeamBean, error)
- func (impl TeamServiceImpl) FindTeamByAppId(appId int) (*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) FetchAllActive() ([]TeamRequest, error) FetchOne(id int) (*TeamRequest, error) FindTeamsByUser(userId int32) ([]team.Team, error) Update(request *TeamRequest) (*TeamRequest, error) FindTeamByAppId(appId int) (*TeamBean, error) FindActiveTeamByAppName(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) FetchAllActive ¶ added in v0.2.16
func (impl TeamServiceImpl) FetchAllActive() ([]TeamRequest, error)
func (TeamServiceImpl) FetchForAutocomplete ¶
func (impl TeamServiceImpl) FetchForAutocomplete() ([]TeamRequest, error)
func (TeamServiceImpl) FetchOne ¶
func (impl TeamServiceImpl) FetchOne(teamId int) (*TeamRequest, error)
func (TeamServiceImpl) FindActiveTeamByAppName ¶ added in v0.2.16
func (impl TeamServiceImpl) FindActiveTeamByAppName(appName string) (*TeamBean, 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) 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.