- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for socketPath (0.17 sec)
-
cluster/gce/gci/apiserver_kms_test.go
wantVolume: v1.Volume{ Name: socketName, VolumeSource: v1.VolumeSource{ HostPath: &v1.HostPathVolumeSource{ Path: socketPath, Type: &dirOrCreate, }, }, }, wantVolMount: v1.VolumeMount{ Name: socketName, MountPath: socketPath, }, }, { desc: "CLOUD_KMS_INTEGRATION is not set", cloudKMSIntegration: false, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 30 06:23:50 UTC 2021 - 6.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/plugin/v1beta1/handler.go
return fmt.Errorf("invalid name of device plugin socket: %s", fmt.Sprintf(errInvalidResourceName, pluginName)) } return nil } func (s *server) connectClient(name string, socketPath string) error { c := NewPluginClient(name, socketPath, s.chandler) s.registerClient(name, c) if err := c.Connect(); err != nil { s.deregisterClient(name) klog.ErrorS(err, "Failed to connect to new client", "resource", name) return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/plugin_manager_test.go
} require.NoError(t, os.MkdirAll(pluginDir, os.ModePerm)) socketPath := filepath.Join(pluginDir, fmt.Sprintf("plugin-%d.sock", i)) // Add a new plugin pluginName := fmt.Sprintf("example-plugin-%d", i) p := pluginwatcher.NewTestExamplePlugin(pluginName, registerapi.DevicePlugin, socketPath, supportedVersions...) require.NoError(t, p.Serve("v1beta1", "v1beta2"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/plugin/v1beta1/api.go
// itself with an invalid ResourceName errInvalidResourceName = "the ResourceName %q is invalid" // errBadSocket is the error raised when the registry socket path is not absolute errBadSocket = "bad socketPath, must be an absolute path:"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 11:05:20 UTC 2022 - 1.9K bytes - Viewed (0) -
pkg/istio-agent/agent.go
// Otherwise, returns (true, nil) func checkSocket(ctx context.Context, socketPath string) (bool, error) { socketExists := socketFileExists(socketPath) if !socketExists { return false, nil } err := socketHealthCheck(ctx, socketPath) if err != nil { log.Debugf("SDS socket detected but not healthy: %v", err) err = os.Remove(socketPath) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util_test.go
const ( testHostName = "test-hostname" socketPath = "/var/run/kmsplugin" migratedVolume = "migrated-volume-name" nonMigratedVolume = "non-migrated-volume-name" testNodeName = "test-node-name" ) var ( dirOrCreate = v1.HostPathType(v1.HostPathDirectoryOrCreate) nodeName = kubetypes.NodeName(testNodeName) hostPath = &v1.HostPathVolumeSource{ Path: socketPath, Type: &dirOrCreate, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 05:42:38 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/example_plugin.go
registrationStatus: make(chan registerapi.RegistrationStatus), } } // GetPluginInfo returns a PluginInfo object func GetPluginInfo(plugin *examplePlugin) cache.PluginInfo { return cache.PluginInfo{ SocketPath: plugin.endpoint, } } // GetInfo is the RPC invoked by plugin watcher func (e *examplePlugin) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 10 07:44:16 UTC 2021 - 5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager.go
socketPath := pluginapi.KubeletSocket if runtime.GOOS == "windows" { socketPath = os.Getenv("SYSTEMDRIVE") + pluginapi.KubeletSocketWindows } return newManagerImpl(socketPath, topology, topologyAffinityStore) } func newManagerImpl(socketPath string, topology []cadvisorapi.Node, topologyAffinityStore topologymanager.Store) (*ManagerImpl, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
) const ( testResourceName = "fake-domain/resource" ) func newWrappedManagerImpl(socketPath string, manager *ManagerImpl) *wrappedManagerImpl { w := &wrappedManagerImpl{ ManagerImpl: manager, callback: manager.genericDeviceUpdateCallback, } w.socketdir, _ = filepath.Split(socketPath) w.server, _ = plugin.NewServer(socketPath, w, w) return w } type wrappedManagerImpl struct { *ManagerImpl socketdir string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
samples/security/spire/spire-quickstart.yaml
namespace: spire data: agent.conf: | agent { data_dir = "/run/spire" log_level = "DEBUG" server_address = "spire-server" server_port = "8081" socket_path = "/run/secrets/workload-spiffe-uds/socket" trust_bundle_path = "/run/spire/bundle/bundle.crt" trust_domain = "example.org" } plugins { NodeAttestor "k8s_psat" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 12 16:12:42 UTC 2023 - 32.2K bytes - Viewed (0)