mirror of
https://github.com/kubernetes/client-go.git
synced 2026-06-12 04:06:38 +00:00
Compare commits
94 Commits
release-1.
...
v0.37.0-al
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81042e1c53 | ||
|
|
cfe83ef28c | ||
|
|
2fb3fa6ff2 | ||
|
|
c53b2772ec | ||
|
|
0deb0beab3 | ||
|
|
6b1bbb2a13 | ||
|
|
274207396a | ||
|
|
c637a8ce7e | ||
|
|
0c1c0f1e14 | ||
|
|
5d252d37f7 | ||
|
|
3f75409d2a | ||
|
|
778155c88d | ||
|
|
87f45e924f | ||
|
|
a35c5f8f96 | ||
|
|
3952f1d02a | ||
|
|
7b85db3954 | ||
|
|
3772a3df68 | ||
|
|
c39cf12e43 | ||
|
|
f8dcfdcb70 | ||
|
|
0328c36dee | ||
|
|
d584c96c7a | ||
|
|
32e59e0509 | ||
|
|
26991d8106 | ||
|
|
d89f2c0a74 | ||
|
|
88581e025b | ||
|
|
bdc99a38a9 | ||
|
|
6a38c1c8a4 | ||
|
|
81cba8bc15 | ||
|
|
9dfd0befa6 | ||
|
|
c86813f4ba | ||
|
|
ebcde46dda | ||
|
|
897ceddac2 | ||
|
|
927e750b6c | ||
|
|
c6f16b36a1 | ||
|
|
dcac84bd05 | ||
|
|
06945f2b0e | ||
|
|
a16e1bb854 | ||
|
|
ef5f95859e | ||
|
|
14ef437cc6 | ||
|
|
f49c3b763f | ||
|
|
11948c1336 | ||
|
|
63b2f68438 | ||
|
|
ca52b81a29 | ||
|
|
c2ce71e1e5 | ||
|
|
0582d760ec | ||
|
|
0a31f6e5eb | ||
|
|
24705f39ff | ||
|
|
f2e82a9540 | ||
|
|
d7e05a3637 | ||
|
|
818cfeb954 | ||
|
|
535f2d0806 | ||
|
|
14ae5b45e1 | ||
|
|
e7adb43e4b | ||
|
|
47b7dd6ca6 | ||
|
|
b46a0c233f | ||
|
|
98a97d3bea | ||
|
|
224d0b9220 | ||
|
|
f854ec26d2 | ||
|
|
d0e1111cfa | ||
|
|
fbda1bea62 | ||
|
|
34c8061b60 | ||
|
|
cb70ef072c | ||
|
|
9c68566d66 | ||
|
|
768b463699 | ||
|
|
236db84a02 | ||
|
|
5834c79c33 | ||
|
|
1f2893e611 | ||
|
|
ab9883c3cd | ||
|
|
e584095d82 | ||
|
|
fd78cbf903 | ||
|
|
af852a6051 | ||
|
|
d59f4e8465 | ||
|
|
54edeb4bfe | ||
|
|
3273f3d7b7 | ||
|
|
9dcacd934a | ||
|
|
f596361399 | ||
|
|
3c8a6967ba | ||
|
|
6e6322efd1 | ||
|
|
e86b6659d9 | ||
|
|
53b6fdc0a0 | ||
|
|
898f48977a | ||
|
|
b5cc94ef3b | ||
|
|
6fd7c180ef | ||
|
|
1b1630d32a | ||
|
|
c7b98b2ab5 | ||
|
|
1de307a3cf | ||
|
|
1f6e0f4541 | ||
|
|
729f9aeb66 | ||
|
|
71d7d2af1e | ||
|
|
fcb4eb8245 | ||
|
|
cca86bddbd | ||
|
|
6a81dca7e6 | ||
|
|
333a3455d5 | ||
|
|
23c1f4e30f |
5
OWNERS
5
OWNERS
@@ -2,7 +2,6 @@
|
||||
|
||||
approvers:
|
||||
- aojea
|
||||
- caesarxuchao
|
||||
- deads2k
|
||||
- liggitt
|
||||
- smarterclayton
|
||||
@@ -12,8 +11,6 @@ approvers:
|
||||
- enj
|
||||
reviewers:
|
||||
- aojea
|
||||
- apelisse
|
||||
- caesarxuchao
|
||||
- deads2k
|
||||
- jpbetz
|
||||
- liggitt
|
||||
@@ -27,4 +24,6 @@ reviewers:
|
||||
labels:
|
||||
- sig/api-machinery
|
||||
emeritus_approvers:
|
||||
- apelisse
|
||||
- caesarxuchao
|
||||
- lavalamp
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
approvers:
|
||||
- apelisse
|
||||
- jpbetz
|
||||
- api-approvers
|
||||
emeritus_approvers:
|
||||
- apelisse
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
||||
type MutatingAdmissionPolicyApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
|
||||
type MutatingWebhookConfigurationApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// webhooks is a list of webhooks and the affected resources and operations.
|
||||
|
||||
@@ -30,7 +30,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
|
||||
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
||||
ResourceNames []string `json:"resourceNames,omitempty"`
|
||||
// RuleWithOperations is a tuple of Operations and Resources.
|
||||
RuleWithOperationsApplyConfiguration `json:",inline"`
|
||||
RuleWithOperationsApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with
|
||||
|
||||
@@ -35,7 +35,7 @@ type RuleWithOperationsApplyConfiguration struct {
|
||||
Operations []admissionregistrationv1.OperationType `json:"operations,omitempty"`
|
||||
// Rule is embedded, it describes other criteria of the rule, like
|
||||
// APIGroups, APIVersions, Resources, etc.
|
||||
RuleApplyConfiguration `json:",inline"`
|
||||
RuleApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// RuleWithOperationsApplyConfiguration constructs a declarative configuration of the RuleWithOperations type for use with
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
||||
type ValidatingAdmissionPolicyApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
||||
type ValidatingWebhookConfigurationApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// webhooks is a list of webhooks and the affected resources and operations.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
||||
type MutatingAdmissionPolicyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -31,7 +31,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
|
||||
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
||||
ResourceNames []string `json:"resourceNames,omitempty"`
|
||||
// RuleWithOperations is a tuple of Operations and Resources.
|
||||
v1.RuleWithOperationsApplyConfiguration `json:",inline"`
|
||||
v1.RuleWithOperationsApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
||||
type ValidatingAdmissionPolicyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
|
||||
type MutatingAdmissionPolicyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
|
||||
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
|
||||
type MutatingWebhookConfigurationApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// webhooks is a list of webhooks and the affected resources and operations.
|
||||
|
||||
@@ -31,7 +31,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
|
||||
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
|
||||
ResourceNames []string `json:"resourceNames,omitempty"`
|
||||
// RuleWithOperations is a tuple of Operations and Resources.
|
||||
v1.RuleWithOperationsApplyConfiguration `json:",inline"`
|
||||
v1.RuleWithOperationsApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
|
||||
type ValidatingAdmissionPolicyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicy.
|
||||
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// Adding/removing policies, bindings, or params can not affect whether a
|
||||
// given (policy, binding, param) combination is within its own CEL budget.
|
||||
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
|
||||
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
|
||||
type ValidatingWebhookConfigurationApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// webhooks is a list of webhooks and the affected resources and operations.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Storage version of a specific resource.
|
||||
type StorageVersionApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata.
|
||||
// The name is <group>.<resource>.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -41,7 +41,7 @@ import (
|
||||
// it may be subject to name and representation changes in future releases, and clients should not
|
||||
// depend on its stability. It is primarily for internal use by controllers.
|
||||
type ControllerRevisionApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// DaemonSet represents the configuration of a daemon set.
|
||||
type DaemonSetApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||
type DeploymentApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
||||
type ReplicaSetApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// If the Labels of a ReplicaSet are empty, they are defaulted to
|
||||
// be the same as the Pod(s) that the ReplicaSet manages.
|
||||
// Standard object's metadata.
|
||||
|
||||
@@ -38,7 +38,7 @@ import (
|
||||
// The StatefulSet guarantees that a given network identity will always
|
||||
// map to the same storage identity.
|
||||
type StatefulSetApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -43,7 +43,7 @@ import (
|
||||
// it may be subject to name and representation changes in future releases, and clients should not
|
||||
// depend on its stability. It is primarily for internal use by controllers.
|
||||
type ControllerRevisionApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||
type DeploymentApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// Specification of the desired behavior of the Deployment.
|
||||
|
||||
@@ -40,7 +40,7 @@ import (
|
||||
// The StatefulSet guarantees that a given network identity will always
|
||||
// map to the same storage identity.
|
||||
type StatefulSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// Spec defines the desired identities of pods in this set.
|
||||
Spec *StatefulSetSpecApplyConfiguration `json:"spec,omitempty"`
|
||||
|
||||
@@ -43,7 +43,7 @@ import (
|
||||
// it may be subject to name and representation changes in future releases, and clients should not
|
||||
// depend on its stability. It is primarily for internal use by controllers.
|
||||
type ControllerRevisionApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// DaemonSet represents the configuration of a daemon set.
|
||||
type DaemonSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||
type DeploymentApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// Specification of the desired behavior of the Deployment.
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
||||
type ReplicaSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// If the Labels of a ReplicaSet are empty, they are defaulted to
|
||||
// be the same as the Pod(s) that the ReplicaSet manages.
|
||||
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
//
|
||||
// Scale represents a scaling request for a resource.
|
||||
type ScaleApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
|
||||
@@ -40,7 +40,7 @@ import (
|
||||
// The StatefulSet guarantees that a given network identity will always
|
||||
// map to the same storage identity.
|
||||
type StatefulSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// Spec defines the desired identities of pods in this set.
|
||||
Spec *StatefulSetSpecApplyConfiguration `json:"spec,omitempty"`
|
||||
|
||||
@@ -32,8 +32,8 @@ import (
|
||||
//
|
||||
// configuration of a horizontal pod autoscaler.
|
||||
type HorizontalPodAutoscalerApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
Spec *HorizontalPodAutoscalerSpecApplyConfiguration `json:"spec,omitempty"`
|
||||
|
||||
@@ -23,7 +23,7 @@ package v1
|
||||
//
|
||||
// specification of a horizontal pod autoscaler.
|
||||
type HorizontalPodAutoscalerSpecApplyConfiguration struct {
|
||||
// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
|
||||
// scaleTargetRef is the reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
|
||||
// and will set the desired number of pods by using its Scale subresource.
|
||||
ScaleTargetRef *CrossVersionObjectReferenceApplyConfiguration `json:"scaleTargetRef,omitempty"`
|
||||
// minReplicas is the lower limit for the number of replicas to which the autoscaler
|
||||
|
||||
@@ -29,8 +29,8 @@ import (
|
||||
//
|
||||
// Scale represents a scaling request for a resource.
|
||||
type ScaleApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
Spec *ScaleSpecApplyConfiguration `json:"spec,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// autoscaler, which automatically manages the replica count of any resource
|
||||
// implementing the scale subresource based on the metrics specified.
|
||||
type HorizontalPodAutoscalerApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -42,6 +42,10 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct {
|
||||
// message is a human-readable explanation containing details about
|
||||
// the transition
|
||||
Message *string `json:"message,omitempty"`
|
||||
// observedGeneration represents the .metadata.generation that the condition was set based upon.
|
||||
// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
||||
// with respect to the current state of the instance.
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
||||
}
|
||||
|
||||
// HorizontalPodAutoscalerConditionApplyConfiguration constructs a declarative configuration of the HorizontalPodAutoscalerCondition type for use with
|
||||
@@ -89,3 +93,11 @@ func (b *HorizontalPodAutoscalerConditionApplyConfiguration) WithMessage(value s
|
||||
b.Message = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the ObservedGeneration field is set to the value of the last call.
|
||||
func (b *HorizontalPodAutoscalerConditionApplyConfiguration) WithObservedGeneration(value int64) *HorizontalPodAutoscalerConditionApplyConfiguration {
|
||||
b.ObservedGeneration = &value
|
||||
return b
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ type MetricStatusApplyConfiguration struct {
|
||||
// Kubernetes, and have special scaling options on top of those available
|
||||
// to normal per-pod metrics using the "pods" source.
|
||||
Resource *ResourceMetricStatusApplyConfiguration `json:"resource,omitempty"`
|
||||
// container resource refers to a resource metric (such as those specified in
|
||||
// containerResource refers to a resource metric (such as those specified in
|
||||
// requests and limits) known to Kubernetes describing a single container in each pod in the
|
||||
// current scale target (e.g. CPU or memory). Such metrics are built in to
|
||||
// Kubernetes, and have special scaling options on top of those available
|
||||
|
||||
@@ -32,7 +32,7 @@ type MetricValueStatusApplyConfiguration struct {
|
||||
// averageValue is the current value of the average of the
|
||||
// metric across all relevant pods (as a quantity)
|
||||
AverageValue *resource.Quantity `json:"averageValue,omitempty"`
|
||||
// currentAverageUtilization is the current value of the average of the
|
||||
// averageUtilization is the current value of the average of the
|
||||
// resource metric across all relevant pods, represented as a percentage of
|
||||
// the requested value of the resource for the pods.
|
||||
AverageUtilization *int32 `json:"averageUtilization,omitempty"`
|
||||
|
||||
@@ -28,7 +28,7 @@ type ObjectMetricStatusApplyConfiguration struct {
|
||||
Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"`
|
||||
// current contains the current value for the given metric
|
||||
Current *MetricValueStatusApplyConfiguration `json:"current,omitempty"`
|
||||
// DescribedObject specifies the descriptions of a object,such as kind,name apiVersion
|
||||
// describedObject specifies the descriptions of a object,such as kind,name apiVersion
|
||||
DescribedObject *CrossVersionObjectReferenceApplyConfiguration `json:"describedObject,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// CronJob represents the configuration of a single cron job.
|
||||
type CronJobApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Job represents the configuration of a single job.
|
||||
type JobApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -69,9 +69,6 @@ type JobStatusApplyConfiguration struct {
|
||||
Failed *int32 `json:"failed,omitempty"`
|
||||
// The number of pods which are terminating (in phase Pending or Running
|
||||
// and have a deletionTimestamp).
|
||||
//
|
||||
// This field is beta-level. The job controller populates the field when
|
||||
// the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
||||
Terminating *int32 `json:"terminating,omitempty"`
|
||||
// completedIndexes holds the completed indexes when .spec.completionMode =
|
||||
// "Indexed" in a text format. The indexes are represented as decimal integers
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// CronJob represents the configuration of a single cron job.
|
||||
type CronJobApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -41,7 +41,7 @@ import (
|
||||
// (with the "kubernetes.io/kube-apiserver-client" signerName),
|
||||
// or to obtain certificates from custom non-Kubernetes signers.
|
||||
type CertificateSigningRequestApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the certificate request, and is immutable after creation.
|
||||
// Only the request, signerName, expirationSeconds, and usages fields can be set on creation.
|
||||
|
||||
@@ -46,7 +46,7 @@ import (
|
||||
// anchors for that signer. Admission control is used to enforce that only users
|
||||
// with permissions on the signer can create or modify the corresponding bundle.
|
||||
type ClusterTrustBundleApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata contains the object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the signer (if any) and trust anchors.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Describes a certificate signing request
|
||||
type CertificateSigningRequestApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the certificate request, and is immutable after creation.
|
||||
// Only the request, signerName, expirationSeconds, and usages fields can be set on creation.
|
||||
|
||||
@@ -46,7 +46,7 @@ import (
|
||||
// anchors for that signer. Admission control is used to enforce that only users
|
||||
// with permissions on the signer can create or modify the corresponding bundle.
|
||||
type ClusterTrustBundleApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata contains the object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the signer (if any) and trust anchors.
|
||||
|
||||
@@ -35,7 +35,7 @@ import (
|
||||
//
|
||||
// Kubelets use this API to implement podCertificate projected volumes
|
||||
type PodCertificateRequestApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// metadata contains the object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the details about the certificate being requested.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Lease defines a lease concept.
|
||||
type LeaseApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the specification of the Lease.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// LeaseCandidate defines a candidate for a Lease object.
|
||||
// Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
|
||||
type LeaseCandidateApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the specification of the Lease.
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// Lease defines a lease concept.
|
||||
type LeaseApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the specification of the Lease.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// LeaseCandidate defines a candidate for a Lease object.
|
||||
// Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
|
||||
type LeaseCandidateApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec contains the specification of the Lease.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
||||
// Deprecated: This API is deprecated in v1.19+
|
||||
type ComponentStatusApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ConfigMap holds configuration data for pods to consume.
|
||||
type ConfigMapApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
@@ -54,6 +54,8 @@ type ConfigMapApplyConfiguration struct {
|
||||
// the Data field, this is enforced during validation process.
|
||||
// Using this field will require 1.10+ apiserver and
|
||||
// kubelet.
|
||||
// Note: BinaryData keys are not currently propagated to container env vars
|
||||
// via ConfigMapKeyRef or ConfigMapRef env sources; only Data keys are used.
|
||||
BinaryData map[string][]byte `json:"binaryData,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -26,9 +26,10 @@ package v1
|
||||
//
|
||||
// The contents of the target ConfigMap's Data field will represent the
|
||||
// key-value pairs as environment variables.
|
||||
// Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type ConfigMapEnvSourceApplyConfiguration struct {
|
||||
// The ConfigMap to select from.
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// Specify whether the ConfigMap must be defined
|
||||
Optional *bool `json:"optional,omitempty"`
|
||||
}
|
||||
|
||||
@@ -24,8 +24,9 @@ package v1
|
||||
// Selects a key from a ConfigMap.
|
||||
type ConfigMapKeySelectorApplyConfiguration struct {
|
||||
// The ConfigMap to select from.
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
// The key to select.
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// The key to select from the ConfigMap's Data field.
|
||||
// Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
Key *string `json:"key,omitempty"`
|
||||
// Specify whether the ConfigMap or its key must be defined
|
||||
Optional *bool `json:"optional,omitempty"`
|
||||
|
||||
@@ -29,7 +29,7 @@ package v1
|
||||
// Note that this is identical to a configmap volume source without the default
|
||||
// mode.
|
||||
type ConfigMapProjectionApplyConfiguration struct {
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// items if unspecified, each key-value pair in the Data field of the referenced
|
||||
// ConfigMap will be projected into the volume as a file whose name is the
|
||||
// key and content is the value. If specified, the listed keys will be
|
||||
|
||||
@@ -28,7 +28,7 @@ package v1
|
||||
// the items element is populated with specific mappings of keys to paths.
|
||||
// ConfigMap volumes support ownership management and SELinux relabeling.
|
||||
type ConfigMapVolumeSourceApplyConfiguration struct {
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// items if unspecified, each key-value pair in the Data field of the referenced
|
||||
// ConfigMap will be projected into the volume as a file whose name is the
|
||||
// key and content is the value. If specified, the listed keys will be
|
||||
|
||||
@@ -49,7 +49,7 @@ import (
|
||||
//
|
||||
// Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
|
||||
type EndpointsApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -38,7 +38,7 @@ type EphemeralContainerApplyConfiguration struct {
|
||||
// specific to ephemeral containers. Fields in common with Container are in the
|
||||
// following inlined struct so than an EphemeralContainer may easily be converted
|
||||
// to a Container.
|
||||
EphemeralContainerCommonApplyConfiguration `json:",inline"`
|
||||
EphemeralContainerCommonApplyConfiguration `json:""`
|
||||
// If set, the name of the container from PodSpec that this ephemeral container targets.
|
||||
// The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
|
||||
// If not set then the ephemeral container uses the namespaces configured in the Pod spec.
|
||||
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
// continued existence of events with that Reason. Events should be
|
||||
// treated as informative, best-effort, supplemental data.
|
||||
type EventApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// LimitRange sets resource usage limits for each kind of resource in a Namespace.
|
||||
type LimitRangeApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// Namespace provides a scope for Names.
|
||||
// Use of multiple namespaces is optional.
|
||||
type NamespaceApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// Node is a worker node in Kubernetes.
|
||||
// Each node will have a unique identifier in the cache (i.e. in etcd).
|
||||
type NodeApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// It is analogous to a node.
|
||||
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
|
||||
type PersistentVolumeApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
|
||||
type PersistentVolumeClaimApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -53,8 +53,8 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
|
||||
// * An existing PVC (PersistentVolumeClaim)
|
||||
// If the provisioner or an external controller can support the specified data source,
|
||||
// it will create a new volume based on the contents of the specified data source.
|
||||
// When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
// and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
// dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
// copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
// If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
DataSource *TypedLocalObjectReferenceApplyConfiguration `json:"dataSource,omitempty"`
|
||||
// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
|
||||
@@ -78,7 +78,6 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
|
||||
// specified.
|
||||
// * While dataSource only allows local objects, dataSourceRef allows objects
|
||||
// in any namespaces.
|
||||
// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
// (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
DataSourceRef *TypedObjectReferenceApplyConfiguration `json:"dataSourceRef,omitempty"`
|
||||
// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
|
||||
|
||||
@@ -31,7 +31,7 @@ type PersistentVolumeSpecApplyConfiguration struct {
|
||||
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
|
||||
Capacity *corev1.ResourceList `json:"capacity,omitempty"`
|
||||
// persistentVolumeSource is the actual volume backing the persistent volume.
|
||||
PersistentVolumeSourceApplyConfiguration `json:",inline"`
|
||||
PersistentVolumeSourceApplyConfiguration `json:""`
|
||||
// accessModes contains all ways the volume can be mounted.
|
||||
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
|
||||
AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// Pod is a collection of containers that can run on a host. This resource is created
|
||||
// by clients and scheduled onto hosts.
|
||||
type PodApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// PodTemplate describes a template for creating copies of a predefined pod.
|
||||
type PodTemplateApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -25,7 +25,7 @@ package v1
|
||||
// alive or ready to receive traffic.
|
||||
type ProbeApplyConfiguration struct {
|
||||
// The action taken to determine the health of a container
|
||||
ProbeHandlerApplyConfiguration `json:",inline"`
|
||||
ProbeHandlerApplyConfiguration `json:""`
|
||||
// Number of seconds after the container has started before liveness probes are initiated.
|
||||
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
||||
InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ReplicationController represents the configuration of a replication controller.
|
||||
type ReplicationControllerApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// If the Labels of a ReplicationController are empty, they are defaulted to
|
||||
// be the same as the Pod(s) that the replication controller manages.
|
||||
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// ResourceQuota sets aggregate quota restrictions enforced per namespace
|
||||
type ResourceQuotaApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// Secret holds secret data of a certain type. The total bytes of the values in
|
||||
// the Data field must be less than MaxSecretSize bytes.
|
||||
type SecretApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -28,7 +28,7 @@ package v1
|
||||
// key-value pairs as environment variables.
|
||||
type SecretEnvSourceApplyConfiguration struct {
|
||||
// The Secret to select from.
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// Specify whether the Secret must be defined
|
||||
Optional *bool `json:"optional,omitempty"`
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ package v1
|
||||
// SecretKeySelector selects a key of a Secret.
|
||||
type SecretKeySelectorApplyConfiguration struct {
|
||||
// The name of the secret in the pod's namespace to select from.
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// The key of the secret to select from. Must be a valid secret key.
|
||||
Key *string `json:"key,omitempty"`
|
||||
// Specify whether the Secret or its key must be defined
|
||||
|
||||
@@ -28,7 +28,7 @@ package v1
|
||||
// Note that this is identical to a secret volume source without the default
|
||||
// mode.
|
||||
type SecretProjectionApplyConfiguration struct {
|
||||
LocalObjectReferenceApplyConfiguration `json:",inline"`
|
||||
LocalObjectReferenceApplyConfiguration `json:""`
|
||||
// items if unspecified, each key-value pair in the Data field of the referenced
|
||||
// Secret will be projected into the volume as a file whose name is the
|
||||
// key and content is the value. If specified, the listed keys will be
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// (for example 3306) that the proxy listens on, and the selector that determines which pods
|
||||
// will answer requests sent through the proxy.
|
||||
type ServiceApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -35,7 +35,7 @@ import (
|
||||
// * a principal that can be authenticated and authorized
|
||||
// * a set of secrets
|
||||
type ServiceAccountApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -30,7 +30,7 @@ type VolumeApplyConfiguration struct {
|
||||
// volumeSource represents the location and type of the mounted volume.
|
||||
// If not specified, the Volume is implied to be an EmptyDir.
|
||||
// This implied behavior is deprecated and will be removed in a future version.
|
||||
VolumeSourceApplyConfiguration `json:",inline"`
|
||||
VolumeSourceApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// VolumeApplyConfiguration constructs a declarative configuration of the Volume type for use with
|
||||
|
||||
@@ -49,8 +49,7 @@ type VolumeMountApplyConfiguration struct {
|
||||
//
|
||||
// If this field is not specified, it is treated as an equivalent of Disabled.
|
||||
RecursiveReadOnly *corev1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"`
|
||||
// Path within the container at which the volume should be mounted. Must
|
||||
// not contain ':'.
|
||||
// Path within the container at which the volume should be mounted.
|
||||
MountPath *string `json:"mountPath,omitempty"`
|
||||
// Path within the volume from which the container's volume should be mounted.
|
||||
// Defaults to "" (volume's root).
|
||||
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
// by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name`
|
||||
// label contains the service's name.
|
||||
type EndpointSliceApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// addressType specifies the type of address carried by this EndpointSlice.
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// For a given service there may be multiple EndpointSlice objects, selected by
|
||||
// labels, which must be joined to produce the full set of endpoints.
|
||||
type EndpointSliceApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// addressType specifies the type of address carried by this EndpointSlice.
|
||||
|
||||
@@ -38,7 +38,7 @@ import (
|
||||
// continued existence of events with that Reason. Events should be
|
||||
// treated as informative, best-effort, supplemental data.
|
||||
type EventApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -38,7 +38,7 @@ import (
|
||||
// continued existence of events with that Reason. Events should be
|
||||
// treated as informative, best-effort, supplemental data.
|
||||
type EventApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// DaemonSet represents the configuration of a daemon set.
|
||||
type DaemonSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||
type DeploymentApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// Specification of the desired behavior of the Deployment.
|
||||
|
||||
@@ -36,7 +36,7 @@ import (
|
||||
// based virtual hosting etc.
|
||||
// DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.
|
||||
type IngressApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -53,7 +53,7 @@ type IngressRuleApplyConfiguration struct {
|
||||
// just traffic matching the host to the default backend or all traffic to the
|
||||
// default backend, is left to the controller fulfilling the Ingress. Http is
|
||||
// currently the only supported IngressRuleValue.
|
||||
IngressRuleValueApplyConfiguration `json:",inline"`
|
||||
IngressRuleValueApplyConfiguration `json:""`
|
||||
}
|
||||
|
||||
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy.
|
||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||
type NetworkPolicyApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// more information.
|
||||
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
||||
type ReplicaSetApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// If the Labels of a ReplicaSet are empty, they are defaulted to
|
||||
// be the same as the Pod(s) that the ReplicaSet manages.
|
||||
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
//
|
||||
// represents a scaling request for a resource.
|
||||
type ScaleApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with
|
||||
// similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".
|
||||
type FlowSchemaApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// `metadata` is the standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
//
|
||||
// PriorityLevelConfiguration represents the configuration of a priority level.
|
||||
type PriorityLevelConfigurationApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// `metadata` is the standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user