Skip to content

Commit 1bdbe0b

Browse files
committed
refactor: update IKubernetes interface and template for consistency
1 parent 95c79ee commit 1bdbe0b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/KubernetesClient/IKubernetes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace k8s;
22

3-
public partial interface IKubernetes : IBasicKubernetes, IDisposable
3+
public partial interface IKubernetes : IDisposable
44
{
55
/// <summary>
66
/// The base URI of the service.

src/LibKubernetesGenerator/ApiGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializa
7171
sc = scriptObjectFactory.CreateScriptObject();
7272
sc.SetValue("groups", groups, true);
7373

74-
context.RenderToContext($"IBasicKubernetes.cs.template", sc, $"IBasicKubernetes.g.cs");
74+
context.RenderToContext($"IKubernetes.cs.template", sc, $"IKubernetes.g.cs");
7575
context.RenderToContext($"AbstractKubernetes.cs.template", sc, $"AbstractKubernetes.g.cs");
7676
}
7777
}

src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template renamed to src/LibKubernetesGenerator/templates/IKubernetes.cs.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace k8s;
88

99
/// <summary>
1010
/// </summary>
11-
public partial interface IBasicKubernetes
11+
public partial interface IKubernetes
1212
{
1313
{{for group in groups}}
1414
I{{group}}Operations {{group}} { get; }

0 commit comments

Comments
 (0)