Add PodLogOptions versioned resource

PodLogOptions will capture options passed in to retrieve a pod's log.
This commit is contained in:
Cesar Wong
2015-04-06 12:38:55 -04:00
parent e64d7337b3
commit 6dba6aa178
8 changed files with 52 additions and 0 deletions

View File

@@ -1249,6 +1249,17 @@ type ListOptions struct {
ResourceVersion string
}
// PodLogOptions is the query options for a Pod's logs REST call
type PodLogOptions struct {
TypeMeta
// Container for which to return logs
Container string
// If true, follow the logs for the pod
Follow bool
}
// Status is a return value for calls that don't return other objects.
// TODO: this could go in apiserver, but I'm including it here so clients needn't
// import both.