mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Merge pull request #127164 from cici37/correctGoDoc
Correct go doc for admissionregistration resources
This commit is contained in:
@@ -76,7 +76,7 @@ func (mutatingWebhookConfigurationStrategy) Validate(ctx context.Context, obj ru
|
||||
func (mutatingWebhookConfigurationStrategy) Canonicalize(obj runtime.Object) {
|
||||
}
|
||||
|
||||
// AllowCreateOnUpdate is true for mutatingWebhookConfiguration; this means you may create one with a PUT request.
|
||||
// AllowCreateOnUpdate is false for mutatingWebhookConfiguration; this means you may not create one with a PUT request.
|
||||
func (mutatingWebhookConfigurationStrategy) AllowCreateOnUpdate() bool {
|
||||
return false
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ func (v *validatingAdmissionPolicyStrategy) WarningsOnCreate(ctx context.Context
|
||||
func (v *validatingAdmissionPolicyStrategy) Canonicalize(obj runtime.Object) {
|
||||
}
|
||||
|
||||
// AllowCreateOnUpdate is true for validatingAdmissionPolicy; this means you may create one with a PUT request.
|
||||
// AllowCreateOnUpdate is false for validatingAdmissionPolicy; this means you may not create one with a PUT request.
|
||||
func (v *validatingAdmissionPolicyStrategy) AllowCreateOnUpdate() bool {
|
||||
return false
|
||||
}
|
||||
|
@@ -101,7 +101,7 @@ func (v *validatingAdmissionPolicyBindingStrategy) WarningsOnCreate(ctx context.
|
||||
func (v *validatingAdmissionPolicyBindingStrategy) Canonicalize(obj runtime.Object) {
|
||||
}
|
||||
|
||||
// AllowCreateOnUpdate is true for ValidatingAdmissionPolicyBinding; this means you may create one with a PUT request.
|
||||
// AllowCreateOnUpdate is false for ValidatingAdmissionPolicyBinding; this means you may not create one with a PUT request.
|
||||
func (v *validatingAdmissionPolicyBindingStrategy) AllowCreateOnUpdate() bool {
|
||||
return false
|
||||
}
|
||||
|
@@ -75,7 +75,7 @@ func (validatingWebhookConfigurationStrategy) WarningsOnCreate(ctx context.Conte
|
||||
func (validatingWebhookConfigurationStrategy) Canonicalize(obj runtime.Object) {
|
||||
}
|
||||
|
||||
// AllowCreateOnUpdate is true for validatingWebhookConfiguration; this means you may create one with a PUT request.
|
||||
// AllowCreateOnUpdate is false for validatingWebhookConfiguration; this means you may not create one with a PUT request.
|
||||
func (validatingWebhookConfigurationStrategy) AllowCreateOnUpdate() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user