Skip to content

Commit 8c38085

Browse files
author
Christoph Bühler
committed
style: moved IResourceService to correct namespace.
This is minor break since the namespace of IResourceServices has changed. There are no more breaks in this, just change the NS. I'm sorry :-(
1 parent 5e9668b commit 8c38085

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

src/KubeOps/Operator/Builder/OperatorBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using KubeOps.Operator.Finalizer;
99
using KubeOps.Operator.Queue;
1010
using KubeOps.Operator.Serialization;
11+
using KubeOps.Operator.Services;
1112
using KubeOps.Operator.Watcher;
1213
using Microsoft.Extensions.DependencyInjection;
1314
using Microsoft.Extensions.Diagnostics.HealthChecks;

src/KubeOps/Operator/Controller/ResourceControllerBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using KubeOps.Operator.Client;
99
using KubeOps.Operator.Finalizer;
1010
using KubeOps.Operator.Queue;
11+
using KubeOps.Operator.Services;
1112
using Microsoft.Extensions.Logging;
1213

1314
namespace KubeOps.Operator.Controller

src/KubeOps/Operator/Controller/IResourceServices.cs renamed to src/KubeOps/Operator/Services/IResourceServices.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using KubeOps.Operator.Queue;
99
using Microsoft.Extensions.Logging;
1010

11-
namespace KubeOps.Operator.Controller
11+
namespace KubeOps.Operator.Services
1212
{
1313
public interface IResourceServices<TEntity>
1414
where TEntity : IKubernetesObject<V1ObjectMeta>

src/KubeOps/Operator/LazyService{T}.cs renamed to src/KubeOps/Operator/Services/LazyService{T}.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using Microsoft.Extensions.DependencyInjection;
33

4-
namespace KubeOps.Operator
4+
namespace KubeOps.Operator.Services
55
{
6-
public class LazyService<T> : Lazy<T>
6+
internal class LazyService<T> : Lazy<T>
77
where T : class
88
{
99
public LazyService(IServiceProvider provider)

src/KubeOps/Operator/Controller/ResourceServices.cs renamed to src/KubeOps/Operator/Services/ResourceServices.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
using KubeOps.Operator.Client;
77
using KubeOps.Operator.Finalizer;
88
using KubeOps.Operator.Queue;
9-
using KubeOps.Operator.Watcher;
109
using Microsoft.Extensions.Logging;
1110

12-
namespace KubeOps.Operator.Controller
11+
namespace KubeOps.Operator.Services
1312
{
1413
internal class ResourceServices<TEntity> : IResourceServices<TEntity>
1514
where TEntity : IKubernetesObject<V1ObjectMeta>

tests/KubeOps.TestOperator/Controller/TestController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Threading.Tasks;
33
using KubeOps.Operator.Controller;
44
using KubeOps.Operator.Rbac;
5+
using KubeOps.Operator.Services;
56
using KubeOps.TestOperator.Entities;
67
using KubeOps.TestOperator.Finalizer;
78
using KubeOps.TestOperator.TestManager;

0 commit comments

Comments
 (0)