- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 992 for flagstr (0.17 sec)
-
cmd/kubeadm/app/phases/kubelet/flags.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
pkg/test/framework/resource/flags.go
"istio.io/istio/pkg/test/framework/config" "istio.io/istio/pkg/test/framework/label" ) var settingsFromCommandLine = DefaultSettings() // SettingsFromCommandLine returns settings obtained from command-line flags. config.Parse must be called before // calling this function. func SettingsFromCommandLine(testID string) (*Settings, error) { if !config.Parsed() { panic("config.Parse must be called before this function") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 14K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/globalflags.go
// ensure libs have a chance to globally register their flags _ "k8s.io/apiserver/pkg/admission" ) // AddCustomGlobalFlags explicitly registers flags that internal packages register // against the global flagsets from "flag". We do this in order to prevent // unwanted flags from leaking into the kube-apiserver's flagset. func AddCustomGlobalFlags(fs *pflag.FlagSet) { // Lookup flags in global flag set and re-register the values with our flagset.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 07:44:58 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/kubelet/app/options/globalflags.go
"k8s.io/component-base/version/verflag" ) // AddGlobalFlags explicitly registers flags that libraries (glog, verflag, etc.) register // against the global flagsets from "flag" and "github.com/spf13/pflag". // We do this in order to prevent unwanted flags from leaking into the Kubelet's flagset. func AddGlobalFlags(fs *pflag.FlagSet) { addCadvisorFlags(fs) addCredentialProviderFlags(fs) verflag.AddFlags(fs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:53 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/test/framework/components/istio/flags.go
// See the License for the specific language governing permissions and // limitations under the License. package istio import ( "flag" ) // init registers the command-line flags that we can exposed for "go test". func init() { flag.StringVar(&settingsFromCommandline.SystemNamespace, "istio.test.kube.systemNamespace", settingsFromCommandline.SystemNamespace,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 31 15:08:52 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/flags.go
configTopology string // file defining all types of topology clusterConfigs configsVal ) // NewSettingsFromCommandLine returns Settings obtained from command-line flags. // config.Parse must be called before calling this function. func NewSettingsFromCommandLine() (*Settings, error) { if !config.Parsed() { panic("config.Parse must be called before this function") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/flags.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/jit/flags.h" #include <limits> #include <mutex> // NOLINT #include <optional> #include <vector> #include "absl/base/call_once.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 24.5K bytes - Viewed (0) -
src/flag/flag_test.go
// Declare a user-defined flag type. type flagVar []string func (f *flagVar) String() string { return fmt.Sprint([]string(*f)) } func (f *flagVar) Set(value string) error { *f = append(*f, value) return nil } func TestUserDefined(t *testing.T) { var flags FlagSet flags.Init("test", ContinueOnError) flags.SetOutput(io.Discard) var v flagVar flags.Var(&v, "v", "usage")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
hack/verify-flags-underscore.py
return all_files # Collects all the flags used in golang files and verifies the flags do # not contain underscore. If any flag needs to be excluded from this check, # need to add that flag in hack/verify-flags/excluded-flags.txt. def check_underscore_in_flags(rootdir, files): # preload the 'known' flags which don't follow the - standard pathname = os.path.join(rootdir, "hack/verify-flags/excluded-flags.txt") f = open(pathname, 'r')
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 4.3K bytes - Viewed (0) -
src/flag/flag.go
Integer flags accept 1234, 0664, 0x1234 and may be negative. Boolean flags may be: 1, 0, t, f, T, F, true, false, TRUE, FALSE, True, False Duration flags accept any input valid for time.ParseDuration. The default set of command-line flags is controlled by top-level functions. The [FlagSet] type allows one to define independent sets of flags, such as to implement subcommands in a command-line interface. The methods of [FlagSet] are
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0)