controllers

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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 OAuth2ClientReconciler

type OAuth2ClientReconciler struct {
	HydraClient HydraClientInterface
	Log         logr.Logger

	client.Client
	ControllerNamespace string
	// contains filtered or unexported fields
}

OAuth2ClientReconciler reconciles a OAuth2Client object

func (*OAuth2ClientReconciler) Reconcile

func (r *OAuth2ClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*OAuth2ClientReconciler) SetupWithManager

func (r *OAuth2ClientReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL