- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for yml (0.15 sec)
-
operator/cmd/mesh/profile-dump.go
}, } } func prependHeader(yml string) (string, error) { out, err := tpath.AddSpecRoot(yml) if err != nil { return "", err } out2, err := util.OverlayYAML(istioOperatorTreeString, out) if err != nil { return "", err } return out2, nil } // Convert the generated YAML to pretty JSON. func yamlToPrettyJSON(yml string) (string, error) {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
"apiVersion": {}, "kind": {}, "metadata": {}, "spec": {}, "status": {}, } serviceProtocolUDP = "UDP" fileExtensions = []string{".json", ".yaml", ".yml"} ) type validator struct{} func checkFields(un *unstructured.Unstructured) error { var errs error for key := range un.Object { if _, ok := validFields[key]; !ok {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
objects.Sort(object.DefaultObjectOrder()) for _, obj := range objects { yml, err := obj.YAML() if err != nil { return nil, err } output = append(output, string(yml)) } return output, nil } // RenderToDir writes manifests to a local filesystem directory tree.
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
allNamespaces bool suppress []string analysisTimeout time.Duration recursive bool ignoreUnknown bool revisionSpecified string fileExtensions = []string{".json", ".yaml", ".yml"} ) // Analyze command func Analyze(ctx cli.Context) *cobra.Command { var verbose bool analysisCmd := &cobra.Command{ Use: "analyze <file>...",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
t.Fatal(err) } return mustGetWebhook(t, mustFindObject(t, objs, webhookName, name.MutatingWebhookConfigurationStr)) } func getWebhooksFromYaml(t *testing.T, yml string) []v1.MutatingWebhook { t.Helper() objs, err := object.ParseK8sObjectsFromYAMLManifest(yml) if err != nil { t.Fatal(err) } if len(objs) != 1 { t.Fatal("expected one webhook") } return mustGetWebhook(t, *objs[0]) }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0)