Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for filedata (0.21 sec)

  1. pkg/volume/testing/testing.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	// Fetch TLS key and pem files from test-data/ directory.
    	//	dir, _ := os.Getwd()
    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    	//	keyFile := filepath.Join(testDataDir, "server.key")
    	cer, err := tls.X509KeyPair(cert, key)
    	if err != nil {
    		t.Fatalf("Failed to load certificate: %v", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            succeeds "c"
    
            and:
            file("out/nested/b.txt").text == "bar"
        }
    
        @Issue("GRADLE-3418")
        def "can copy files with #filePath in path when excluding #pattern"() {
            given:
            file("test/${filePath}/a.txt").touch()
    
            buildScript """
                task copy(type: Copy) {
                    into "out"
                    from "test"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    limitations under the License.
    */
    
    package resource
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    
    	"sigs.k8s.io/yaml"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/api/meta/testrestmapper"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    func loadObjects(dir string) []*unstructured.Unstructured {
    	result := []*unstructured.Unstructured{}
    	err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		} else if d.IsDir() {
    			return nil
    		} else if filepath.Ext(d.Name()) != ".yaml" {
    			return nil
    		}
    		// Read the file in as []byte
    		data, err := os.ReadFile(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    		// Create a copy to avoid races, as tests are run in parallel
    		c := c
    		testName := strings.TrimSuffix(c.ConfigFile, filepath.Ext(c.ConfigFile))
    		t.NewSubTest(testName).Run(func(t framework.TestContext) {
    			// Apply the policy.
    			cfg := t.ConfigIstio().File(c.Namespace.Name(), filepath.Join("testdata", c.ConfigFile))
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/url"
    	"os"
    	"path/filepath"
    	"regexp"
    	goruntime "runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	crierror "k8s.io/cri-api/pkg/errors"
    
    	"github.com/opencontainers/selinux/go-selinux"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            configListMap.getOrDefault(index, Collections.emptyList()).forEach(path -> {
                String source = null;
                final String filePath = indexConfigPath + "/" + index + "/" + path;
                try {
                    source = FileUtil.readUTF8(filePath);
                    try (CurlResponse response =
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_windows.go

    	n = uint32(r0)
    	if n == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func getFinalPathNameByHandle(file Handle, filePath *uint16, filePathSize uint32, flags uint32) (n uint32, err error) {
    	r0, _, e1 := Syscall6(procGetFinalPathNameByHandleW.Addr(), 4, uintptr(file), uintptr(unsafe.Pointer(filePath)), uintptr(filePathSize), uintptr(flags), 0, 0)
    	n = uint32(r0)
    	if n == 0 || n >= filePathSize {
    		err = errnoErr(e1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ambient
    
    import (
    	"fmt"
    	"net/netip"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	k8sv1 "sigs.k8s.io/gateway-api/apis/v1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top