Viru·Apr 16, 2019Helm Charts CheatsheetHelm is a package manager like yum or apt-get You can download apps using helm and run them.
Viru·Apr 30, 2018Simple Method to Mocking Functions in Go for TestsAn easy way to mock a Go function is to override the function with a different function. This is useful when trying to mock simple…
Viru·Mar 21, 2018Shared Library or Service?Recently at work, we needed a way for all our components to access kubernetes. We had to decide between having a standalone service which…
Viru·Mar 11, 2018How to write concise tests — Table Driven TestsTable driven tests is a way to write concise tests which can later be easily extended with new test cases. Table driven tests are common in…
Viru·Mar 3, 2018Testing in Go — Making Use of Duck TypingRecently I found myself writing a test for a function which takes in an struct object from an external package. The function I was trying…