# Functions

No description provided by the author
ExtractCA extracts certificate from secret Supports Kube style ("ca.crt").
ExtractKeyPair extracts certificate and private key pair from secret Supports APISIX style ("cert" and "key") and Kube style ("tls.crt" and "tls.key) If hasPrivateKey == false, also support extract CA from "ca.crt".
NewTranslator initializes a APISIX CRD resources Translator.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrEmptyCert means the cert field in Kubernetes Secret is not found.
ErrEmptyPrivKey means the key field in Kubernetes Secret is not found.
ErrUnknownSecretFormat means the secret doesn't contain required fields.

# Structs

TranslateContext contains APISIX resources generated by the translator.
No description provided by the author
TranslatorOptions contains options to help Translator work well.

# Interfaces

No description provided by the author