Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for cobra (0.07 sec)

  1. istioctl/pkg/tag/tag.go

    	_ = cmd.MarkPersistentFlagRequired("revision")
    
    	return cmd
    }
    
    func tagListCommand(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:     "list",
    		Short:   "List existing revision tags",
    		Example: "istioctl tag list",
    		Aliases: []string{"show"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("tag list command does not accept arguments")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    		Use:   "generate",
    		Short: "Generate a waypoint configuration",
    		Long:  "Generate a waypoint configuration as YAML",
    		Example: `  # Generate a waypoint as yaml
      istioctl waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			gw, err := makeGateway(false)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/app/cmd.go

    	return rootCmd
    }
    
    func newProxyCommand(sds istioagent.SDSServiceFactory) *cobra.Command {
    	return &cobra.Command{
    		Use:   "proxy",
    		Short: "XDS proxy agent",
    		FParseErrWhitelist: cobra.FParseErrWhitelist{
    			// Allow unknown flags for backward-compatibility.
    			UnknownFlags: true,
    		},
    		PersistentPreRunE: configureLogging,
    		RunE: func(c *cobra.Command, args []string) error {
    			cmd.PrintFlags(c.Flags())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration.
    func ManifestCmd(ctx cli.Context) *cobra.Command {
    	mc := &cobra.Command{
    		Use:   "manifest",
    		Short: "Commands related to Istio manifests",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	"istio.io/istio/pkg/slices"
    )
    
    const (
    	jsonOutput    = "json"
    	yamlOutput    = "yaml"
    	summaryOutput = "short"
    
    	defaultProxyAdminPort = 15000
    )
    
    func ZtunnelConfig(ctx cli.Context) *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "ztunnel-config",
    		Short: "Update or retrieve current Ztunnel configuration.",
    		Long:  "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. operator/cmd/mesh/operator.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // OperatorCmd is a group of commands related to installation and management of the operator controller.
    func OperatorCmd(ctx cli.Context) *cobra.Command {
    	oc := &cobra.Command{
    		Use:   "operator",
    		Short: "Commands related to Istio operator controller.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/alpha/alpha.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package alpha
    
    import (
    	"github.com/spf13/cobra"
    )
    
    // NewCmdAlpha returns "kubeadm alpha" command.
    func NewCmdAlpha() *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "alpha",
    		Short: "Kubeadm experimental sub-commands",
    	}
    
    	return cmd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 14 03:31:30 UTC 2021
    - 814 bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go

    		return p, err
    	}
    	return f.GoTemplatePrintFlags.ToPrinter(outputFormat)
    }
    
    // AddFlags receives a *cobra.Command reference and binds
    // flags related to template printing to it
    func (f *KubeTemplatePrintFlags) AddFlags(c *cobra.Command) {
    	if f == nil {
    		return
    	}
    
    	if f.TemplateArgument != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/authz.go

    	"fmt"
    	"io"
    	"os"
    
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top