Bumping k8s dependencies to 1.13
This commit is contained in:
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example/doc.go
generated
vendored
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example/doc.go
generated
vendored
@@ -16,4 +16,5 @@ limitations under the License.
|
||||
|
||||
// +k8s:deepcopy-gen=package
|
||||
// +groupName=example.apiserver.code-generator.k8s.io
|
||||
|
||||
package example // import "k8s.io/code-generator/_examples/apiserver/apis/example"
|
||||
|
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example/v1/doc.go
generated
vendored
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example/v1/doc.go
generated
vendored
@@ -18,4 +18,5 @@ limitations under the License.
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +k8s:conversion-gen=k8s.io/code-generator/_examples/apiserver/apis/example
|
||||
// +groupName=example.apiserver.code-generator.k8s.io
|
||||
|
||||
package v1
|
||||
|
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example2/doc.go
generated
vendored
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example2/doc.go
generated
vendored
@@ -17,4 +17,5 @@ limitations under the License.
|
||||
// +k8s:deepcopy-gen=package
|
||||
// +groupName=example.test.apiserver.code-generator.k8s.io
|
||||
// +groupGoName=SecondExample
|
||||
|
||||
package example2 // import "k8s.io/code-generator/_examples/apiserver/apis/example2"
|
||||
|
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example2/v1/doc.go
generated
vendored
1
vendor/k8s.io/code-generator/_examples/apiserver/apis/example2/v1/doc.go
generated
vendored
@@ -19,4 +19,5 @@ limitations under the License.
|
||||
// +groupName=example.test.apiserver.code-generator.k8s.io
|
||||
// +k8s:conversion-gen=k8s.io/code-generator/_examples/apiserver/apis/example2
|
||||
// +groupGoName=SecondExample
|
||||
|
||||
package v1
|
||||
|
@@ -131,7 +131,7 @@ func (c *FakeTestTypes) DeleteCollection(options *v1.DeleteOptions, listOptions
|
||||
// Patch applies the patch and returns the patched testType.
|
||||
func (c *FakeTestTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *example.TestType, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, data, subresources...), &example.TestType{})
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, pt, data, subresources...), &example.TestType{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
|
@@ -131,7 +131,7 @@ func (c *FakeTestTypes) DeleteCollection(options *v1.DeleteOptions, listOptions
|
||||
// Patch applies the patch and returns the patched testType.
|
||||
func (c *FakeTestTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *example2.TestType, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, data, subresources...), &example2.TestType{})
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, pt, data, subresources...), &example2.TestType{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
|
@@ -131,7 +131,7 @@ func (c *FakeTestTypes) DeleteCollection(options *v1.DeleteOptions, listOptions
|
||||
// Patch applies the patch and returns the patched testType.
|
||||
func (c *FakeTestTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *examplev1.TestType, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, data, subresources...), &examplev1.TestType{})
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, pt, data, subresources...), &examplev1.TestType{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
|
@@ -131,7 +131,7 @@ func (c *FakeTestTypes) DeleteCollection(options *v1.DeleteOptions, listOptions
|
||||
// Patch applies the patch and returns the patched testType.
|
||||
func (c *FakeTestTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *example2v1.TestType, err error) {
|
||||
obj, err := c.Fake.
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, data, subresources...), &example2v1.TestType{})
|
||||
Invokes(testing.NewPatchSubresourceAction(testtypesResource, c.ns, name, pt, data, subresources...), &example2v1.TestType{})
|
||||
|
||||
if obj == nil {
|
||||
return nil, err
|
||||
|
@@ -27,6 +27,7 @@ import (
|
||||
versioned "k8s.io/code-generator/_examples/apiserver/clientset/versioned"
|
||||
)
|
||||
|
||||
// NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer.
|
||||
type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer
|
||||
|
||||
// SharedInformerFactory a small interface to allow for adding an informer without an import cycle
|
||||
@@ -35,4 +36,5 @@ type SharedInformerFactory interface {
|
||||
InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
|
||||
}
|
||||
|
||||
// TweakListOptionsFunc is a function that transforms a v1.ListOptions.
|
||||
type TweakListOptionsFunc func(*v1.ListOptions)
|
||||
|
@@ -27,6 +27,7 @@ import (
|
||||
internalversion "k8s.io/code-generator/_examples/apiserver/clientset/internalversion"
|
||||
)
|
||||
|
||||
// NewInformerFunc takes internalversion.Interface and time.Duration to return a SharedIndexInformer.
|
||||
type NewInformerFunc func(internalversion.Interface, time.Duration) cache.SharedIndexInformer
|
||||
|
||||
// SharedInformerFactory a small interface to allow for adding an informer without an import cycle
|
||||
@@ -35,4 +36,5 @@ type SharedInformerFactory interface {
|
||||
InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
|
||||
}
|
||||
|
||||
// TweakListOptionsFunc is a function that transforms a v1.ListOptions.
|
||||
type TweakListOptionsFunc func(*v1.ListOptions)
|
||||
|
Reference in New Issue
Block a user