- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Shetty (0.17 sec)
-
internal/logger/console.go
ExitFunc(1) } func (f fatalMsg) quiet(msg string, args ...interface{}) { f.pretty(msg, args...) } var ( logTag = "ERROR" logBanner = color.BgRed(color.FgWhite(color.Bold(logTag))) + " " emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " " bannerWidth = len(logTag) + 1 ) func (f fatalMsg) pretty(msg string, args ...interface{}) { // Build the passed error message
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 02 00:13:57 GMT 2024 - 5.7K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
deserializer := codecFactory.UniversalDeserializer() serializer := json.NewSerializerWithOptions( json.DefaultMetaFactory, nil, nil, json.SerializerOptions{ Yaml: true, Pretty: true, Strict: true, }) whObject, _, err := deserializer.Decode([]byte(validatingWebhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{}) if err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
scheme *runtime.Scheme tokenWaitBackoff = time.Second ) func init() { scheme = runtime.NewScheme() utilruntime.Must(v1.AddToScheme(scheme)) opt := json.SerializerOptions{ Yaml: true, Pretty: false, Strict: false, } yamlSerializer := json.NewSerializerWithOptions(json.DefaultMetaFactory, scheme, scheme, opt) codec = versioning.NewDefaultingCodecForScheme( scheme, yamlSerializer, yamlSerializer,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
internal/config/errors-utils.go
package config import ( "errors" "fmt" "net" "syscall" "github.com/minio/minio/internal/color" ) // Err is a structure which contains all information // to print a fatal error message in json or pretty mode // Err implements error so we can use it anywhere type Err struct { msg string detail string action string hint string } // Clone returns a new Err struct with the same information
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 3.7K bytes - Viewed (0) -
internal/logger/logger.go
return jsonFlag } // IsQuiet - returns true if quietFlag is true func IsQuiet() bool { return quietFlag } // RegisterError registers the specified rendering function. This latter // will be called for a pretty rendering of fatal errors. func RegisterError(f func(string, error, bool) string) { errorFmtFunc = f } // uniq swaps away duplicate elements in data, returning the size of the
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 12.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
if err != nil { return "", err } return out2, nil } // Convert the generated YAML to pretty JSON. func yamlToPrettyJSON(yml string) (string, error) { // YAML objects are not completely compatible with JSON // objects. Let yaml.YAMLToJSON handle the edge cases and // we'll re-encode the result to pretty JSON. uglyJSON, err := yaml.YAMLToJSON([]byte(yml)) if err != nil { return "", err }
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/proxyconfig/proxyconfig.go
endpointConfigCmd := &cobra.Command{ Use: "eds [<type>/]<name>[.<namespace>]", // Currently, we have an "endpoints" and "eds" command. While for simple use cases these are nearly identical, they give // pretty different outputs for the full JSON output. This makes it a useful command for developers, but may be overwhelming // for basic usage. For now, hide to avoid confusion. Hidden: true,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0)