- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,298 for cmdversion (0.19 sec)
-
src/cmd/go/internal/version/version.go
indented by a leading tab character. See also: go doc runtime/debug.BuildInfo. `, } func init() { base.AddChdirFlag(&CmdVersion.Flag) CmdVersion.Run = runVersion // break init cycle } var ( versionM = CmdVersion.Flag.Bool("m", false, "") versionV = CmdVersion.Flag.Bool("v", false, "") ) func runVersion(ctx context.Context, cmd *base.Command, args []string) { if len(args) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 19:27:00 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/test/cmd/version_test.go
args := []string{"version"} if len(rt.args) > 0 { args = append(args, rt.args) } stdout, _, _, actual := RunCmd(kubeadmPath, args...) if (actual == nil) != rt.expected { t.Errorf( "failed CmdVersion running 'kubeadm version %s' with an error: %v\n\texpected: %t\n\t actual: %t", rt.args, actual, rt.expected, (actual == nil), ) } if rt.expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 28 19:06:01 UTC 2020 - 3.7K bytes - Viewed (0) -
src/cmd/dist/main.go
"banner": cmdbanner, "bootstrap": cmdbootstrap, "clean": cmdclean, "env": cmdenv, "install": cmdinstall, "list": cmdlist, "test": cmdtest, "version": cmdversion, } // main takes care of OS-specific startup and dispatches to xmain. func main() { os.Setenv("TERM", "dumb") // disable escape codes in clang errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/go/main.go
generate.CmdGenerate, modget.CmdGet, work.CmdInstall, list.CmdList, modcmd.CmdMod, workcmd.CmdWork, run.CmdRun, telemetrycmd.CmdTelemetry, test.CmdTest, tool.CmdTool, version.CmdVersion, vet.CmdVet, help.HelpBuildConstraint, help.HelpBuildmode, help.HelpC, help.HelpCache, help.HelpEnvironment, help.HelpFileType, modload.HelpGoMod, help.HelpGopath,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.run("version") cmdVersion := strings.TrimSpace(tg.stdout.String()) // If 'go version' is "go version <version> <goos>/<goarch>", then // 'go env GOVERSION' is just "<version>". if cmdVersion == envVersion || !strings.Contains(cmdVersion, envVersion) { t.Fatalf("'go env GOVERSION' %q should be a shorter substring of 'go version' %q", envVersion, cmdVersion) } } const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/dist/build.go
} if !strings.Contains(pathsep+path+pathsep, pathsep+gorootBin+pathsep) { xprintf("*** You need to add %s to your PATH.\n", gorootBin) } } } // Version prints the Go version. func cmdversion() { xflagparse(0) xprintf("%s\n", findgoversion()) } // cmdlist lists all supported platforms. func cmdlist() { jsonFlag := flag.Bool("json", false, "produce JSON output")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
pkg/controller/serviceaccount/config/v1alpha1/conversion.go
// in an autogenerated manner. // TODO: Fix the bug in conversion-gen so it automatically discovers these Convert_* functions // in autogenerated code as well. // Convert_v1alpha1_SAControllerConfiguration_To_config_SAControllerConfiguration is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 24 23:20:17 UTC 2023 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apidiscovery/v2/conversion.go
*/ // This file was duplicated from the auto-generated file by conversion-gen in // k8s.io/kubernetes/pkg/apis/apidiscovery Unlike most k8s types discovery is // served by all apiservers and conversion is needed by all apiservers. The // concept of internal/hub type does not exist for discovery as we work directly // with the versioned types. // The conversion code here facilities conversion strictly between v2beta1 and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion.go
corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/conversion" "k8s.io/kubernetes/pkg/apis/apps" "k8s.io/kubernetes/pkg/apis/core" ) // Convert_apps_DeploymentSpec_To_v1_DeploymentSpec is defined here, because public // conversion is not auto-generated due to existing warnings. func Convert_apps_DeploymentSpec_To_v1_DeploymentSpec(in *apps.DeploymentSpec, out *appsv1.DeploymentSpec, s conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/conversion.go
temp := float64(*in) *out = &temp return nil } func Convert_Pointer_int32_To_int32(in **int32, out *int32, s conversion.Scope) error { if *in == nil { *out = 0 return nil } *out = int32(**in) return nil } func Convert_int32_To_Pointer_int32(in *int32, out **int32, s conversion.Scope) error { temp := int32(*in) *out = &temp
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 26 03:49:57 UTC 2020 - 8.8K bytes - Viewed (0)