- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for formik (0.19 sec)
-
istioctl/pkg/writer/compare/sds/writer.go
func NewSDSWriter(w io.Writer, format Format) SDSWriter { return &sdsWriter{ w: w, output: format, } } // sdsWriter is provided concrete implementation of SDSWriter type sdsWriter struct { w io.Writer output Format } // PrintSecretItems uses the user supplied output format to determine how to display the diffed secrets
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) -
istioctl/pkg/util/formatting/formatter.go
} } // Print output messages in the specified format with color options func Print(ms diag.Messages, format string, colorize bool) (string, error) { switch format { case LogFormat: return printLog(ms, colorize), nil case JSONFormat: return printJSON(ms) case YAMLFormat: return printYAML(ms) default: return "", fmt.Errorf("invalid format, expected one of %v but got %q", MsgOutputFormatKeys, format) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 11 02:41:45 GMT 2023 - 3.1K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
selectResources string // ignoreResources ignores all listed items during comparison. It uses the same list format as selectResources. ignoreResources string // renameResources identifies renamed resources before comparison. // The format of each renaming pair is A->B, all renaming pairs are comma separated. // e.g. Service:*:istio-pilot->Service:*:istio-control - rename istio-pilot service into istio-control
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} // validateOutputFormatFlag validates if the output format is valid. func validateProfileOutputFormatFlag(outputFormat string) error { switch outputFormat { case jsonOutput, yamlOutput, flagsOutput: default: return fmt.Errorf("unknown output format: %s", outputFormat) } return nil } // yamlToFormat converts the generated yaml config to the expected format func yamlToFormat(yaml, outputFormat string) (string, error) {
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) -
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) -
istioctl/cmd/sysexits.go
// error codes for other info that we'd like to use to pass info on. const ( ExitUnknownError = 1 // for compatibility with existing exit code ExitIncorrectUsage = 64 ExitDataError = 65 // some format error with input data // below here are non-zero exit codes that don't indicate an error with istioctl itself ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD ) func GetExitCode(e error) int {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
// If false, generic defaults will be used. This is useful when generating once and then applying later. EnableClusterSpecific bool // Set is a string with element format "path=value" where path is an IstioOperator path and the value is a // value to set the node at that path to. Set []string // Force proceeds even if there are validation errors Force bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
"istio.io/istio/pkg/log" "istio.io/istio/pkg/wellknown" ) const ( anonymousName = "_anonymous_match_nothing_" ) // Matches the policy name in RBAC filter config with format like ns[default]-policy[some-policy]-rule[1]. var re = regexp.MustCompile(`ns\[(.+)\]-policy\[(.+)\]-rule\[(.+)\]`) type filterChain struct { rbacHTTP []*rbachttp.RBAC rbacTCP []*rbactcp.RBAC }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
} else { certType = "Cert Chain" } today := time.Now() return SecretMeta{ SerialNumber: fmt.Sprintf("%x", cert.SerialNumber), NotAfter: cert.NotAfter.Format(time.RFC3339), NotBefore: cert.NotBefore.Format(time.RFC3339), Type: certType, Valid: today.After(cert.NotBefore) && today.Before(cert.NotAfter), }, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
"testing" ) func TestSDSWriterSecretItems(t *testing.T) { tests := []struct { name string format Format items []SecretItem expected []string unexpected []string }{ { name: "test tabular output with no secret items is equivalent to the header", format: TABULAR, items: []SecretItem{}, expected: []string{}, unexpected: secretItemColumns, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 4.9K bytes - Viewed (0)