Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUndefinedEnvVariable = errors.New("environment variable is undefined or empty")
ErrUndefinedEnvVariable occurs when requested environment variable is undefined or empty
Functions ¶
Types ¶
type BuildEnvironmentConfig ¶
type BuildEnvironmentConfig struct { // IncludedEnvironmentVariables is a list included environment variables for build. IncludedEnvironmentVariables osutil.EnvironmentVariables }
BuildEnvironmentConfig is BuildService environment configuration.
type BuildError ¶
type BuildError struct {
// contains filtered or unexported fields
}
BuildError is build error
type BuildService ¶
type BuildService struct {
// contains filtered or unexported fields
}
BuildService is WASM build service
func NewBuildService ¶
func NewBuildService(log *zap.SugaredLogger, cfg BuildEnvironmentConfig, store storage.StoreProvider) BuildService
NewBuildService is BuildService constructor
func (BuildService) GetArtifact ¶
func (s BuildService) GetArtifact(id storage.ArtifactID) (storage.ReadCloseSizer, error)
GetArtifact returns artifact by id
Click to show internal directories.
Click to hide internal directories.