typo list-type s/associative/map/

This commit is contained in:
yue9944882 2019-11-06 23:31:00 +08:00
parent 3d1b5d0e9a
commit bbd2e6b48b
4 changed files with 2547 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -259,7 +259,7 @@ type NonResourcePolicyRule struct {
// FlowSchemaStatus represents the current state of a FlowSchema.
type FlowSchemaStatus struct {
// `conditions` is a list of the current states of FlowSchema.
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
Conditions []FlowSchemaCondition
@ -404,7 +404,7 @@ type PriorityLevelConfigurationConditionType string
// PriorityLevelConfigurationStatus represents the current state of a "request-priority".
type PriorityLevelConfigurationStatus struct {
// `conditions` is the current state of "request-priority".
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
Conditions []PriorityLevelConfigurationCondition

View File

@ -118,7 +118,7 @@ message FlowSchemaSpec {
// FlowSchemaStatus represents the current state of a FlowSchema.
message FlowSchemaStatus {
// `conditions` is a list of the current states of FlowSchema.
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
repeated FlowSchemaCondition conditions = 1;
@ -262,7 +262,7 @@ message PriorityLevelConfigurationSpec {
// PriorityLevelConfigurationStatus represents the current state of a "request-priority".
message PriorityLevelConfigurationStatus {
// `conditions` is the current state of "request-priority".
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
repeated PriorityLevelConfigurationCondition conditions = 1;

View File

@ -259,7 +259,7 @@ type NonResourcePolicyRule struct {
// FlowSchemaStatus represents the current state of a FlowSchema.
type FlowSchemaStatus struct {
// `conditions` is a list of the current states of FlowSchema.
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
Conditions []FlowSchemaCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`
@ -404,7 +404,7 @@ type PriorityLevelConfigurationConditionType string
// PriorityLevelConfigurationStatus represents the current state of a "request-priority".
type PriorityLevelConfigurationStatus struct {
// `conditions` is the current state of "request-priority".
// +listType=associative
// +listType=map
// +listMapKey=type
// +optional
Conditions []PriorityLevelConfigurationCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`