Documentation ¶
Index ¶
Constants ¶
View Source
const (
TokenClaimVerification string = "TokenClaimVerification"
)
Variables ¶
This section is empty.
Functions ¶
func StartClaimVerifier ¶
func StartClaimVerifier(client kubernetes.Interface, namespace string, generator TokenGenerator, siteChecker SiteChecker) bool
Types ¶
type ClaimFactory ¶
type ClaimFactory struct {
// contains filtered or unexported fields
}
func NewClaimFactory ¶
func NewClaimFactory(clients kube.Clients, namespace string, siteContext SiteContext, ctx context.Context) *ClaimFactory
func (*ClaimFactory) CreateTokenClaim ¶
func (*ClaimFactory) RecreateTokenClaim ¶
func (m *ClaimFactory) RecreateTokenClaim(name string) (*corev1.Secret, error)
type ClaimOptions ¶
type ClaimVerifier ¶
type ClaimVerifier struct {
// contains filtered or unexported fields
}
func (*ClaimVerifier) ServeHTTP ¶
func (server *ClaimVerifier) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SiteChecker ¶
type SiteContext ¶
Click to show internal directories.
Click to hide internal directories.