Documentation ¶
Index ¶
Constants ¶
View Source
const ( Client = "client" Server = "server" Hybrid = "hybrid" )
Variables ¶
This section is empty.
Functions ¶
func GetKubeClient ¶
func GetKubeClient(ctx context.Context) kubernetes.Interface
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(ctx context.Context) *Authorizer
type ContextKey ¶
type ContextKey string
const ( WfKey ContextKey = "versioned.Interface" KubeKey ContextKey = "kubernetes.Interface" )
type Gatekeeper ¶
type Gatekeeper struct {
// contains filtered or unexported fields
}
func NewGatekeeper ¶
func NewGatekeeper(authType string, wfClient versioned.Interface, kubeClient kubernetes.Interface, restConfig *rest.Config) Gatekeeper
func (*Gatekeeper) StreamServerInterceptor ¶
func (s *Gatekeeper) StreamServerInterceptor() grpc.StreamServerInterceptor
func (*Gatekeeper) UnaryServerInterceptor ¶
func (s *Gatekeeper) UnaryServerInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.