ViruHelm Charts CheatsheetHelm is a package manager like yum or apt-get You can download apps using helm and run them.Apr 16, 2019Apr 16, 2019
ViruSimple 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…Apr 30, 2018Apr 30, 2018
ViruShared 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…Mar 21, 2018Mar 21, 2018
ViruHow 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…Mar 11, 2018Mar 11, 2018
ViruTesting 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…Mar 3, 2018Mar 3, 2018