Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct { // Newly signed certirficate to be used by the mesh SignedCertificate []byte // Root CA used to sign this certificate SigningRootCa []byte }
Information required by cert issuer reconciler to fulfill CertificateRequest
type Translator ¶
type Translator interface { // Translate the input resources into the SignedCert and SigningRootCa // If Output and Err are nil, this translator is not responsible for this resource Translate( ctx context.Context, certificateRequest *certificatesv1.CertificateRequest, issuedCertificate *certificatesv1.IssuedCertificate, ) (*Output, error) }
The cert issuer translator represents an entity which translates the input resources, into the output resources as defined by the `Output` resource below. See Output struct above
func NewTranslator ¶
func NewTranslator(mgmtClusterSecretClient corev1clients.SecretClient) Translator
Click to show internal directories.
Click to hide internal directories.