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
6a27a4a5
Commit
6a27a4a5
authored
Mar 01, 2019
by
danielqsj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update generated file
parent
696c98a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
generated.proto
...o/metrics/pkg/apis/custom_metrics/v1beta1/generated.proto
+2
-2
generated.proto
...metrics/pkg/apis/external_metrics/v1beta1/generated.proto
+2
-2
generated.proto
.../k8s.io/metrics/pkg/apis/metrics/v1alpha1/generated.proto
+3
-3
generated.proto
...c/k8s.io/metrics/pkg/apis/metrics/v1beta1/generated.proto
+3
-3
No files found.
staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1beta1/generated.proto
View file @
6a27a4a5
...
...
@@ -42,7 +42,7 @@ message MetricListOptions {
optional
string
metricLabelSelector
=
2
;
}
// a metric value for some object
//
MetricValue is
a metric value for some object
message
MetricValue
{
// a reference to the described object
optional
k8s.io.api.core.v1.ObjectReference
describedObject
=
1
;
...
...
@@ -70,7 +70,7 @@ message MetricValue {
optional
k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector
selector
=
6
;
}
// a list of values for a given metric for some set of objects
//
MetricValueList is
a list of values for a given metric for some set of objects
message
MetricValueList
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta
metadata
=
1
;
...
...
staging/src/k8s.io/metrics/pkg/apis/external_metrics/v1beta1/generated.proto
View file @
6a27a4a5
...
...
@@ -29,7 +29,7 @@ import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
// Package-wide variables from generator "generated".
option
go_package
=
"v1beta1"
;
// a metric value for external metric
//
ExternalMetricValue is
a metric value for external metric
// A single metric value is identified by metric name and a set of string labels.
// For one metric there can be multiple values with different sets of labels.
message
ExternalMetricValue
{
...
...
@@ -52,7 +52,7 @@ message ExternalMetricValue {
optional
k8s.io.apimachinery.pkg.api.resource.Quantity
value
=
5
;
}
// a list of values for a given metric for some set labels
//
ExternalMetricValueList is
a list of values for a given metric for some set labels
message
ExternalMetricValueList
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta
metadata
=
1
;
...
...
staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/generated.proto
View file @
6a27a4a5
...
...
@@ -30,7 +30,7 @@ import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
// Package-wide variables from generator "generated".
option
go_package
=
"v1alpha1"
;
// resource usage metrics of a container.
//
ContainerMetrics sets
resource usage metrics of a container.
message
ContainerMetrics
{
// Container name corresponding to the one from pod.spec.containers.
optional
string
name
=
1
;
...
...
@@ -39,7 +39,7 @@ message ContainerMetrics {
map
<
string
,
k8s.io.apimachinery.pkg.api.resource.Quantity
>
usage
=
2
;
}
// resource usage metrics of a node.
//
NodeMetrics sets
resource usage metrics of a node.
message
NodeMetrics
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta
metadata
=
1
;
...
...
@@ -63,7 +63,7 @@ message NodeMetricsList {
repeated
NodeMetrics
items
=
2
;
}
// resource usage metrics of a pod.
//
PodMetrics sets
resource usage metrics of a pod.
message
PodMetrics
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta
metadata
=
1
;
...
...
staging/src/k8s.io/metrics/pkg/apis/metrics/v1beta1/generated.proto
View file @
6a27a4a5
...
...
@@ -30,7 +30,7 @@ import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
// Package-wide variables from generator "generated".
option
go_package
=
"v1beta1"
;
// resource usage metrics of a container.
//
ContainerMetrics sets
resource usage metrics of a container.
message
ContainerMetrics
{
// Container name corresponding to the one from pod.spec.containers.
optional
string
name
=
1
;
...
...
@@ -39,7 +39,7 @@ message ContainerMetrics {
map
<
string
,
k8s.io.apimachinery.pkg.api.resource.Quantity
>
usage
=
2
;
}
// resource usage metrics of a node.
//
NodeMetrics sets
resource usage metrics of a node.
message
NodeMetrics
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta
metadata
=
1
;
...
...
@@ -63,7 +63,7 @@ message NodeMetricsList {
repeated
NodeMetrics
items
=
2
;
}
// resource usage metrics of a pod.
//
PodMetrics sets
resource usage metrics of a pod.
message
PodMetrics
{
optional
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta
metadata
=
1
;
...
...
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