package webhook
import "k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/webhook"
Package webhook implements the authenticator.Token interface using HTTP webhooks.
Index ¶
Types ¶
type WebhookTokenAuthenticator ¶
type WebhookTokenAuthenticator struct { *webhook.GenericWebhook // contains filtered or unexported fields }
func New ¶
func New(kubeConfigFile string, ttl time.Duration) (*WebhookTokenAuthenticator, error)
New creates a new WebhookTokenAuthenticator from the provided kubeconfig file.
func (*WebhookTokenAuthenticator) AuthenticateToken ¶
AuthenticateToken implements the authenticator.Token interface.
Source Files ¶
webhook.go
- Version
- v1.5.0-alpha.0
- Published
- Sep 1, 2016
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 7 minutes ago –
Tools for package owners.