Documentation
¶
Index ¶
- type AuthResult
- type AuthType
- type DockerAuth
- func (c *DockerAuth) AuthClient(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (r *DockerAuth) Authorize(ar *common.AuthRequest) ([]common.AuthResult, error)
- func (t *DockerAuth) CreateToken(ar *common.AuthRequest, ares []common.AuthResult) (string, error)
- func (t *DockerAuth) GetRealmUrl() string
- func (r *DockerAuth) ParseRequest(req *http.Request) (*common.AuthRequest, error)
- func (t *DockerAuth) ParseScope(scopeStr string) (*common.AuthScope, error)
- type JWTConfig
- type ProxyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResult ¶
type DockerAuth ¶
type DockerAuth struct {
ProxyConfig *ProxyConfig
Auth userauth.Auth
DockerPolicyAuth policycommon.DockerPolicyAuth
JWT *JWTConfig
CurrentServiceDomain string
AuthPath string
}
func (*DockerAuth) AuthClient ¶
func (c *DockerAuth) AuthClient(ctx context.Context, w http.ResponseWriter, r *http.Request)
AuthClient do request Auth from this method
func (*DockerAuth) Authorize ¶
func (r *DockerAuth) Authorize(ar *common.AuthRequest) ([]common.AuthResult, error)
func (*DockerAuth) CreateToken ¶
func (t *DockerAuth) CreateToken(ar *common.AuthRequest, ares []common.AuthResult) (string, error)
func (*DockerAuth) GetRealmUrl ¶
func (t *DockerAuth) GetRealmUrl() string
func (*DockerAuth) ParseRequest ¶
func (r *DockerAuth) ParseRequest(req *http.Request) (*common.AuthRequest, error)
func (*DockerAuth) ParseScope ¶
func (t *DockerAuth) ParseScope(scopeStr string) (*common.AuthScope, error)
type ProxyConfig ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
kubernetes/v1alpha1
Package v1alpha1 contains API Schema definitions for the helmops v1alpha1 API group +kubebuilder:object:generate=true +groupName=helmops.shijunlee.net
|
Package v1alpha1 contains API Schema definitions for the helmops v1alpha1 API group +kubebuilder:object:generate=true +groupName=helmops.shijunlee.net |
Click to show internal directories.
Click to hide internal directories.