Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 277 for destroyFn (0.15 sec)

  1. src/net/fd_plan9.go

    	ret := &netFD{
    		net:    net,
    		n:      name,
    		dir:    netdir + "/" + net + "/" + name,
    		listen: listen,
    		ctl:    ctl, data: data,
    		laddr: laddr,
    		raddr: raddr,
    	}
    	ret.pfd.Destroy = ret.destroy
    	return ret, nil
    }
    
    func (fd *netFD) init() error {
    	// stub for future fd.pd.Init(fd)
    	return nil
    }
    
    func (fd *netFD) name() string {
    	var ls, rs string
    	if fd.laddr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 04 16:01:50 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/rest/log.go

    func (r *LogREST) New() runtime.Object {
    	// TODO - return a resource that represents a log
    	return &api.Pod{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *LogREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // ProducesMIMETypes returns a list of the MIME types the specified HTTP verb (GET, POST, DELETE,
    // PATCH) can respond with.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 24 10:50:43 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go

    func (r *StatusREST) New() runtime.Object {
    	return &admissionregistration.ValidatingAdmissionPolicy{}
    }
    
    // Destroy disposes the store object. For the StatusREST, this is a no-op.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go

    // New creates a new HorizontalPodAutoscaler object.
    func (r *StatusREST) New() runtime.Object {
    	return &autoscaling.HorizontalPodAutoscaler{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. pkg/registry/rbac/clusterrole/policybased/storage.go

    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *Storage) Destroy() {
    	r.StandardStorage.Destroy()
    }
    
    func (r *Storage) NamespaceScoped() bool {
    	return false
    }
    
    func (r *Storage) StorageVersion() runtime.GroupVersioner {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. pkg/registry/core/persistentvolumeclaim/storage/storage.go

    // New creates a new PersistentVolumeClaim object.
    func (r *StatusREST) New() runtime.Object {
    	return &api.PersistentVolumeClaim{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. pkg/registry/apps/statefulset/storage/storage.go

    }
    
    // New returns empty StatefulSet object.
    func (r *StatusREST) New() runtime.Object {
    	return &apps.StatefulSet{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  8. pkg/registry/core/componentstatus/rest.go

    	return &api.ComponentStatus{}
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (rs *REST) GetSingularName() string {
    	return "componentstatus"
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    func (rs *REST) NewList() runtime.Object {
    	return &api.ComponentStatusList{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. pkg/registry/rbac/rolebinding/policybased/storage.go

    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *Storage) Destroy() {
    	r.StandardStorage.Destroy()
    }
    
    func (r *Storage) NamespaceScoped() bool {
    	return true
    }
    
    func (r *Storage) StorageVersion() runtime.GroupVersioner {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/fake_pod_container_manager.go

    	m.Lock()
    	defer m.Unlock()
    	m.CalledFunctions = append(m.CalledFunctions, "GetPodContainerName")
    	return nil, ""
    }
    
    func (m *FakePodContainerManager) Destroy(name CgroupName) error {
    	m.Lock()
    	defer m.Unlock()
    	m.CalledFunctions = append(m.CalledFunctions, "Destroy")
    	for key, cgname := range m.Cgroups {
    		if reflect.DeepEqual(cgname, name) {
    			delete(m.Cgroups, key)
    			return nil
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top