Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 393 for Implementation (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    // such as retry requests.
    type GenericWebhook struct {
    	RestClient   *rest.RESTClient
    	RetryBackoff wait.Backoff
    	ShouldRetry  func(error) bool
    }
    
    // DefaultShouldRetry is a default implementation for the GenericWebhook ShouldRetry function property.
    // If the error reason is one of: networking (connection reset) or http (InternalServerError (500), GatewayTimeout (504), TooManyRequests (429)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. pkg/scheduler/metrics/metric_recorder.go

    // metric Inc(), Dec() and Clear()
    type MetricRecorder interface {
    	Inc()
    	Dec()
    	Clear()
    }
    
    var _ MetricRecorder = &PendingPodsRecorder{}
    
    // PendingPodsRecorder is an implementation of MetricRecorder
    type PendingPodsRecorder struct {
    	recorder metrics.GaugeMetric
    }
    
    // NewActivePodsRecorder returns ActivePods in a Prometheus metric fashion
    func NewActivePodsRecorder() *PendingPodsRecorder {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 07:27:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. pkg/volume/util/hostutil/fake_hostutil.go

    limitations under the License.
    */
    
    package hostutil
    
    import (
    	"errors"
    	"os"
    	"sync"
    
    	"k8s.io/mount-utils"
    )
    
    // FakeHostUtil is a fake HostUtils implementation for testing
    type FakeHostUtil struct {
    	MountPoints []mount.MountPoint
    	Filesystem  map[string]FileType
    
    	mutex sync.Mutex
    }
    
    // NewFakeHostUtil returns a struct that implements the HostUtils interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 13:32:38 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/pod_container_manager_linux.go

    	kubefeatures "k8s.io/kubernetes/pkg/features"
    )
    
    const (
    	podCgroupNamePrefix = "pod"
    )
    
    // podContainerManagerImpl implements podContainerManager interface.
    // It is the general implementation which allows pod level container
    // management if qos Cgroup is enabled.
    type podContainerManagerImpl struct {
    	// qosContainersInfo hold absolute paths of the top level qos containers
    	qosContainersInfo QOSContainersInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. pkg/util/filesystem/watcher.go

    type fsnotifyWatcher struct {
    	watcher      *fsnotify.Watcher
    	eventHandler FSEventHandler
    	errorHandler FSErrorHandler
    }
    
    var _ FSWatcher = &fsnotifyWatcher{}
    
    // NewFsnotifyWatcher returns an implementation of FSWatcher that continuously listens for
    // fsnotify events and calls the event handler as soon as an event is received.
    func NewFsnotifyWatcher() FSWatcher {
    	return &fsnotifyWatcher{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/credentialprovider/plugin/plugin.go

    			pluginBinDir: pluginBinDir,
    			args:         provider.Args,
    			envVars:      provider.Env,
    			environ:      os.Environ,
    		},
    	}, nil
    }
    
    // pluginProvider is the plugin-based implementation of the DockerConfigProvider interface.
    type pluginProvider struct {
    	clock clock.Clock
    
    	sync.Mutex
    
    	group singleflight.Group
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 05:07:28 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    			usage, err := usageFunc(item)
    			if err != nil {
    				return result, err
    			}
    			result.Used = quota.Add(result.Used, usage)
    		}
    	}
    	return result, nil
    }
    
    // objectCountEvaluator provides an implementation for quota.Evaluator
    // that associates usage of the specified resource based on the number of items
    // returned by the specified listing function.
    type objectCountEvaluator struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/value.go

    	exprValue   ref.Val
    	declType    *DeclType
    }
    
    // DeclType returns the policy model type of the dyn value.
    func (dv *DynValue) DeclType() *DeclType {
    	return dv.declType
    }
    
    // ConvertToNative is an implementation of the CEL ref.Val method used to adapt between CEL types
    // and Go-native types.
    //
    // The default behavior of this method is to first convert to a CEL type which has a well-defined
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/certificates/v1beta1/types_swagger_doc_generated.go

    */
    
    package v1beta1
    
    // This file contains a collection of methods that can be used from go-restful to
    // generate Swagger API documentation for its models. Please read this PR for more
    // information on the implementation: https://github.com/emicklei/go-restful/pull/215
    //
    // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
    // they are on one line! For multiple line or blocks that you want to ignore use ---.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/state/state_checkpoint.go

    	// CDIDevices is a map of DriverName --> CDI devices returned by the
    	// GRPC API call NodePrepareResource
    	CDIDevices map[string][]string
    }
    
    // ClaimInfoStateWithoutResourceHandles is an old implementation of the ClaimInfoState
    // TODO: remove in Beta
    type ClaimInfoStateWithoutResourceHandles struct {
    	// Name of the DRA driver
    	DriverName string
    
    	// ClassName is a resource class of the claim
    	ClassName string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top