Documentation
¶
Index ¶
- func GroupToInstanceName(t *types.Type) string
- func GroupToInternalTLSTypeName(t *types.Type) string
- func GroupToSecurityTypeName(t *types.Type) string
- func GroupToTLSTypeName(t *types.Type) string
- func NewRuntimeGenerator(outputFilename, kind, targetPackage string) generator.Generator
- func NewScopeGenerator(outputFilename, kind, targetPackage string) generator.Generator
- type NameFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupToInstanceName ¶
GroupToInstanceName returns instance name from group type e.g. TiDBGroup -> TiDB
func GroupToInternalTLSTypeName ¶
GroupToInternalTLSTypeName returns internal tls type name from group type TiProxy has it's own tls type Others: InternalTLS TiProxy: InternalClientTLS
func GroupToSecurityTypeName ¶
GroupToSecurityTypeName returns security type name from group type TiDB and TiProxy have their own security type Others: Security TiDB and TiProxy: TiDBSecurity, TiProxySecurity
func GroupToTLSTypeName ¶
GroupToTLSTypeName returns tls type name from group type TiDB and TiProxy have their own tls type Others: ComponentTLS TiDB and TiProxy: TiDBTLS, TiProxyTLS
func NewRuntimeGenerator ¶
func NewScopeGenerator ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.