コード例 #1
0
func (c *FakeNetNamespace) Watch(resourceVersion string) (watch.Interface, error) {
	c.Fake.Invokes(ktestclient.NewRootWatchAction("netnamespaces", nil, nil, resourceVersion), nil)
	return c.Fake.Watch, c.Fake.Err()
}
コード例 #2
0
func (c *FakeClusterPolicyBindings) Watch(label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) {
	c.Fake.Invokes(ktestclient.NewRootWatchAction("clusterpolicybindings", label, field, resourceVersion), nil)
	return c.Fake.Watch, c.Fake.Err()
}
コード例 #3
0
func (c *FakeHostSubnet) Watch(resourceVersion string) (watch.Interface, error) {
	c.Fake.Invokes(ktestclient.NewRootWatchAction("hostsubnets", nil, nil, resourceVersion), nil)
	return c.Fake.Watch, c.Fake.Err()
}