Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 129 for newobject (0.34 sec)

  1. plugin/pkg/admission/security/podsecurity/admission.go

    	convertOldObjectOnce    sync.Once
    	convertedOldObject      runtime.Object
    	convertedOldObjectError error
    }
    
    func (l *lazyConvertingAttributes) GetObject() (runtime.Object, error) {
    	l.convertObjectOnce.Do(func() {
    		l.convertedObject, l.convertedObjectError = convert(l.Attributes.GetObject())
    	})
    	return l.convertedObject, l.convertedObjectError
    }
    
    func (l *lazyConvertingAttributes) GetOldObject() (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 08:49:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. plugin/pkg/admission/network/denyserviceexternalips/admission.go

    		return nil
    	}
    
    	if len(attr.GetSubresource()) != 0 {
    		return nil
    	}
    
    	// if we can't convert then we don't handle this object so just return
    	newSvc, ok := attr.GetObject().(*core.Service)
    	if !ok {
    		klog.V(3).Infof("Expected Service resource, got: %v", attr.GetKind())
    		return errors.NewInternalError(fmt.Errorf("Expected Service resource, got: %v", attr.GetKind()))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 29 18:00:11 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

     */
    
    package jcifs.smb1.dcerpc;
    
    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.ndr.*;
    
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        protected int ptype = -1;
        protected int flags = 0;
        protected int length = 0;
        protected int call_id = 0;
        protected int alloc_hint = 0;
        protected int result = 0;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  4. plugin/pkg/admission/eventratelimit/limitenforcer.go

    	}
    	return userInfo.GetName()
    }
    
    // getSourceAndObjectKey returns a cache key that is based on the source+object of the event
    func getSourceAndObjectKey(attr admission.Attributes) string {
    	object := attr.GetObject()
    	if object == nil {
    		return ""
    	}
    	event, ok := object.(*api.Event)
    	if !ok {
    		return ""
    	}
    	return strings.Join([]string{
    		event.Source.Component,
    		event.Source.Host,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 08 02:31:37 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. plugin/pkg/admission/priority/admission.go

    func (p *Plugin) admitPod(a admission.Attributes) error {
    	operation := a.GetOperation()
    	pod, ok := a.GetObject().(*core.Pod)
    	if !ok {
    		return errors.NewBadRequest("resource was marked with kind Pod but was unable to be converted")
    	}
    
    	if operation == admission.Update {
    		oldPod, ok := a.GetOldObject().(*core.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	// However, a value of false for this does not mean that the modification will be persisted, because it
    	// could still be rejected by a subsequent validation step.
    	IsDryRun() bool
    	// GetObject is the object from the incoming request prior to default values being applied
    	GetObject() runtime.Object
    	// GetOldObject is the existing object. Only populated for UPDATE and DELETE requests.
    	GetOldObject() runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  7. plugin/pkg/admission/storage/storageclass/setdefault/admission.go

    	if attr.GetResource().GroupResource() != api.Resource("persistentvolumeclaims") {
    		return nil
    	}
    
    	if len(attr.GetSubresource()) != 0 {
    		return nil
    	}
    
    	pvc, ok := attr.GetObject().(*api.PersistentVolumeClaim)
    	// if we can't convert then we don't handle this object so just return
    	if !ok {
    		return nil
    	}
    
    	if helper.PersistentVolumeClaimHasClass(pvc) {
    		// The user asked for a class.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:52:04 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java

            versions = new LinkedHashMap<>();
            processedVersions = new LinkedHashMap<>();
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocator.java

                    visualStudioVersion = reader.nextString();
                } else {
                    reader.skipValue();
                }
            }
            reader.endObject();
    
            File visualStudioInstallDir = new File(visualStudioInstallPath);
            VisualCppInstallCandidate visualCppMetadata = findVisualCppMetadata(visualStudioInstallDir, visualStudioVersion);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. plugin/pkg/admission/storage/persistentvolume/resize/admission.go

    	if a.GetResource().GroupResource() != api.Resource("persistentvolumeclaims") {
    		return nil
    	}
    
    	if len(a.GetSubresource()) != 0 {
    		return nil
    	}
    
    	pvc, ok := a.GetObject().(*api.PersistentVolumeClaim)
    	// if we can't convert then we don't handle this object so just return
    	if !ok {
    		return nil
    	}
    	oldPvc, ok := a.GetOldObject().(*api.PersistentVolumeClaim)
    	if !ok {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 3.9K bytes
    - Viewed (0)
Back to top