• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Golang core.NewWatchAction函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Golang中k8s/io/kubernetes/pkg/client/testing/core.NewWatchAction函数的典型用法代码示例。如果您正苦于以下问题:Golang NewWatchAction函数的具体用法?Golang NewWatchAction怎么用?Golang NewWatchAction使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了NewWatchAction函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。

示例1: Watch

// Watch returns a watch.Interface that watches the requested thirdPartyResources.
func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(thirdpartyresourcesResource, c.ns, opts))

}
开发者ID:Clarifai,项目名称:kubernetes,代码行数:6,代码来源:fake_thirdpartyresource.go


示例2: Watch

// Watch returns a watch.Interface that watches the requested deployments.
func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(deploymentsResource, c.ns, opts))

}
开发者ID:Clarifai,项目名称:kubernetes,代码行数:6,代码来源:fake_deployment.go


示例3: Watch

// Watch returns a watch.Interface that watches the requested cronJobs.
func (c *FakeCronJobs) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(cronjobsResource, c.ns, opts))

}
开发者ID:eljefedelrodeodeljefe,项目名称:kubernetes,代码行数:6,代码来源:fake_cronjob.go


示例4: Watch

// Watch returns a watch.Interface that watches the requested limitRanges.
func (c *FakeLimitRanges) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(limitrangesResource, c.ns, opts))

}
开发者ID:Q-Lee,项目名称:kubernetes,代码行数:6,代码来源:fake_limitrange.go


示例5: Watch

// Watch returns a watch.Interface that watches the requested secrets.
func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction("secrets", c.ns, opts))

}
开发者ID:XiaoningDing,项目名称:UbernetesPOC,代码行数:6,代码来源:fake_secret.go


示例6: Watch

// Watch returns a watch.Interface that watches the requested resourceQuotas.
func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(resourcequotasResource, c.ns, opts))

}
开发者ID:alex-mohr,项目名称:kubernetes,代码行数:6,代码来源:fake_resourcequota.go


示例7: Watch

// Watch returns a watch.Interface that watches the requested statefulSets.
func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(statefulsetsResource, c.ns, opts))

}
开发者ID:eljefedelrodeodeljefe,项目名称:kubernetes,代码行数:6,代码来源:fake_statefulset.go


示例8: Watch

// Watch returns a watch.Interface that watches the requested scheduledJobs.
func (c *FakeScheduledJobs) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(scheduledjobsResource, c.ns, opts))

}
开发者ID:upmc-enterprises,项目名称:kubernetes,代码行数:6,代码来源:fake_scheduledjob.go


示例9: Watch

// Watch returns a watch.Interface that watches the requested users.
func (c *FakeUsers) Watch(opts api_v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(usersResource, c.ns, opts))

}
开发者ID:xgwang-zte,项目名称:origin,代码行数:6,代码来源:fake_user.go


示例10: Watch

// Watch returns a watch.Interface that watches the requested clusterNetworks.
func (c *FakeClusterNetworks) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(clusternetworksResource, c.ns, opts))

}
开发者ID:juanluisvaladas,项目名称:origin,代码行数:6,代码来源:fake_clusternetwork.go


示例11: Watch

// Watch returns a watch.Interface that watches the requested roleBindings.
func (c *FakeRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(rolebindingsResource, c.ns, opts))

}
开发者ID:ncdc,项目名称:kubernetes,代码行数:6,代码来源:fake_rolebinding.go


示例12: Watch

// Watch returns a watch.Interface that watches the requested podTemplates.
func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction("podTemplates", c.ns, opts))

}
开发者ID:mitake,项目名称:kubernetes,代码行数:6,代码来源:fake_podtemplate.go


示例13: Watch

func (c *FakeTemplates) Watch(opts kapi.ListOptions) (watch.Interface, error) {
	return c.Fake.InvokesWatch(core.NewWatchAction(templatesResource, c.Namespace, opts))
}
开发者ID:xgwang-zte,项目名称:origin,代码行数:3,代码来源:fake_templates.go


示例14: Watch

// Watch returns a watch.Interface that watches the requested testTypes.
func (c *FakeTestTypes) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction("testtypes", c.ns, opts))

}
开发者ID:xjxj1,项目名称:kubernetes,代码行数:6,代码来源:fake_testtype.go


示例15: Watch

func (c *FakeBuildConfigs) Watch(opts kapi.ListOptions) (watch.Interface, error) {
	return c.Fake.InvokesWatch(core.NewWatchAction(buildConfigsResource, c.Namespace, opts))
}
开发者ID:xgwang-zte,项目名称:origin,代码行数:3,代码来源:fake_buildconfigs.go


示例16: Watch

// Watch returns a watch.Interface that watches the requested oAuthClients.
func (c *FakeOAuthClients) Watch(opts pkg_api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(oauthclientsResource, c.ns, opts))

}
开发者ID:juanluisvaladas,项目名称:origin,代码行数:6,代码来源:fake_oauthclient.go


示例17: Watch

// Watch returns a watch.Interface that watches the requested builds.
func (c *FakeBuilds) Watch(opts pkg_api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(buildsResource, c.ns, opts))

}
开发者ID:Xmagicer,项目名称:origin,代码行数:6,代码来源:fake_build.go


示例18: Watch

// Watch returns a watch.Interface that watches the requested networkPolicies.
func (c *FakeNetworkPolicies) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(networkpoliciesResource, c.ns, opts))

}
开发者ID:huang195,项目名称:kubernetes,代码行数:6,代码来源:fake_networkpolicy.go


示例19: Watch

// Watch returns a watch.Interface that watches the requested ingresses.
func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(ingressesResource, c.ns, opts))

}
开发者ID:shmurata,项目名称:kubernetes,代码行数:6,代码来源:fake_ingress.go


示例20: Watch

// Watch returns a watch.Interface that watches the requested endpoints.
func (c *FakeEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(core.NewWatchAction(endpointsResource, c.ns, opts))

}
开发者ID:nak3,项目名称:kubernetes,代码行数:6,代码来源:fake_endpoints.go



注:本文中的k8s/io/kubernetes/pkg/client/testing/core.NewWatchAction函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Golang core.ObjectReaction函数代码示例发布时间:2022-05-28
下一篇:
Golang core.NewUpdateSubresourceAction函数代码示例发布时间:2022-05-28
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap