Constant names are underscore delimited and ignore any non-alphanumeric content in the yaml file. Constant values are dot delimited, and include all characters other than dots. Dots not allowed in yaml file. It should be easy for a user to convert an existing leaf node in the yaml to a branch node. I suspect this is not quite valid yaml (leaf nodes aren't exactly keys or lists) so some modification may be necessary. These files should be checked in at https://github.com/istio/istio/tree/master/pkg/test/framework/features in the master branch.
Created
April 30, 2020 17:46
-
-
Save therealmitchconnors/e45dc6a23117d25a7d2efdaa9593a9fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copyright | |
// standard generated code warning | |
package features | |
const ( | |
traffic_circuitbreakers_failgracefully = "traffic.circuit-breakers.fail-gracefully" | |
observability = "observability" | |
usability_introspection_status_distribution_immidatelyfalse = "usability.introspection.status.distribution.immediately-false" | |
usability_introspection_status_distribution_eventuallytrue = "usability.introspection.status.distribution.eventually-true" | |
usability_introspection_status_analysis_containsmessagewhenfalse = "usability.introspection.status.analysis.contains-message-when-false" | |
usability_introspection_status_analysis_truewhenwarnonly = "usability.introspection.status.analysis.true-when-warn-only" | |
security_certificates_citadel = "security.certificates.citadel" | |
security_certificates_letsencrypt = "security.certificates.lets-encrypt" | |
security_certificates_spire = "security.certificates.spire" | |
security_mTLS_onbydefault = "security.mTLS.on-by-default" | |
) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
features: | |
traffic: | |
circuit-breakers: | |
fail-gracefully | |
observability | |
usability: | |
introspection: | |
status: | |
distribution: | |
immediately-false | |
eventually-true | |
analysis: | |
contains-message-when-false | |
true-when-warn-only | |
security: | |
certificates: | |
citadel | |
lets-encrypt | |
spire | |
mTLS: | |
on-by-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment