Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e1460efc
Commit
e1460efc
authored
Aug 30, 2017
by
Jing Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generated files
generated files
parent
4d6da1fd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
62 additions
and
30 deletions
+62
-30
zz_generated.conversion.go
pkg/api/v1/zz_generated.conversion.go
+3
-2
zz_generated.deepcopy.go
pkg/api/zz_generated.deepcopy.go
+10
-1
generated.pb.go
staging/src/k8s.io/api/autoscaling/v2alpha1/generated.pb.go
+0
-0
generated.proto
staging/src/k8s.io/api/autoscaling/v2alpha1/generated.proto
+0
-1
generated.pb.go
staging/src/k8s.io/api/core/v1/generated.pb.go
+0
-0
types.generated.go
staging/src/k8s.io/api/core/v1/types.generated.go
+39
-25
zz_generated.deepcopy.go
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
+10
-1
No files found.
pkg/api/v1/zz_generated.conversion.go
View file @
e1460efc
...
@@ -22,6 +22,7 @@ package v1
...
@@ -22,6 +22,7 @@ package v1
import
(
import
(
v1
"k8s.io/api/core/v1"
v1
"k8s.io/api/core/v1"
resource
"k8s.io/apimachinery/pkg/api/resource"
meta_v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
meta_v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
conversion
"k8s.io/apimachinery/pkg/conversion"
conversion
"k8s.io/apimachinery/pkg/conversion"
runtime
"k8s.io/apimachinery/pkg/runtime"
runtime
"k8s.io/apimachinery/pkg/runtime"
...
@@ -1329,7 +1330,7 @@ func Convert_api_DownwardAPIVolumeSource_To_v1_DownwardAPIVolumeSource(in *api.D
...
@@ -1329,7 +1330,7 @@ func Convert_api_DownwardAPIVolumeSource_To_v1_DownwardAPIVolumeSource(in *api.D
func
autoConvert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource
(
in
*
v1
.
EmptyDirVolumeSource
,
out
*
api
.
EmptyDirVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource
(
in
*
v1
.
EmptyDirVolumeSource
,
out
*
api
.
EmptyDirVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
Medium
=
api
.
StorageMedium
(
in
.
Medium
)
out
.
Medium
=
api
.
StorageMedium
(
in
.
Medium
)
out
.
SizeLimit
=
in
.
SizeLimit
out
.
SizeLimit
=
(
*
resource
.
Quantity
)(
unsafe
.
Pointer
(
in
.
SizeLimit
))
return
nil
return
nil
}
}
...
@@ -1340,7 +1341,7 @@ func Convert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource(in *v1.EmptyDir
...
@@ -1340,7 +1341,7 @@ func Convert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource(in *v1.EmptyDir
func
autoConvert_api_EmptyDirVolumeSource_To_v1_EmptyDirVolumeSource
(
in
*
api
.
EmptyDirVolumeSource
,
out
*
v1
.
EmptyDirVolumeSource
,
s
conversion
.
Scope
)
error
{
func
autoConvert_api_EmptyDirVolumeSource_To_v1_EmptyDirVolumeSource
(
in
*
api
.
EmptyDirVolumeSource
,
out
*
v1
.
EmptyDirVolumeSource
,
s
conversion
.
Scope
)
error
{
out
.
Medium
=
v1
.
StorageMedium
(
in
.
Medium
)
out
.
Medium
=
v1
.
StorageMedium
(
in
.
Medium
)
out
.
SizeLimit
=
in
.
SizeLimit
out
.
SizeLimit
=
(
*
resource
.
Quantity
)(
unsafe
.
Pointer
(
in
.
SizeLimit
))
return
nil
return
nil
}
}
...
...
pkg/api/zz_generated.deepcopy.go
View file @
e1460efc
...
@@ -21,6 +21,7 @@ limitations under the License.
...
@@ -21,6 +21,7 @@ limitations under the License.
package
api
package
api
import
(
import
(
resource
"k8s.io/apimachinery/pkg/api/resource"
v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
conversion
"k8s.io/apimachinery/pkg/conversion"
conversion
"k8s.io/apimachinery/pkg/conversion"
runtime
"k8s.io/apimachinery/pkg/runtime"
runtime
"k8s.io/apimachinery/pkg/runtime"
...
@@ -1787,7 +1788,15 @@ func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
...
@@ -1787,7 +1788,15 @@ func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
EmptyDirVolumeSource
)
DeepCopyInto
(
out
*
EmptyDirVolumeSource
)
{
func
(
in
*
EmptyDirVolumeSource
)
DeepCopyInto
(
out
*
EmptyDirVolumeSource
)
{
*
out
=
*
in
*
out
=
*
in
out
.
SizeLimit
=
in
.
SizeLimit
.
DeepCopy
()
if
in
.
SizeLimit
!=
nil
{
in
,
out
:=
&
in
.
SizeLimit
,
&
out
.
SizeLimit
if
*
in
==
nil
{
*
out
=
nil
}
else
{
*
out
=
new
(
resource
.
Quantity
)
**
out
=
(
*
in
)
.
DeepCopy
()
}
}
return
return
}
}
...
...
staging/src/k8s.io/api/autoscaling/v2alpha1/generated.pb.go
View file @
e1460efc
This diff is collapsed.
Click to expand it.
staging/src/k8s.io/api/autoscaling/v2alpha1/generated.proto
View file @
e1460efc
...
@@ -21,7 +21,6 @@ syntax = 'proto2';
...
@@ -21,7 +21,6 @@ syntax = 'proto2';
package
k8s
.
io.api.autoscaling.v2alpha1
;
package
k8s
.
io.api.autoscaling.v2alpha1
;
import
"k8s.io/api/autoscaling/v1/generated.proto"
;
import
"k8s.io/api/core/v1/generated.proto"
;
import
"k8s.io/api/core/v1/generated.proto"
;
import
"k8s.io/apimachinery/pkg/api/resource/generated.proto"
;
import
"k8s.io/apimachinery/pkg/api/resource/generated.proto"
;
import
"k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"
;
import
"k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"
;
...
...
staging/src/k8s.io/api/core/v1/generated.pb.go
View file @
e1460efc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
staging/src/k8s.io/api/core/v1/types.generated.go
View file @
e1460efc
...
@@ -11638,7 +11638,7 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -11638,7 +11638,7 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
_
,
_
,
_
=
yysep2
,
yyq2
,
yy2arr2
_
,
_
,
_
=
yysep2
,
yyq2
,
yy2arr2
const
yyr2
bool
=
false
const
yyr2
bool
=
false
yyq2
[
0
]
=
x
.
Medium
!=
""
yyq2
[
0
]
=
x
.
Medium
!=
""
yyq2
[
1
]
=
true
yyq2
[
1
]
=
x
.
SizeLimit
!=
nil
var
yynn2
int
var
yynn2
int
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
r
.
EncodeArrayStart
(
2
)
r
.
EncodeArrayStart
(
2
)
...
@@ -11670,15 +11670,18 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -11670,15 +11670,18 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
if
yyq2
[
1
]
{
if
yyq2
[
1
]
{
yy7
:=
&
x
.
SizeLimit
if
x
.
SizeLimit
==
nil
{
yym8
:=
z
.
EncBinary
()
r
.
EncodeNil
()
_
=
yym8
}
else
{
yym7
:=
z
.
EncBinary
()
_
=
yym7
if
false
{
if
false
{
}
else
if
z
.
HasExtensions
()
&&
z
.
EncExt
(
yy7
)
{
}
else
if
z
.
HasExtensions
()
&&
z
.
EncExt
(
x
.
SizeLimit
)
{
}
else
if
!
yym8
&&
z
.
IsJSONHandle
()
{
}
else
if
!
yym7
&&
z
.
IsJSONHandle
()
{
z
.
EncJSONMarshal
(
yy7
)
z
.
EncJSONMarshal
(
x
.
SizeLimit
)
}
else
{
}
else
{
z
.
EncFallback
(
yy7
)
z
.
EncFallback
(
x
.
SizeLimit
)
}
}
}
}
else
{
}
else
{
r
.
EncodeNil
()
r
.
EncodeNil
()
...
@@ -11688,15 +11691,18 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -11688,15 +11691,18 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) {
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"sizeLimit"
))
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"sizeLimit"
))
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
yy9
:=
&
x
.
SizeLimit
if
x
.
SizeLimit
==
nil
{
yym10
:=
z
.
EncBinary
()
r
.
EncodeNil
()
_
=
yym10
}
else
{
yym8
:=
z
.
EncBinary
()
_
=
yym8
if
false
{
if
false
{
}
else
if
z
.
HasExtensions
()
&&
z
.
EncExt
(
yy9
)
{
}
else
if
z
.
HasExtensions
()
&&
z
.
EncExt
(
x
.
SizeLimit
)
{
}
else
if
!
yym10
&&
z
.
IsJSONHandle
()
{
}
else
if
!
yym8
&&
z
.
IsJSONHandle
()
{
z
.
EncJSONMarshal
(
yy9
)
z
.
EncJSONMarshal
(
x
.
SizeLimit
)
}
else
{
}
else
{
z
.
EncFallback
(
yy9
)
z
.
EncFallback
(
x
.
SizeLimit
)
}
}
}
}
}
}
}
...
@@ -11770,17 +11776,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -11770,17 +11776,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode
}
}
case
"sizeLimit"
:
case
"sizeLimit"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
SizeLimit
=
pkg3_resource
.
Quantity
{}
if
x
.
SizeLimit
!=
nil
{
x
.
SizeLimit
=
nil
}
}
else
{
}
else
{
yyv5
:=
&
x
.
SizeLimit
if
x
.
SizeLimit
==
nil
{
x
.
SizeLimit
=
new
(
pkg3_resource
.
Quantity
)
}
yym6
:=
z
.
DecBinary
()
yym6
:=
z
.
DecBinary
()
_
=
yym6
_
=
yym6
if
false
{
if
false
{
}
else
if
z
.
HasExtensions
()
&&
z
.
DecExt
(
yyv5
)
{
}
else
if
z
.
HasExtensions
()
&&
z
.
DecExt
(
x
.
SizeLimit
)
{
}
else
if
!
yym6
&&
z
.
IsJSONHandle
()
{
}
else
if
!
yym6
&&
z
.
IsJSONHandle
()
{
z
.
DecJSONUnmarshal
(
yyv5
)
z
.
DecJSONUnmarshal
(
x
.
SizeLimit
)
}
else
{
}
else
{
z
.
DecFallback
(
yyv5
,
false
)
z
.
DecFallback
(
x
.
SizeLimit
,
false
)
}
}
}
}
default
:
default
:
...
@@ -11826,17 +11836,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -11826,17 +11836,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco
}
}
z
.
DecSendContainerState
(
codecSelfer_containerArrayElem1234
)
z
.
DecSendContainerState
(
codecSelfer_containerArrayElem1234
)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
SizeLimit
=
pkg3_resource
.
Quantity
{}
if
x
.
SizeLimit
!=
nil
{
x
.
SizeLimit
=
nil
}
}
else
{
}
else
{
yyv9
:=
&
x
.
SizeLimit
if
x
.
SizeLimit
==
nil
{
x
.
SizeLimit
=
new
(
pkg3_resource
.
Quantity
)
}
yym10
:=
z
.
DecBinary
()
yym10
:=
z
.
DecBinary
()
_
=
yym10
_
=
yym10
if
false
{
if
false
{
}
else
if
z
.
HasExtensions
()
&&
z
.
DecExt
(
yyv9
)
{
}
else
if
z
.
HasExtensions
()
&&
z
.
DecExt
(
x
.
SizeLimit
)
{
}
else
if
!
yym10
&&
z
.
IsJSONHandle
()
{
}
else
if
!
yym10
&&
z
.
IsJSONHandle
()
{
z
.
DecJSONUnmarshal
(
yyv9
)
z
.
DecJSONUnmarshal
(
x
.
SizeLimit
)
}
else
{
}
else
{
z
.
DecFallback
(
yyv9
,
false
)
z
.
DecFallback
(
x
.
SizeLimit
,
false
)
}
}
}
}
for
{
for
{
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
View file @
e1460efc
...
@@ -21,6 +21,7 @@ limitations under the License.
...
@@ -21,6 +21,7 @@ limitations under the License.
package
v1
package
v1
import
(
import
(
resource
"k8s.io/apimachinery/pkg/api/resource"
meta_v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
meta_v1
"k8s.io/apimachinery/pkg/apis/meta/v1"
conversion
"k8s.io/apimachinery/pkg/conversion"
conversion
"k8s.io/apimachinery/pkg/conversion"
runtime
"k8s.io/apimachinery/pkg/runtime"
runtime
"k8s.io/apimachinery/pkg/runtime"
...
@@ -1787,7 +1788,15 @@ func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
...
@@ -1787,7 +1788,15 @@ func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
EmptyDirVolumeSource
)
DeepCopyInto
(
out
*
EmptyDirVolumeSource
)
{
func
(
in
*
EmptyDirVolumeSource
)
DeepCopyInto
(
out
*
EmptyDirVolumeSource
)
{
*
out
=
*
in
*
out
=
*
in
out
.
SizeLimit
=
in
.
SizeLimit
.
DeepCopy
()
if
in
.
SizeLimit
!=
nil
{
in
,
out
:=
&
in
.
SizeLimit
,
&
out
.
SizeLimit
if
*
in
==
nil
{
*
out
=
nil
}
else
{
*
out
=
new
(
resource
.
Quantity
)
**
out
=
(
*
in
)
.
DeepCopy
()
}
}
return
return
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment