- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 54 for Cobra (0.02 sec)
-
istioctl/pkg/version/version.go
"istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/proxy" istioVersion "istio.io/istio/pkg/version" ) func NewVersionCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var versionCmd *cobra.Command versionCmd = istioVersion.CobraCommandWithOptions(istioVersion.CobraOptions{ GetRemoteVersion: getRemoteInfoWrapper(ctx, &versionCmd, &opts), GetProxyVersions: getProxyInfoWrapper(ctx, &opts), })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return "" } return injectionStatus.Revision } func Cmd(ctx cli.Context) *cobra.Command { describeCmd := &cobra.Command{ Use: "describe", Aliases: []string{"des"}, Short: "Describe resource and related Istio configuration", Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown resource type %q", args[0]) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
} } } return nil, nil } func DebugCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions debugCommand := &cobra.Command{ Use: "internal-debug [<type>/]<name>[.<namespace>]", Short: "Retrieves the debug information of istio", Long: `
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
data, err := io.ReadAll(file) if err != nil { return nil, err } return data, nil } func StableXdsStatusCommand(ctx cli.Context) *cobra.Command { cmd := XdsStatusCommand(ctx) unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"} cmd.PreRunE = func(cmd *cobra.Command, args []string) error { for _, flag := range unstableFlags { if cmd.PersistentFlags().Changed(flag) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
reqTot = "istio_requests_total" reqDur = "istio_request_duration_milliseconds" ) func Cmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "metrics <workload name>...", Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.", Long: `
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
package internaldebug import ( "bytes" "context" "fmt" "net/http" "strings" "testing" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "github.com/spf13/cobra" "google.golang.org/grpc" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
defaultWebhookName = "sidecar-injector.istio.io" ) func InjectCommand(cliContext cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions injectCmd := &cobra.Command{ Use: "kube-inject", Short: "Inject Istio sidecar into Kubernetes pod resources", Long: `
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
ignoreUnknown bool revisionSpecified string remoteContexts []string fileExtensions = []string{".json", ".yaml", ".yml"} ) // Analyze command func Analyze(ctx cli.Context) *cobra.Command { var verbose bool analysisCmd := &cobra.Command{ Use: "analyze <file>...", Short: "Analyze Istio configuration and print validation messages", Long: fmt.Sprintf("Analyze Istio configuration and print validation messages.\n"+
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
package proxystatus import ( "bytes" "context" "fmt" "net/http" "strings" "testing" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "github.com/spf13/cobra" "google.golang.org/grpc" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
// See the License for the specific language governing permissions and // limitations under the License. package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0)