Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type Container ¶
type Container struct { ProjectConfigService ProjectConfigService `inject:"DefaultProjectConfigService"` AuthService AuthService `inject:"DefaultAuthService"` FileService FileService `inject:"DefaultFileService"` }
type DefaultAuthService ¶
type DefaultAuthService struct{}
func (*DefaultAuthService) Authenticate ¶
type DefaultFileService ¶
type DefaultFileService struct{}
func (*DefaultFileService) Pull ¶
func (s *DefaultFileService) Pull(params *FilePullParams) ([]*model.File, error)
func (*DefaultFileService) Push ¶
func (s *DefaultFileService) Push(params *FilePushParams) (*model.FileStats, error)
type DefaultProjectConfigService ¶
type DefaultProjectConfigService struct {
ProjectConfigRepository repository.ProjectConfigRepository `inject:"YmlProjectConfigRepository"`
}
func (*DefaultProjectConfigService) GetConfig ¶
func (s *DefaultProjectConfigService) GetConfig() (*model.ProjectConfig, error)
func (*DefaultProjectConfigService) UpdateConfig ¶
func (s *DefaultProjectConfigService) UpdateConfig(delta *model.ProjectConfig) error
type FilePullParams ¶
type FilePushParams ¶
type FileService ¶
type FileService interface { Pull(*FilePullParams) ([]*model.File, error) Push(*FilePushParams) (*model.FileStats, error) }
type ProjectConfigService ¶
type ProjectConfigService interface { GetConfig() (*model.ProjectConfig, error) UpdateConfig(*model.ProjectConfig) error }
Click to show internal directories.
Click to hide internal directories.