Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenReviewCreator ¶
type TokenReviewCreator struct {
// contains filtered or unexported fields
}
TokenReviewCreator fulfills the TokenReviewCreator interface that is expected to be typically fulfilled by k8s.io/client-go/kubernetes/typed/authentication/v1.TokenReviewInterface.
func New ¶
func New(basePath string) (*TokenReviewCreator, error)
func (*TokenReviewCreator) Create ¶
func (trc *TokenReviewCreator) Create( ctx context.Context, tr *authv1.TokenReview, _ metav1.CreateOptions, ) (*authv1.TokenReview, error)
type TokenReviewDB ¶
type TokenReviewDB struct {
// contains filtered or unexported fields
}
TokenReviewDB allows direct access to the diskv-based database used by the local TokenReviewCreator.
func NewDB ¶
func NewDB(basePath string) (*TokenReviewDB, error)
func (*TokenReviewDB) Get ¶
func (trc *TokenReviewDB) Get(token string, audiences []string) (*authv1.TokenReview, error)
Click to show internal directories.
Click to hide internal directories.