Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- afterAll(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerCleanerExtension
- afterAll(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerExtension
- afterEach(ExtensionContext) - Method in class io.skodjob.testframe.listeners.ResourceManagerCleanerExtension
- 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.
- 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.
- applyContentInNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
-
Applies YAML content in the current namespace.
- applyContentInNamespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Applies resource content within the current 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
- builder() - Static method in class io.skodjob.testframe.executor.Exec
-
Creates a new ExecBuilder instance.
C
- 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.
- configFromYaml(String, Class<T>) - Static method in class io.skodjob.testframe.utils.TestFrameUtils
-
Parses YAML configuration into an object.
- 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(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
-
Creates specific
ResourceTyperesource - createInNamespace(String, T) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
-
Creates specific
NamespacedResourceTyperesource 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.
- 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.
- defaultNamespace() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Retrieves the default namespace for the Kubernetes client.
- defaultNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
-
Gets the default namespace.
- defaultNamespace() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
-
Gets the default namespace.
- 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
ResourceTyperesource 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.
- 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.
- deleteContentInNamespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
-
Deletes YAML content in the current namespace.
- deleteContentInNamespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Deletes resource content within the current namespace.
- deleteFromNamespace(String, String) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
-
Deletes
NamespacedResourceTyperesource 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 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
- 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, 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
- 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
- execInCurrentNamespace(boolean, String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
-
Executes a command in the current namespace with the option to log to output.
- execInCurrentNamespace(boolean, String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Executes a command within the current namespace with logging to output control.
- execInCurrentNamespace(String...) - Method in class io.skodjob.testframe.clients.cmdClient.BaseCmdKubeClient
-
Executes a command in the current namespace.
- execInCurrentNamespace(String...) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Executes a command within the current namespace.
- 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.
- 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.
G
- 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.
- getClient() - Method in class io.skodjob.testframe.clients.KubeClient
-
Returns the Kubernetes client.
- getClient() - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
-
Get specific
NamespacedResourceTypeclient for resoruce - getClient() - Method in interface io.skodjob.testframe.interfaces.ResourceType
-
Get specific client for resoruce
- getConditionName() - Method in class io.skodjob.testframe.resources.ResourceCondition
-
Gets the name of the condition.
- 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.
- 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.
- getOpenShiftClient() - Method in class io.skodjob.testframe.clients.KubeClient
-
Adapts the Kubernetes client to an OpenShift client.
- getPredicate() - Method in class io.skodjob.testframe.resources.ResourceCondition
-
Gets the predicate representing the condition.
- getResource() - Method in class io.skodjob.testframe.resources.ResourceItem
-
Gets the Kubernetes resource associated with this resource item.
- 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.
- getThrowableRunner() - Method in class io.skodjob.testframe.resources.ResourceItem
-
Gets the runnable action associated with this resource item.
- 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 class io.skodjob.testframe.TestFrameConstants
-
Global poll interval in milliseconds (1 second).
- GLOBAL_POLL_INTERVAL_LONG - Static variable in class io.skodjob.testframe.TestFrameConstants
-
Global poll interval in milliseconds (long).
- GLOBAL_POLL_INTERVAL_MEDIUM - Static variable in class io.skodjob.testframe.TestFrameConstants
-
Global poll interval in milliseconds (medium).
- GLOBAL_POLL_INTERVAL_SHORT - Static variable in class io.skodjob.testframe.TestFrameConstants
-
Global poll interval in milliseconds (short).
- GLOBAL_TIMEOUT - Static variable in class io.skodjob.testframe.TestFrameConstants
-
Global timeout in milliseconds.
I
- 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.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.utils - package io.skodjob.testframe.utils
- io.skodjob.testframe.wait - package io.skodjob.testframe.wait
- isExecutableOnPath(String) - Static method in class io.skodjob.testframe.executor.Exec
-
Check if command is executable
K
- KUBE_PASSWORD - Static variable in class io.skodjob.testframe.TestFrameEnv
-
The password for accessing the Kubernetes cluster.
- 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.
- KUBE_USERNAME - Static variable in class io.skodjob.testframe.TestFrameEnv
-
The username 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
KubeCmdClientwrappingkubectl. - 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.
- KubeResourceManager() - Constructor for class io.skodjob.testframe.resources.KubeResourceManager
- KUBERNETES_CLIENT - Static variable in class io.skodjob.testframe.TestFrameConstants
-
Kubernetes client type.
L
- 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.
- 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.
- LoggerUtils - Class in io.skodjob.testframe
-
Utility methods for logging.
- 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.LoggerUtils
-
Logs a separator line using the default separator character and length.
- logSeparator(String, int) - Static method in class io.skodjob.testframe.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
- namespace() - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Retrieves the currently set namespace for the Kubernetes client.
- namespace() - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
-
Gets the current namespace of the Kubectl instance.
- namespace() - Method in class io.skodjob.testframe.clients.cmdClient.Oc
-
Gets the current namespace of the Oc instance.
- namespace(String) - Method in interface io.skodjob.testframe.clients.cmdClient.KubeCmdClient
-
Sets the namespace for subsequent operations.
- namespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.Kubectl
-
Sets the namespace for the Kubectl instance.
- namespace(String) - Method in class io.skodjob.testframe.clients.cmdClient.Oc
-
Sets the namespace for the Oc instance.
- NamespacedResourceType<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Interface in io.skodjob.testframe.interfaces
-
Class for encapsulating methods related to
NamespacedResourceTyperesource. - 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
KubeCmdClientimplementation wrappingoc. - 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 class io.skodjob.testframe.TestFrameConstants
-
OpenShift client type.
- 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
- print() - Static method in class io.skodjob.testframe.TestFrameEnv
-
Print method.
- 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 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
ResourceTyperesource usingConsumerfrom which is the currentResourceTyperesource updated - replaceInNamespace(String, String, Consumer<T>) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
-
Replaces
NamespacedResourceTyperesource in Namespace specified by user, usingConsumerfrom which is the currentNamespacedResourceTyperesource updated - RESOURCE_LOGGER_PATTERN - Static variable in class io.skodjob.testframe.LoggerUtils
-
Pattern for logging resource information without namespace.
- RESOURCE_WITH_NAMESPACE_LOGGER_PATTERN - Static variable in class io.skodjob.testframe.LoggerUtils
-
Pattern for logging resource information with namespace.
- ResourceCondition<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Class in io.skodjob.testframe.resources
-
Represents a condition that can be applied to Kubernetes resources.
- ResourceCondition(Predicate<T>, String) - Constructor for class io.skodjob.testframe.resources.ResourceCondition
-
Constructs a ResourceCondition with the given predicate and condition name.
- ResourceItem<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Class in io.skodjob.testframe.resources
-
Represents an item containing a Kubernetes resource and a runnable action.
- ResourceItem(ThrowableRunner) - Constructor for class io.skodjob.testframe.resources.ResourceItem
-
Constructs a ResourceItem with the given runnable action.
- ResourceItem(ThrowableRunner, T) - Constructor for class io.skodjob.testframe.resources.ResourceItem
-
Constructs a ResourceItem with the given runnable action and resource.
- 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
-
jUnit5 specific class which listening on test callbacks
- ResourceManagerCleanerExtension() - Constructor for class io.skodjob.testframe.listeners.ResourceManagerCleanerExtension
- ResourceManagerDebug - Annotation Interface in io.skodjob.testframe.annotations
-
This annotation is used to manage resources in JUnit tests.
- ResourceManagerExtension - Class in io.skodjob.testframe.listeners
-
jUnit5 specific class which listening on test callbacks
- ResourceManagerExtension() - Constructor for class io.skodjob.testframe.listeners.ResourceManagerExtension
- ResourceType<T extends io.fabric8.kubernetes.api.model.HasMetadata> - Interface in io.skodjob.testframe.interfaces
-
Class for encapsulating methods related to
ResourceTyperesource. - 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.
- 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
- 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.
- 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.
- stop() - Method in class io.skodjob.testframe.executor.Exec
-
Method kills process
T
- TestFrameConstants - Class 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
- TestVisualSeparatorExtension() - Constructor for class io.skodjob.testframe.listeners.TestVisualSeparatorExtension
- 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.
U
- until(String, long, long, BooleanSupplier) - Static method in class io.skodjob.testframe.wait.Wait
-
For every poll (happening once each
pollIntervalMs) checks if supplierreadyis 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 supplierreadyis true. - untilAsync(String, long, long, BooleanSupplier) - Static method in class io.skodjob.testframe.wait.Wait
-
For every poll (happening once each
pollIntervalMs) checks if supplierreadyis true. - update(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
-
Updates specific
ResourceTyperesource - updateInNamespace(String, T) - Method in interface io.skodjob.testframe.interfaces.NamespacedResourceType
-
Updates specific
NamespacedResourceTyperesource 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
W
- Wait - Class in io.skodjob.testframe.wait
-
Wait utils
- Wait() - Constructor for class io.skodjob.testframe.wait.Wait
- 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.
- waitForDeletion(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
-
Waits for
ResourceTypeto be deleted - waitForReadiness(T) - Method in interface io.skodjob.testframe.interfaces.ResourceType
-
Waits for
ResourceTypeto 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form