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
cc4ffe07
Commit
cc4ffe07
authored
Apr 26, 2016
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add release_1_3 clientset in update-codegen
parent
51e30841
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
update-codegen.sh
hack/update-codegen.sh
+1
-2
types.go
pkg/apis/autoscaling/v1/types.go
+2
-0
types.go
pkg/apis/batch/v1/types.go
+2
-0
No files found.
hack/update-codegen.sh
View file @
cc4ffe07
...
...
@@ -43,11 +43,10 @@ setgen=$(kube::util::find-binary "set-gen")
# update- and verify- scripts.
${
clientgen
}
"
$@
"
${
clientgen
}
-t
"
$@
"
${
clientgen
}
--clientset-name
=
"release_1_3"
--input
=
"api/v1,extensions/v1beta1,autoscaling/v1,batch/v1"
# Clientgen for federation clientset.
${
clientgen
}
--clientset-name
=
federation_internalclientset
--clientset-path
=
k8s.io/kubernetes/federation/client/clientset_generated
--input
=
"../../federation/apis/federation/"
,
"api/"
--included-types-overrides
=
"api/Service"
"
$@
"
${
clientgen
}
--clientset-name
=
federation_release_1_3
--clientset-path
=
k8s.io/kubernetes/federation/client/clientset_generated
--input
=
"../../federation/apis/federation/v1alpha1"
,
"api/v1"
--included-types-overrides
=
"api/v1/Service"
"
$@
"
${
conversiongen
}
"
$@
"
${
deepcopygen
}
"
$@
"
${
setgen
}
"
$@
"
...
...
pkg/apis/autoscaling/v1/types.go
View file @
cc4ffe07
...
...
@@ -65,6 +65,8 @@ type HorizontalPodAutoscalerStatus struct {
CurrentCPUUtilizationPercentage
*
int32
`json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"`
}
// +genclient=true
// configuration of a horizontal pod autoscaler.
type
HorizontalPodAutoscaler
struct
{
unversioned
.
TypeMeta
`json:",inline"`
...
...
pkg/apis/batch/v1/types.go
View file @
cc4ffe07
...
...
@@ -21,6 +21,8 @@ import (
"k8s.io/kubernetes/pkg/api/v1"
)
// +genclient=true
// Job represents the configuration of a single job.
type
Job
struct
{
unversioned
.
TypeMeta
`json:",inline"`
...
...
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