本文整理汇总了Golang中k8s/io/kubernetes/pkg/client/unversioned/testclient.NewWatchAction函数的典型用法代码示例。如果您正苦于以下问题:Golang NewWatchAction函数的具体用法?Golang NewWatchAction怎么用?Golang NewWatchAction使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NewWatchAction函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: Watch
func (c *FakeBuilds) Watch(label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("builds", c.Namespace, label, field, resourceVersion))
}
示例2: Watch
func (c *FakePolicies) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("policies", c.Namespace, opts))
}
示例3: Watch
func (c *FakeBackingServiceInstances) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("backingserviceinstances", c.Namespace, opts))
}
示例4: Watch
func (c *FakeBuildConfigs) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("buildconfigs", c.Namespace, opts))
}
示例5: Watch
func (c *FakeRoleBindingRestrictions) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("rolebindingrestrictions", c.Namespace, opts))
}
示例6: Watch
func (c *FakeEgressNetworkPolicy) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("egressnetworkpolicies", c.Namespace, opts))
}
示例7: Watch
func (c *FakeImageStreams) Watch(opts kapi.ListOptions) (watch.Interface, error) {
return c.Fake.InvokesWatch(ktestclient.NewWatchAction("imagestreams", c.Namespace, opts))
}