- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for dumps (0.14 sec)
-
operator/cmd/mesh/profile-dump.go
} func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump [<profile>]", Short: "Dumps an Istio configuration profile", Long: "The dump subcommand dumps the values in an Istio configuration profile.", Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { return fmt.Errorf("too many positional arguments")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
} fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n", s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore) } return tw.Flush() } // printSecretItemsJSON prints secret in JSON format, and dumps the raw certificate data with the output func (w *sdsWriter) printSecretItemsJSON(secrets []SecretItem) error { out, err := json.MarshalIndent(secrets, "", " ") if err != nil { return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 21 14:17:23 GMT 2023 - 4.1K bytes - Viewed (0) -
operator/cmd/mesh/operator.go
func OperatorCmd(ctx cli.Context) *cobra.Command { oc := &cobra.Command{ Use: "operator", Short: "Commands related to Istio operator controller.", Long: "The operator command installs, dumps, removes and shows the status of the operator controller.", } odArgs := &operatorDumpArgs{} oiArgs := &operatorInitArgs{} orArgs := &operatorRemoveArgs{} args := &RootArgs{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 1.5K bytes - Viewed (0) -
operator/cmd/mesh/profile.go
func ProfileCmd(_ cli.Context) *cobra.Command { pc := &cobra.Command{ Use: "profile", Short: "Commands related to Istio configuration profiles", Long: "The profile command lists, dumps or diffs Istio configuration profiles.", Example: "istioctl profile list\n" + "istioctl install --set profile=demo # Use a profile from the list", } pdArgs := &profileDumpArgs{} plArgs := &profileListArgs{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
"Output format: one of json|yaml") } func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump", Short: "Dumps the Istio operator controller manifest.", Long: "The dump subcommand dumps the Istio operator controller manifest.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 3.6K bytes - Viewed (0) -
operator/cmd/mesh/operator-common.go
manifestsPath string // revision is the Istio control plane revision the command targets. revision string // outputFormat controls the format of operator dumps outputFormat string } const ( operatorResourceName = "istio-operator" operatorDefaultNamespace = "istio-operator" )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Dec 17 02:25:04 GMT 2022 - 3.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump_test.go
t.Fatal(err) } if !util.IsYAMLEqual(got, want) { t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want)) } }) } } func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) { cmd := "profile dump -f " + profilePath if configPath != "" { cmd += " --config-path " + configPath }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
"io" "text/tabwriter" "sigs.k8s.io/yaml" ) // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer ztunnelDump *ZtunnelDump FullDump []byte } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { cd := ZtunnelDump{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
// PrintSecretDump prints just the secret config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintSecretDump(outputFormat string) error { if c.ztunnelDump == nil { return fmt.Errorf("config writer has not been primed") } secretDump := c.ztunnelDump.Certificates out, err := json.MarshalIndent(secretDump, "", " ") if err != nil { return fmt.Errorf("failed to marshal secrets dump: %v", err) } if outputFormat == "yaml" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
"google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/known/emptypb" "istio.io/istio/istioctl/pkg/util/configdump" ) // Comparator diffs between a config dump from Istiod and one from Envoy type Comparator struct { envoy, istiod *configdump.Wrapper w io.Writer context int location string } // NewComparator is a comparator constructor
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1)