Documentation ¶
Index ¶
- func MutateOIDCClientRepresentation(oidcClient lshcore.OIDCClient, state state.ClientState, ...) error
- func MutateSAMLClientRepresentation(ctx context.Context, client client.Client, samlClient lshcore.SAMLClient, ...) error
- func SAMLProcotolMappers() []gocloak.ProtocolMapperRepresentation
- type OIDCClientReconciler
- type SAMLClientReconciler
- func (r *SAMLClientReconciler) CreateOrPatchCertificate(ctx context.Context, samlclient lshcore.SAMLClient) (*certmanager.Certificate, error)
- func (r *SAMLClientReconciler) Name() string
- func (r *SAMLClientReconciler) OwnedConditions() []string
- func (r *SAMLClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SAMLClientReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateOIDCClientRepresentation ¶
func MutateOIDCClientRepresentation(oidcClient lshcore.OIDCClient, state state.ClientState, clientRepresentation *gocloak.Client) error
func SAMLProcotolMappers ¶
func SAMLProcotolMappers() []gocloak.ProtocolMapperRepresentation
Types ¶
type OIDCClientReconciler ¶
OIDCClientReconciler reconciles a OIDCClient object
func (*OIDCClientReconciler) Name ¶
func (r *OIDCClientReconciler) Name() string
func (*OIDCClientReconciler) OwnedConditions ¶
func (r *OIDCClientReconciler) OwnedConditions() []string
func (*OIDCClientReconciler) Reconcile ¶
func (r *OIDCClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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. TODO(user): Modify the Reconcile function to compare the state specified by the OIDCClient object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*OIDCClientReconciler) SetupWithManager ¶
func (r *OIDCClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SAMLClientReconciler ¶
SAMLClientReconciler reconciles a SAMLClient object
func (*SAMLClientReconciler) CreateOrPatchCertificate ¶
func (r *SAMLClientReconciler) CreateOrPatchCertificate(ctx context.Context, samlclient lshcore.SAMLClient) (*certmanager.Certificate, error)
func (*SAMLClientReconciler) Name ¶
func (r *SAMLClientReconciler) Name() string
func (*SAMLClientReconciler) OwnedConditions ¶
func (r *SAMLClientReconciler) OwnedConditions() []string
func (*SAMLClientReconciler) Reconcile ¶
func (r *SAMLClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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. TODO(user): Modify the Reconcile function to compare the state specified by the SAMLClient object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*SAMLClientReconciler) SetupWithManager ¶
func (r *SAMLClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.