Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClientIDKey = "client_id" ClientSecretKey = "client_secret" FinalizerName = "finalizer.ory.hydra.sh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HydraClientInterface ¶
type HydraClientInterface interface {
GetOAuth2Client(id string) (*hydra.OAuth2ClientJSON, bool, error)
ListOAuth2Client() ([]*hydra.OAuth2ClientJSON, error)
PostOAuth2Client(o *hydra.OAuth2ClientJSON) (*hydra.OAuth2ClientJSON, error)
PutOAuth2Client(o *hydra.OAuth2ClientJSON) (*hydra.OAuth2ClientJSON, error)
DeleteOAuth2Client(id string) error
}
type HydraClientMakerFunc ¶ added in v0.0.5
type HydraClientMakerFunc func(hydrav1alpha1.OAuth2ClientSpec) (HydraClientInterface, error)
type OAuth2ClientReconciler ¶
type OAuth2ClientReconciler struct {
HydraClient HydraClientInterface
HydraClientMaker HydraClientMakerFunc
Log logr.Logger
client.Client
// contains filtered or unexported fields
}
OAuth2ClientReconciler reconciles a OAuth2Client object
func (*OAuth2ClientReconciler) SetupWithManager ¶
func (r *OAuth2ClientReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.