Skip to content

Commit 57b6626

Browse files
author
Robin Hermann
committed
feat: initial working commit
0 parents  commit 57b6626

15 files changed

+1067
-0
lines changed

.gitignore

Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,348 @@
1+
# Build results
2+
[Dd]ebug/
3+
[Dd]ebugPublic/
4+
[Rr]elease/
5+
[Rr]eleases/
6+
x64/
7+
x86/
8+
[Ww][Ii][Nn]32/
9+
[Aa][Rr][Mm]/
10+
[Aa][Rr][Mm]64/
11+
bld/
12+
[Bb]in/
13+
[Oo]bj/
14+
[Ll]og/
15+
[Ll]ogs/
16+
17+
# Visual Studio 2015/2017 cache/options directory
18+
.vs/
19+
# Uncomment if you have tasks that create the project's static files in wwwroot
20+
#wwwroot/
21+
22+
# Visual Studio 2017 auto generated files
23+
Generated\ Files/
24+
25+
# MSTest test Results
26+
[Tt]est[Rr]esult*/
27+
[Bb]uild[Ll]og.*
28+
29+
# NUnit
30+
*.VisualState.xml
31+
TestResult.xml
32+
nunit-*.xml
33+
34+
# Build Results of an ATL Project
35+
[Dd]ebugPS/
36+
[Rr]eleasePS/
37+
dlldata.c
38+
39+
# Benchmark Results
40+
BenchmarkDotNet.Artifacts/
41+
42+
# .NET Core
43+
project.lock.json
44+
project.fragment.lock.json
45+
artifacts/
46+
47+
# StyleCop
48+
StyleCopReport.xml
49+
50+
# Files built by Visual Studio
51+
*_i.c
52+
*_p.c
53+
*_h.h
54+
*.ilk
55+
*.meta
56+
*.obj
57+
*.iobj
58+
*.pch
59+
*.pdb
60+
*.ipdb
61+
*.pgc
62+
*.pgd
63+
*.rsp
64+
*.sbr
65+
*.tlb
66+
*.tli
67+
*.tlh
68+
*.tmp
69+
*.tmp_proj
70+
*_wpftmp.csproj
71+
*.log
72+
*.tlog
73+
*.vspscc
74+
*.vssscc
75+
.builds
76+
*.pidb
77+
*.svclog
78+
*.scc
79+
80+
# Chutzpah Test files
81+
_Chutzpah*
82+
83+
# Visual C++ cache files
84+
ipch/
85+
*.aps
86+
*.ncb
87+
*.opendb
88+
*.opensdf
89+
*.sdf
90+
*.cachefile
91+
*.VC.db
92+
*.VC.VC.opendb
93+
94+
# Visual Studio profiler
95+
*.psess
96+
*.vsp
97+
*.vspx
98+
*.sap
99+
100+
# Visual Studio Trace Files
101+
*.e2e
102+
103+
# TFS 2012 Local Workspace
104+
$tf/
105+
106+
# Guidance Automation Toolkit
107+
*.gpState
108+
109+
# ReSharper is a .NET coding add-in
110+
_ReSharper*/
111+
*.[Rr]e[Ss]harper
112+
*.DotSettings.user
113+
114+
# TeamCity is a build add-in
115+
_TeamCity*
116+
117+
# DotCover is a Code Coverage Tool
118+
*.dotCover
119+
120+
# AxoCover is a Code Coverage Tool
121+
.axoCover/*
122+
!.axoCover/settings.json
123+
124+
# Coverlet is a free, cross platform Code Coverage Tool
125+
coverage*.json
126+
coverage*.xml
127+
coverage*.info
128+
129+
# Visual Studio code coverage results
130+
*.coverage
131+
*.coveragexml
132+
133+
# NCrunch
134+
_NCrunch_*
135+
.*crunch*.local.xml
136+
nCrunchTemp_*
137+
138+
# MightyMoose
139+
*.mm.*
140+
AutoTest.Net/
141+
142+
# Web workbench (sass)
143+
.sass-cache/
144+
145+
# Installshield output folder
146+
[Ee]xpress/
147+
148+
# DocProject is a documentation generator add-in
149+
DocProject/buildhelp/
150+
DocProject/Help/*.HxT
151+
DocProject/Help/*.HxC
152+
DocProject/Help/*.hhc
153+
DocProject/Help/*.hhk
154+
DocProject/Help/*.hhp
155+
DocProject/Help/Html2
156+
DocProject/Help/html
157+
158+
# Click-Once directory
159+
publish/
160+
161+
# Publish Web Output
162+
*.[Pp]ublish.xml
163+
*.azurePubxml
164+
# Note: Comment the next line if you want to checkin your web deploy settings,
165+
# but database connection strings (with potential passwords) will be unencrypted
166+
*.pubxml
167+
*.publishproj
168+
169+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
170+
# checkin your Azure Web App publish settings, but sensitive information contained
171+
# in these files may be visible to others.
172+
*.azurePubxml
173+
174+
# Microsoft Azure Build Output
175+
csx/
176+
*.build.csdef
177+
178+
# Microsoft Azure Emulator
179+
ecf/
180+
rcf/
181+
182+
# Windows Store app package directories and files
183+
AppPackages/
184+
BundleArtifacts/
185+
Package.StoreAssociation.xml
186+
_pkginfo.txt
187+
*.appx
188+
*.appxbundle
189+
*.appxupload
190+
191+
# Visual Studio cache files
192+
# files ending in .cache can be ignored
193+
*.[Cc]ache
194+
# but keep track of directories ending in .cache
195+
!?*.[Cc]ache/
196+
197+
# Others
198+
ClientBin/
199+
~$*
200+
*~
201+
*.dbmdl
202+
*.dbproj.schemaview
203+
*.jfm
204+
*.pfx
205+
*.publishsettings
206+
orleans.codegen.cs
207+
208+
# Including strong name files can present a security risk
209+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
210+
#*.snk
211+
212+
# Since there are multiple workflows, uncomment the next line to ignore bower_components
213+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
214+
#bower_components/
215+
216+
# RIA/Silverlight projects
217+
Generated_Code/
218+
219+
# Backup & report files from converting an old project file
220+
# to a newer Visual Studio version. Backup files are not needed,
221+
# because we have git ;-)
222+
_UpgradeReport_Files/
223+
Backup*/
224+
UpgradeLog*.XML
225+
UpgradeLog*.htm
226+
CConversionReportFiles/
227+
228+
# SQL Server files
229+
*.mdf
230+
*.ldf
231+
*.ndf
232+
233+
# Business Intelligence projects
234+
*.rdl.data
235+
*.bim.layout
236+
*.bim_*.settings
237+
*.rptproj.rsuser
238+
*- [Bb]ackup.rdl
239+
*- [Bb]ackup ([0-9]).rdl
240+
*- [Bb]ackup ([0-9][0-9]).rdl
241+
242+
# Microsoft Fakes
243+
FakesAssemblies/
244+
245+
# GhostDoc plugin setting file
246+
*.GhostDoc.xml
247+
248+
# Node.js Tools for Visual Studio
249+
.ntvs_analysis.dat
250+
node_modules/
251+
252+
# Visual Studio 6 build log
253+
*.plg
254+
255+
# Visual Studio 6 workspace options file
256+
*.opt
257+
258+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
259+
*.vbw
260+
261+
# Visual Studio LightSwitch build output
262+
**/*.HTMLClient/GeneratedArtifacts
263+
**/*.DesktopClient/GeneratedArtifacts
264+
**/*.DesktopClient/ModelManifest.xml
265+
**/*.Server/GeneratedArtifacts
266+
**/*.Server/ModelManifest.xml
267+
_Pvt_Extensions
268+
269+
# Paket dependency manager
270+
.paket/paket.exe
271+
paket-files/
272+
273+
# FAKE - F# Make
274+
.fake/
275+
276+
# CodeRush personal settings
277+
.cr/personal
278+
279+
# Python Tools for Visual Studio (PTVS)
280+
__pycache__/
281+
*.pyc
282+
283+
# Cake - Uncomment if you are using it
284+
# tools/**
285+
# !tools/packages.config
286+
287+
# Tabs Studio
288+
*.tss
289+
290+
# Telerik's JustMock configuration file
291+
*.jmconfig
292+
293+
# BizTalk build output
294+
*.btp.cs
295+
*.btm.cs
296+
*.odx.cs
297+
*.xsd.cs
298+
299+
# OpenCover UI analysis results
300+
OpenCover/
301+
302+
# Azure Stream Analytics local run output
303+
ASALocalRun/
304+
305+
# MSBuild Binary and Structured Log
306+
*.binlog
307+
308+
# NVidia Nsight GPU debugger configuration file
309+
*.nvuser
310+
311+
# MFractors (Xamarin productivity tool) working folder
312+
.mfractor/
313+
314+
# Local History for Visual Studio
315+
.localhistory/
316+
317+
# BeatPulse healthcheck temp database
318+
healthchecksdb
319+
320+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
321+
MigrationBackup/
322+
323+
# Ionide (cross platform F# VS Code tools) working folder
324+
.ionide/
325+
326+
# Fody - auto-generated XML schema
327+
FodyWeavers.xsd
328+
329+
# VS Code files for those working on multiple tools
330+
.vscode/*
331+
!.vscode/settings.json
332+
!.vscode/tasks.json
333+
!.vscode/launch.json
334+
!.vscode/extensions.json
335+
*.code-workspace
336+
337+
# Local History for Visual Studio Code
338+
.history/
339+
340+
# Windows Installer files from build outputs
341+
*.cab
342+
*.msi
343+
*.msix
344+
*.msm
345+
*.msp
346+
347+
# JetBrains Rider
348+
*.sln.iml

Images/error.png

73.3 KB
Loading

Images/k8s.png

73.3 KB
Loading
80.5 KB
Binary file not shown.

KubernetesContextSwitcher.csproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0-windows7.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<AssemblyName>KubernetesContextSwitcher</AssemblyName>
8+
<RootNamespace>KubernetesContextSwitcher</RootNamespace>
9+
<Version>1.0.0</Version>
10+
<Authors>Your Name</Authors>
11+
<Description>A Flow Launcher plugin to switch Kubernetes contexts</Description>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="Flow.Launcher.Plugin" Version="4.6.0" />
16+
</ItemGroup>
17+
18+
</Project>

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Kubernetes Context Switcher
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)