Baasbank and Kubernetes Publisher
c0d85825ce
fixes golint error in staging/src/k8s.io/sample-controller/pkg/apis/samplecontroller/v1alpha1
...
fixes golint error in staging/src/k8s.io/sample-controller/pkg/apis/samplecontroller
fixes golint errors in staging/src/k8s.io/sample-apiserver/pkg/cmd/server
fixex golint errors in staging/src/k8s.io/sample-apiserver/pkg/apiserver
Kubernetes-commit: 55d45867e6a8b6336be0c56da0b4843dd552b1b0
2019-05-03 23:10:40 +01:00
Clayton Coleman and Kubernetes Publisher
6a05ad71cc
Use CodecFactory.WithoutConversion() everywhere
...
Clarifies that requesting no conversion is part of the codec factory, and
future refactors will make the codec factory less opionated about conversion.
Kubernetes-commit: 7f9dfe58f4cbe1e1b9e80f52addff70bac87bed4
2019-04-03 13:24:37 -04:00
Ihar Hrachyshka and Kubernetes Publisher
5a81ef4b43
Expose object tracker for fake clientsets
...
Not every object kind can be registered via tracker .Add() called as
part of SimpleClientset initialization. This is because .Add() relies
on UnsafeGuessKindToResource to convert object kinds into resource
type names, which is broken for some resources. An example of an
affected kind is NetworkAttachmentDefinitions CRD that uses
network-attachment-definitions as its resource type name. When
UnsafeGuessKindToResource is called for this kind, it returns
networkattachmentdefinitions (without dashes).
As per the comment inside .Add, kinds affected by
UnsafeGuessKindToResource deficiencies should instead register objects
using tracker .Create() method. Problem is, current SimpleClientset
struct definition doesn't expose the object tracker in any way, which
makes it impossible to properly register these kinds at all.
To address the issue, this change modifies the definition of
SimpleClientset struct to expose the object tracker used via Tracker()
method.
Kubernetes-commit: d68cd8a0c7e6137ca4219078a3d651ecff03c21f
2018-11-14 15:22:48 -08:00
Jordan Liggitt and Kubernetes Publisher
d4529fcb10
Regenerate clients
...
Kubernetes-commit: 93be54b28801dbffbc48fcb6018f99beadae51da
2019-02-21 13:50:12 -05:00
Dr. Stefan Schimanski and Kubernetes Publisher
574892d56c
Update generated code
...
Kubernetes-commit: 714b28cf22133d39bd637f8b0e6d5774a4eff415
2019-02-15 13:35:58 +01:00
David Eads and Kubernetes Publisher
a5c672885d
generated
...
Kubernetes-commit: 8f7edec615fb9cd722b7f8310dab3efa25351b7c
2018-11-16 08:38:57 -05:00
Miguel Bernabeu and Kubernetes Publisher
7bf6cd7d56
Fix golint errors when generating informer code
...
Kubernetes-commit: acf78cd6133de6faea9221d8c53b02ca6009b0bb
2018-10-03 21:39:26 +02:00
Ville Aikas and Kubernetes Publisher
69ec0e4f12
Add support for JSON patch in fake client
...
Kubernetes-commit: a363b153851326ece7f81f4c1ae0a1ab8700a209
2018-10-02 13:30:52 +00:00
Jingyi Hu and Kubernetes Publisher
6d9191098e
*: Remove comment tags in GoDoc
...
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.
Kubernetes-commit: 61117761cd4a1b2e6ad9ff2d7eb915f3d2739dc6
2018-09-04 14:08:32 -07:00
Mikhail Mazurskiy and Kubernetes Publisher
b210e6535d
Run code gen
...
Kubernetes-commit: b9a94a8df4a1e6b5dc2494c10718e8cbf558984d
2018-07-03 19:28:26 +10:00
Dr. Stefan Schimanski and Kubernetes Publisher
0cd00ba971
Update generated files
...
Kubernetes-commit: f8de7cea406a8d01799c4b4d40b892f3b38fa534
2018-06-29 20:02:31 +02:00
Dr. Stefan Schimanski and Kubernetes Publisher
901a363473
Update generated files
...
Kubernetes-commit: 1208437f84304ef4f73a6bf1770786bb436b75c9
2018-06-13 09:53:47 +02:00
wojtekt and Kubernetes Publisher
2a0c700ccd
Autogenerated code
...
Kubernetes-commit: c69165d50386d12c8644bd6de974a9d2fdfc876c
2018-05-14 16:14:53 +02:00
Billie Cleek and Kubernetes Publisher
05144d66df
regenerate fakes
...
Kubernetes-commit: 95ad9009c33a664bfbc3f2a9836148f9efbde851
2018-04-18 16:09:36 -07:00
Mikhail Mazurskiy and Kubernetes Publisher
9c27a5a1ab
Re-generate clientsets
...
Kubernetes-commit: c3e57fceb3d94ef96066ff744e704e9b7a625e52
2018-04-09 19:12:47 +10:00
natronq and Kubernetes Publisher
c826d9a4ba
Run hack/update-codegen.sh
...
Kubernetes-commit: a923acd0420c26bd9321eae058a7f94226dd6e64
2018-04-05 14:00:02 +02:00
Nikhita Raghunath and Kubernetes Publisher
5bc8a4494b
sample-controller: generate UpdateStatus for Foo resource
...
Kubernetes-commit: 68db7fe8b040d43fc2b888f1331b2845c31a201b
2018-02-18 18:48:53 +05:30
Nikhita Raghunath and Kubernetes Publisher
ad67096f17
sample-controller: add status subresource support
...
- Add an example to show how to use status subresources
with custom resources.
- Update the comment in the controller to mention that
`UpdateStatus` can now be used.
- Generate `UpdateStatus` for Foo.
- Update the README to remove feature gate information for
CRD validation since the current example requires a v1.9
cluster and it is enabled by default.
- Update the README to add feature gate information for
CustomResourceSubResources.
Kubernetes-commit: 7c06d6fb17ee46f587c1facff93b9bb185522855
2018-02-18 18:45:38 +05:30
fisherxu and Kubernetes Publisher
9d231f2a2a
regenerated all files and remove all YEAR fields
...
Kubernetes-commit: b49ef6531c11f1c834e0d7591f5c965f6193c711
2018-01-22 20:37:53 +08:00
Kubernetes Publisher
b4d58f7643
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel
2018-03-15 10:08:36 +00:00
jennybuckley and Kubernetes Publisher
088168dd07
Run hack/update-all.sh
...
Kubernetes-commit: c8dacd8e631f59ef158c79156d77a99fd2a632cc
2018-02-26 17:16:14 -08:00
pigletfly and Kubernetes Publisher
863b091f8c
Fix typo
...
Kubernetes-commit: 5eba676508af6571e38b8b37dd4cde6efd33acd3
2018-02-01 19:11:19 +08:00
hzxuzhonghu and Kubernetes Publisher
489c07a569
run update code-gen
...
Kubernetes-commit: 1f013b7deacfaa80bd8fafbe9b1fad1375e1907d
2018-01-23 12:26:27 +08:00
yue9944882 and Kubernetes Publisher
bf54256d6b
Regenerating code of fake clientset
...
Kubernetes-commit: 6f381ab2cd351c96a28b7ccde704ea96c38612dd
2017-12-25 11:46:56 +08:00
Allen Petersen and Kubernetes Publisher
92f920f871
Update generated files
...
Kubernetes-commit: 3d69cea1e589add1d24fc72e9a8c46081664a719
2018-01-02 22:07:30 -08:00
Christoph Blecker and Kubernetes Publisher
1c8ed500ee
Regenerate all generated code
...
Kubernetes-commit: 80e344644e2b6222296f2f03551a8d0273c7cbce
2018-01-02 00:21:07 -08:00
Jeff Grafton and Kubernetes Publisher
72bbd3993a
Autogenerate BUILD files
...
Kubernetes-commit: efee0704c60a2ee3049268a41535aaee7f661f6c
2017-12-23 13:06:26 -08:00
James Munnelly and Kubernetes Publisher
756ec2596b
Register metav1 types into samplecontroller api scheme
...
Kubernetes-commit: 9efe856979001b83d544fde99c9a2af3f8bcc170
2017-12-15 12:21:16 +00:00
Dr. Stefan Schimanski and Kubernetes Publisher
e46caf46ff
Update generated code
...
Kubernetes-commit: 1e79dfb959896f2e51be87ecef491452bd17724c
2017-11-09 12:27:20 +01:00
Dr. Stefan Schimanski and Kubernetes Publisher
04e0ebc686
deepcopy: remove deepcopy register tags
...
Kubernetes-commit: 72809a08b94650bc8988db37be3a2ee4c6ccd113
2017-11-09 12:40:14 +01:00
James Munnelly and Kubernetes Publisher
a48a52508e
run hack/update-bazel.sh
...
Kubernetes-commit: 9b1a1231dae9c720b3c0837e42e3c8f680868df1
2017-11-01 15:10:35 +00:00
James Munnelly and Kubernetes Publisher
13c3b2b0f9
run hack/update-codegen.sh
...
Kubernetes-commit: 6a4b80fcabc5e950af997d97f447354b83fcdcc4
2017-11-01 14:32:22 +00:00
Dr. Stefan Schimanski and Kubernetes Publisher
282266c60f
Update generated code
...
Kubernetes-commit: f4b8276001c5c895ae0f22c7f0ad1d987375072d
2017-11-02 16:48:22 +01:00
Nikhita Raghunath and Kubernetes Publisher
eaab325fad
typed client: add tags and script for code generation
...
Kubernetes-commit: 355279c86677efe1efbba32cccc0719548fc3c87
2017-10-25 12:45:59 +05:30
James Munnelly and Kubernetes Publisher
00e875e461
Add sample CustomResourceDefinition controller
...
sample-controller: add API types
sample-controller: regenerate files
sample-controller: add implementation
sample-controller: update bazel
sample-controller: update make-rules and cache_go_dirs
sample-controller: Set noStatus tag. Remove openapi-gen tag.
sample-controller: add deletion tombstone handling logic
sample-controller: update README, remove use of reflect in UpdateFuncs
sample-controller: add OWNERS file
sample-controller: add LICENSE
Kubernetes-commit: 740afa0e65bf44a95752fb863017a7cf14b476ad
2017-10-09 19:19:34 +01:00