builds

package
v0.30.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Find

func (s *BuildService) Find(filter *build.Filter) (*build.Build, error)

func (*BuildService) GetBuildLogReader

func (s *BuildService) GetBuildLogReader(buildId string) (io.Reader, error)

func (*BuildService) List

func (s *BuildService) List(filter *build.Filter) ([]*build.Build, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL