Documentation ¶
Index ¶
- type BuildService
- func (s *BuildService) AwaitEmptyList(waitTime time.Duration) error
- func (s *BuildService) Create(b dto.BuildCreationData) (string, error)
- func (s *BuildService) Delete(id string) error
- func (s *BuildService) Find(filter *build.Filter) (*build.Build, error)
- func (s *BuildService) GetBuildLogReader(buildId string) (io.Reader, error)
- func (s *BuildService) List(filter *build.Filter) ([]*build.Build, error)
- func (s *BuildService) MarkForDeletion(filter *build.Filter) []error
- type BuildServiceConfig
- type IBuildService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildService ¶
type BuildService struct {
// contains filtered or unexported fields
}
func (*BuildService) AwaitEmptyList ¶
func (s *BuildService) AwaitEmptyList(waitTime time.Duration) error
func (*BuildService) Create ¶
func (s *BuildService) Create(b dto.BuildCreationData) (string, error)
func (*BuildService) Delete ¶
func (s *BuildService) Delete(id string) error
func (*BuildService) GetBuildLogReader ¶
func (s *BuildService) GetBuildLogReader(buildId string) (io.Reader, error)
func (*BuildService) MarkForDeletion ¶
func (s *BuildService) MarkForDeletion(filter *build.Filter) []error
type BuildServiceConfig ¶
type BuildServiceConfig struct { BuildStore build.Store LoggerFactory logs.LoggerFactory }
type IBuildService ¶
type IBuildService interface { Create(dto.BuildCreationData) (string, error) Find(filter *build.Filter) (*build.Build, error) List(filter *build.Filter) ([]*build.Build, error) MarkForDeletion(filter *build.Filter) []error Delete(id string) error AwaitEmptyList(time.Duration) error GetBuildLogReader(buildId string) (io.Reader, error) }
func NewBuildService ¶
func NewBuildService(config BuildServiceConfig) IBuildService
Click to show internal directories.
Click to hide internal directories.