Documentation ¶
Index ¶
- func IsStatusReconciled(eb *marin3rv1alpha1.EnvoyBootstrap, configHashV2, configHashV3 string) bool
- type BootstrapConfigReconciler
- func (r *BootstrapConfigReconciler) ConfigMapName(envoyAPI envoy.APIVersion) string
- func (r *BootstrapConfigReconciler) GetConfigHash(envoyAPI envoy.APIVersion) string
- func (r *BootstrapConfigReconciler) Reconcile(envoyAPI envoy.APIVersion) (ctrl.Result, error)
- func (r *BootstrapConfigReconciler) SetConfigHash(envoyAPI envoy.APIVersion, hash string)
- type ClientCertificateReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStatusReconciled ¶
func IsStatusReconciled(eb *marin3rv1alpha1.EnvoyBootstrap, configHashV2, configHashV3 string) bool
IsStatusReconciled calculates the status of the resource
Types ¶
type BootstrapConfigReconciler ¶
type BootstrapConfigReconciler struct {
// contains filtered or unexported fields
}
BootstrapConfigReconciler has methods to reconcile discovery service client certificates
func NewBootstrapConfigReconciler ¶
func NewBootstrapConfigReconciler(ctx context.Context, logger logr.Logger, client client.Client, scheme *runtime.Scheme, eb *marin3rv1alpha1.EnvoyBootstrap) BootstrapConfigReconciler
NewBootstrapConfigReconciler returns a BootstrapConfigReconciler struct
func (*BootstrapConfigReconciler) ConfigMapName ¶
func (r *BootstrapConfigReconciler) ConfigMapName(envoyAPI envoy.APIVersion) string
func (*BootstrapConfigReconciler) GetConfigHash ¶
func (r *BootstrapConfigReconciler) GetConfigHash(envoyAPI envoy.APIVersion) string
GetConfigHash returns the hash of the bootstrap config. Should be invoked only after running Reconcile()
func (*BootstrapConfigReconciler) Reconcile ¶
func (r *BootstrapConfigReconciler) Reconcile(envoyAPI envoy.APIVersion) (ctrl.Result, error)
Reconcile keeps a bootstrap configuration in sync with the desired state
func (*BootstrapConfigReconciler) SetConfigHash ¶
func (r *BootstrapConfigReconciler) SetConfigHash(envoyAPI envoy.APIVersion, hash string)
SetConfigHash sets the hash of the bootstrap config. Should be invoked only after running Reconcile()
type ClientCertificateReconciler ¶
type ClientCertificateReconciler struct {
// contains filtered or unexported fields
}
ClientCertificateReconciler has methods to reconcile discovery service client certificates
func NewClientCertificateReconciler ¶
func NewClientCertificateReconciler(ctx context.Context, logger logr.Logger, client client.Client, scheme *runtime.Scheme, eb *marin3rv1alpha1.EnvoyBootstrap) ClientCertificateReconciler
NewClientCertificateReconciler returns a ClientCertificateReconciler struct