Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for filedata (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/modget/get.go

    		})
    	}
    }
    
    func (r *resolver) performLocalQueries(ctx context.Context) {
    	for _, q := range r.localQueries {
    		q.pathOnce(q.pattern, func() pathSet {
    			absDetail := ""
    			if !filepath.IsAbs(q.pattern) {
    				if absPath, err := filepath.Abs(q.pattern); err == nil {
    					absDetail = fmt.Sprintf(" (%s)", absPath)
    				}
    			}
    
    			// Absolute paths like C:\foo and relative paths like ../foo... are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    	testenv.MustHaveGoBuild(t)
    
    	const src = `
    package p
    
    import (
    	. "os"
    	_ "io"
    	"math"
    	"path/filepath"
    	snort "sort"
    )
    
    // avoid imported and not used errors
    var (
    	_ = Open // os.Open
    	_ = math.Sin
    	_ = filepath.Abs
    	_ = snort.Ints
    )
    `
    
    	var tests = []struct {
    		path string // path string enclosed in "'s
    		want string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server_test.go

    package tls
    
    import (
    	"bytes"
    	"context"
    	"crypto"
    	"crypto/ecdh"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    func testClientHello(t *testing.T, serverConfig *Config, m handshakeMessage) {
    	testClientHelloFailure(t, serverConfig, m, "")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

      }
    
      $fluentbit_config_file = "$LOGGINGAGENT_ROOT\conf\fluent-bit.conf"
      $FLUENTBIT_CONFIG | Out-File -FilePath $fluentbit_config_file -Encoding ASCII
      Log-Output "Wrote logging config to $fluentbit_config_file"
    
      $fluentbit_parser_file = "$LOGGINGAGENT_ROOT\conf\parsers.conf"
      $PARSERS_CONFIG | Out-File -FilePath $fluentbit_parser_file -Encoding ASCII
    
      # Create directory for all the log position files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    	testenv.MustHaveGoBuild(t)
    
    	const src = `
    package p
    
    import (
    	. "os"
    	_ "io"
    	"math"
    	"path/filepath"
    	snort "sort"
    )
    
    // avoid imported and not used errors
    var (
    	_ = Open // os.Open
    	_ = math.Sin
    	_ = filepath.Abs
    	_ = snort.Ints
    )
    `
    
    	var tests = []struct {
    		path string // path string enclosed in "'s
    		want string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"path/filepath"
    	"sort"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    	"go.opentelemetry.io/otel/trace"
    	crierror "k8s.io/cri-api/pkg/errors"
    	"k8s.io/klog/v2"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top