mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Add complete operation list of admission controller
This commit is contained in:
parent
06a1b7b491
commit
9ff16419bc
4
api/openapi-spec/swagger.json
generated
4
api/openapi-spec/swagger.json
generated
@ -150,7 +150,7 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"operations": {
|
"operations": {
|
||||||
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
|
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -492,7 +492,7 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"operations": {
|
"operations": {
|
||||||
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
|
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -245,8 +245,8 @@ message Rule {
|
|||||||
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
||||||
// sure that all the tuple expansions are valid.
|
// sure that all the tuple expansions are valid.
|
||||||
message RuleWithOperations {
|
message RuleWithOperations {
|
||||||
// Operations is the operations the admission hook cares about - CREATE, UPDATE, or *
|
// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
|
||||||
// for all operations.
|
// for all of those operations and any future admission operations that are added.
|
||||||
// If '*' is present, the length of the slice must be one.
|
// If '*' is present, the length of the slice must be one.
|
||||||
// Required.
|
// Required.
|
||||||
repeated string operations = 1;
|
repeated string operations = 1;
|
||||||
|
@ -462,8 +462,8 @@ const (
|
|||||||
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
||||||
// sure that all the tuple expansions are valid.
|
// sure that all the tuple expansions are valid.
|
||||||
type RuleWithOperations struct {
|
type RuleWithOperations struct {
|
||||||
// Operations is the operations the admission hook cares about - CREATE, UPDATE, or *
|
// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
|
||||||
// for all operations.
|
// for all of those operations and any future admission operations that are added.
|
||||||
// If '*' is present, the length of the slice must be one.
|
// If '*' is present, the length of the slice must be one.
|
||||||
// Required.
|
// Required.
|
||||||
Operations []OperationType `json:"operations,omitempty" protobuf:"bytes,1,rep,name=operations,casttype=OperationType"`
|
Operations []OperationType `json:"operations,omitempty" protobuf:"bytes,1,rep,name=operations,casttype=OperationType"`
|
||||||
|
@ -80,7 +80,7 @@ func (Rule) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_RuleWithOperations = map[string]string{
|
var map_RuleWithOperations = map[string]string{
|
||||||
"": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
|
"": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
|
||||||
"operations": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
|
"operations": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuleWithOperations) SwaggerDoc() map[string]string {
|
func (RuleWithOperations) SwaggerDoc() map[string]string {
|
||||||
|
@ -249,8 +249,8 @@ message Rule {
|
|||||||
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
||||||
// sure that all the tuple expansions are valid.
|
// sure that all the tuple expansions are valid.
|
||||||
message RuleWithOperations {
|
message RuleWithOperations {
|
||||||
// Operations is the operations the admission hook cares about - CREATE, UPDATE, or *
|
// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
|
||||||
// for all operations.
|
// for all of those operations and any future admission operations that are added.
|
||||||
// If '*' is present, the length of the slice must be one.
|
// If '*' is present, the length of the slice must be one.
|
||||||
// Required.
|
// Required.
|
||||||
repeated string operations = 1;
|
repeated string operations = 1;
|
||||||
|
@ -470,8 +470,8 @@ const (
|
|||||||
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
|
||||||
// sure that all the tuple expansions are valid.
|
// sure that all the tuple expansions are valid.
|
||||||
type RuleWithOperations struct {
|
type RuleWithOperations struct {
|
||||||
// Operations is the operations the admission hook cares about - CREATE, UPDATE, or *
|
// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or *
|
||||||
// for all operations.
|
// for all of those operations and any future admission operations that are added.
|
||||||
// If '*' is present, the length of the slice must be one.
|
// If '*' is present, the length of the slice must be one.
|
||||||
// Required.
|
// Required.
|
||||||
Operations []OperationType `json:"operations,omitempty" protobuf:"bytes,1,rep,name=operations,casttype=OperationType"`
|
Operations []OperationType `json:"operations,omitempty" protobuf:"bytes,1,rep,name=operations,casttype=OperationType"`
|
||||||
|
@ -80,7 +80,7 @@ func (Rule) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_RuleWithOperations = map[string]string{
|
var map_RuleWithOperations = map[string]string{
|
||||||
"": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
|
"": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
|
||||||
"operations": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
|
"operations": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuleWithOperations) SwaggerDoc() map[string]string {
|
func (RuleWithOperations) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user