Versions in this module Expand all Collapse all v2 v2.11.4 Oct 1, 2020 Changes in this version + func CanI(ctx context.Context, verb, resource, namespace, name string) (bool, error) + func GetClaimSet(ctx context.Context) *jws.ClaimSet + func GetKubeClient(ctx context.Context) kubernetes.Interface + func GetWfClient(ctx context.Context) versioned.Interface + type ContextKey string + const ClaimSetKey + const KubeKey + 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, wfClient versioned.Interface, kubeClient kubernetes.Interface, ...) (Gatekeeper, error) + type Mode string + const Client + const SSO + const Server + func GetMode(authorisation string) (Mode, error) + type Modes map[Mode]bool + func (m Modes) Add(value string) error Other modules containing this package github.com/alexec/argo