Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addOSFlags (0.18 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)
Back to top