Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesHostFromEnv ¶
func GetKubernetesHostFromEnv() string
Types ¶
type SealosAuthenticate ¶
type SealosAuthenticate struct {
api.Authenticator
}
func NewSealosAuthn ¶
func NewSealosAuthn() SealosAuthenticate
func (SealosAuthenticate) Authenticate ¶
func (a SealosAuthenticate) Authenticate(user string, password api.PasswordString) (bool, api.Labels, kubernetes.Client, error)
func (SealosAuthenticate) Stop ¶
func (a SealosAuthenticate) Stop()
type SealosAuthorize ¶
type SealosAuthorize struct {
api.Authorizer
}
func NewSealosAuthz ¶
func NewSealosAuthz() SealosAuthorize
func (SealosAuthorize) Authorize ¶
func (a SealosAuthorize) Authorize(client kubernetes.Client, ai *api.AuthRequestInfo) ([]string, error)
func (SealosAuthorize) Stop ¶
func (a SealosAuthorize) Stop()
Click to show internal directories.
Click to hide internal directories.