Skip to content

Commit 1f0e88d

Browse files
authored
Consistent file naming (#12)
1 parent 15f1be9 commit 1f0e88d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+215
-350
lines changed

K8sOperator.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{ED
3232
EndProject
3333
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleOperator", "examples\SimpleOperator\SimpleOperator.csproj", "{B7588B10-BDD2-4622-BB16-18EFFBE7BE25}"
3434
EndProject
35+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "K8sOperator.NET.Generators", "src\K8sOperator.NET.Generators\K8sOperator.NET.Generators.csproj", "{183BE367-0544-4AD1-B741-2BA2F186BC0E}"
36+
EndProject
3537
Global
3638
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3739
Debug|Any CPU = Debug|Any CPU
@@ -50,6 +52,10 @@ Global
5052
{B7588B10-BDD2-4622-BB16-18EFFBE7BE25}.Debug|Any CPU.Build.0 = Debug|Any CPU
5153
{B7588B10-BDD2-4622-BB16-18EFFBE7BE25}.Release|Any CPU.ActiveCfg = Release|Any CPU
5254
{B7588B10-BDD2-4622-BB16-18EFFBE7BE25}.Release|Any CPU.Build.0 = Release|Any CPU
55+
{183BE367-0544-4AD1-B741-2BA2F186BC0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{183BE367-0544-4AD1-B741-2BA2F186BC0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{183BE367-0544-4AD1-B741-2BA2F186BC0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
58+
{183BE367-0544-4AD1-B741-2BA2F186BC0E}.Release|Any CPU.Build.0 = Release|Any CPU
5359
EndGlobalSection
5460
GlobalSection(SolutionProperties) = preSolution
5561
HideSolutionNode = FALSE
@@ -60,6 +66,7 @@ Global
6066
{C0360068-BBDE-4ABF-B357-765C792CDCF5} = {9320CC2F-6BB6-4B29-B625-EB427EE87891}
6167
{160DFED1-DD63-412C-9D60-84D965626DD9} = {898CC489-C84A-49BD-9D77-3CEA1F6A7180}
6268
{B7588B10-BDD2-4622-BB16-18EFFBE7BE25} = {ED5FF81E-F3EA-4BEF-9B72-31A24F9386E3}
69+
{183BE367-0544-4AD1-B741-2BA2F186BC0E} = {898CC489-C84A-49BD-9D77-3CEA1F6A7180}
6370
EndGlobalSection
6471
GlobalSection(ExtensibilityGlobals) = postSolution
6572
SolutionGuid = {49DE7562-1920-49AD-A220-E10302CEC632}

examples/SimpleOperator/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using K8sOperator.NET.Extensions;
33
using SimpleOperator.Projects;
44

5+
56
var builder = OperatorHost.CreateOperatorApplicationBuilder(args);
67

78
builder.AddController<TestItemController>()
@@ -13,6 +14,3 @@
1314
var app = builder.Build();
1415

1516
await app.RunAsync();
16-
17-
18-

examples/SimpleOperator/Projects/TestItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using k8s.Models;
2-
using K8sOperator.NET.Generator.Builders;
2+
using K8sOperator.NET.Metadata;
33
using K8sOperator.NET.Models;
44
using static SimpleOperator.Projects.TestItem;
55

@@ -10,7 +10,7 @@ public class TestItem : CustomResource<TestItemSpec, TestItemStatus>
1010
{
1111
public class TestItemSpec
1212
{
13-
public Scope Scope { get; set; }
13+
public EntityScope Scope { get; set; }
1414
public string? String { get; set; }
1515
}
1616

examples/SimpleOperator/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"install": {
1414
"commandName": "Project",
15-
"commandLineArgs": "install > simple-operator-system.yaml",
15+
"commandLineArgs": "install=true --export true",
1616
"launchBrowser": true,
1717
"environmentVariables": {
1818
"ASPNETCORE_ENVIRONMENT": "Development"

examples/SimpleOperator/SimpleOperator.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="K8sOperator.NET" Version="0.0.1-alpha0003" />
12+
<ProjectReference Include="..\..\src\K8sOperator.NET.Generators\K8sOperator.NET.Generators.csproj" />
13+
<ProjectReference Include="..\..\src\K8sOperator.NET\K8sOperator.NET.csproj" />
1314
</ItemGroup>
1415

1516

examples/SimpleOperator/simple-operator-system.yaml

Lines changed: 0 additions & 180 deletions
This file was deleted.

src/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<Nullable>enable</Nullable>
88
<IsPackable>true</IsPackable>
99
<CompanyName>PMDEvers</CompanyName>
10-
<ProjectName>K8sOperator.NET</ProjectName>
1110

1211
<PackageId>$(ProjectName)</PackageId>
1312
<Description>

0 commit comments

Comments
 (0)