Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 967 for Iflag (0.03 sec)

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

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"strings"
    
    	"github.com/spf13/pflag"
    
    	nodeipamconfig "k8s.io/kubernetes/pkg/controller/nodeipam/config"
    )
    
    // NodeIPAMControllerOptions holds the NodeIpamController options.
    type NodeIPAMControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 21 06:08:58 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apiserver/pkg/server"
    	utilflowcontrol "k8s.io/apiserver/pkg/util/flowcontrol"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/workflow/phase.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package workflow
    
    import (
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    )
    
    // Phase provides an implementation of a workflow phase that allows
    // creation of new phases by simply instantiating a variable of this type.
    type Phase struct {
    	// name of the phase.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 15:35:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/testing/testserver.go

    			tearDown()
    		}
    	}()
    
    	result.TmpDir, err = os.MkdirTemp("", "kube-scheduler")
    	if err != nil {
    		return result, fmt.Errorf("failed to create temp dir: %v", err)
    	}
    
    	fs := pflag.NewFlagSet("test", pflag.PanicOnError)
    
    	opts := options.NewOptions()
    	nfs := opts.Flags
    	for _, f := range nfs.FlagSets {
    		fs.AddFlagSet(f)
    	}
    	fs.Parse(customFlags)
    
    	if opts.SecureServing.BindPort != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"github.com/spf13/pflag"
    	"time"
    
    	attachdetachconfig "k8s.io/kubernetes/pkg/controller/volume/attachdetach/config"
    )
    
    // AttachDetachControllerOptions holds the AttachDetachController options.
    type AttachDetachControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. pkg/kubelet/config/flags.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package config
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    )
    
    // ContainerRuntimeOptions defines options for the container runtime.
    type ContainerRuntimeOptions struct {
    	// General Options.
    
    	// RuntimeCgroups that container runtime is expected to be isolated in.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 03:14:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/testing/testserver.go

    			tearDown()
    		}
    	}()
    
    	result.TmpDir, err = os.MkdirTemp("", "kube-controller-manager")
    	if err != nil {
    		return result, fmt.Errorf("failed to create temp dir: %v", err)
    	}
    
    	fs := pflag.NewFlagSet("test", pflag.PanicOnError)
    
    	s, err := options.NewKubeControllerManagerOptions()
    	if err != nil {
    		return TestServer{}, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/egress_selector.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    	"k8s.io/utils/path"
    
    	"k8s.io/apiserver/pkg/server"
    	"k8s.io/apiserver/pkg/server/egressselector"
    )
    
    // EgressSelectorOptions holds the api server egress selector options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 11:41:59 UTC 2021
    - 3K bytes
    - Viewed (0)
  9. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	r := &dto.LabelPair{}
    	r.Name = lp.Name
    	r.Value = lp.Value
    	return r
    }
    
    func main() {
    	// Register the commandline flags passed to the tool.
    	registerFlags(pflag.CommandLine)
    	pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
    	pflag.Parse()
    
    	// Register the metrics we defined above with prometheus.
    	customMetricRegistry.MustRegister(etcdVersion)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/endpointslicecontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	endpointsliceconfig "k8s.io/kubernetes/pkg/controller/endpointslice/config"
    )
    
    const (
    	minConcurrentServiceEndpointSyncs = 1
    	maxConcurrentServiceEndpointSyncs = 50
    	minMaxEndpointsPerSlice           = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 03 07:16:42 UTC 2020
    - 3.7K bytes
    - Viewed (0)
Back to top