update type in api definition
Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
parent
761e22ec3c
commit
d85090efa6
|
|
@ -20914,7 +20914,7 @@
|
|||
],
|
||||
"properties": {
|
||||
"apiGroups": {
|
||||
"description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group cloud be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
"description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group could be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
|
|
@ -22266,7 +22266,7 @@
|
|||
]
|
||||
},
|
||||
"com.github.karmada-io.karmada.pkg.apis.search.v1alpha1.ResourceRegistryList": {
|
||||
"description": "ResourceRegistryList if a collection of ResourceRegistry.",
|
||||
"description": "ResourceRegistryList is a collection of ResourceRegistry.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"items"
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ spec:
|
|||
to. '*' is all groups. If '*' is present, the length of
|
||||
the slice must be one. For example: [\"apps\", \"batch\",
|
||||
\"example.io\"] means matches 3 groups. [\"*\"] means matches
|
||||
all group \n Note: The group cloud be empty, e.g the 'core'
|
||||
all group \n Note: The group could be empty, e.g the 'core'
|
||||
group of kubernetes, in that case use [\"\"]."
|
||||
items:
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ type Rule struct {
|
|||
// ["apps", "batch", "example.io"] means matches 3 groups.
|
||||
// ["*"] means matches all group
|
||||
//
|
||||
// Note: The group cloud be empty, e.g the 'core' group of kubernetes, in that case use [""].
|
||||
// Note: The group could be empty, e.g the 'core' group of kubernetes, in that case use [""].
|
||||
// +required
|
||||
APIGroups []string `json:"apiGroups"`
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ type Rule struct {
|
|||
// ["apps", "batch", "example.io"] means matches 3 groups.
|
||||
// ["*"] means matches all group
|
||||
//
|
||||
// Note: The group cloud be empty, e.g the 'core' group of kubernetes, in that case use [""].
|
||||
// Note: The group could be empty, e.g the 'core' group of kubernetes, in that case use [""].
|
||||
// +required
|
||||
APIGroups []string `json:"apiGroups"`
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ type ResourceRegistryStatus struct {
|
|||
// +kubebuilder:resource:scope="Cluster"
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// ResourceRegistryList if a collection of ResourceRegistry.
|
||||
// ResourceRegistryList is a collection of ResourceRegistry.
|
||||
type ResourceRegistryList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ListMeta `json:"metadata,omitempty"`
|
||||
|
|
|
|||
|
|
@ -2504,7 +2504,7 @@ func schema_pkg_apis_config_v1alpha1_Rule(ref common.ReferenceCallback) common.O
|
|||
Properties: map[string]spec.Schema{
|
||||
"apiGroups": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group cloud be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
Description: "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group could be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
Type: []string{"array"},
|
||||
Items: &spec.SchemaOrArray{
|
||||
Schema: &spec.Schema{
|
||||
|
|
@ -2578,7 +2578,7 @@ func schema_pkg_apis_config_v1alpha1_RuleWithOperations(ref common.ReferenceCall
|
|||
},
|
||||
"apiGroups": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group cloud be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
Description: "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. For example:\n [\"apps\", \"batch\", \"example.io\"] means matches 3 groups.\n [\"*\"] means matches all group\n\nNote: The group could be empty, e.g the 'core' group of kubernetes, in that case use [\"\"].",
|
||||
Type: []string{"array"},
|
||||
Items: &spec.SchemaOrArray{
|
||||
Schema: &spec.Schema{
|
||||
|
|
@ -4753,7 +4753,7 @@ func schema_pkg_apis_search_v1alpha1_ResourceRegistryList(ref common.ReferenceCa
|
|||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "ResourceRegistryList if a collection of ResourceRegistry.",
|
||||
Description: "ResourceRegistryList is a collection of ResourceRegistry.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"kind": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue