Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for Implementation (0.21 sec)

  1. pkg/proxy/ipvs/util/testing/fake.go

    }
    
    // UpdateVirtualServer is a fake implementation, it updates the VirtualServer in the cache store.
    func (f *FakeIPVS) UpdateVirtualServer(serv *utilipvs.VirtualServer) error {
    	if serv == nil {
    		return fmt.Errorf("failed to update service, service can't be nil")
    	}
    	key := toServiceKey(serv)
    	f.Services[key] = serv
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/testing/cadvisor_fake.go

    }
    
    // RootFsInfo is a fake implementation of Interface.RootFsInfo.
    func (c *Fake) RootFsInfo() (cadvisorapiv2.FsInfo, error) {
    	return cadvisorapiv2.FsInfo{}, nil
    }
    
    // ContainerFsInfo is a fake implementation of Interface.ContainerFsInfo.
    func (c *Fake) ContainerFsInfo() (cadvisorapiv2.FsInfo, error) {
    	return cadvisorapiv2.FsInfo{}, nil
    }
    
    // GetDirFsInfo is a fake implementation of Interface.GetDirFsInfo.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. pkg/kubelet/util/util_unsupported.go

    */
    
    package util
    
    import (
    	"fmt"
    	"time"
    )
    
    // LockAndCheckSubPath empty implementation
    func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) {
    	return []uintptr{}, nil
    }
    
    // UnlockPath empty implementation
    func UnlockPath(fileHandles []uintptr) {
    }
    
    // LocalEndpoint empty implementation
    func LocalEndpoint(path, file string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pkg/volume/util/fsquota/quota_unsupported.go

    }
    
    // AssignQuota -- dummy implementation
    func AssignQuota(_ mount.Interface, _ string, _ types.UID, _ *resource.Quantity) error {
    	return errNotImplemented
    }
    
    // GetConsumption -- dummy implementation
    func GetConsumption(_ string) (*resource.Quantity, error) {
    	return nil, errNotImplemented
    }
    
    // GetInodes -- dummy implementation
    func GetInodes(_ string) (*resource.Quantity, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/testing/fake.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"k8s.io/utils/net"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeNetlinkHandle mock implementation of proxy NetlinkHandle
    type FakeNetlinkHandle struct {
    	// localAddresses is a network interface name to all of its IP addresses map, e.g.
    	// eth0 -> [1.2.3.4, 10.20.30.40]
    	localAddresses map[string][]string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    // completes.
    //
    // The first two differences can easily be handled by straightforward
    // adaptation of the concept called "R(t)" in the original paper and
    // "virtual time" in the implementation outline. In that
    // implementation outline, the notation now() is used to mean reading
    // the virtual clock. In the original paper’s terms, "R(t)" is the
    // number of "rounds" that have been completed at real time t ---
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pkg/kubelet/configmap/configmap_manager.go

    }
    
    // configMapManager keeps a cache of all configmaps necessary
    // for registered pods. Different implementation of the store
    // may result in different semantics for freshness of configmaps
    // (e.g. ttl-based implementation vs watch-based implementation).
    type configMapManager struct {
    	manager manager.Manager
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go

    	"github.com/google/cel-go/common/types/ref"
    
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    )
    
    // mockTypeResolver is a mock implementation of TypeResolver that
    // allows the object to contain any field.
    type mockTypeResolver struct {
    }
    
    // mockTypeRef is a mock implementation of TypeRef that
    // contains any field.
    type mockTypeRef struct {
    	objectType *types.Type
    	resolver   common.TypeResolver
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/util/coverage/fake_test_deps.go

    limitations under the License.
    */
    
    package coverage
    
    import (
    	"io"
    	"reflect"
    	"time"
    )
    
    // This is an implementation of testing.testDeps. It doesn't need to do anything, because
    // no tests are actually run. It does need a concrete implementation of at least ImportPath,
    // which is called unconditionally when running tests.
    //
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 15:31:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    	return &cachingAuthorizer{
    		authorizer: in,
    		decisions:  make(map[string]authzResult),
    	}
    }
    
    // The attribute accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ authorizer.Attributes = (interface {
    	GetUser() user.Info
    	GetVerb() string
    	IsReadOnly() bool
    	GetNamespace() string
    	GetResource() string
    	GetSubresource() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top