Documentation
¶
Index ¶
- Variables
- func BindFlags(set *flag.FlagSet)
- func GetBuildImageNameSuffix() string
- func GetBuildImageNamespace() string
- func GetBuildImageRegistry() string
- func GetBuildImageVersion() string
- func GetBuildRuntimeImageStreamTag() string
- func GetBuildS2IImageStreamTag() string
- func GetCiName() string
- func GetContainerEngine() string
- func GetCustomMavenRepoURL() string
- func GetDataIndexImageTag() string
- func GetDomainSuffix() string
- func GetExamplesRepositoryRef() string
- func GetExamplesRepositoryURI() string
- func GetExplainabilityImageTag() string
- func GetHTTPRetryNumber() int
- func GetJobsServiceImageTag() string
- func GetLoadFactor() int
- func GetManagementConsoleImageTag() string
- func GetMavenMirrorURL() string
- func GetNamespaceName() string
- func GetOlmNamespace() string
- func GetOperatorCatalogImage() string
- func GetOperatorCliPath() (string, error)
- func GetOperatorImageName() string
- func GetOperatorImageTag() string
- func GetOperatorProfilingDataAccessYamlURI() string
- func GetOperatorProfilingOutputFileURI() string
- func GetOperatorYamlURI() string
- func GetRuntimeApplicationImageNamePrefix() string
- func GetRuntimeApplicationImageNameSuffix() string
- func GetRuntimeApplicationImageNamespace() string
- func GetRuntimeApplicationImageRegistry() string
- func GetRuntimeApplicationImageVersion() string
- func GetServicesImageNameSuffix() string
- func GetServicesImageNamespace() string
- func GetServicesImageRegistry() string
- func GetServicesImageVersion() string
- func GetTaskConsoleImageTag() string
- func GetTrustyImageTag() string
- func GetTrustyUIImageTag() 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 IsOperatorNamespaced() bool
- func IsOperatorProfiling() bool
- func IsPerformanceTests() bool
- func IsShowScenarios() bool
- func IsShowSteps() bool
- func IsSmokeTests() bool
- type ImageCacheMode
- 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 GetBuildImageNameSuffix ¶
func GetBuildImageNameSuffix() string
GetBuildImageNameSuffix return the namespace for the build images
func GetBuildImageNamespace ¶
func GetBuildImageNamespace() string
GetBuildImageNamespace return the namespace for the build images
func GetBuildImageRegistry ¶
func GetBuildImageRegistry() string
GetBuildImageRegistry return the registry for the build images
func GetBuildImageVersion ¶
func GetBuildImageVersion() string
GetBuildImageVersion return the version for the build images
func GetBuildRuntimeImageStreamTag ¶
func GetBuildRuntimeImageStreamTag() string
GetBuildRuntimeImageStreamTag return the tag for the runtime build image
func GetBuildS2IImageStreamTag ¶
func GetBuildS2IImageStreamTag() string
GetBuildS2IImageStreamTag return the tag for the s2i build 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 GetDataIndexImageTag ¶
func GetDataIndexImageTag() string
GetDataIndexImageTag return the Kogito Data Index image tag
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 GetExplainabilityImageTag ¶
func GetExplainabilityImageTag() string
GetExplainabilityImageTag return the Kogito Explainability image tag
func GetHTTPRetryNumber ¶
func GetHTTPRetryNumber() int
GetHTTPRetryNumber return the number of retries to be applied for http calls
func GetJobsServiceImageTag ¶
func GetJobsServiceImageTag() string
GetJobsServiceImageTag return the Kogito Jobs Service image tag
func GetManagementConsoleImageTag ¶
func GetManagementConsoleImageTag() string
GetManagementConsoleImageTag return the Kogito Management Console image tag
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 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 GetOperatorImageName ¶
func GetOperatorImageName() string
GetOperatorImageName return the image name for the operator
func GetOperatorImageTag ¶
func GetOperatorImageTag() string
GetOperatorImageTag return the image tag for the operator
func GetOperatorProfilingDataAccessYamlURI ¶ added in v1.7.0
func GetOperatorProfilingDataAccessYamlURI() string
GetOperatorProfilingDataAccessYamlURI return the uri for kogito-operator-profiling-data-access.yaml file
func GetOperatorProfilingOutputFileURI ¶ added in v1.7.0
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 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 GetRuntimeApplicationImageNamespace ¶
func GetRuntimeApplicationImageNamespace() string
GetRuntimeApplicationImageNamespace return the namespace 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 GetServicesImageNameSuffix ¶
func GetServicesImageNameSuffix() string
GetServicesImageNameSuffix return the name suffix for the services images
func GetServicesImageNamespace ¶
func GetServicesImageNamespace() string
GetServicesImageNamespace return the namespace 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 GetTaskConsoleImageTag ¶
func GetTaskConsoleImageTag() string
GetTaskConsoleImageTag return the Kogito Management Console image tag
func GetTrustyImageTag ¶
func GetTrustyImageTag() string
GetTrustyImageTag return the Kogito Trusty image tag
func GetTrustyUIImageTag ¶
func GetTrustyUIImageTag() string
GetTrustyUIImageTag return the Kogito Management Console image tag
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 ¶ added in v1.8.0
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 IsOperatorNamespaced ¶
func IsOperatorNamespaced() bool
IsOperatorNamespaced return true if the Kogito operator should be deployed in scenario namespace, false for cluster wide deployment
func IsOperatorProfiling ¶ added in v1.7.0
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
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 TestConfig ¶
type TestConfig struct {
// contains filtered or unexported fields
}
TestConfig contains the information about the tests environment