Index

A B C D E G H I K L N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addCreateCallback(Consumer<HasMetadata>) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Add callback function which is called after creation of every resource
addDeleteCallback(Consumer<HasMetadata>) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Add callback function which is called after deletion of every resource
afterAll(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerCleanerExtension
Enables ResourceManagerCleanerExtension for after All callback
afterAll(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerExtension
 
afterEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerCleanerExtension
Enables ResourceManagerCleanerExtension for afterEach callback
afterEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerExtension
 
afterEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.TestVisualSeparatorExtension
 
AlreadyExists(ExecResult, String) - Constructor for exception io.skodjob.testframe.clients.KubeClusterException.AlreadyExists
Constructs a new AlreadyExists exception with the specified execution result and detail message.
appCaCertBuilder(CertAndKey) - Static method in class io.skodjob.testframe.security.CertAndKeyBuilder
Returns builder for application cert
apply(File...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Applies resources from files.
apply(File...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Applies resource changes from the provided files.
apply(String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Applies resource changes from YAML files specified by file paths.
applyContent(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Applies YAML content.
applyContent(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Applies resource content.
approveInstallPlan(String, String) - Static method in class io.skodjob.testframe.utils.KubeUtils
Approve install plan in namespace

B

BaseCmdKubeClient<K extends BaseCmdKubeClient<K>> - Class in io.skodjob.testframe.clients.cmdClient
Abstract class representing a base Kubernetes command-line client.
beforeAll(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerExtension
 
beforeEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerExtension
 
beforeEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.TestVisualSeparatorExtension
 
build() - Method in class io.skodjob.testframe.security.CertAndKeyBuilder
Returns cert and key in memory from builder
builder() - Static method in class io.skodjob.testframe.executor.Exec
Creates a new ExecBuilder instance.

C

CA_CERT_VALIDITY_DELAY - Static variable in interface io.skodjob.testframe.TestFrameConstants
CA validity delay
CertAndKey - Record Class in io.skodjob.testframe.security
Record for certificate and key in memory
CertAndKey(X509Certificate, PrivateKey) - Constructor for record class io.skodjob.testframe.security.CertAndKey
Creates an instance of a CertAndKey record class.
CertAndKeyBuilder - Class in io.skodjob.testframe.security
Builder of certificates using java
CertAndKeyFiles - Record Class in io.skodjob.testframe.security
Record for cert and key files on disk
CertAndKeyFiles(File, File) - Constructor for record class io.skodjob.testframe.security.CertAndKeyFiles
Creates an instance of a CertAndKeyFiles record class.
certFile() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns the value of the certFile record component.
certificate() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns the value of the certificate record component.
CERTIFICATE_VALIDITY_PERIOD - Static variable in class io.skodjob.testframe.security.CertAndKeyBuilder
Default cert validity period
changeOrg(String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the organization, based on the parameters.
changeOrgAndTag(String, String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the organization and tag, based on the parameters.
changeRegistry(String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the registry, based on the parameters.
changeRegistryAndOrg(String, String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the registry and organization, based on the parameters.
changeRegistryAndTag(String, String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the registry and tag, based on the parameters.
changeRegistryOrgAndTag(String, String, String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the registry, organization, and tag, based on the parameters.
changeTag(String, String) - Static method in class io.skodjob.testframe.utils.ImageUtils
Method that, for specified , replaces the tag, based on the parameters.
cleanResources() - Element in annotation interface io.skodjob.testframe.annotations.ResourceManager
Enables cleaner extension for resource manager
CLIENT_TYPE - Static variable in class io.skodjob.testframe.TestFrameEnv
The type of client.
cmd() - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Abstract method to retrieve the command.
cmd() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the command associated with the Kubernetes client.
cmd() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
Gets the command name for kubectl.
cmd() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Gets the command name for oc.
conditionName() - Method in record class io.skodjob.testframe.resources.ResourceCondition
Returns the value of the conditionName record component.
configFromYaml(File, Class<T>) - Static method in class io.skodjob.testframe.utils.TestFrameUtils
Parses YAML configuration into an object.
configFromYaml(String, Class<T>) - Static method in class io.skodjob.testframe.utils.TestFrameUtils
Parses YAML configuration into an object.
containsAllDN(String, String) - Static method in class io.skodjob.testframe.utils.SecurityUtils
Check if principal1 contains all dns of principal2 in dn
convertPrivateKeyToPKCS8File(PrivateKey) - Static method in class io.skodjob.testframe.utils.SecurityUtils
Converts private key into PKCS8File
create(File...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Creates resources from files.
create(File...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Creates resources from the provided files.
create(String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Creates resources from YAML files specified by file paths.
create(String, List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Creates resource and apply modifier
create(List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Creates resource and apply modifier
create(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Creates specific ResourceType resource
createInNamespace(String, T) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
Creates specific NamespacedResourceType resource in Namespace specified by user
createNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Creates a namespace.
createNamespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Creates a namespace with the given name.
createNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Creates a new namespace.
createOrUpdate(String, List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Create or update resources from file and apply modifier
createOrUpdate(List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Create or update resources from file and apply modifier
createOrUpdateResourceWithoutWait(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Creates or updates resources.
createOrUpdateResourceWithWait(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Creates or updates resources and waits for readiness.
createResourceAndApply(String, Map<String, String>) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Creates a resource from a template and applies it.
createResourceAndApply(String, Map<String, String>) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Creates a resource from a template and applies it.
createResourceWithoutWait(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Creates resources without waiting for readiness.
createResourceWithWait(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Creates resources and waits for readiness.
cutExecutorLog(String) - Static method in class io.skodjob.testframe.executor.Exec
This method check the size of executor output log and cut it if it's too long.

D

DEFAULT_TIMEOUT_DURATION - Static variable in class io.skodjob.testframe.utils.TestFrameUtils
Default timeout for asynchronous tests.
DEFAULT_TIMEOUT_UNIT - Static variable in class io.skodjob.testframe.utils.TestFrameUtils
Default timeout unit for asynchronous tests.
defaultOlmNamespace() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the default OLM (Operator Lifecycle Manager) namespace for the Kubernetes client.
defaultOlmNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
Gets the default OLM (Operator Lifecycle Manager) namespace.
defaultOlmNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Gets the default OLM (Operator Lifecycle Manager) namespace.
delete(File...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Deletes resources from files.
delete(File...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Deletes resources specified in the provided files.
delete(String) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Deletes ResourceType resource from Namespace in current context
delete(String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Deletes resources specified in YAML files specified by file paths.
delete(List<HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Deletes resources
delete(List<HasMetadata>, String) - Method in class io.skodjob.testframe.clients.KubeClient
Delete resources
deleteByName(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Deletes a resource by its name.
deleteByName(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Deletes resources by resource name.
deleteContent(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Deletes YAML content.
deleteContent(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Deletes resource content.
deleteFromNamespace(String, String) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
Deletes NamespacedResourceType resource from Namespace specified by user
deleteNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Deletes a namespace.
deleteNamespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Deletes the namespace with the given name.
deleteResource(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Deletes resources.
deleteResources() - Method in class io.skodjob.testframe.resources.KubeResourceManager
Deletes all stored resources.
deletion() - Static method in record class io.skodjob.testframe.resources.ResourceCondition
Creates a ResourceCondition representing deletion of a resource.
describe(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves the description of a resource.
describe(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves a description of a resource.

E

endEntityCertBuilder(CertAndKey) - Static method in class io.skodjob.testframe.security.CertAndKeyBuilder
Returns builder for end entity cert
equals(Object) - Method in record class io.skodjob.testframe.resources.ResourceCondition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.skodjob.testframe.resources.ResourceItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.skodjob.testframe.security.CertAndKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Indicates whether some other object is "equal to" this one.
err() - Method in class io.skodjob.testframe.executor.Exec
Getter for stdErrorOutput
err() - Method in class io.skodjob.testframe.executor.ExecResult
Gets the standard error of the execution.
exec() - Method in class io.skodjob.testframe.executor.ExecBuilder
Executes the command with the provided configuration.
exec(boolean, boolean, int, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command with the option to throw errors and log to output.
exec(boolean, boolean, int, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Execute the given command.
exec(boolean, boolean, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command with the option to throw errors and log to output.
exec(boolean, boolean, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command with control over throwing exceptions on failure and logging to output control.
exec(boolean, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command with the option to throw errors.
exec(boolean, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command with control over throwing exceptions on failure.
exec(boolean, String...) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command.
exec(String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command.
exec(String...) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(String, List<String>) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(String, List<String>, int, boolean) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(String, List<String>, int, boolean, boolean) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(String, List<String>, Set<EnvVar>, int, boolean, boolean) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
exec(List<String>) - Static method in class io.skodjob.testframe.executor.Exec
Method executes external command
Exec - Class in io.skodjob.testframe.executor
Utility class for executing external commands.
Exec() - Constructor for class io.skodjob.testframe.executor.Exec
Constructs a new Exec instance.
Exec(boolean) - Constructor for class io.skodjob.testframe.executor.Exec
Constructs a new Exec instance with the specified option to append line separator.
Exec(Path) - Constructor for class io.skodjob.testframe.executor.Exec
Constructs a new Exec instance with a log path.
ExecBuilder - Class in io.skodjob.testframe.executor
Builder class for creating and executing commands.
ExecBuilder() - Constructor for class io.skodjob.testframe.executor.ExecBuilder
Constructor
execInPod(String, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command in a pod.
execInPod(String, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command within a pod.
execInPodContainer(boolean, String, String, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command in a pod container with the option to log to output.
execInPodContainer(boolean, String, String, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command within a pod container with logging to output control.
execInPodContainer(String, String, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Executes a command in a pod container.
execInPodContainer(String, String, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Executes a command within a pod container.
ExecResult - Class in io.skodjob.testframe.executor
Represents the result of an execution.
ExecResult(int, String, String) - Constructor for class io.skodjob.testframe.executor.ExecResult
Constructs a new ExecResult with the specified return code, standard output, and standard error.
execute(String, List<String>, Set<EnvVar>, long) - Method in class io.skodjob.testframe.executor.Exec
Method executes external command
exitStatus() - Method in class io.skodjob.testframe.executor.ExecResult
Checks if the execution was successful.
exportCaDataToFile(String, String, String) - Static method in class io.skodjob.testframe.utils.SecurityUtils
This method exports Certificate Authority (CA) data to a temporary file for cases in which mentioned data is necessary in form of file - for use in applications like OpenSSL.
exportToPemFiles(CertAndKey...) - Static method in class io.skodjob.testframe.utils.SecurityUtils
Export in-memory cert and key into pem files

G

generateCertSigningRequest(File, String) - Static method in class io.skodjob.testframe.security.OpenSsl
Generates cert signing request
generatePrivateKey() - Static method in class io.skodjob.testframe.security.OpenSsl
Generates private key
generatePrivateKey(int) - Static method in class io.skodjob.testframe.security.OpenSsl
Generates private key
generateSignedCert(File, File, File) - Static method in class io.skodjob.testframe.security.OpenSsl
Generates signed cert
get(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves the YAML representation of a resource.
get(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the YAML content of a resource.
getCertificate() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns certificate
getCertPath() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns path of cert file
getClient() - Method in class io.skodjob.testframe.clients.KubeClient
Returns the Kubernetes client.
getClient() - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
Get specific NamespacedResourceType client for resoruce
getClient() - Method in interface io.skodjob.testframe.interfaces.ResourceType
Get specific client for resoruce
getCurrentNamespace() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the currently set namespace for the Kubernetes client.
getCurrentNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
Gets the current namespace of the Kubectl instance.
getCurrentNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Gets the current namespace of the Oc instance.
getDeploymentNameByPrefix(String, String) - Method in class io.skodjob.testframe.clients.KubeClient
Returns list of deployments with prefix name
getEvents() - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves the events from the cluster.
getEvents() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves a list of events within the current namespace.
getFileFromResourceAsStream(String) - Static method in class io.skodjob.testframe.utils.TestFrameUtils
Retrieves a file from the classpath as an input stream.
getInstance() - Static method in class io.skodjob.testframe.resources.KubeResourceManager
Retrieves the singleton instance of KubeResourceManager.
getKeyPath() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns path of key file
getKind() - Method in interface io.skodjob.testframe.interfaces.ResourceType
Kind of api resource
getKubeClient() - Static method in class io.skodjob.testframe.resources.KubeResourceManager
Retrieves the Kubernetes client.
getKubeCmdClient() - Static method in class io.skodjob.testframe.resources.KubeResourceManager
Retrieves the Kubernetes command-line client.
getKubeconfigPath() - Method in class io.skodjob.testframe.clients.KubeClient
Returns the path to the kubeconfig file used for authentication.
getLogsFromContainer(String, String, String) - Method in class io.skodjob.testframe.clients.KubeClient
Return log from pods specific container
getLogsFromPod(String, String) - Method in class io.skodjob.testframe.clients.KubeClient
Return log from pod with one container
getNonApprovedInstallPlan(String, String) - Static method in class io.skodjob.testframe.utils.KubeUtils
Read not approved install-plans with prefix
getOpenShiftClient() - Method in class io.skodjob.testframe.clients.KubeClient
Adapts the Kubernetes client to an OpenShift client.
getOrDefault(String, String) - Method in class io.skodjob.testframe.environment.TestEnvironmentVariables
Method which returns the value from env variable or its default in String.
getOrDefault(String, Function<String, T>, T) - Method in class io.skodjob.testframe.environment.TestEnvironmentVariables
Method which returns the value from env variable or its default in the specified type.
getPrivateKey() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns private key
getPublicKey() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns public key
getResourceAsJson(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves a resource as JSON.
getResourceAsJson(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the JSON content of a resource.
getResourceAsYaml(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves a resource as YAML.
getResourceAsYaml(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the YAML content of a resource by type and name.
getResourcesAsYaml(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves resources as YAML.
getResourcesAsYaml(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the YAML content of resources by type.
getTestContext() - Static method in class io.skodjob.testframe.resources.KubeResourceManager
Retrieves the test context.
getUsername() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves the username associated with the Kubernetes client.
getUsername() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
Gets the username.
getUsername() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Gets the username.
GLOBAL_POLL_INTERVAL_1_SEC - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global poll interval in milliseconds (1 second).
GLOBAL_POLL_INTERVAL_LONG - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global poll interval in milliseconds (long).
GLOBAL_POLL_INTERVAL_MEDIUM - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global poll interval in milliseconds (medium).
GLOBAL_POLL_INTERVAL_SHORT - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global poll interval in milliseconds (short).
GLOBAL_STABILITY_TIME - Static variable in interface io.skodjob.testframe.TestFrameConstants
Stability timeout in milliseconds
GLOBAL_TIMEOUT - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global timeout in milliseconds.
GLOBAL_TIMEOUT_MEDIUM - Static variable in interface io.skodjob.testframe.TestFrameConstants
Global timeout in milliseconds (medium).

H

hashCode() - Method in record class io.skodjob.testframe.resources.ResourceCondition
Returns a hash code value for this object.
hashCode() - Method in record class io.skodjob.testframe.resources.ResourceItem
Returns a hash code value for this object.
hashCode() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns a hash code value for this object.
hashCode() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns a hash code value for this object.

I

ImageUtils - Class in io.skodjob.testframe.utils
Class containing methods for handling images
inNamespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Sets the namespace for subsequent operations.
inNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
Sets the namespace for the Kubectl instance.
inNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Sets the namespace for the Oc instance.
intermediateCaCertBuilder(CertAndKey) - Static method in class io.skodjob.testframe.security.CertAndKeyBuilder
Returns builder for intermediate CA
InvalidResource(ExecResult, String) - Constructor for exception io.skodjob.testframe.clients.KubeClusterException.InvalidResource
Constructs a new InvalidResource exception with the specified execution result and detail message.
io.skodjob.testframe - package io.skodjob.testframe
 
io.skodjob.testframe.annotations - package io.skodjob.testframe.annotations
 
io.skodjob.testframe.clients - package io.skodjob.testframe.clients
 
io.skodjob.testframe.clients.cmdClient - package io.skodjob.testframe.clients.cmdClient
 
io.skodjob.testframe.environment - package io.skodjob.testframe.environment
 
io.skodjob.testframe.executor - package io.skodjob.testframe.executor
 
io.skodjob.testframe.interfaces - package io.skodjob.testframe.interfaces
 
io.skodjob.testframe.listeners - package io.skodjob.testframe.listeners
 
io.skodjob.testframe.resources - package io.skodjob.testframe.resources
 
io.skodjob.testframe.security - package io.skodjob.testframe.security
 
io.skodjob.testframe.utils - package io.skodjob.testframe.utils
 
io.skodjob.testframe.wait - package io.skodjob.testframe.wait
 
IP_FAMILY - Static variable in class io.skodjob.testframe.TestFrameEnv
The IP address family used for network communication.
IP_FAMILY_DEFAULT - Static variable in class io.skodjob.testframe.TestFrameEnv
Represents the default IP family, which is IPv4.
IP_FAMILY_DUAL_STACK - Static variable in class io.skodjob.testframe.TestFrameEnv
Represents the dual stack IP family, which supports both IPv4 and IPv6.
IP_FAMILY_VERSION_6 - Static variable in class io.skodjob.testframe.TestFrameEnv
Represents the IPv6 IP family.
isExecutableOnPath(String) - Static method in class io.skodjob.testframe.executor.Exec
Check if command is executable

K

KEY_PAIR_ALGORITHM - Static variable in class io.skodjob.testframe.security.CertAndKeyBuilder
Key pair algorithm
KEY_SIZE - Static variable in class io.skodjob.testframe.security.CertAndKeyBuilder
Key size
keyFile() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns the value of the keyFile record component.
KUBE_TOKEN - Static variable in class io.skodjob.testframe.TestFrameEnv
The token for accessing the Kubernetes cluster.
KUBE_URL - Static variable in class io.skodjob.testframe.TestFrameEnv
The URL for accessing the Kubernetes cluster.
KubeClient - Class in io.skodjob.testframe.clients
Provides functionality to interact with Kubernetes and OpenShift clusters.
KubeClient() - Constructor for class io.skodjob.testframe.clients.KubeClient
Initializes the Kubernetes client with configuration derived from environment variables or default context.
KubeClusterException - Exception in io.skodjob.testframe.clients
Custom exception class for handling exceptions related to Kubernetes cluster operations.
KubeClusterException(ExecResult, String) - Constructor for exception io.skodjob.testframe.clients.KubeClusterException
Constructs a new KubeClusterException with the specified detail message and execution result.
KubeClusterException(Throwable) - Constructor for exception io.skodjob.testframe.clients.KubeClusterException
Constructs a new KubeClusterException with the specified cause.
KubeClusterException.AlreadyExists - Exception in io.skodjob.testframe.clients
Exception class indicating that the resource to be created already exists in the Kubernetes cluster.
KubeClusterException.InvalidResource - Exception in io.skodjob.testframe.clients
Exception class indicating that the resource provided to the Kubernetes cluster is invalid.
KubeClusterException.NotFound - Exception in io.skodjob.testframe.clients
Exception class indicating that a requested resource was not found in the Kubernetes cluster.
KubeCmdClient<K extends KubeCmdClient<K>> - Interface in io.skodjob.testframe.clients.cmdClient
Abstraction for a Kubernetes client.
Kubectl - Class in io.skodjob.testframe.clients.cmdClient
A KubeCmdClient wrapping kubectl.
Kubectl() - Constructor for class io.skodjob.testframe.clients.cmdClient.Kubectl
Constructs a new Kubectl instance.
Kubectl(String) - Constructor for class io.skodjob.testframe.clients.cmdClient.Kubectl
Constructs a new Kubectl instance with the specified configuration.
KUBECTL - Static variable in class io.skodjob.testframe.clients.cmdClient.Kubectl
The command name for kubectl.
KubeResourceManager - Class in io.skodjob.testframe.resources
Manages Kubernetes resources for testing purposes.
KUBERNETES_CLIENT - Static variable in interface io.skodjob.testframe.TestFrameConstants
Kubernetes client type.
KubeUtils - Class in io.skodjob.testframe.utils
Utility methods for Kubernetes and Openshift clusters.

L

labelNamespace(String, String, String) - Static method in class io.skodjob.testframe.utils.KubeUtils
Apply label to namespace and wait for propagation
list(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Lists resources of a certain type.
list(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves a list of resources by type.
listPods(String) - Method in class io.skodjob.testframe.clients.KubeClient
Get all pods from namespace
listPods(String, LabelSelector) - Method in class io.skodjob.testframe.clients.KubeClient
Get all pods with prefix nanme
listPodsByPrefixInName(String, String) - Method in class io.skodjob.testframe.clients.KubeClient
Returns list of pods by prefix in pod name
listResourcesByLabel(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Lists resources by label.
listResourcesByLabel(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves a list of resources by label.
logEnvironmentVariables() - Method in class io.skodjob.testframe.environment.TestEnvironmentVariables
Method which logs environment variables parsed by TestEnvironmentVariables
LoggerUtils - Class in io.skodjob.testframe.utils
Utility methods for logging.
logResource(String, Level, T) - Static method in class io.skodjob.testframe.utils.LoggerUtils
Log resource with correct format
logResource(String, T) - Static method in class io.skodjob.testframe.utils.LoggerUtils
Log resource with correct format
logs(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves logs for a pod.
logs(String, String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Retrieves logs of a pod/container.
logs(String, String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Retrieves logs for a pod container.
logSeparator() - Static method in class io.skodjob.testframe.utils.LoggerUtils
Logs a separator line using the default separator character and length.
logSeparator(String, int) - Static method in class io.skodjob.testframe.utils.LoggerUtils
Logs a separator line with a custom delimiter character and length.
logToOutput(boolean) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets whether to log the output of the command.

N

NamespacedResourceType<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Interface in io.skodjob.testframe.interfaces
Class for encapsulating methods related to NamespacedResourceType resource.
namespaceExists(String) - Method in class io.skodjob.testframe.clients.KubeClient
Check if namespace exists in current cluster
newApp(String, Map<String, String>) - Method in class io.skodjob.testframe.clients.cmdClient.Oc
Creates a new application.
NotFound(ExecResult, String) - Constructor for exception io.skodjob.testframe.clients.KubeClusterException.NotFound
Constructs a new NotFound exception with the specified execution result and detail message.

O

Oc - Class in io.skodjob.testframe.clients.cmdClient
A KubeCmdClient implementation wrapping oc.
Oc() - Constructor for class io.skodjob.testframe.clients.cmdClient.Oc
Constructs a new Oc instance.
Oc(String) - Constructor for class io.skodjob.testframe.clients.cmdClient.Oc
Constructs a new Oc instance with the specified configuration.
OPENSHIFT_CLIENT - Static variable in interface io.skodjob.testframe.TestFrameConstants
OpenShift client type.
OpenSsl - Class in io.skodjob.testframe.security
The `OpenSsl` class encapsulates OpenSSL command execution using the OpenSSLCommand object, which interfaces with the command-line version of OpenSSL.
out() - Method in class io.skodjob.testframe.executor.Exec
Getter for stdOutput
out() - Method in class io.skodjob.testframe.executor.ExecResult
Gets the standard output of the execution.

P

podSnapshot(String, LabelSelector) - Static method in class io.skodjob.testframe.utils.PodUtils
Returns a map of resource name to resource version for all the pods in the given namespace matching the given selector
PodUtils - Class in io.skodjob.testframe.utils
Represents utils class for pod
POLL_INTERVAL_FOR_RESOURCE_READINESS - Static variable in interface io.skodjob.testframe.TestFrameConstants
Poll interval for resource readiness
predicate() - Method in record class io.skodjob.testframe.resources.ResourceCondition
Returns the value of the predicate record component.
printAllResources(Level) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Logs all managed resources across all test contexts with set log level
printCurrentResources(Level) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Logs all managed resources in current test context with set log level
privateKey() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns the value of the privateKey record component.
process(Map<String, String>, String, Consumer<String>) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Processes a template file with parameters.
process(Map<String, String>, String, Consumer<String>) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Processes a file with specific domain logic.
pushToStack(ResourceItem<?>) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Pushes a resource item to the stack.
pushToStack(T) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Pushes a resource to the stack.

R

readiness(ResourceType<T>) - Static method in record class io.skodjob.testframe.resources.ResourceCondition
Creates a ResourceCondition representing readiness of a resource of the given type.
readResourcesFromFile(InputStream) - Method in class io.skodjob.testframe.clients.KubeClient
Reads Kubernetes resources from an InputStream.
readResourcesFromFile(InputStream) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Reads Kubernetes resources from an InputStream.
readResourcesFromFile(Path) - Method in class io.skodjob.testframe.clients.KubeClient
Reads Kubernetes resources from a file at the specified path.
readResourcesFromFile(Path) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Reads Kubernetes resources from a file at the specified path.
replace(File...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Replaces resources from files.
replace(File...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Replaces resources with the contents of the provided files.
replace(String, Consumer<T>) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Replaces ResourceType resource using Consumer from which is the current ResourceType resource updated
replaceInNamespace(String, String, Consumer<T>) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
Replaces NamespacedResourceType resource in Namespace specified by user, using Consumer from which is the current NamespacedResourceType resource updated
resource() - Method in record class io.skodjob.testframe.resources.ResourceItem
Returns the value of the resource record component.
RESOURCE_LOGGER_PATTERN - Static variable in class io.skodjob.testframe.utils.LoggerUtils
Pattern for logging resource information without namespace.
RESOURCE_WITH_NAMESPACE_LOGGER_PATTERN - Static variable in class io.skodjob.testframe.utils.LoggerUtils
Pattern for logging resource information with namespace.
ResourceCondition<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Record Class in io.skodjob.testframe.resources
Represents a condition that can be applied to Kubernetes resources.
ResourceCondition(Predicate<T>, String) - Constructor for record class io.skodjob.testframe.resources.ResourceCondition
Creates an instance of a ResourceCondition record class.
ResourceItem<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Record Class in io.skodjob.testframe.resources
Represents an item containing a Kubernetes resource and a runnable action.
ResourceItem(ThrowableRunner) - Constructor for record class io.skodjob.testframe.resources.ResourceItem
Constructs a ResourceItem with the given runnable action.
ResourceItem(ThrowableRunner, T) - Constructor for record class io.skodjob.testframe.resources.ResourceItem
Creates an instance of a ResourceItem record class.
ResourceManager - Annotation Interface in io.skodjob.testframe.annotations
This annotation is used to manage resources in JUnit tests.
ResourceManagerCleanerExtension - Class in io.skodjob.testframe.listeners
Enables cleaner extension based on cleanResources value
ResourceManagerExtension - Class in io.skodjob.testframe.listeners
jUnit5 specific class which listening on test callbacks
ResourceType<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Interface in io.skodjob.testframe.interfaces
Class for encapsulating methods related to ResourceType resource.
result - Variable in exception io.skodjob.testframe.clients.KubeClusterException
results
returnCode() - Method in class io.skodjob.testframe.executor.ExecResult
Gets the return code of the execution.
rootCaCertBuilder() - Static method in class io.skodjob.testframe.security.CertAndKeyBuilder
Returns builder for root CA
run() - Method in interface io.skodjob.testframe.interfaces.ThrowableRunner
Executes the block of code.
runUntilPass(int, Callable<T>) - Static method in class io.skodjob.testframe.utils.TestFrameUtils
Runs a callable function until it passes or the maximum number of retries is reached.

S

saveConfigurationFile(String) - Method in class io.skodjob.testframe.environment.TestEnvironmentVariables
Saves all set environment variables into yaml file
scaleByName(String, String, int) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Scales resources by name.
scaleByName(String, String, int) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Scales a resource by its kind and name.
searchInLog(String, String, long, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Searches for patterns in logs.
searchInLog(String, String, long, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Searches for patterns in the logs of a resource.
searchInLog(String, String, String, long, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Searches for patterns in logs of a specific container.
searchInLog(String, String, String, long, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
Searches for patterns in the logs of a resource container.
SecurityUtils - Class in io.skodjob.testframe.utils
Utils for manipulating with certs
setResourceTypes(ResourceType<?>...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Sets the resource types.
setTestContext(ExtensionContext) - Static method in class io.skodjob.testframe.resources.KubeResourceManager
Sets the test context.
SIGNATURE_ALGORITHM - Static variable in class io.skodjob.testframe.security.CertAndKeyBuilder
Sign algorithm
stop() - Method in class io.skodjob.testframe.executor.Exec
Method kills process

T

TestEnvironmentVariables - Class in io.skodjob.testframe.environment
Class representing environment variables used in the test suite
TestEnvironmentVariables() - Constructor for class io.skodjob.testframe.environment.TestEnvironmentVariables
TestEnvironmentVariables object initialization, where the config file is loaded to TestEnvironmentVariables.yamlData if possible.
TestEnvironmentVariables(Map<String, String>) - Constructor for class io.skodjob.testframe.environment.TestEnvironmentVariables
TestEnvironmentVariables object initialization, where the config file is loaded to TestEnvironmentVariables.yamlData if possible.
TestFrameConstants - Interface in io.skodjob.testframe
Constants used in the test framework.
TestFrameEnv - Class in io.skodjob.testframe
Class which holds environment variables for system tests.
TestFrameUtils - Class in io.skodjob.testframe.utils
Utility methods for TestFrame.
TestVisualSeparator - Annotation Interface in io.skodjob.testframe.annotations
This annotation is used to manage resources in JUnit tests.
TestVisualSeparatorExtension - Class in io.skodjob.testframe.listeners
jUnit5 specific class which listening on test callbacks
throwableRunner() - Method in record class io.skodjob.testframe.resources.ResourceItem
Returns the value of the throwableRunner record component.
ThrowableRunner - Interface in io.skodjob.testframe.interfaces
A functional interface that represents a block of code that can throw an exception.
throwErrors(boolean) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets whether to throw errors if the command fails.
timeout(int) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets the timeout for the command.
toString() - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
Converts the object to a string representation.
toString() - Method in class io.skodjob.testframe.executor.ExecResult
Returns a string representation of the ExecResult.
toString() - Method in record class io.skodjob.testframe.resources.ResourceCondition
Returns a string representation of this record class.
toString() - Method in record class io.skodjob.testframe.resources.ResourceItem
Returns a string representation of this record class.
toString() - Method in record class io.skodjob.testframe.security.CertAndKey
Returns a string representation of this record class.
toString() - Method in record class io.skodjob.testframe.security.CertAndKeyFiles
Returns a string representation of this record class.

U

until(String, long, long, BooleanSupplier) - Static method in class io.skodjob.testframe.wait.Wait
For every poll (happening once each pollIntervalMs) checks if supplier ready is true.
until(String, long, long, BooleanSupplier, Runnable) - Static method in class io.skodjob.testframe.wait.Wait
For every poll (happening once each pollIntervalMs) checks if supplier ready is true.
untilAsync(String, long, long, BooleanSupplier) - Static method in class io.skodjob.testframe.wait.Wait
For every poll (happening once each pollIntervalMs) checks if supplier ready is true.
update(String, List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Updates resources and apply modifier
update(List<HasMetadata>, Function<HasMetadata, HasMetadata>) - Method in class io.skodjob.testframe.clients.KubeClient
Updates resources and apply modifier
update(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Updates specific ResourceType resource
updateInNamespace(String, T) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
Updates specific NamespacedResourceType resource in Namespace specified by user
updateResource(T...) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Updates resources.
USER_PATH - Static variable in class io.skodjob.testframe.TestFrameEnv
Default user dir of exec process

V

verifyThatPodsAreStable(String, LabelSelector) - Static method in class io.skodjob.testframe.utils.PodUtils
Verify if the pod is stable after it is in ready state.

W

Wait - Class in io.skodjob.testframe.wait
Wait utils
WaitException - Exception in io.skodjob.testframe.wait
An exception indicating a failure while waiting.
WaitException(String) - Constructor for exception io.skodjob.testframe.wait.WaitException
Constructs a new WaitException with the specified detail message.
waitForCertIsInValidDateRange(File) - Static method in class io.skodjob.testframe.security.OpenSsl
Waits for cert is valid in current range
waitForDeletion(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Waits for ResourceType to be deleted
waitForPodsReady(String, boolean, Runnable) - Static method in class io.skodjob.testframe.utils.PodUtils
Wait for all pods in namespace to be ready
waitForPodsReady(String, LabelSelector, int, boolean, Runnable) - Static method in class io.skodjob.testframe.utils.PodUtils
Wait for pods selected by label selector in namespace to be ready
waitForPodsReadyWithRestart(String, LabelSelector, int, boolean) - Static method in class io.skodjob.testframe.utils.PodUtils
Wait for pod ready, if not ready for timeout try to restart and check again
waitForReadiness(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
Waits for ResourceType to be ready (created/running)
waitResourceCondition(T, ResourceCondition<T>) - Method in class io.skodjob.testframe.resources.KubeResourceManager
Waits for a resource condition to be fulfilled.
withCommand(String...) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets the command to execute.
withCommand(List<String>) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets the command to execute.
withEnvVars(Set<EnvVar>) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets the environment variables.
withInput(String) - Method in class io.skodjob.testframe.executor.ExecBuilder
Sets the input for the command.
withIssuerDn(String) - Method in class io.skodjob.testframe.security.CertAndKeyBuilder
Sets issues DN
withSanDnsName(String) - Method in class io.skodjob.testframe.security.CertAndKeyBuilder
Sets san dns
withSanDnsNames(ASN1Encodable[]) - Method in class io.skodjob.testframe.security.CertAndKeyBuilder
Sets multiple san dns names
withSubjectDn(String) - Method in class io.skodjob.testframe.security.CertAndKeyBuilder
Sets subject DN
A B C D E G H I K L N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form