Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addOSFlags (0.6 sec)

  1. cmd/kubelet/app/options/osflags_windows.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    )
    
    func (f *KubeletFlags) addOSFlags(fs *pflag.FlagSet) {
    	fs.BoolVar(&f.WindowsService, "windows-service", f.WindowsService, "Enable Windows Service Control Manager API integration")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. cmd/kubelet/app/options/osflags_others.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    )
    
    func (f *KubeletFlags) addOSFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 723 bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/init_linux.go

    limitations under the License.
    */
    
    package app
    
    import (
    	"github.com/spf13/pflag"
    )
    
    func initForOS(service bool) error {
    	return nil
    }
    
    func (o *Options) addOSFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 760 bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/init_other.go

    import (
    	"fmt"
    	"runtime"
    
    	"github.com/spf13/pflag"
    )
    
    func initForOS(windowsService bool) error {
    	return fmt.Errorf(runtime.GOOS + "/" + runtime.GOARCH + "is unsupported")
    }
    
    func (o *Options) addOSFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 23 04:45:26 UTC 2024
    - 872 bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/init_windows.go

    )
    
    const (
    	serviceName = "kube-proxy"
    )
    
    func initForOS(windowsService bool) error {
    	if windowsService {
    		return service.InitService(serviceName)
    	}
    	return nil
    }
    
    func (o *Options) addOSFlags(fs *pflag.FlagSet) {
    	fs.BoolVar(&o.WindowsService, "windows-service", o.WindowsService, "Enable Windows Service Control Manager API integration")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:41:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    		fs.VisitAll(func(f *pflag.Flag) {
    			if len(f.Deprecated) > 0 {
    				f.Hidden = false
    			}
    		})
    		mainfs.AddFlagSet(fs)
    	}()
    
    	f.ContainerRuntimeOptions.AddFlags(fs)
    	f.addOSFlags(fs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server.go

    	hostnameOverride string
    
    	logger klog.Logger
    }
    
    // AddFlags adds flags to fs and binds them to options.
    func (o *Options) AddFlags(fs *pflag.FlagSet) {
    	o.addOSFlags(fs)
    
    	fs.StringVar(&o.ConfigFile, "config", o.ConfigFile, "The path to the configuration file.")
    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