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
ffa59470
Commit
ffa59470
authored
May 07, 2015
by
Dawn Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce Previous as PodLogOptions
parent
ecaf0874
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
0 deletions
+19
-0
types.go
pkg/api/types.go
+3
-0
conversion.go
pkg/api/v1/conversion.go
+2
-0
types.go
pkg/api/v1/types.go
+3
-0
types.go
pkg/api/v1beta1/types.go
+3
-0
types.go
pkg/api/v1beta2/types.go
+3
-0
conversion_generated.go
pkg/api/v1beta3/conversion_generated.go
+2
-0
types.go
pkg/api/v1beta3/types.go
+3
-0
No files found.
pkg/api/types.go
View file @
ffa59470
...
...
@@ -1330,6 +1330,9 @@ type PodLogOptions struct {
// If true, follow the logs for the pod
Follow
bool
// If true, return previous terminated container logs
Previous
bool
}
// PodExecOptions is the query options to a Pod's remote exec call
...
...
pkg/api/v1/conversion.go
View file @
ffa59470
...
...
@@ -1802,6 +1802,7 @@ func init() {
}
out
.
Container
=
in
.
Container
out
.
Follow
=
in
.
Follow
out
.
Previous
=
in
.
Previous
return
nil
},
func
(
in
*
newer
.
PodLogOptions
,
out
*
PodLogOptions
,
s
conversion
.
Scope
)
error
{
...
...
@@ -1810,6 +1811,7 @@ func init() {
}
out
.
Container
=
in
.
Container
out
.
Follow
=
in
.
Follow
out
.
Previous
=
in
.
Previous
return
nil
},
func
(
in
*
PodProxyOptions
,
out
*
newer
.
PodProxyOptions
,
s
conversion
.
Scope
)
error
{
...
...
pkg/api/v1/types.go
View file @
ffa59470
...
...
@@ -1320,6 +1320,9 @@ type PodLogOptions struct {
// If true, follow the logs for the pod
Follow
bool
`json:"follow,omitempty" description:"follow the log stream of the pod; defaults to false"`
// If true, return previous terminated container logs
Previous
bool
`json:"previous,omitempty" description:"return previous terminated container logs; defaults to false"`
}
// PodExecOptions is the query options to a Pod's remote exec call
...
...
pkg/api/v1beta1/types.go
View file @
ffa59470
...
...
@@ -1188,6 +1188,9 @@ type PodLogOptions struct {
// If true, follow the logs for the pod
Follow
bool
`json:"follow,omitempty" description:"follow the log stream of the pod; defaults to false"`
// If true, return previous terminated container logs
Previous
bool
`json:"previous,omitempty" description:"return previous terminated container logs; defaults to false"`
}
// PodExecOptions is the query options to a Pod's remote exec call
...
...
pkg/api/v1beta2/types.go
View file @
ffa59470
...
...
@@ -1208,6 +1208,9 @@ type PodLogOptions struct {
// If true, follow the logs for the pod
Follow
bool
`json:"follow,omitempty" description:"follow the log stream of the pod; defaults to false"`
// If true, return previous terminated container logs
Previous
bool
`json:"previous,omitempty" description:"return previous terminated container logs; defaults to false"`
}
// PodExecOptions is the query options to a Pod's remote exec call
...
...
pkg/api/v1beta3/conversion_generated.go
View file @
ffa59470
...
...
@@ -2544,6 +2544,7 @@ func convert_v1beta3_PodLogOptions_To_api_PodLogOptions(in *PodLogOptions, out *
}
out
.
Container
=
in
.
Container
out
.
Follow
=
in
.
Follow
out
.
Previous
=
in
.
Previous
return
nil
}
...
...
@@ -2556,6 +2557,7 @@ func convert_api_PodLogOptions_To_v1beta3_PodLogOptions(in *newer.PodLogOptions,
}
out
.
Container
=
in
.
Container
out
.
Follow
=
in
.
Follow
out
.
Previous
=
in
.
Previous
return
nil
}
...
...
pkg/api/v1beta3/types.go
View file @
ffa59470
...
...
@@ -1320,6 +1320,9 @@ type PodLogOptions struct {
// If true, follow the logs for the pod
Follow
bool
`json:"follow,omitempty" description:"follow the log stream of the pod; defaults to false"`
// If true, return previous terminated container logs
Previous
bool
`json:"previous,omitempty" description:"return previous terminated container logs; defaults to false"`
}
// PodExecOptions is the query options to a Pod's remote exec call
...
...
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