Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewErrPartialAdd (0.08 sec)

  1. cni/pkg/nodeagent/error.go

    func (e *PartialAddError) Error() string {
    	return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner)
    }
    
    func (e *PartialAddError) Unwrap() []error {
    	return []error{ErrPartialAdd, e.inner}
    }
    
    func NewErrPartialAdd(err error) *PartialAddError {
    	return &PartialAddError{
    		inner: err,
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	// be removed.
    
    	log.Debug("notifying subscribed node proxies")
    	if err := s.sendPodToZtunnelAndWaitForAck(ctx, pod, openNetns); err != nil {
    		return NewErrPartialAdd(err)
    	}
    	return nil
    }
    
    func (s *NetServer) sendPodToZtunnelAndWaitForAck(ctx context.Context, pod *corev1.Pod, netns Netns) error {
    	return s.ztunnelServer.PodAdded(ctx, pod, netns)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top