Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for Implementation (0.18 sec)

  1. pkg/volume/util/device_util.go

    	FindDevicesForISCSILun(targetIqn string, lun int) ([]string, error)
    }
    
    type deviceHandler struct {
    	getIo IoUtil
    }
    
    // NewDeviceHandler Create a new IoHandler implementation
    func NewDeviceHandler(io IoUtil) DeviceUtil {
    	return &deviceHandler{getIo: io}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pkg/kubelet/container/container_gc.go

    	MaxPerPodContainer int
    
    	// Max number of total dead containers, less than zero for no limit.
    	MaxContainers int
    }
    
    // GC manages garbage collection of dead containers.
    //
    // Implementation is thread-compatible.
    type GC interface {
    	// Garbage collect containers.
    	GarbageCollect(ctx context.Context) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. pkg/kubelet/util/ioutils/ioutils.go

    import "io"
    
    // LimitWriter is a copy of the standard library ioutils.LimitReader,
    // applied to the writer interface.
    // LimitWriter returns a Writer that writes to w
    // but stops with EOF after n bytes.
    // The underlying implementation is a *LimitedWriter.
    func LimitWriter(w io.Writer, n int64) io.Writer { return &LimitedWriter{w, n} }
    
    // A LimitedWriter writes to W but limits the amount of
    // data returned to just N bytes. Each call to Write
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/cleanup_test.go

    	// We need to construct a proxy.ServicePortMap to pass to CleanStaleEntries.
    	// ServicePortMap is just map[string]proxy.ServicePort, but there are no public
    	// constructors for any implementation of proxy.ServicePort, so we have to either
    	// provide our own implementation of that interface, or else use a
    	// proxy.ServiceChangeTracker to construct them and fill in the map for us.
    
    	sct := proxy.NewServiceChangeTracker(nil, v1.IPv4Protocol, nil, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/warning/context.go

    	// text must be valid UTF-8, and must not contain control characters.
    	AddWarning(agent, text string)
    }
    
    // WithWarningRecorder returns a new context that wraps the provided context and contains the provided Recorder implementation.
    // The returned context can be passed to AddWarning().
    func WithWarningRecorder(ctx context.Context, recorder Recorder) context.Context {
    	return context.WithValue(ctx, warningRecorderKey, recorder)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 24 16:37:53 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go

    */
    
    package unstructured
    
    import (
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    )
    
    // TypeRef is the implementation of TypeRef for an unstructured object.
    // This is especially usefully when the schema is not known or available.
    type TypeRef struct {
    	celObjectType *types.Type
    	celTypeType   *types.Type
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/errors.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 cel
    
    // Error is an implementation of the 'error' interface, which represents a
    // XValidation error.
    type Error struct {
    	Type   ErrorType
    	Detail string
    }
    
    var _ error = &Error{}
    
    // Error implements the error interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1alpha1/generated.proto

    // that are required to describe the RuntimeClass to the Container Runtime
    // Interface (CRI) implementation, as well as any other components that need to
    // understand how the pod will be run. The RuntimeClassSpec is immutable.
    message RuntimeClassSpec {
      // runtimeHandler specifies the underlying runtime and configuration that the
      // CRI implementation will use to handle pods of this class. The possible
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pkg/volume/util/hostutil/hostutil_windows.go

    func (hu *HostUtil) PathIsDevice(pathname string) (bool, error) {
    	return false, nil
    }
    
    // MakeRShared checks that given path is on a mount with 'rshared' mount
    // propagation. Empty implementation here.
    func (hu *HostUtil) MakeRShared(path string) error {
    	return nil
    }
    
    func isSystemCannotAccessErr(err error) bool {
    	if fserr, ok := err.(*fs.PathError); ok {
    		errno, ok := fserr.Err.(syscall.Errno)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/node/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
    - 4.4K bytes
    - Viewed (0)
Back to top