README ¶ controller-tools Helpers for writing kubernetes controllers Goals Provide boilerplate for Kubernetes tests such as resource retrieval Provide custom matchers to assert on common type status's Design classDiagram Kind <|-- Pod Kind <|-- ServiceAccount class Pod{ } Examples Integration Tests package something_test import ( . "github.com/johnhoman/controller-tools" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) type MySuite struct { EnvTest } func (suite *MySuite) TestSomething() { suite.Nil(Create(suite.GetManager())) } Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis defaulting serviceaccount eventually internal testing/crud manager predicate prefab testing create manager suite Click to show internal directories. Click to hide internal directories.