* Move tracing exporter registration This doesn't belong in the library and should be configured by the consumer of the opencensus package. * Rename `vkublet` package to `node` `vkubelet` does not convey any information to the consumers of the package. Really it would be nice to move this package to the root of the repo, but then you wind up with... interesting... import semantics due to the repo name... and after thinking about it some, a subpackage is really not so bad as long as it has a name that convey's some information. `node` was chosen since this package deals with all the semantics of operating a node in Kubernetes.
13 lines
467 B
Go
13 lines
467 B
Go
package mock
|
|
|
|
// We can guarantee the right interfaces are implemented inside of by putting casts in place. We must do the verification
|
|
// that a given type *does not* implement a given interface in this test.
|
|
// Cannot implement this due to: https://github.com/virtual-kubelet/virtual-kubelet/issues/632
|
|
/*
|
|
func TestMockLegacyInterface(t *testing.T) {
|
|
var mlp providers.Provider = &MockLegacyProvider{}
|
|
_, ok := mlp.(node.PodNotifier)
|
|
assert.Assert(t, !ok)
|
|
}
|
|
*/
|