Versions in this module Expand all Collapse all v3 v3.1.5 Jul 29, 2021 Changes in this version + func CanI(ctx context.Context, verb, resource, namespace, name string) (bool, error) + func DefaultClientForAuthorization(authorization string) (*rest.Config, *servertypes.Clients, error) + func GetClaims(ctx context.Context) *types.Claims + func GetEventSourceClient(ctx context.Context) eventsource.Interface + func GetKubeClient(ctx context.Context) kubernetes.Interface + func GetSensorClient(ctx context.Context) sensor.Interface + func GetWfClient(ctx context.Context) workflow.Interface + type ClientForAuthorization func(authorization string) (*rest.Config, *servertypes.Clients, error) + type ContextKey string + const ClaimsKey + const EventSourceKey + const KubeKey + const SensorKey + const WfKey + type Gatekeeper interface + Context func(ctx context.Context) (context.Context, error) + StreamServerInterceptor func() grpc.StreamServerInterceptor + UnaryServerInterceptor func() grpc.UnaryServerInterceptor + func NewGatekeeper(modes Modes, clients *servertypes.Clients, restConfig *rest.Config, ...) (Gatekeeper, error) + type Mode string + const Client + const SSO + const Server + type Modes map[Mode]bool + func (m Modes) Add(value string) error + func (m Modes) GetMode(authorisation string) (Mode, bool) Other modules containing this package github.com/kostas-theo/argo-workflows