CodeX
Published in

CodeX

Explore Kubectl Output Implementations

“Special” Strategy Pattern in kubectl Go

In my last article, we walked through the usage of kubectl get -o/–output with examples of different formats, which are a little complex that even involve simple coding. To better master and memorize the output cheatsheet, nothing can help more than understanding the logic behind it. So let’s unveil its design and implementation…

--

--

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store