Versions in this module Expand all Collapse all v1 v1.0.0 Feb 1, 2023 Changes in this version + const CONTAINER_NAME + const REQKICK_DOCKER_IMAGE + func ConvertFirstRuneToLowerCase(name string) string + func DownloadFile(url string, targetPath string) error + func ExtractTarGz(gzipStream io.Reader, target string) error + func GetEnvironmentVariableFriendlyValue(value interface{}) string + func GetStructAsEnvironmentVariables(object interface{}) map[string]string + func ResolvePathAndPanicIfNotFound(path string) string + type AssembleOptions struct + EnableOnStepCompleteHook bool + EnvironmentVariables map[string]string + StepJson []byte + TaskArguments map[string]string + func (o *AssembleOptions) GetValueFromStepJson(key string) string + type Configuration struct + AffinityGroup string + EnvironmentVariables []EnvironmentVariable + InputResources []NamedReference + InputSteps []NamedReference + InstanceSize interface{} + Integrations []NamedReference + IsOnDemand bool + NodeId int + NodeName string + NodePool string + OutputResources []NamedReference + Runtime Runtime + TimeoutSeconds int + type DependenciesDownloadOptions struct + Output io.Writer + TargetFolder string + type DependenciesDownloader interface + Download func(options *DependenciesDownloadOptions) error + func NewDependenciesDownloader() DependenciesDownloader + type DependenciesDownloaderImpl struct + func (d *DependenciesDownloaderImpl) Download(options *DependenciesDownloadOptions) error + type DependenciesDownloaderMock struct + func (m *DependenciesDownloaderMock) Download(options *DependenciesDownloadOptions) error + type EnvironmentVariable struct + IsReadOnly bool + Key string + Level string + Value string + type Execution struct + OnExecute []string + type FormJSONValues struct + Label string + Value string + type Image struct + ImageName string + ImageTag int + type IntegrationParserMock struct + func (m *IntegrationParserMock) GetIntegrations() map[string]ProjectIntegration + func (m *IntegrationParserMock) GetSimplifiedIntegrations() map[string]map[string]interface{} + func (m *IntegrationParserMock) Parse(options *ParseIntegrationsOptions) error + type IntegrationsParser interface + GetIntegrations func() map[string]ProjectIntegration + GetSimplifiedIntegrations func() map[string]map[string]interface{} + Parse func(*ParseIntegrationsOptions) error + func NewIntegrationParser() IntegrationsParser + type IntegrationsParserImpl struct + func (i *IntegrationsParserImpl) GetIntegrations() map[string]ProjectIntegration + func (i *IntegrationsParserImpl) GetSimplifiedIntegrations() map[string]map[string]interface{} + func (i *IntegrationsParserImpl) Parse(options *ParseIntegrationsOptions) error + type NamedReference struct + Name string + type ParseIntegrationsOptions struct + PathToIntegrationsFile string + type ProjectIntegration struct + CreatedAt time.Time + CreatedBy int + CreatedByUserName string + Environments interface{} + FormJSONValues []FormJSONValues + Id int + IsInternal bool + MasterIntegrationId int + MasterIntegrationName string + MasterIntegrationType string + Name string + ProjectId int + ProviderId int + UpdatedAt time.Time + UpdatedBy int + UpdatedByUserName string + func (p ProjectIntegration) GetIntegrationAsEnvironmentVariable() map[string]string + type RunnerMock struct + func (m *RunnerMock) GetRuntimeConfiguration() *runners.RuntimeConfiguration + func (m *RunnerMock) Run(options *runners.RunnerOptions) error + type Runtime struct + Image Image + Type string + type ScriptAssembler interface + Assemble func(options *AssembleOptions) ([]byte, error) + func NewScriptAssembler(runner runners.Runner, integrationsParser IntegrationsParser) ScriptAssembler + type ScriptAssemblerImpl struct + func (s *ScriptAssemblerImpl) Assemble(options *AssembleOptions) ([]byte, error) + type ScriptAssemblerMock struct + func (m *ScriptAssemblerMock) Assemble(options *AssembleOptions) ([]byte, error) + type Step struct + Configuration Configuration + Execution Execution + Id int + Name string + PipelineId int + PipelineStepId int + RunId int + Type string + type StepJson struct + AffinityGroupSteps struct{} + InputStepIds []string + Integrations map[string]map[string]interface{} + Resources struct{} + Step Step + type StepJsonAssembleOptions struct + type StepJsonAssembler interface + Assemble func(options *StepJsonAssembleOptions) ([]byte, error) + func NewStepJsonAssembler(integrationsParser IntegrationsParser) StepJsonAssembler + type StepJsonAssemblerImpl struct + func (s *StepJsonAssemblerImpl) Assemble(options *StepJsonAssembleOptions) ([]byte, error) + type StepJsonAssemblerMock struct + func (m *StepJsonAssemblerMock) Assemble(options *StepJsonAssembleOptions) ([]byte, error)