Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for pluginwatcher (0.35 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2/api.proto

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    syntax = "proto3";
    
    package v1beta2;
    option go_package = "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2";
    
    import "github.com/gogo/protobuf/gogoproto/gogo.proto";
    
    option (gogoproto.goproto_stringer_all) = false;
    option (gogoproto.stringer_all) =  true;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1/api.proto

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    syntax = "proto3";
    
    package v1beta1;
    option go_package = "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1";
    
    import "github.com/gogo/protobuf/gogoproto/gogo.proto";
    
    option (gogoproto.goproto_stringer_all) = false;
    option (gogoproto.stringer_all) =  true;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pluginwatcher
    
    import (
    	"github.com/fsnotify/fsnotify"
    	"k8s.io/kubernetes/pkg/kubelet/util"
    	"os"
    )
    
    func getStat(event fsnotify.Event) (os.FileInfo, error) {
    	fi, err := os.Stat(event.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pluginwatcher
    
    import (
    	"fmt"
    	"os"
    	"strings"
    
    	"github.com/fsnotify/fsnotify"
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache"
    	"k8s.io/kubernetes/pkg/kubelet/util"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/plugin.go

    		return nil, errors.New("timed out waiting for gRPC connection to be ready")
    	}
    
    	p.conn = conn
    	return p.conn, nil
    }
    
    // RegistrationHandler is the handler which is fed to the pluginwatcher API.
    type RegistrationHandler struct {
    	controller *nodeResourcesController
    }
    
    // NewPluginHandler returns new registration handler.
    //
    // Must only be called once per process because it manages global state.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pluginwatcher
    
    import (
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/require"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_plugin.go

    	p := &csiPlugin{
    		host: nil,
    	}
    	return []volume.VolumePlugin{p}
    }
    
    // volume.VolumePlugin methods
    var _ volume.VolumePlugin = &csiPlugin{}
    
    // RegistrationHandler is the handler which is fed to the pluginwatcher API.
    type RegistrationHandler struct {
    }
    
    // TODO (verult) consider using a struct instead of global variables
    // csiDrivers map keep track of all registered CSI drivers on the node and their
    // corresponding sockets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_getters.go

    }
    
    // getPluginsRegistrationDir returns the full path to the directory under which
    // plugins socket should be placed to be registered.
    // More information is available about plugin registration in the pluginwatcher
    // module
    func (kl *Kubelet) getPluginsRegistrationDir() string {
    	return filepath.Join(kl.getRootDir(), config.DefaultKubeletPluginsRegistrationDirName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. hack/update-codegen.sh

            "staging/src/k8s.io/kubelet/pkg/apis/dra"
    
            "staging/src/k8s.io/kubelet/pkg/apis/pluginregistration"
            "pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis"
        )
    
        kube::log::status "Generating protobuf bindings for ${#apis[@]} targets"
        if [[ "${DBG_CODEGEN}" == 1 ]]; then
            kube::log::status "DBG: generating protobuf bindings for:"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager.go

    	// GetPodCgroupRoot returns the cgroup which contains all pods.
    	GetPodCgroupRoot() string
    
    	// GetPluginRegistrationHandler returns a plugin registration handler
    	// The pluginwatcher's Handlers allow to have a single module for handling
    	// registration.
    	GetPluginRegistrationHandler() cache.PluginHandler
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top