Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 697 for mutating (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/config.go

    type ListWorkEstimatorConfig struct {
    	ObjectsPerSeat float64 `json:"objectsPerSeat,omitempty"`
    }
    
    // MutatingWorkEstimatorConfig holds work estimator
    // parameters related to watches of mutating objects.
    type MutatingWorkEstimatorConfig struct {
    	// TODO(wojtekt): Remove it once we tune the algorithm to not fail
    	// scalability tests.
    	Enabled                 bool            `json:"enable,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    }
    
    // LatencyTrackers stores trackers used to measure latecny incurred in
    // components within the apiserver.
    type LatencyTrackers struct {
    	// MutatingWebhookTracker tracks the latency incurred in mutating webhook(s).
    	// Since mutating webhooks are done sequentially, latency
    	// is aggregated using sum function.
    	MutatingWebhookTracker DurationTracker
    
    	// ValidatingWebhookTracker tracks the latency incurred in validating webhook(s).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package mutating
    
    import (
    	"context"
    	"io"
    
    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/admission/configuration"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/generic"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. internal/disk/directio_unsupported.go

    // so there is no risk of polluting the entire cache with data accessed once.
    // Another goal of DirectIO is to minimize the mutation of data by the kernel
    // before issuing IO to underlying devices. ZFS users often enable features like
    // compression and checksumming which currently necessitates mutating data in
    // the kernel.
    //
    // DirectIO semantics for a filesystem like ZFS would be quite different than
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. pkg/apis/autoscaling/v1/conversion.go

    			return err
    		}
    	}
    
    	if len(otherMetrics) > 0 {
    		otherMetricsEnc, err := json.Marshal(otherMetrics)
    		if err != nil {
    			return err
    		}
    		// copy before mutating
    		if !copiedAnnotations {
    			copiedAnnotations = true
    			out.Annotations = autoscaling.DeepCopyStringMap(out.Annotations)
    		}
    		out.Annotations[autoscaling.MetricSpecsAnnotation] = string(otherMetricsEnc)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 16 03:29:22 UTC 2021
    - 21.2K bytes
    - Viewed (0)
  6. manifests/charts/gateway/templates/deployment.yaml

          {{- with .Values.volumes }}
          volumes:
            {{ toYaml . | nindent 8 }}
          {{- end }}
          containers:
            - name: istio-proxy
              # "auto" will be populated at runtime by the mutating webhook. See https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#customizing-injection
              image: auto
              {{- with .Values.imagePullPolicy }}
              imagePullPolicy: {{ . }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 22:42:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/kube-scheduler/app/config/config.go

    type CompletedConfig struct {
    	// Embed a private pointer that cannot be instantiated outside of this package.
    	*completedConfig
    }
    
    // Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
    func (c *Config) Complete() CompletedConfig {
    	cc := completedConfig{c}
    
    	apiserver.AuthorizeClientBearerToken(c.LoopbackClientConfig, &c.Authentication, &c.Authorization)
    
    	return CompletedConfig{&cc}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 09:38:49 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. pkg/apis/admissionregistration/v1/defaults.go

    		obj.ObjectSelector = &selector
    	}
    	if obj.TimeoutSeconds == nil {
    		obj.TimeoutSeconds = new(int32)
    		*obj.TimeoutSeconds = 10
    	}
    }
    
    // SetDefaults_MutatingWebhook sets defaults for webhook mutating
    func SetDefaults_MutatingWebhook(obj *admissionregistrationv1.MutatingWebhook) {
    	if obj.FailurePolicy == nil {
    		policy := admissionregistrationv1.Fail
    		obj.FailurePolicy = &policy
    	}
    	if obj.MatchPolicy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    type GenerateOptions struct {
    	// Tag is the name of the revision tag to generate.
    	Tag string
    	// Revision is the revision to associate the revision tag with.
    	Revision string
    	// WebhookName is an override for the mutating webhook name.
    	WebhookName string
    	// ManifestsPath specifies where the manifests to render the mutatingwebhook can be found.
    	// TODO(Monkeyanator) once we stop using Helm templating remove this.
    	ManifestsPath string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package mutating
    
    import (
    	"encoding/json"
    	"reflect"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    )
    
    func TestMutationAnnotationValue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top