Documentation
¶
Index ¶
- func AssertStructFields(t *testing.T, expectations map[string]interface{}, actual interface{}) bool
- func CheckStructFields(expectations map[string]interface{}, actual interface{}) (field.ErrorList, error)
- func ExampleEtcdCluster(namespace string) *v1alpha1.EtcdCluster
- func ExampleEtcdPeer(namespace string) *v1alpha1.EtcdPeer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertStructFields ¶
func CheckStructFields ¶
func CheckStructFields(expectations map[string]interface{}, actual interface{}) (field.ErrorList, error)
CheckStructFields asserts that the struct fields referenced by the supplied expectation path, have a value equal to the expectation value.
func ExampleEtcdCluster ¶
func ExampleEtcdCluster(namespace string) *v1alpha1.EtcdCluster
ExampleEtcdCluster returns a valid example for testing purposes
func ExampleEtcdPeer ¶
ExampleEtcdPeer returns a valid example for testing purposes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.