Documentation ¶
Index ¶
- func NewEventHandler(channel chan<- *gqlschema.OAuth2ClientEvent, ...) resource.EventHandlerProvider
- func NewService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
- type ClientList
- type EventHandler
- type Resolver
- func (r *Resolver) CreateOAuth2Client(ctx context.Context, name string, namespace string, ...) (*v1alpha1.OAuth2Client, error)
- func (r *Resolver) DeleteOAuth2Client(ctx context.Context, name string, namespace string) (*v1alpha1.OAuth2Client, error)
- func (r *Resolver) ErrorField(ctx context.Context, obj *v1alpha1.OAuth2Client) (*v1alpha1.ReconciliationError, error)
- func (r *Resolver) OAuth2ClientQuery(ctx context.Context, name, namespace string) (*v1alpha1.OAuth2Client, error)
- func (r *Resolver) OAuth2ClientSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.OAuth2ClientEvent, error)
- func (r *Resolver) OAuth2ClientsQuery(ctx context.Context, namespace string) ([]*v1alpha1.OAuth2Client, error)
- func (r *Resolver) Service() *resource.GenericService
- func (r *Resolver) UpdateOAuth2Client(ctx context.Context, name string, namespace string, generation int64, ...) (*v1alpha1.OAuth2Client, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventHandler ¶
func NewEventHandler(channel chan<- *gqlschema.OAuth2ClientEvent, filter func(client v1alpha1.OAuth2Client) bool) resource.EventHandlerProvider
func NewService ¶
func NewService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
Types ¶
type ClientList ¶
type ClientList []*v1alpha1.OAuth2Client
func (*ClientList) Append ¶
func (l *ClientList) Append() interface{}
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func (*EventHandler) K8sResource ¶
func (h *EventHandler) K8sResource() interface{}
func (*EventHandler) Notify ¶
func (h *EventHandler) Notify(eventType gqlschema.SubscriptionEventType)
func (*EventHandler) ShouldNotify ¶
func (h *EventHandler) ShouldNotify() bool
type Resolver ¶
func New ¶
func New(factory *resource.GenericServiceFactory) *Resolver
func (*Resolver) CreateOAuth2Client ¶
func (r *Resolver) CreateOAuth2Client(ctx context.Context, name string, namespace string, params v1alpha1.OAuth2ClientSpec) (*v1alpha1.OAuth2Client, error)
func (*Resolver) DeleteOAuth2Client ¶
func (*Resolver) ErrorField ¶
func (r *Resolver) ErrorField(ctx context.Context, obj *v1alpha1.OAuth2Client) (*v1alpha1.ReconciliationError, error)
func (*Resolver) OAuth2ClientQuery ¶
func (*Resolver) OAuth2ClientSubscription ¶
func (*Resolver) OAuth2ClientsQuery ¶
func (*Resolver) Service ¶
func (r *Resolver) Service() *resource.GenericService
func (*Resolver) UpdateOAuth2Client ¶
Click to show internal directories.
Click to hide internal directories.