update the hyperlink of api-conventions.md file in comments

This commit is contained in:
hangcui 2022-11-02 22:14:48 +08:00
parent 3ceb97ae2a
commit 012f61ede9
6 changed files with 18 additions and 18 deletions

View File

@ -56,11 +56,11 @@ exposes the Scale subresource.
// or other objects that expose the Scale subresource). // or other objects that expose the Scale subresource).
type Balancer struct { type Balancer struct {
metav1.TypeMeta metav1.TypeMeta
// 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/sig-architecture/api-conventions.md#metadata
// +optional // +optional
metav1.ObjectMeta metav1.ObjectMeta
// Specification of the Balancer behavior. // Specification of the Balancer behavior.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec BalancerSpec Spec BalancerSpec
// Current information about the Balancer. // Current information about the Balancer.
// +optional // +optional

View File

@ -37,7 +37,7 @@ spec:
metadata: metadata:
type: object type: object
spec: spec:
description: 'Specification of the checkpoint. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.' description: 'Specification of the checkpoint. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.'
properties: properties:
containerName: containerName:
description: Name of the checkpointed container. description: Name of the checkpointed container.
@ -130,7 +130,7 @@ spec:
metadata: metadata:
type: object type: object
spec: spec:
description: 'Specification of the checkpoint. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.' description: 'Specification of the checkpoint. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.'
properties: properties:
containerName: containerName:
description: Name of the checkpointed container. description: Name of the checkpointed container.
@ -261,7 +261,7 @@ spec:
type: object type: object
spec: spec:
description: 'Specification of the behavior of the autoscaler. More info: description: 'Specification of the behavior of the autoscaler. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.' https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.'
properties: properties:
recommenders: recommenders:
description: Recommender responsible for generating recommendation description: Recommender responsible for generating recommendation
@ -535,7 +535,7 @@ spec:
type: object type: object
spec: spec:
description: 'Specification of the behavior of the autoscaler. More info: description: 'Specification of the behavior of the autoscaler. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.' https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.'
properties: properties:
resourcePolicy: resourcePolicy:
description: Controls how the autoscaler computes recommended resources. description: Controls how the autoscaler computes recommended resources.

View File

@ -54,7 +54,7 @@ type VerticalPodAutoscaler struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the behavior of the autoscaler. // Specification of the behavior of the autoscaler.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"` Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"`
// Current information about the autoscaler. // Current information about the autoscaler.
@ -323,7 +323,7 @@ type VerticalPodAutoscalerCheckpoint struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the checkpoint. // Specification of the checkpoint.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional // +optional
Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

View File

@ -43,12 +43,12 @@ type VerticalPodAutoscalerList struct {
// real time resource utilization. // real time resource utilization.
type VerticalPodAutoscaler struct { type VerticalPodAutoscaler struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// 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/sig-architecture/api-conventions.md#metadata
// +optional // +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the behavior of the autoscaler. // Specification of the behavior of the autoscaler.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"` Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"`
// Current information about the autoscaler. // Current information about the autoscaler.
@ -253,12 +253,12 @@ type VerticalPodAutoscalerCondition struct {
// is used for recovery after recommender's restart. // is used for recovery after recommender's restart.
type VerticalPodAutoscalerCheckpoint struct { type VerticalPodAutoscalerCheckpoint struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// 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/sig-architecture/api-conventions.md#metadata
// +optional // +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the checkpoint. // Specification of the checkpoint.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional // +optional
Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

View File

@ -48,7 +48,7 @@ type VerticalPodAutoscaler struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the behavior of the autoscaler. // Specification of the behavior of the autoscaler.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"` Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"`
// Current information about the autoscaler. // Current information about the autoscaler.
@ -275,7 +275,7 @@ type VerticalPodAutoscalerCheckpoint struct {
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the checkpoint. // Specification of the checkpoint.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional // +optional
Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

View File

@ -43,12 +43,12 @@ type VerticalPodAutoscalerList struct {
// real time resource utilization. // real time resource utilization.
type VerticalPodAutoscaler struct { type VerticalPodAutoscaler struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// 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/sig-architecture/api-conventions.md#metadata
// +optional // +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the behavior of the autoscaler. // Specification of the behavior of the autoscaler.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"` Spec VerticalPodAutoscalerSpec `json:"spec" protobuf:"bytes,2,name=spec"`
// Current information about the autoscaler. // Current information about the autoscaler.
@ -244,12 +244,12 @@ type VerticalPodAutoscalerCondition struct {
// is used for recovery after recommender's restart. // is used for recovery after recommender's restart.
type VerticalPodAutoscalerCheckpoint struct { type VerticalPodAutoscalerCheckpoint struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// 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/sig-architecture/api-conventions.md#metadata
// +optional // +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the checkpoint. // Specification of the checkpoint.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional // +optional
Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Spec VerticalPodAutoscalerCheckpointSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`