Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionConfig ¶
type AdmissionConfig struct {
Modules []AdmissionModuleConfig `json:"modules"`
}
type AdmissionModuleConfig ¶
type Admiter ¶
type Admiter struct { }
func NewAdmiter ¶
func NewAdmiter() *Admiter
func (*Admiter) Admit ¶
func (a *Admiter) Admit(ctx context.Context, attr k8s.Attributes, o k8s.ObjectInterfaces) (err error)
func (*Admiter) Validate ¶
func (a *Admiter) Validate(ctx context.Context, attr k8s.Attributes, o k8s.ObjectInterfaces) (err error)
type AuthenticationConfig ¶
type AuthenticationConfig struct {
Modules []AuthenticationModuleConfig `json:"modules"`
}
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticatorWithConfig ¶
func NewAuthenticatorWithConfig(config *AuthenticationModuleConfig) (*Authenticator, error)
func (*Authenticator) AuthenticateToken ¶
type AuthorizationConfig ¶
type AuthorizationConfig struct {
Modules []AuthorizationModuleConfig `json:"modules"`
}
type AuthorizationModuleConfig ¶
type AuthorizationModuleConfig struct { File string `json:"file"` Settings interface{} }
type WASIAuthenticationRequest ¶
type WASIAuthenticationRequest struct { Request *authv1.TokenReview `json:"request,omitempty"` Settings interface{} `json:"settings,omitempty"` }
type WASIAuthenticationResponse ¶
type WASIAuthenticationResponse struct { Response *authv1.TokenReview `json:"response,omitempty"` Error *string `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.