Documentation ¶
Index ¶
- Variables
- func BindFlags(set *flag.FlagSet)
- func GetBuildBuilderImageStreamTag() string
- func GetBuildRuntimeJVMImageStreamTag() string
- func GetBuildRuntimeNativeImageStreamTag() string
- func GetCiName() string
- func GetContainerEngine() string
- func GetCustomMavenRepoURL() string
- func GetDomainSuffix() string
- func GetExamplesRepositoryRef() string
- func GetExamplesRepositoryURI() string
- func GetHTTPRetryNumber() int
- func GetHyperfoilControllerImageVersion() string
- func GetHyperfoilOutputDirectory() string
- func GetInfinispanStorageClass() string
- func GetLoadFactor() int
- func GetMavenMirrorURL() string
- func GetNamespaceName() string
- func GetNativeBuilderImage() string
- func GetOlmNamespace() string
- func GetOperatorCatalogImage() string
- func GetOperatorCliPath() (string, error)
- func GetOperatorImageTag() string
- func GetOperatorProfilingDataAccessYamlURI() string
- func GetOperatorProfilingOutputFileURI() string
- func GetOperatorYamlURI() string
- func GetQuarkusPlatformMavenMirrorURL() string
- func GetRhpamOperatorYamlURI() string
- func GetRuntimeApplicationImageNamePrefix() string
- func GetRuntimeApplicationImageNameSuffix() string
- func GetRuntimeApplicationImageRegistry() string
- func GetRuntimeApplicationImageVersion() string
- func GetServiceImageTag(ImageType ImageType, persistenceType ImagePersistenceType) string
- func GetServicesImageNameSuffix() string
- func GetServicesImageRegistry() string
- func GetServicesImageVersion() string
- func IsCrDeploymentOnly() bool
- func IsCustomMavenRepoReplaceDefault() bool
- func IsDisableMavenNativeBuildInContainer() bool
- func IsDryRun() bool
- func IsExamplesRepositoryIgnoreSSL() bool
- func IsInfinispanInstalledByOlm() bool
- func IsInfinispanInstalledByYaml() bool
- func IsKeepNamespace() bool
- func IsLocalCluster() bool
- func IsLocalTests() bool
- func IsMavenIgnoreSelfSignedCertificate() bool
- func IsOperatorInstalledByOlm() bool
- func IsOperatorInstalledByYaml() bool
- func IsOperatorProfiling() bool
- func IsPerformanceTests() bool
- func IsShowScenarios() bool
- func IsShowSteps() bool
- func IsSmokeTests() bool
- func UseProductOperator() bool
- type ImageCacheMode
- type ImagePersistenceType
- type ImageType
- type TestConfig
Constants ¶
This section is empty.
Variables ¶
var ( // UseImageCacheAlways Always use image cache UseImageCacheAlways = ImageCacheMode("always") // UseImageCacheNever don't use image cache, build always manually UseImageCacheNever = ImageCacheMode("never") // UseImageCacheIfAvailable use image cache if image is available there, otherwise build locally UseImageCacheIfAvailable = ImageCacheMode("if-available") )
Functions ¶
func GetBuildBuilderImageStreamTag ¶
func GetBuildBuilderImageStreamTag() string
GetBuildBuilderImageStreamTag return the tag for the builder image
func GetBuildRuntimeJVMImageStreamTag ¶
func GetBuildRuntimeJVMImageStreamTag() string
GetBuildRuntimeJVMImageStreamTag return the tag for the runtime JVM image
func GetBuildRuntimeNativeImageStreamTag ¶
func GetBuildRuntimeNativeImageStreamTag() string
GetBuildRuntimeNativeImageStreamTag return the tag for the runtime native image
func GetCiName ¶
func GetCiName() string
GetCiName return the CI name that executes the tests, if any
func GetContainerEngine ¶
func GetContainerEngine() string
GetContainerEngine returns engine used to interact with images and local containers
func GetCustomMavenRepoURL ¶
func GetCustomMavenRepoURL() string
GetCustomMavenRepoURL return the custom maven repository url used by S2I builds
func GetDomainSuffix ¶
func GetDomainSuffix() string
GetDomainSuffix returns the domain suffix for exposed services
func GetExamplesRepositoryRef ¶
func GetExamplesRepositoryRef() string
GetExamplesRepositoryRef return the branch for the examples repository
func GetExamplesRepositoryURI ¶
func GetExamplesRepositoryURI() string
GetExamplesRepositoryURI return the uri for the examples repository
func GetHTTPRetryNumber ¶
func GetHTTPRetryNumber() int
GetHTTPRetryNumber return the number of retries to be applied for http calls
func GetHyperfoilControllerImageVersion ¶
func GetHyperfoilControllerImageVersion() string
GetHyperfoilControllerImageVersion returns the Hyperfoil controller image version
func GetHyperfoilOutputDirectory ¶
func GetHyperfoilOutputDirectory() string
GetHyperfoilOutputDirectory returns directory to store Hyperfoil run results
func GetInfinispanStorageClass ¶
func GetInfinispanStorageClass() string
GetInfinispanStorageClass return the Infinispan storage class
func GetMavenMirrorURL ¶
func GetMavenMirrorURL() string
GetMavenMirrorURL return the maven mirror url used for building applications
func GetNamespaceName ¶
func GetNamespaceName() string
GetNamespaceName return namespace name if it was defined
func GetNativeBuilderImage ¶
func GetNativeBuilderImage() string
GetNativeBuilderImage return the native builder image for Maven native builds
func GetOlmNamespace ¶
func GetOlmNamespace() string
GetOlmNamespace returns namespace which is used for cluster scope operators
func GetOperatorCatalogImage ¶
func GetOperatorCatalogImage() string
GetOperatorCatalogImage return the image tag for the Kogito operator catalog
func GetOperatorCliPath ¶
GetOperatorCliPath return the path to the kogito CLI binary
func GetOperatorImageTag ¶
func GetOperatorImageTag() string
GetOperatorImageTag return the image tag for the operator
func GetOperatorProfilingDataAccessYamlURI ¶
func GetOperatorProfilingDataAccessYamlURI() string
GetOperatorProfilingDataAccessYamlURI return the uri for kogito-operator-profiling-data-access.yaml file
func GetOperatorProfilingOutputFileURI ¶
func GetOperatorProfilingOutputFileURI() string
GetOperatorProfilingOutputFileURI return the uri for the profiling data output file
func GetOperatorYamlURI ¶
func GetOperatorYamlURI() string
GetOperatorYamlURI return the uri for kogito-operator.yaml file
func GetQuarkusPlatformMavenMirrorURL ¶
func GetQuarkusPlatformMavenMirrorURL() string
GetQuarkusPlatformMavenMirrorURL return the maven mirror url used for building applications from assets with quarkus platform
func GetRhpamOperatorYamlURI ¶
func GetRhpamOperatorYamlURI() string
GetRhpamOperatorYamlURI return the uri for rhpam-kogito-operator.yaml file
func GetRuntimeApplicationImageNamePrefix ¶
func GetRuntimeApplicationImageNamePrefix() string
GetRuntimeApplicationImageNamePrefix return the name prefix for runtime application images
func GetRuntimeApplicationImageNameSuffix ¶
func GetRuntimeApplicationImageNameSuffix() string
GetRuntimeApplicationImageNameSuffix return the name suffix for runtime application images
func GetRuntimeApplicationImageRegistry ¶
func GetRuntimeApplicationImageRegistry() string
GetRuntimeApplicationImageRegistry return the registry for the runtime application images
func GetRuntimeApplicationImageVersion ¶
func GetRuntimeApplicationImageVersion() string
GetRuntimeApplicationImageVersion return the version for runtime application images
func GetServiceImageTag ¶
func GetServiceImageTag(ImageType ImageType, persistenceType ImagePersistenceType) string
GetServiceImageTag returns the image tag based on the image type and the persistence type
func GetServicesImageNameSuffix ¶
func GetServicesImageNameSuffix() string
GetServicesImageNameSuffix return the name suffix for the services images
func GetServicesImageRegistry ¶
func GetServicesImageRegistry() string
GetServicesImageRegistry return the registry for the services images
func GetServicesImageVersion ¶
func GetServicesImageVersion() string
GetServicesImageVersion return the version for the services images
func IsCrDeploymentOnly ¶
func IsCrDeploymentOnly() bool
IsCrDeploymentOnly returns whether the deployment should be done only with CR
func IsCustomMavenRepoReplaceDefault ¶
func IsCustomMavenRepoReplaceDefault() bool
IsCustomMavenRepoReplaceDefault return whether custom maven repo should replace the default JBoss repository
func IsDisableMavenNativeBuildInContainer ¶
func IsDisableMavenNativeBuildInContainer() bool
IsDisableMavenNativeBuildInContainer return whether Maven native build in container should be disabled
func IsExamplesRepositoryIgnoreSSL ¶
func IsExamplesRepositoryIgnoreSSL() bool
IsExamplesRepositoryIgnoreSSL return whether SSL should be ignored on Git checkout
func IsInfinispanInstalledByOlm ¶
func IsInfinispanInstalledByOlm() bool
IsInfinispanInstalledByOlm return true if Infinispan operator is installed using OLM
func IsInfinispanInstalledByYaml ¶
func IsInfinispanInstalledByYaml() bool
IsInfinispanInstalledByYaml return true if Infinispan operator is installed using YAML files
func IsKeepNamespace ¶
func IsKeepNamespace() bool
IsKeepNamespace return whether we should keep namespace after scenario run
func IsLocalCluster ¶
func IsLocalCluster() bool
IsLocalCluster return whether tests are executed using a local cluster
func IsLocalTests ¶
func IsLocalTests() bool
IsLocalTests return whether tests are executed in local
func IsMavenIgnoreSelfSignedCertificate ¶
func IsMavenIgnoreSelfSignedCertificate() bool
IsMavenIgnoreSelfSignedCertificate return whether self-signed certficate should be ignored
func IsOperatorInstalledByOlm ¶
func IsOperatorInstalledByOlm() bool
IsOperatorInstalledByOlm return true if Kogito operator is installed using OLM
func IsOperatorInstalledByYaml ¶
func IsOperatorInstalledByYaml() bool
IsOperatorInstalledByYaml return true if Kogito operator is installed using YAML files
func IsOperatorProfiling ¶
func IsOperatorProfiling() bool
IsOperatorProfiling returns whether the operator profiling is activated
func IsPerformanceTests ¶
func IsPerformanceTests() bool
IsPerformanceTests return whether performance tests should be executed
func IsShowScenarios ¶
func IsShowScenarios() bool
IsShowScenarios return whether we should display scenarios
func IsShowSteps ¶
func IsShowSteps() bool
IsShowSteps return whether we should display scenarios's steps
func IsSmokeTests ¶
func IsSmokeTests() bool
IsSmokeTests return whether smoke tests should be executed
func UseProductOperator ¶
func UseProductOperator() bool
UseProductOperator return true if RHPAM Kogito operator should be used, false for Kogito operator
Types ¶
type ImageCacheMode ¶
type ImageCacheMode string
ImageCacheMode defines whether image cache should be used for runtime image or images should be rather built manually.
func GetImageCacheMode ¶
func GetImageCacheMode() ImageCacheMode
GetImageCacheMode returns image cache mode
func (ImageCacheMode) IsValid ¶
func (imageCacheMode ImageCacheMode) IsValid() bool
IsValid returns true if image cache mode value is one of valid expected modes
type ImagePersistenceType ¶
type ImagePersistenceType string
ImagePersistenceType represents the persistence type for the base image
const ( // EphemeralPersistenceType ... EphemeralPersistenceType ImagePersistenceType = "ephemeral" // InfinispanPersistenceType ... InfinispanPersistenceType ImagePersistenceType = "infinispan" // MongoDBPersistenceType ... MongoDBPersistenceType ImagePersistenceType = "mongodb" // PosgresqlPersistenceType ... PosgresqlPersistenceType ImagePersistenceType = "posgresql" // RedisPersistenceType ... RedisPersistenceType ImagePersistenceType = "redis" )
type ImageType ¶
type ImageType string
ImageType represents the image base image name
const ( // DataIndexImageType ... DataIndexImageType ImageType = "data-index" // ExplainabilityImageType ... ExplainabilityImageType ImageType = "explainability" // JobServiceImageType ... JobServiceImageType ImageType = "jobs-service" // ManagementConsoleImageType ... ManagementConsoleImageType ImageType = "mgmt-console" // TaskConsoleImageType ... TaskConsoleImageType ImageType = "task-console" // TrustyImageType ... TrustyImageType ImageType = "trusty" // TrustyUIImageType ... TrustyUIImageType ImageType = "trusty-ui" )
type TestConfig ¶
type TestConfig struct {
// contains filtered or unexported fields
}
TestConfig contains the information about the tests environment