oauth

package
v0.0.0-...-6f0f11f Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

type Resolver struct {
	*resource.Module
}

func New

func (*Resolver) CreateOAuth2Client

func (r *Resolver) CreateOAuth2Client(ctx context.Context, name string, namespace string, params v1alpha1.OAuth2ClientSpec) (*v1alpha1.OAuth2Client, error)

func (*Resolver) DeleteOAuth2Client

func (r *Resolver) DeleteOAuth2Client(ctx context.Context, name string, namespace string) (*v1alpha1.OAuth2Client, error)

func (*Resolver) ErrorField

func (*Resolver) OAuth2ClientQuery

func (r *Resolver) OAuth2ClientQuery(ctx context.Context, name, namespace string) (*v1alpha1.OAuth2Client, error)

func (*Resolver) OAuth2ClientSubscription

func (r *Resolver) OAuth2ClientSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.OAuth2ClientEvent, error)

func (*Resolver) OAuth2ClientsQuery

func (r *Resolver) OAuth2ClientsQuery(ctx context.Context, namespace string) ([]*v1alpha1.OAuth2Client, error)

func (*Resolver) Service

func (r *Resolver) Service() *resource.GenericService

func (*Resolver) UpdateOAuth2Client

func (r *Resolver) UpdateOAuth2Client(ctx context.Context, name string, namespace string, generation int64, params v1alpha1.OAuth2ClientSpec) (*v1alpha1.OAuth2Client, error)

type Service

type Service struct {
	*resource.Service
}

Jump to

Keyboard shortcuts

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