Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for ExecAction (0.16 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

            ExecAction execAction = getExecActionFactory().newExecAction();
            execAction.setWorkingDir(new File(".").getAbsolutePath());
            execAction.commandLine(cygpathExe.getAbsolutePath(), "-w", cygwinPath);
            StreamByteBuffer buffer = new StreamByteBuffer();
            StreamByteBuffer errorBuffer = new StreamByteBuffer();
            execAction.setStandardOutput(buffer.getOutputStream());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/ExecActionFactory.java

    @ServiceScope(Scope.Global.class)
    public interface ExecActionFactory {
        /**
         * Creates an {@link ExecAction} that is not decorated. Use this when the action is not made visible to the DSL.
         * If you need to make the action visible to the DSL, use {@link org.gradle.process.ExecOperations} instead.
         */
        ExecAction newExecAction();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/AbstractMetadataProvider.java

    import org.gradle.platform.base.internal.toolchain.ComponentNotFound;
    import org.gradle.platform.base.internal.toolchain.SearchResult;
    import org.gradle.process.ExecResult;
    import org.gradle.process.internal.ExecAction;
    import org.gradle.process.internal.ExecActionFactory;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 13:16:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/labels_test.go

    func TestContainerLabels(t *testing.T) {
    	deletionGracePeriod := int64(10)
    	terminationGracePeriod := int64(10)
    	lifecycle := &v1.Lifecycle{
    		// Left PostStart as nil
    		PreStop: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"action1", "action2"},
    			},
    			HTTPGet: &v1.HTTPGetAction{
    				Path:   "path",
    				Host:   "host",
    				Port:   intstr.FromInt32(8080),
    				Scheme: "scheme",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    import org.gradle.internal.os.OperatingSystem
    import org.gradle.platform.base.internal.toolchain.SearchResult
    import org.gradle.process.ExecResult
    import org.gradle.process.internal.ExecAction
    import org.gradle.process.internal.ExecActionFactory
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.test.precondition.Requires
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/kubelet/lifecycle/handlers_test.go

    	containerName := "containerFoo"
    
    	container := v1.Container{
    		Name: containerName,
    		Lifecycle: &v1.Lifecycle{
    			PostStart: &v1.LifecycleHandler{
    				Exec: &v1.ExecAction{
    					Command: []string{"ls", "-a"},
    				},
    			},
    		},
    	}
    
    	pod := v1.Pod{}
    	pod.ObjectMeta.Name = "podFoo"
    	pod.ObjectMeta.Namespace = "nsFoo"
    	pod.Spec.Containers = []v1.Container{container}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	gracePeriod := int64(30)
    	cID := kubecontainer.ContainerID{
    		Type: "docker",
    		ID:   "foo",
    	}
    
    	cmdPostStart := &v1.Lifecycle{
    		PostStart: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"PostStartCMD"},
    			},
    		},
    	}
    
    	httpLifeCycle := &v1.Lifecycle{
    		PreStop: &v1.LifecycleHandler{
    			HTTPGet: &v1.HTTPGetAction{
    				Host: "testHost.com",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/prober_manager_test.go

    	"k8s.io/kubernetes/pkg/kubelet/prober/results"
    	"k8s.io/kubernetes/pkg/probe"
    )
    
    func init() {
    }
    
    var defaultProbe = &v1.Probe{
    	ProbeHandler: v1.ProbeHandler{
    		Exec: &v1.ExecAction{},
    	},
    	TimeoutSeconds:   1,
    	PeriodSeconds:    1,
    	SuccessThreshold: 1,
    	FailureThreshold: 3,
    }
    
    func TestAddRemovePods(t *testing.T) {
    	noProbePod := v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ExecAction)(nil), (*core.ExecAction)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ExecAction_To_core_ExecAction(a.(*v1.ExecAction), b.(*core.ExecAction), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*core.ExecAction)(nil), (*v1.ExecAction)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  10. pkg/apis/core/zz_generated.deepcopy.go

    func (in *ExecAction) DeepCopyInto(out *ExecAction) {
    	*out = *in
    	if in.Command != nil {
    		in, out := &in.Command, &out.Command
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.
    func (in *ExecAction) DeepCopy() *ExecAction {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
Back to top