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
8a466ec4
Commit
8a466ec4
authored
Aug 16, 2017
by
Kenneth Owens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generated code
parent
aa321b49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
27 deletions
+2
-27
swagger.json
api/openapi-spec/swagger.json
+0
-0
apps_v1beta2.json
api/swagger-spec/apps_v1beta2.json
+0
-0
definitions.html
docs/api-reference/apps/v1beta2/definitions.html
+0
-0
BUILD
pkg/master/BUILD
+1
-0
generated.proto
staging/src/k8s.io/api/apps/v1beta2/generated.proto
+1
-27
types_swagger_doc_generated.go
...rc/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go
+0
-0
No files found.
api/openapi-spec/swagger.json
View file @
8a466ec4
This diff is collapsed.
Click to expand it.
api/swagger-spec/apps_v1beta2.json
View file @
8a466ec4
This diff is collapsed.
Click to expand it.
docs/api-reference/apps/v1beta2/definitions.html
View file @
8a466ec4
This diff is collapsed.
Click to expand it.
pkg/master/BUILD
View file @
8a466ec4
...
@@ -66,6 +66,7 @@ go_library(
...
@@ -66,6 +66,7 @@ go_library(
"//vendor/github.com/golang/glog:go_default_library",
"//vendor/github.com/golang/glog:go_default_library",
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
"//vendor/k8s.io/api/apps/v1beta1:go_default_library",
"//vendor/k8s.io/api/apps/v1beta1:go_default_library",
"//vendor/k8s.io/api/apps/v1beta2:go_default_library",
"//vendor/k8s.io/api/authentication/v1:go_default_library",
"//vendor/k8s.io/api/authentication/v1:go_default_library",
"//vendor/k8s.io/api/authentication/v1beta1:go_default_library",
"//vendor/k8s.io/api/authentication/v1beta1:go_default_library",
"//vendor/k8s.io/api/authorization/v1:go_default_library",
"//vendor/k8s.io/api/authorization/v1:go_default_library",
...
...
staging/src/k8s.io/api/apps/v1beta2/generated.proto
View file @
8a466ec4
...
@@ -31,7 +31,6 @@ import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
...
@@ -31,7 +31,6 @@ import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
// Package-wide variables from generator "generated".
// Package-wide variables from generator "generated".
option
go_package
=
"v1beta2"
;
option
go_package
=
"v1beta2"
;
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DaemonSet represents the configuration of a daemon set.
// DaemonSet represents the configuration of a daemon set.
message
DaemonSet
{
message
DaemonSet
{
// Standard object's metadata.
// Standard object's metadata.
...
@@ -53,7 +52,6 @@ message DaemonSet {
...
@@ -53,7 +52,6 @@ message DaemonSet {
optional
DaemonSetStatus
status
=
3
;
optional
DaemonSetStatus
status
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DaemonSetList is a collection of daemon sets.
// DaemonSetList is a collection of daemon sets.
message
DaemonSetList
{
message
DaemonSetList
{
// Standard list metadata.
// Standard list metadata.
...
@@ -65,7 +63,6 @@ message DaemonSetList {
...
@@ -65,7 +63,6 @@ message DaemonSetList {
repeated
DaemonSet
items
=
2
;
repeated
DaemonSet
items
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DaemonSetSpec is the specification of a daemon set.
// DaemonSetSpec is the specification of a daemon set.
message
DaemonSetSpec
{
message
DaemonSetSpec
{
// A label query over pods that are managed by the daemon set.
// A label query over pods that are managed by the daemon set.
...
@@ -100,7 +97,6 @@ message DaemonSetSpec {
...
@@ -100,7 +97,6 @@ message DaemonSetSpec {
optional
int32
revisionHistoryLimit
=
6
;
optional
int32
revisionHistoryLimit
=
6
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DaemonSetStatus represents the current status of a daemon set.
// DaemonSetStatus represents the current status of a daemon set.
message
DaemonSetStatus
{
message
DaemonSetStatus
{
// The number of nodes that are running at least 1
// The number of nodes that are running at least 1
...
@@ -149,7 +145,7 @@ message DaemonSetStatus {
...
@@ -149,7 +145,7 @@ message DaemonSetStatus {
optional
int64
collisionCount
=
9
;
optional
int64
collisionCount
=
9
;
}
}
//
WIP: This is not ready to be used and we plan to make breaking changes to i
t.
//
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSe
t.
message
DaemonSetUpdateStrategy
{
message
DaemonSetUpdateStrategy
{
// Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
// Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
// +optional
// +optional
...
@@ -164,7 +160,6 @@ message DaemonSetUpdateStrategy {
...
@@ -164,7 +160,6 @@ message DaemonSetUpdateStrategy {
optional
RollingUpdateDaemonSet
rollingUpdate
=
2
;
optional
RollingUpdateDaemonSet
rollingUpdate
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// Deployment enables declarative updates for Pods and ReplicaSets.
// Deployment enables declarative updates for Pods and ReplicaSets.
message
Deployment
{
message
Deployment
{
// Standard object metadata.
// Standard object metadata.
...
@@ -180,7 +175,6 @@ message Deployment {
...
@@ -180,7 +175,6 @@ message Deployment {
optional
DeploymentStatus
status
=
3
;
optional
DeploymentStatus
status
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentCondition describes the state of a deployment at a certain point.
// DeploymentCondition describes the state of a deployment at a certain point.
message
DeploymentCondition
{
message
DeploymentCondition
{
// Type of deployment condition.
// Type of deployment condition.
...
@@ -202,7 +196,6 @@ message DeploymentCondition {
...
@@ -202,7 +196,6 @@ message DeploymentCondition {
optional
string
message
=
5
;
optional
string
message
=
5
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentList is a list of Deployments.
// DeploymentList is a list of Deployments.
message
DeploymentList
{
message
DeploymentList
{
// Standard list metadata.
// Standard list metadata.
...
@@ -213,7 +206,6 @@ message DeploymentList {
...
@@ -213,7 +206,6 @@ message DeploymentList {
repeated
Deployment
items
=
2
;
repeated
Deployment
items
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentSpec is the specification of the desired behavior of the Deployment.
// DeploymentSpec is the specification of the desired behavior of the Deployment.
message
DeploymentSpec
{
message
DeploymentSpec
{
// Number of desired pods. This is a pointer to distinguish between explicit
// Number of desired pods. This is a pointer to distinguish between explicit
...
@@ -259,7 +251,6 @@ message DeploymentSpec {
...
@@ -259,7 +251,6 @@ message DeploymentSpec {
optional
int32
progressDeadlineSeconds
=
9
;
optional
int32
progressDeadlineSeconds
=
9
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentStatus is the most recently observed status of the Deployment.
// DeploymentStatus is the most recently observed status of the Deployment.
message
DeploymentStatus
{
message
DeploymentStatus
{
// The generation observed by the deployment controller.
// The generation observed by the deployment controller.
...
@@ -298,7 +289,6 @@ message DeploymentStatus {
...
@@ -298,7 +289,6 @@ message DeploymentStatus {
optional
int64
collisionCount
=
8
;
optional
int64
collisionCount
=
8
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentStrategy describes how to replace existing pods with new ones.
// DeploymentStrategy describes how to replace existing pods with new ones.
message
DeploymentStrategy
{
message
DeploymentStrategy
{
// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
...
@@ -314,7 +304,6 @@ message DeploymentStrategy {
...
@@ -314,7 +304,6 @@ message DeploymentStrategy {
optional
RollingUpdateDeployment
rollingUpdate
=
2
;
optional
RollingUpdateDeployment
rollingUpdate
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ReplicaSet represents the configuration of a ReplicaSet.
// ReplicaSet represents the configuration of a ReplicaSet.
message
ReplicaSet
{
message
ReplicaSet
{
// If the Labels of a ReplicaSet are empty, they are defaulted to
// If the Labels of a ReplicaSet are empty, they are defaulted to
...
@@ -337,7 +326,6 @@ message ReplicaSet {
...
@@ -337,7 +326,6 @@ message ReplicaSet {
optional
ReplicaSetStatus
status
=
3
;
optional
ReplicaSetStatus
status
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ReplicaSetCondition describes the state of a replica set at a certain point.
// ReplicaSetCondition describes the state of a replica set at a certain point.
message
ReplicaSetCondition
{
message
ReplicaSetCondition
{
// Type of replica set condition.
// Type of replica set condition.
...
@@ -359,7 +347,6 @@ message ReplicaSetCondition {
...
@@ -359,7 +347,6 @@ message ReplicaSetCondition {
optional
string
message
=
5
;
optional
string
message
=
5
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ReplicaSetList is a collection of ReplicaSets.
// ReplicaSetList is a collection of ReplicaSets.
message
ReplicaSetList
{
message
ReplicaSetList
{
// Standard list metadata.
// Standard list metadata.
...
@@ -372,7 +359,6 @@ message ReplicaSetList {
...
@@ -372,7 +359,6 @@ message ReplicaSetList {
repeated
ReplicaSet
items
=
2
;
repeated
ReplicaSet
items
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ReplicaSetSpec is the specification of a ReplicaSet.
// ReplicaSetSpec is the specification of a ReplicaSet.
message
ReplicaSetSpec
{
message
ReplicaSetSpec
{
// Replicas is the number of desired replicas.
// Replicas is the number of desired replicas.
...
@@ -402,7 +388,6 @@ message ReplicaSetSpec {
...
@@ -402,7 +388,6 @@ message ReplicaSetSpec {
optional
k8s.io.api.core.v1.PodTemplateSpec
template
=
3
;
optional
k8s.io.api.core.v1.PodTemplateSpec
template
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ReplicaSetStatus represents the current status of a ReplicaSet.
// ReplicaSetStatus represents the current status of a ReplicaSet.
message
ReplicaSetStatus
{
message
ReplicaSetStatus
{
// Replicas is the most recently oberved number of replicas.
// Replicas is the most recently oberved number of replicas.
...
@@ -432,7 +417,6 @@ message ReplicaSetStatus {
...
@@ -432,7 +417,6 @@ message ReplicaSetStatus {
repeated
ReplicaSetCondition
conditions
=
6
;
repeated
ReplicaSetCondition
conditions
=
6
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// Spec to control the desired behavior of daemon set rolling update.
// Spec to control the desired behavior of daemon set rolling update.
message
RollingUpdateDaemonSet
{
message
RollingUpdateDaemonSet
{
// The maximum number of DaemonSet pods that can be unavailable during the
// The maximum number of DaemonSet pods that can be unavailable during the
...
@@ -453,7 +437,6 @@ message RollingUpdateDaemonSet {
...
@@ -453,7 +437,6 @@ message RollingUpdateDaemonSet {
optional
k8s.io.apimachinery.pkg.util.intstr.IntOrString
maxUnavailable
=
1
;
optional
k8s.io.apimachinery.pkg.util.intstr.IntOrString
maxUnavailable
=
1
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// Spec to control the desired behavior of rolling update.
// Spec to control the desired behavior of rolling update.
message
RollingUpdateDeployment
{
message
RollingUpdateDeployment
{
// The maximum number of pods that can be unavailable during the update.
// The maximum number of pods that can be unavailable during the update.
...
@@ -484,7 +467,6 @@ message RollingUpdateDeployment {
...
@@ -484,7 +467,6 @@ message RollingUpdateDeployment {
optional
k8s.io.apimachinery.pkg.util.intstr.IntOrString
maxSurge
=
2
;
optional
k8s.io.apimachinery.pkg.util.intstr.IntOrString
maxSurge
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
message
RollingUpdateStatefulSetStrategy
{
message
RollingUpdateStatefulSetStrategy
{
// Partition indicates the ordinal at which the StatefulSet should be
// Partition indicates the ordinal at which the StatefulSet should be
...
@@ -494,7 +476,6 @@ message RollingUpdateStatefulSetStrategy {
...
@@ -494,7 +476,6 @@ message RollingUpdateStatefulSetStrategy {
optional
int32
partition
=
1
;
optional
int32
partition
=
1
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// Scale represents a scaling request for a resource.
// Scale represents a scaling request for a resource.
message
Scale
{
message
Scale
{
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
...
@@ -510,7 +491,6 @@ message Scale {
...
@@ -510,7 +491,6 @@ message Scale {
optional
ScaleStatus
status
=
3
;
optional
ScaleStatus
status
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ScaleSpec describes the attributes of a scale subresource
// ScaleSpec describes the attributes of a scale subresource
message
ScaleSpec
{
message
ScaleSpec
{
// desired number of instances for the scaled object.
// desired number of instances for the scaled object.
...
@@ -518,7 +498,6 @@ message ScaleSpec {
...
@@ -518,7 +498,6 @@ message ScaleSpec {
optional
int32
replicas
=
1
;
optional
int32
replicas
=
1
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// ScaleStatus represents the current status of a scale subresource.
// ScaleStatus represents the current status of a scale subresource.
message
ScaleStatus
{
message
ScaleStatus
{
// actual number of observed instances of the scaled object.
// actual number of observed instances of the scaled object.
...
@@ -538,7 +517,6 @@ message ScaleStatus {
...
@@ -538,7 +517,6 @@ message ScaleStatus {
optional
string
targetSelector
=
3
;
optional
string
targetSelector
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSet represents a set of pods with consistent identities.
// StatefulSet represents a set of pods with consistent identities.
// Identities are defined as:
// Identities are defined as:
// - Network: A single stable DNS and hostname.
// - Network: A single stable DNS and hostname.
...
@@ -559,7 +537,6 @@ message StatefulSet {
...
@@ -559,7 +537,6 @@ message StatefulSet {
optional
StatefulSetStatus
status
=
3
;
optional
StatefulSetStatus
status
=
3
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSetList is a collection of StatefulSets.
// StatefulSetList is a collection of StatefulSets.
message
StatefulSetList
{
message
StatefulSetList
{
// +optional
// +optional
...
@@ -568,7 +545,6 @@ message StatefulSetList {
...
@@ -568,7 +545,6 @@ message StatefulSetList {
repeated
StatefulSet
items
=
2
;
repeated
StatefulSet
items
=
2
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// A StatefulSetSpec is the specification of a StatefulSet.
// A StatefulSetSpec is the specification of a StatefulSet.
message
StatefulSetSpec
{
message
StatefulSetSpec
{
// replicas is the desired number of replicas of the given Template.
// replicas is the desired number of replicas of the given Template.
...
@@ -631,7 +607,6 @@ message StatefulSetSpec {
...
@@ -631,7 +607,6 @@ message StatefulSetSpec {
optional
int32
revisionHistoryLimit
=
8
;
optional
int32
revisionHistoryLimit
=
8
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSetStatus represents the current state of a StatefulSet.
// StatefulSetStatus represents the current state of a StatefulSet.
message
StatefulSetStatus
{
message
StatefulSetStatus
{
// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the
// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the
...
@@ -668,7 +643,6 @@ message StatefulSetStatus {
...
@@ -668,7 +643,6 @@ message StatefulSetStatus {
optional
int64
collisionCount
=
9
;
optional
int64
collisionCount
=
9
;
}
}
// WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSetUpdateStrategy indicates the strategy that the StatefulSet
// StatefulSetUpdateStrategy indicates the strategy that the StatefulSet
// controller will use to perform updates. It includes any additional parameters
// controller will use to perform updates. It includes any additional parameters
// necessary to perform the update for the indicated strategy.
// necessary to perform the update for the indicated strategy.
...
...
staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go
View file @
8a466ec4
This diff is collapsed.
Click to expand it.
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