Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for platformCleanup (0.27 sec)

  1. cmd/kube-proxy/app/server_other.go

    	return nil, unsupportedError
    }
    
    // platformCleanup removes stale kube-proxy rules that can be safely removed.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    	return unsupportedError
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_windows.go

    			config.Winkernel,
    		)
    	}
    	if err != nil {
    		return nil, fmt.Errorf("unable to create proxier: %v", err)
    	}
    
    	return proxier, nil
    }
    
    // platformCleanup removes stale kube-proxy rules that can be safely removed.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    	if cleanupAndExit {
    		return errors.New("--cleanup-and-exit is not implemented on Windows")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    	}
    
    	return localDetectors
    }
    
    // platformCleanup removes stale kube-proxy rules that can be safely removed. If
    // cleanupAndExit is true, it will attempt to remove rules from all known kube-proxy
    // modes. If it is false, it will only remove rules that are definitely not in use by the
    // currently-configured mode.
    func platformCleanup(ctx context.Context, mode proxyconfigapi.ProxyMode, cleanupAndExit bool) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server.go

    }
    
    // Run runs the specified ProxyServer.
    func (o *Options) Run(ctx context.Context) error {
    	defer close(o.errCh)
    	if len(o.WriteConfigTo) > 0 {
    		return o.writeConfigFile()
    	}
    
    	err := platformCleanup(ctx, o.config.Mode, o.CleanupAndExit)
    	if o.CleanupAndExit {
    		return err
    	}
    	// We ignore err otherwise; the cleanup is best-effort, and the backends will have
    	// logged messages if they failed in interesting ways.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top