Documentation ¶
Index ¶
- type IProjectConfigService
- type ProjectConfigService
- func (s *ProjectConfigService) Delete(projectConfigName string) error
- func (s *ProjectConfigService) Find(filter *config.Filter) (*config.ProjectConfig, error)
- func (s *ProjectConfigService) List(filter *config.Filter) ([]*config.ProjectConfig, error)
- func (s *ProjectConfigService) Save(projectConfig *config.ProjectConfig) error
- func (s *ProjectConfigService) SetDefault(projectConfigName string) error
- type ProjectConfigServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProjectConfigService ¶
type IProjectConfigService interface { Delete(projectConfigName string) error Find(filter *config.Filter) (*config.ProjectConfig, error) List(filter *config.Filter) ([]*config.ProjectConfig, error) SetDefault(projectConfigName string) error Save(projectConfig *config.ProjectConfig) error }
func NewConfigService ¶
func NewConfigService(config ProjectConfigServiceConfig) IProjectConfigService
type ProjectConfigService ¶
type ProjectConfigService struct {
// contains filtered or unexported fields
}
func (*ProjectConfigService) Delete ¶
func (s *ProjectConfigService) Delete(projectConfigName string) error
func (*ProjectConfigService) Find ¶
func (s *ProjectConfigService) Find(filter *config.Filter) (*config.ProjectConfig, error)
func (*ProjectConfigService) List ¶
func (s *ProjectConfigService) List(filter *config.Filter) ([]*config.ProjectConfig, error)
func (*ProjectConfigService) Save ¶
func (s *ProjectConfigService) Save(projectConfig *config.ProjectConfig) error
func (*ProjectConfigService) SetDefault ¶
func (s *ProjectConfigService) SetDefault(projectConfigName string) error
Click to show internal directories.
Click to hide internal directories.