Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 129 for initiatives (0.19 sec)

  1. pkg/volume/plugins.go

    }
    
    // VolumePlugin is an interface to volume plugins that can be used on a
    // kubernetes node (e.g. by kubelet) to instantiate and manage volumes.
    type VolumePlugin interface {
    	// Init initializes the plugin.  This will be called exactly once
    	// before any New* calls are made - implementations of plugins may
    	// depend on this.
    	Init(host VolumeHost) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    func removeRoots(roots []string) {
    	for _, root := range roots {
    		os.RemoveAll(root)
    	}
    }
    
    // creates a bucket for the tests and returns the bucket name.
    // initializes the specified API endpoints for the tests.
    // initializes the root and returns its path.
    // return credentials.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. pkg/scheduler/scheduler.go

    	err := sched.Profiles.Close()
    	if err != nil {
    		logger.Error(err, "Failed to close plugins")
    	}
    }
    
    // NewInformerFactory creates a SharedInformerFactory and initializes a scheduler specific
    // in-place podInformer.
    func NewInformerFactory(cs clientset.Interface, resyncPeriod time.Duration) informers.SharedInformerFactory {
    	informerFactory := informers.NewSharedInformerFactory(cs, resyncPeriod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    }
    
    // VersionPurgeStatusKey denotes purge status in metadata
    const (
    	VersionPurgeStatusKey = ReservedMetadataPrefixLower + "purgestatus"
    )
    
    // newFileInfo - initializes new FileInfo, allocates a fresh erasure info.
    func newFileInfo(object string, dataBlocks, parityBlocks int) (fi FileInfo) {
    	fi.Erasure = ErasureInfo{
    		Algorithm:    erasureAlgorithm,
    		DataBlocks:   dataBlocks,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    func (esc *endpointSliceController) podArrived(name, ns string) error {
    	ep := esc.slices.Get(name, ns)
    	if ep == nil {
    		return nil
    	}
    	return esc.onEvent(nil, ep, model.EventAdd)
    }
    
    // initializeNamespace initializes endpoints for a given namespace.
    func (esc *endpointSliceController) initializeNamespace(ns string, filtered bool) error {
    	var err *multierror.Error
    	var endpoints []*v1.EndpointSlice
    	if filtered {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/fit.go

    	}
    	return s, nil
    }
    
    // Name returns name of the plugin. It is used in logs, etc.
    func (f *Fit) Name() string {
    	return Name
    }
    
    // NewFit initializes a new plugin and returns it.
    func NewFit(_ context.Context, plArgs runtime.Object, h framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	args, ok := plArgs.(*config.NodeResourcesFitArgs)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    		}
    		return meta, reloaded, err
    	}
    	sys.Lock()
    	sys.metadataMap[bucket] = meta
    	sys.Unlock()
    
    	return meta, true, nil
    }
    
    // Init - initializes bucket metadata system for all buckets.
    func (sys *BucketMetadataSys) Init(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    			return "", ""
    		}
    		return driverName, volumeHandle
    	}
    
    	return provisioner, volumeHandle
    }
    
    // NewCSI initializes a new plugin and returns it.
    func NewCSI(_ context.Context, _ runtime.Object, handle framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	informerFactory := handle.SharedInformerFactory()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/go/types/typexpr.go

    package types
    
    import (
    	"fmt"
    	"go/ast"
    	"go/constant"
    	"go/internal/typeparams"
    	. "internal/types/errors"
    	"strings"
    )
    
    // ident type-checks identifier e and initializes x with the value or type of e.
    // If an error occurred, x.mode is set to invalid.
    // For the meaning of def, see Checker.definedType, below.
    // If wantType is set, the identifier e is expected to denote a type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. src/internal/poll/fd_unix.go

    	// Whether a zero byte read indicates EOF. This is false for a
    	// message based socket connection.
    	ZeroReadIsEOF bool
    
    	// Whether this is a file rather than a network socket.
    	isFile bool
    }
    
    // Init initializes the FD. The Sysfd field should already be set.
    // This can be called multiple times on a single FD.
    // The net argument is a network name from the net package (e.g., "tcp"),
    // or "file".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top