Fix code/doc generators and deepgen code (#2353)
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ generate-crd-ref-docs:
|
|||||||
crd-ref-docs --source-path=pkg/apis/core/v1 --config=tools/crd-ref-docs/config.yaml --renderer markdown
|
crd-ref-docs --source-path=pkg/apis/core/v1 --config=tools/crd-ref-docs/config.yaml --renderer markdown
|
||||||
cp tools/crd-ref-docs/header.md crd_docs.md
|
cp tools/crd-ref-docs/header.md crd_docs.md
|
||||||
cat out.md >> crd_docs.md && rm out.md
|
cat out.md >> crd_docs.md && rm out.md
|
||||||
cp crd_docs.md ../fission.io/content/en/docs/crd/_index.md
|
mv crd_docs.md ../fission.io/content/en/docs/reference/crd-reference.md
|
||||||
|
|
||||||
all-generators: codegen generate-crds generate-swagger-doc
|
all-generators: codegen generate-crds generate-swagger-doc
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,22 @@ func (in *Archive) DeepCopy() *Archive {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *AuthLogin) DeepCopyInto(out *AuthLogin) {
|
||||||
|
*out = *in
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthLogin.
|
||||||
|
func (in *AuthLogin) DeepCopy() *AuthLogin {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(AuthLogin)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// 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 *Builder) DeepCopyInto(out *Builder) {
|
func (in *Builder) DeepCopyInto(out *Builder) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@@ -883,6 +899,22 @@ func (in *PackageStatus) DeepCopy() *PackageStatus {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *RouterAuthToken) DeepCopyInto(out *RouterAuthToken) {
|
||||||
|
*out = *in
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterAuthToken.
|
||||||
|
func (in *RouterAuthToken) DeepCopy() *RouterAuthToken {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(RouterAuthToken)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// 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 *Runtime) DeepCopyInto(out *Runtime) {
|
func (in *Runtime) DeepCopyInto(out *Runtime) {
|
||||||
*out = *in
|
*out = *in
|
||||||
|
|||||||
@@ -22,6 +22,14 @@ func (Archive) SwaggerDoc() map[string]string {
|
|||||||
return map_Archive
|
return map_Archive
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var map_AuthLogin = map[string]string{
|
||||||
|
"": "AuthLogin defines the body for router login",
|
||||||
|
}
|
||||||
|
|
||||||
|
func (AuthLogin) SwaggerDoc() map[string]string {
|
||||||
|
return map_AuthLogin
|
||||||
|
}
|
||||||
|
|
||||||
var map_Builder = map[string]string{
|
var map_Builder = map[string]string{
|
||||||
"": "Builder is the setting for environment builder.",
|
"": "Builder is the setting for environment builder.",
|
||||||
"image": "Image for containing the language compilation environment.",
|
"image": "Image for containing the language compilation environment.",
|
||||||
@@ -370,6 +378,14 @@ func (PackageStatus) SwaggerDoc() map[string]string {
|
|||||||
return map_PackageStatus
|
return map_PackageStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var map_RouterAuthToken = map[string]string{
|
||||||
|
"": "RouterAuthToken defines the authorization token for accessing router",
|
||||||
|
}
|
||||||
|
|
||||||
|
func (RouterAuthToken) SwaggerDoc() map[string]string {
|
||||||
|
return map_RouterAuthToken
|
||||||
|
}
|
||||||
|
|
||||||
var map_Runtime = map[string]string{
|
var map_Runtime = map[string]string{
|
||||||
"": "Runtime is the setting for environment runtime.",
|
"": "Runtime is the setting for environment runtime.",
|
||||||
"image": "Image for containing the language runtime.",
|
"image": "Image for containing the language runtime.",
|
||||||
|
|||||||
@@ -74,10 +74,7 @@ func (c *Clientset) Tracker() testing.ObjectTracker {
|
|||||||
return c.tracker
|
return c.tracker
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var _ clientset.Interface = &Clientset{}
|
||||||
_ clientset.Interface = &Clientset{}
|
|
||||||
_ testing.FakeClient = &Clientset{}
|
|
||||||
)
|
|
||||||
|
|
||||||
// CoreV1 retrieves the CoreV1Client
|
// CoreV1 retrieves the CoreV1Client
|
||||||
func (c *Clientset) CoreV1() corev1.CoreV1Interface {
|
func (c *Clientset) CoreV1() corev1.CoreV1Interface {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Fission CRD Reference"
|
title: "Fission CRD Reference"
|
||||||
weight: 99
|
weight: 8
|
||||||
description: >
|
description: >
|
||||||
Fission Custom Resources Definition(CRD) Reference
|
Fission Custom Resources Definition(CRD) Reference
|
||||||
url: /docs/crd-reference/
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user