Documentation ¶
Overview ¶
Copyright 2021 Intel(R).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func GetIssuer(ctx context.Context, c client.Client, scheme *runtime.Scheme, ...) (client.Object, error)
- func IssuerSpecAndStatus(issuer client.Object) (*tcsapi.TCSIssuerSpec, *tcsapi.TCSIssuerStatus, error)
- func SignerNameForIssuer(issuerGVK schema.GroupVersionKind, name, ns string) string
- type CSRReconciler
- type CertificateRequestReconciler
- type IssuerReconciler
- type IssuerRef
Constants ¶
const (
RetryTimeout = 5 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func IssuerSpecAndStatus ¶
func IssuerSpecAndStatus(issuer client.Object) (*tcsapi.TCSIssuerSpec, *tcsapi.TCSIssuerStatus, error)
func SignerNameForIssuer ¶
func SignerNameForIssuer(issuerGVK schema.GroupVersionKind, name, ns string) string
Types ¶
type CSRReconciler ¶
type CSRReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger KeyProvider keyprovider.KeyProvider // contains filtered or unexported fields }
CSRReconciler reconciles a CSR object
func NewCSRReconciler ¶
func NewCSRReconciler(c client.Client, scheme *runtime.Scheme, keyProvider keyprovider.KeyProvider, fullCertChain bool) *CSRReconciler
func (*CSRReconciler) SetupWithManager ¶
func (r *CSRReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CertificateRequestReconciler ¶
type CertificateRequestReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme KeyProvider keyprovider.KeyProvider // contains filtered or unexported fields }
CSRReconciler reconciles a CSR object
func NewCertificateRequestReconciler ¶
func NewCertificateRequestReconciler(c client.Client, keyProvider keyprovider.KeyProvider) *CertificateRequestReconciler
func (*CertificateRequestReconciler) SetupWithManager ¶
func (r *CertificateRequestReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IssuerReconciler ¶
type IssuerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ClusterResourceNamespace string Kind string KeyProvider keyprovider.KeyProvider }
IssuerReconciler reconciles a Issuer object
func (*IssuerReconciler) SetupWithManager ¶
func (r *IssuerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IssuerRef ¶
type IssuerRef struct { types.NamespacedName Kind string }