Documentation ¶
Index ¶
- func NewClusterRoleBindingEventHandler(channel chan<- *gqlschema.ClusterRoleBindingEvent, ...) resource.EventHandlerProvider
- func NewClusterRoleBindingService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
- func NewClusterRoleService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
- func NewRoleBindingEventHandler(channel chan<- *gqlschema.RoleBindingEvent, ...) resource.EventHandlerProvider
- func NewRoleBindingService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
- func NewRoleService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
- type ClusterRoleBindingEventHandler
- type ClusterRoleBindingList
- type ClusterRolesList
- type Resolver
- func (r *Resolver) ClusterRoleBindingService() *resource.GenericService
- func (r *Resolver) ClusterRoleBindingSubscription(ctx context.Context) (<-chan *gqlschema.ClusterRoleBindingEvent, error)
- func (r *Resolver) ClusterRoleBindingsQuery(ctx context.Context) ([]*v1.ClusterRoleBinding, error)
- func (r *Resolver) ClusterRoleQuery(ctx context.Context, name string) (*v1.ClusterRole, error)
- func (r *Resolver) ClusterRoleService() *resource.GenericService
- func (r *Resolver) ClusterRolesQuery(ctx context.Context) ([]*v1.ClusterRole, error)
- func (r *Resolver) CreateClusterRoleBinding(ctx context.Context, name string, params gqlschema.ClusterRoleBindingInput) (*v1.ClusterRoleBinding, error)
- func (r *Resolver) CreateRoleBinding(ctx context.Context, namespace string, name string, ...) (*v1.RoleBinding, error)
- func (r *Resolver) DeleteClusterRoleBinding(ctx context.Context, name string) (*v1.ClusterRoleBinding, error)
- func (r *Resolver) DeleteRoleBinding(ctx context.Context, namespace string, name string) (*v1.RoleBinding, error)
- func (r *Resolver) RoleBindingService() *resource.GenericService
- func (r *Resolver) RoleBindingSubscription(ctx context.Context, namespace string) (<-chan *gqlschema.RoleBindingEvent, error)
- func (r *Resolver) RoleBindingsQuery(ctx context.Context, namespace string) ([]*v1.RoleBinding, error)
- func (r *Resolver) RoleQuery(ctx context.Context, namespace string, name string) (*v1.Role, error)
- func (r *Resolver) RoleService() *resource.GenericService
- func (r *Resolver) RolesQuery(ctx context.Context, namespace string) ([]*v1.Role, error)
- type RoleBindingEventHandler
- type RoleBindingList
- type RolesList
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterRoleBindingEventHandler ¶
func NewClusterRoleBindingEventHandler(channel chan<- *gqlschema.ClusterRoleBindingEvent, filter func(binding v1.ClusterRoleBinding) bool) resource.EventHandlerProvider
func NewClusterRoleBindingService ¶
func NewClusterRoleBindingService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
func NewClusterRoleService ¶
func NewClusterRoleService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
func NewRoleBindingEventHandler ¶
func NewRoleBindingEventHandler(channel chan<- *gqlschema.RoleBindingEvent, filter func(binding v1.RoleBinding) bool) resource.EventHandlerProvider
func NewRoleBindingService ¶
func NewRoleBindingService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
func NewRoleService ¶
func NewRoleService(serviceFactory *resource.GenericServiceFactory) (*resource.GenericService, error)
Types ¶
type ClusterRoleBindingEventHandler ¶
type ClusterRoleBindingEventHandler struct {
// contains filtered or unexported fields
}
func (*ClusterRoleBindingEventHandler) K8sResource ¶
func (h *ClusterRoleBindingEventHandler) K8sResource() interface{}
func (*ClusterRoleBindingEventHandler) Notify ¶
func (h *ClusterRoleBindingEventHandler) Notify(eventType gqlschema.SubscriptionEventType)
func (*ClusterRoleBindingEventHandler) ShouldNotify ¶
func (h *ClusterRoleBindingEventHandler) ShouldNotify() bool
type ClusterRoleBindingList ¶
type ClusterRoleBindingList []*v1.ClusterRoleBinding
func (*ClusterRoleBindingList) Append ¶
func (l *ClusterRoleBindingList) Append() interface{}
type ClusterRolesList ¶
type ClusterRolesList []*v1.ClusterRole
func (*ClusterRolesList) Append ¶
func (l *ClusterRolesList) Append() interface{}
type Resolver ¶
func New ¶
func New(factory *resource.GenericServiceFactory) *Resolver
func (*Resolver) ClusterRoleBindingService ¶
func (r *Resolver) ClusterRoleBindingService() *resource.GenericService
func (*Resolver) ClusterRoleBindingSubscription ¶
func (*Resolver) ClusterRoleBindingsQuery ¶
func (*Resolver) ClusterRoleQuery ¶
func (*Resolver) ClusterRoleService ¶
func (r *Resolver) ClusterRoleService() *resource.GenericService
func (*Resolver) ClusterRolesQuery ¶
func (*Resolver) CreateClusterRoleBinding ¶
func (r *Resolver) CreateClusterRoleBinding(ctx context.Context, name string, params gqlschema.ClusterRoleBindingInput) (*v1.ClusterRoleBinding, error)
func (*Resolver) CreateRoleBinding ¶
func (r *Resolver) CreateRoleBinding(ctx context.Context, namespace string, name string, params gqlschema.RoleBindingInput) (*v1.RoleBinding, error)
func (*Resolver) DeleteClusterRoleBinding ¶
func (*Resolver) DeleteRoleBinding ¶
func (*Resolver) RoleBindingService ¶
func (r *Resolver) RoleBindingService() *resource.GenericService
func (*Resolver) RoleBindingSubscription ¶
func (*Resolver) RoleBindingsQuery ¶
func (*Resolver) RoleService ¶
func (r *Resolver) RoleService() *resource.GenericService
type RoleBindingEventHandler ¶
type RoleBindingEventHandler struct {
// contains filtered or unexported fields
}
func (*RoleBindingEventHandler) K8sResource ¶
func (h *RoleBindingEventHandler) K8sResource() interface{}
func (*RoleBindingEventHandler) Notify ¶
func (h *RoleBindingEventHandler) Notify(eventType gqlschema.SubscriptionEventType)
func (*RoleBindingEventHandler) ShouldNotify ¶
func (h *RoleBindingEventHandler) ShouldNotify() bool
type RoleBindingList ¶
type RoleBindingList []*v1.RoleBinding
func (*RoleBindingList) Append ¶
func (l *RoleBindingList) Append() interface{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.