Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 146 for slug (0.04 sec)

  1. pkg/volume/git_repo/git_repo_test.go

    	defer os.RemoveAll(tempDir)
    	plugMgr.InitPlugins(ProbeVolumePlugins(), nil /* prober */, host)
    
    	plug, err := plugMgr.FindPluginByName("kubernetes.io/git-repo")
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    	if plug.GetPluginName() != "kubernetes.io/git-repo" {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/volume/plugins_test.go

    	var prober DynamicPluginProber = nil // TODO (#51147) inject mock
    	vpm.InitPlugins(newTestPlugin(), prober, nil)
    
    	plug, err := vpm.FindPluginByName(testPluginName)
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    	if plug.GetPluginName() != testPluginName {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    
    	_, err = vpm.FindPluginBySpec(nil)
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    you should look to the Redistributor's license for terms and conditions of use. ASM 4.1 The plug-in includes software developed by the ObjectWeb consortium as part of the ASM project at http://asm.ow2.org/ http://asm.ow2.org/. A subset of ASM is re-packaged within the source and binary of the plug-in (org.eclipse.sisu.space.asm.*) to avoid version collisions with other usage and is also available from the plug-in's github repository. Your use of the ASM code is subject to the terms and conditions of...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Sep 10 19:27:25 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/testing/slogtest/example_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package slogtest_test
    
    import (
    	"bytes"
    	"encoding/json"
    	"log"
    	"log/slog"
    	"testing/slogtest"
    )
    
    // This example demonstrates one technique for testing a handler with this
    // package. The handler is given a [bytes.Buffer] to write to, and each line
    // of the resulting output is parsed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_util_test.go

    		driver.Spec.SELinuxMount = &seLinuxMountSupport
    	case "no_selinux":
    		driver.Spec.SELinuxMount = &noSElinuxMountSupport
    	}
    	return driver
    }
    
    func TestSaveVolumeData(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    	testCases := []struct {
    		name       string
    		data       map[string]string
    		shouldFail bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. pkg/volume/emptydir/empty_dir_test.go

    	if plug.GetPluginName() != "kubernetes.io/empty-dir" {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    	if !plug.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{EmptyDir: &v1.EmptyDirVolumeSource{}}}}) {
    		t.Errorf("Expected true")
    	}
    	if plug.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{}}}) {
    		t.Errorf("Expected false")
    	}
    }
    
    type fakeMountDetector struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	FMT, log/internal
    	< log;
    
    	log, log/slog !< crypto/tls, database/sql, go/importer, testing;
    
    	FMT, log, net
    	< log/syslog;
    
    	RUNTIME
    	< log/slog/internal, log/slog/internal/buffer;
    
    	FMT,
    	encoding, encoding/json,
    	log, log/internal,
    	log/slog/internal, log/slog/internal/buffer,
    	slices
    	< log/slog
    	< log/slog/internal/slogtest, log/slog/internal/benchmarks;
    
    	NET, log
    	< net/mail;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pkg/volume/csi/testing/testing.go

    		tmpDir,
    		client,
    		csi.ProbeVolumePlugins(),
    		"fakeNode",
    		csiDriverLister,
    		nil,
    	)
    	plugMgr := host.GetPluginMgr()
    
    	plug, err := plugMgr.FindPluginByName(csi.CSIPluginName)
    	if err != nil {
    		t.Fatalf("can't find plugin %v", csi.CSIPluginName)
    	}
    
    	return plugMgr, &plug, tmpDir
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 07 00:11:50 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. src/log/slog/handler.go

    	// at the end of the log event. That is,
    	//
    	//     logger.WithGroup("s").LogAttrs(ctx, level, msg, slog.Int("a", 1), slog.Int("b", 2))
    	//
    	// should behave like
    	//
    	//     logger.LogAttrs(ctx, level, msg, slog.Group("s", slog.Int("a", 1), slog.Int("b", 2)))
    	//
    	// If the name is empty, WithGroup returns the receiver.
    	WithGroup(name string) Handler
    }
    
    type defaultHandler struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  10. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/printf"
    	"golang.org/x/tools/go/analysis/passes/shift"
    	"golang.org/x/tools/go/analysis/passes/sigchanyzer"
    	"golang.org/x/tools/go/analysis/passes/slog"
    	"golang.org/x/tools/go/analysis/passes/stdmethods"
    	"golang.org/x/tools/go/analysis/passes/stdversion"
    	"golang.org/x/tools/go/analysis/passes/stringintconv"
    	"golang.org/x/tools/go/analysis/passes/structtag"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top