Skip to content

Commit

Permalink
Reorganize packages to new root
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Feb 21, 2024
1 parent 325342f commit 61a9313
Show file tree
Hide file tree
Showing 22 changed files with 56 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.skodjob.clients;
package io.skodjob.testframe.clients;

import io.fabric8.kubernetes.client.Config;
import io.fabric8.kubernetes.client.KubernetesClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.skodjob.interfaces;
package io.skodjob.testframe.interfaces;

import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.KubernetesResourceList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.skodjob.interfaces;
package io.skodjob.testframe.interfaces;

import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.KubernetesResourceList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.skodjob.wait;
package io.skodjob.testframe.wait;

import java.io.PrintWriter;
import java.io.StringWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.skodjob.wait;
package io.skodjob.testframe.wait;

public class WaitException extends RuntimeException {
public WaitException(String message) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.rbac.ClusterRoleBinding;
import io.fabric8.kubernetes.api.model.rbac.ClusterRoleBindingList;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.ResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.ResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.rbac.ClusterRole;
import io.fabric8.kubernetes.api.model.rbac.ClusterRoleList;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.ResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.ResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.model.ConfigMapList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinition;
import io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionList;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.ResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.ResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.apps.Deployment;
import io.fabric8.kubernetes.api.model.apps.DeploymentList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.RollableScalableResource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.batch.v1.Job;
import io.fabric8.kubernetes.api.model.batch.v1.JobList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.ScalableResource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.coordination.v1.Lease;
import io.fabric8.kubernetes.api.model.coordination.v1.LeaseList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.model.NamespaceBuilder;
import io.fabric8.kubernetes.api.model.NamespaceList;
import io.fabric8.kubernetes.api.model.Namespace;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.ResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.ResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy;
import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.rbac.RoleBinding;
import io.fabric8.kubernetes.api.model.rbac.RoleBindingList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.rbac.Role;
import io.fabric8.kubernetes.api.model.rbac.RoleList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.Secret;
import io.fabric8.kubernetes.api.model.SecretList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.ServiceAccount;
import io.fabric8.kubernetes.api.model.ServiceAccountList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.Service;
import io.fabric8.kubernetes.api.model.ServiceList;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfiguration;
import io.fabric8.kubernetes.api.model.admissionregistration.v1.ValidatingWebhookConfigurationList;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.ResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.ResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroup;
import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroupList;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.skodjob.resources;
package io.skodjob.testframe.resources;

import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.fabric8.openshift.api.model.operatorhub.v1alpha1.Subscription;
import io.fabric8.openshift.api.model.operatorhub.v1alpha1.SubscriptionList;
import io.skodjob.clients.KubeClient;
import io.skodjob.interfaces.NamespacedResourceType;
import io.skodjob.testframe.clients.KubeClient;
import io.skodjob.testframe.interfaces.NamespacedResourceType;

import java.util.function.Consumer;

Expand Down

0 comments on commit 61a9313

Please sign in to comment.