Documentation ¶
Index ¶
- Constants
- func GenerateConfigsGeneric(ctx context.Context, h *helper.Helper, instance client.Object, ...) error
- func GeneratePKCS11TemplateMap(ctx context.Context, h *helper.Helper, ...) (map[string]interface{}, error)
- func GenerateSecretStoreTemplateMap(enabledSecretStores []barbicanv1beta1.SecretStore, ...) (map[string]interface{}, error)
- type BarbicanAPIReconciler
- func (r *BarbicanAPIReconciler) GetClient() client.Client
- func (r *BarbicanAPIReconciler) GetKClient() kubernetes.Interface
- func (r *BarbicanAPIReconciler) GetLogger(ctx context.Context) logr.Logger
- func (r *BarbicanAPIReconciler) GetScheme() *runtime.Scheme
- func (r *BarbicanAPIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *BarbicanAPIReconciler) SetupWithManager(mgr ctrl.Manager) error
- type BarbicanKeystoneListenerReconciler
- func (r *BarbicanKeystoneListenerReconciler) GetLogger(ctx context.Context) logr.Logger
- func (r *BarbicanKeystoneListenerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *BarbicanKeystoneListenerReconciler) SetupWithManager(mgr ctrl.Manager) error
- type BarbicanReconciler
- type BarbicanWorkerReconciler
Constants ¶
const ( P11PrepReadyCondition = "P11PrepReady" P11PrepReadyInitMessage = "P11 Prep job not started" P11PrepReadyMessage = "P11 Prep job completed" P11PrepReadyErrorMessage = "P11 Prep job error occurred %s" P11PrepReadyRunningMessage = "P11 Prep job is still running" P11PrepReadyNotRunMessage = "P11 Prep job not run" )
const (
TransportURL = "transport_url"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateConfigsGeneric ¶
func GenerateConfigsGeneric( ctx context.Context, h *helper.Helper, instance client.Object, envVars *map[string]env.Setter, templateParameters map[string]interface{}, customData map[string]string, cmLabels map[string]string, scripts bool, ) error
GenerateConfigsGeneric - generates config files
func GeneratePKCS11TemplateMap ¶
func GeneratePKCS11TemplateMap( ctx context.Context, h *helper.Helper, pkcs11 barbicanv1beta1.BarbicanPKCS11Template, namespace string, ) (map[string]interface{}, error)
func GenerateSecretStoreTemplateMap ¶
func GenerateSecretStoreTemplateMap( enabledSecretStores []barbicanv1beta1.SecretStore, globalDefaultSecretStore barbicanv1beta1.SecretStore, ) (map[string]interface{}, error)
Types ¶
type BarbicanAPIReconciler ¶
type BarbicanAPIReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme }
BarbicanAPIReconciler reconciles a BarbicanAPI object
func (*BarbicanAPIReconciler) GetClient ¶
func (r *BarbicanAPIReconciler) GetClient() client.Client
GetClient -
func (*BarbicanAPIReconciler) GetKClient ¶
func (r *BarbicanAPIReconciler) GetKClient() kubernetes.Interface
GetKClient -
func (*BarbicanAPIReconciler) GetLogger ¶
func (r *BarbicanAPIReconciler) GetLogger(ctx context.Context) logr.Logger
GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields
func (*BarbicanAPIReconciler) GetScheme ¶
func (r *BarbicanAPIReconciler) GetScheme() *runtime.Scheme
GetScheme -
func (*BarbicanAPIReconciler) Reconcile ¶
func (r *BarbicanAPIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
Reconcile BarbicanAPI
func (*BarbicanAPIReconciler) SetupWithManager ¶
func (r *BarbicanAPIReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BarbicanKeystoneListenerReconciler ¶
type BarbicanKeystoneListenerReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme }
BarbicanKeystoneListenerReconciler reconciles a BarbicanKeystoneListener object
func (*BarbicanKeystoneListenerReconciler) GetLogger ¶
func (r *BarbicanKeystoneListenerReconciler) GetLogger(ctx context.Context) logr.Logger
GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields
func (*BarbicanKeystoneListenerReconciler) Reconcile ¶
func (r *BarbicanKeystoneListenerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
Reconcile BarbicanAPI
func (*BarbicanKeystoneListenerReconciler) SetupWithManager ¶
func (r *BarbicanKeystoneListenerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BarbicanReconciler ¶
type BarbicanReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme }
BarbicanReconciler reconciles a Barbican object
func (*BarbicanReconciler) GetLogger ¶
func (r *BarbicanReconciler) GetLogger(ctx context.Context) logr.Logger
GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields
func (*BarbicanReconciler) Reconcile ¶
func (r *BarbicanReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*BarbicanReconciler) SetupWithManager ¶
func (r *BarbicanReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BarbicanWorkerReconciler ¶
type BarbicanWorkerReconciler struct { client.Client Kclient kubernetes.Interface Scheme *runtime.Scheme }
BarbicanWorkerReconciler reconciles a BarbicanWorker object
func (*BarbicanWorkerReconciler) GetLogger ¶
func (r *BarbicanWorkerReconciler) GetLogger(ctx context.Context) logr.Logger
GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields
func (*BarbicanWorkerReconciler) Reconcile ¶
func (r *BarbicanWorkerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
Reconcile BarbicanAPI
func (*BarbicanWorkerReconciler) SetupWithManager ¶
func (r *BarbicanWorkerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.