Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 967 for Iflag (0.04 sec)

  1. cmd/kube-controller-manager/app/options/jobcontroller.go

    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	jobconfig "k8s.io/kubernetes/pkg/controller/job/config"
    )
    
    // JobControllerOptions holds the JobController options.
    type JobControllerOptions struct {
    	*jobconfig.JobControllerConfiguration
    }
    
    // AddFlags adds flags related to JobController for controller manager to the specified FlagSet.
    func (o *JobControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 12:19:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/namespacecontroller.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    
    	namespaceconfig "k8s.io/kubernetes/pkg/controller/namespace/config"
    )
    
    // NamespaceControllerOptions holds the NamespaceController options.
    type NamespaceControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/resourcequotacontroller.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    
    	resourcequotaconfig "k8s.io/kubernetes/pkg/controller/resourcequota/config"
    )
    
    // ResourceQuotaControllerOptions holds the ResourceQuotaController options.
    type ResourceQuotaControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    }
    
    func TestBindToCommand(t *testing.T) {
    
    	var dummy string
    	localFlags := pflag.NewFlagSet("dummy", pflag.ContinueOnError)
    	localFlags.StringVarP(&dummy, "flag4", "d", "d", "d")
    
    	var usecases = []struct {
    		name                string
    		runner              Runner
    		expectedCmdAndFlags map[string][]string
    		setAdditionalFlags  func(*pflag.FlagSet)
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/cronjobcontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	cronjobconfig "k8s.io/kubernetes/pkg/controller/cronjob/config"
    )
    
    // CronJobControllerOptions holds the CronJobController options.
    type CronJobControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 10:28:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/init_windows.go

    limitations under the License.
    */
    
    package app
    
    import (
    	"github.com/spf13/pflag"
    
    	"k8s.io/kubernetes/pkg/windows/service"
    )
    
    const (
    	serviceName = "kube-proxy"
    )
    
    func initForOS(windowsService bool) error {
    	if windowsService {
    		return service.InitService(serviceName)
    	}
    	return nil
    }
    
    func (o *Options) addOSFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:41:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. releasenotes/notes/drop-legacy-inheritance-flag.yaml

    John Howard <******@****.***> 1690993419 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 16:23:39 UTC 2023
    - 241 bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/upgrade/upgrade.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package upgrade
    
    import (
    	"io"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:18:29 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package genericclioptions
    
    import (
    	"strings"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    
    	"k8s.io/cli-runtime/pkg/resource"
    )
    
    // FileNameFlags are flags for processing files.
    // Usage of this struct by itself is discouraged.
    // These flags are composed by ResourceBuilderFlags
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. releasenotes/notes/drop-legacy-lb-flag.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 27 22:17:29 UTC 2023
    - 154 bytes
    - Viewed (0)
Back to top