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
62d1ae96
Unverified
Commit
62d1ae96
authored
Jan 14, 2017
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate for staging directories that are not client-go
parent
d2cbdbd7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
cache_go_dirs.sh
hack/make-rules/helpers/cache_go_dirs.sh
+6
-1
doc.go
pkg/apis/meta/v1/doc.go
+1
-1
doc.go
pkg/runtime/doc.go
+1
-0
types.go
pkg/runtime/types.go
+0
-3
No files found.
hack/make-rules/helpers/cache_go_dirs.sh
View file @
62d1ae96
...
...
@@ -36,7 +36,11 @@ trap "rm -f '${CACHE}'" HUP INT TERM ERR
# Example:
# kfind -type f -name foobar.go
function
kfind
()
{
find
.
\
# include the "special" vendor directories which are actually part
# of the Kubernetes source tree - generators will use these for
# including certain core API concepts.
find
-H
.
./vendor/k8s.io/apimachinery ./vendor/k8s.io/apiserver
\
\(
\
-not
\(
\
\(
\
-path
./vendor
-o
\
...
...
@@ -47,6 +51,7 @@ function kfind() {
-path
./examples
\
\)
-prune
\
\)
\
\)
\
"
$@
"
}
...
...
pkg/apis/meta/v1/doc.go
View file @
62d1ae96
...
...
@@ -15,7 +15,7 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=
tru
e
// +k8s:openapi-gen=
fals
e
// +k8s:defaulter-gen=TypeMeta
// +groupName=meta.k8s.io
...
...
pkg/runtime/doc.go
View file @
62d1ae96
...
...
@@ -41,5 +41,6 @@ limitations under the License.
//
// As a bonus, a few common types useful from all api objects and versions
// are provided in types.go.
// +k8s:openapi-gen=false
package
runtime
// import "k8s.io/kubernetes/pkg/runtime"
pkg/runtime/types.go
View file @
62d1ae96
...
...
@@ -32,7 +32,6 @@ package runtime
//
// +k8s:deepcopy-gen=true
// +protobuf=true
// +k8s:openapi-gen=true
type
TypeMeta
struct
{
// +optional
APIVersion
string
`json:"apiVersion,omitempty" yaml:"apiVersion,omitempty" protobuf:"bytes,1,opt,name=apiVersion"`
...
...
@@ -88,7 +87,6 @@ const (
//
// +k8s:deepcopy-gen=true
// +protobuf=true
// +k8s:openapi-gen=true
type
RawExtension
struct
{
// Raw is the underlying serialization of this object.
//
...
...
@@ -107,7 +105,6 @@ type RawExtension struct {
//
// +k8s:deepcopy-gen=true
// +protobuf=true
// +k8s:openapi-gen=true
type
Unknown
struct
{
TypeMeta
`json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
// Raw will hold the complete serialized object which couldn't be matched
...
...
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