Documentation ¶
Overview ¶
Kubernetes client id reviewer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotAuthenticated = errors.New("not authenticated")
)
Functions ¶
This section is empty.
Types ¶
type TokenReviewCreator ¶
type TokenReviewCreator interface {
Create(context.Context, *authv1.TokenReview, metav1.CreateOptions) (*authv1.TokenReview, error)
}
TokenReviewCreator is a subset of k8s.io/client-go/kubernetes/typed/authentication/v1.TokenReviewInterface that allows for easier interface fulfillment such as by github.com/rstudio/k8s-http-auth/reviewer/local.TokenReviewCreator and github.com/rstudio/k8s-http-auth/reviewer/memory.TokenReviewCreator. In typical production usage, this interface is satisfied by (*k8s.io/client-go/kubernetes.Clientset).AuthenticationV1().TokenReviews().
Click to show internal directories.
Click to hide internal directories.