- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 183 for cobra (0.07 sec)
-
cmd/kubeadm/app/cmd/certs.go
} // newCmdGenCSR returns cobra.Command for generating keys and CSRs func newCmdGenCSR(out io.Writer) *cobra.Command { config := newGenCSRConfig() cmd := &cobra.Command{ Use: "generate-csr", Short: "Generate keys and certificate signing requests", Long: generateCSRLongDesc, Example: generateCSRExample, Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
return rootCmd } func newDiscoveryCommand() *cobra.Command { return &cobra.Command{ Use: "discovery", Short: "Start Istio proxy discovery service.", Args: cobra.ExactArgs(0), FParseErrWhitelist: cobra.FParseErrWhitelist{ // Allow unknown flags for backward-compatibility. UnknownFlags: true, }, PreRunE: func(c *cobra.Command, args []string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/upgrade.go
allowRCUpgrades bool printConfig bool ignorePreflightErrors []string out io.Writer } // NewCmdUpgrade returns the cobra command for `kubeadm upgrade` func NewCmdUpgrade(out io.Writer) *cobra.Command { flags := &applyPlanFlags{ kubeConfigPath: kubeadmconstants.GetAdminKubeConfigPath(), cfgPath: "", featureGatesString: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:18:29 UTC 2022 - 2.9K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff.go
import ( "fmt" "io" "os" "github.com/spf13/cobra" "istio.io/istio/operator/pkg/manifest" "istio.io/istio/operator/pkg/util" "istio.io/istio/operator/pkg/util/clog" ) type profileDiffArgs struct { // manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz. manifestsPath string } func addProfileDiffFlags(cmd *cobra.Command, args *profileDiffArgs) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/keepalive/options.go
MaxServerConnectionAgeGrace: 10 * time.Second, } } // AttachCobraFlags attaches a set of Cobra flags to the given Cobra command. // // Cobra is the command-line processor that Istio uses. This command attaches // the necessary set of flags to configure the grpc keepalive options. func (o *Options) AttachCobraFlags(cmd *cobra.Command) { cmd.PersistentFlags().DurationVar(&o.Time, "keepaliveInterval", o.Time,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
} func profileListCmd(plArgs *profileListArgs) *cobra.Command { return &cobra.Command{ Use: "list", Short: "Lists available Istio configuration profiles", Long: "The list subcommand lists the available Istio configuration profiles.", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { return profileList(cmd, plArgs) }, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/server.go
package server import ( "context" "io" "github.com/spf13/cobra" "k8s.io/apiextensions-apiserver/pkg/cmd/server/options" genericapiserver "k8s.io/apiserver/pkg/server" ) func NewServerCommand(ctx context.Context, out, errOut io.Writer) *cobra.Command { o := options.NewCustomResourceDefinitionsServerOptions(out, errOut) cmd := &cobra.Command{ Short: "Launch an API extensions API server",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/cmd.go
"github.com/lithammer/dedent" "github.com/spf13/cobra" "k8s.io/kubernetes/cmd/kubeadm/app/cmd/alpha" "k8s.io/kubernetes/cmd/kubeadm/app/cmd/options" "k8s.io/kubernetes/cmd/kubeadm/app/cmd/upgrade" kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util" ) // NewKubeadmCommand returns cobra.Command to run kubeadm command func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command { var rootfsPath string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/completion_test.go
} for _, shell := range shells { test := TestCase{ name: "valid: test shell " + shell, args: []string{shell}, } testCases = append(testCases, test) } // use dummy cobra commands parentCmd := &cobra.Command{} cmd := &cobra.Command{} parentCmd.AddCommand(cmd) for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { if err := RunCompletion(&out, "", cmd, tc.args); (err != nil) != tc.expectedError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 06 02:59:58 UTC 2022 - 2.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" ) // newCmdToken returns cobra.Command for token management func newCmdToken(out io.Writer, errW io.Writer) *cobra.Command { var kubeConfigFile string var dryRun bool tokenCmd := &cobra.Command{ Use: "token", Short: "Manage bootstrap tokens", Long: dedent.Dedent(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0)