Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for testprofile (0.84 sec)

  1. pkg/security/apparmor/validate.go

    		return v.validateHostErr
    	}
    
    	var retErr error
    	podutil.VisitContainers(&pod.Spec, podutil.AllContainers, func(container *v1.Container, containerType podutil.ContainerType) bool {
    		profile := GetProfile(pod, container)
    		if profile == nil {
    			return true
    		}
    
    		// TODO(#64841): This would ideally be part of validation.ValidateAppArmorProfileFormat, but
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/pprof/pprof.go

    	}
    	fmt.Fprintln(os.Stderr, "Fetching profile over HTTP from", sourceURL)
    	if duration > 0 {
    		fmt.Fprintf(os.Stderr, "Please wait... (%v)\n", duration)
    	}
    	p, err := getProfile(sourceURL, timeout)
    	return p, sourceURL, err
    }
    
    func getProfile(source string, timeout time.Duration) (*profile.Profile, error) {
    	url, err := url.Parse(source)
    	if err != nil {
    		return nil, err
    	}
    
    	var tlsConfig *tls.Config
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/helpers.go

    		ProfileType: runtimeapi.SecurityProfile_Unconfined,
    	}, nil
    }
    
    func getAppArmorProfile(pod *v1.Pod, container *v1.Container) (*runtimeapi.SecurityProfile, string, error) {
    	profile := apparmor.GetProfile(pod, container)
    	if profile == nil {
    		return nil, "", nil
    	}
    
    	var (
    		securityProfile   *runtimeapi.SecurityProfile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. operator/pkg/verifier/verifier.go

    			by := util.ToYAML(un)
    			unmergedIOP, err := operator_istio.UnmarshalIstioOperator(by, true)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    			}
    			profile := manifest.GetProfile(unmergedIOP)
    			iop, err := manifest.GetMergedIOP(by, profile, v.manifestsPath, v.controlPlaneOpts.Revision,
    				v.client, v.logger)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/StartParameterBuildOptions.java

            }
    
            @Override
            public void applyTo(StartParameterInternal settings, Origin origin) {
                settings.setProfile(true);
            }
        }
    
        public static class ContinueOption extends BooleanBuildOption<StartParameterInternal> {
            public static final String LONG_OPTION = "continue";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 22:47:53 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                startParameter.setDryRun(decoder.readBoolean());
                startParameter.setRerunTasks(decoder.readBoolean());
                startParameter.setProfile(decoder.readBoolean());
                startParameter.setContinueOnFailure(decoder.readBoolean());
                startParameter.setOffline(decoder.readBoolean());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  7. operator/pkg/manifest/shared.go

    	}
    	found := false
    	for _, o := range objs {
    		if o.Kind == name.IstioOperator {
    			if found {
    				return true, nil
    			}
    			found = true
    		}
    	}
    	return false, nil
    }
    
    func GetProfile(iop *iopv1alpha1.IstioOperator) string {
    	profile := "default"
    	if iop != nil && iop.Spec != nil && iop.Spec.Profile != "" {
    		profile = iop.Spec.Profile
    	}
    	return profile
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.getClassPathEntries(classloader))
            .containsExactly(new File("/c:/Documents and Settings/"), classloader);
      }
    
      // https://github.com/google/guava/issues/2152
      public void testToFile() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/")))
            .isEqualTo(new File("/c:/Documents and Settings/"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	"k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise"
    	test "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing"
    	testeventclock "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock"
    	testpromise "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise"
    	"k8s.io/apiserver/pkg/util/flowcontrol/metrics"
    	fcrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    	"k8s.io/klog/v2"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            return projectDir;
        }
    
        /**
         * Specifies if a profile report should be generated.
         *
         * @param profile true if a profile report should be generated
         */
        public void setProfile(boolean profile) {
            this.profile = profile;
        }
    
        /**
         * Returns true if a profile report will be generated.
         */
        public boolean isProfile() {
            return profile;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top