VolumeClaimSpecSelectorMatchExpressions interface
VolumeClaimSpecSelectorMatchExpressions 属性
属性
| key | 键是选择器应用于的标签键。 |
| operator | 运算符表示键与一组值的关系。 有效运算符为 In、NotIn、Exists 和 DoesNotExist。 |
| values | values 是字符串值的数组。 如果运算符为 In 或 NotIn,则值数组必须为非空。 如果运算符为 Exists 或 DoesNotExist,则值数组必须为空。 此数组在战略合并修补期间被替换。 |
属性详细信息
key
键是选择器应用于的标签键。
key: string
属性值
string
operator
运算符表示键与一组值的关系。 有效运算符为 In、NotIn、Exists 和 DoesNotExist。
operator: string
属性值
string
values
values 是字符串值的数组。 如果运算符为 In 或 NotIn,则值数组必须为非空。 如果运算符为 Exists 或 DoesNotExist,则值数组必须为空。 此数组在战略合并修补期间被替换。
values?: string[]
属性值
string[]