Documentation ¶
Index ¶
- func HandleError(w http.ResponseWriter, r *http.Request, err error)
- func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
- func NotFound(w http.ResponseWriter, r *http.Request)
- type Handler
- func (h *Handler) DeleteApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetApiV1OrganizationsOrganizationGroups(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationOauth2Providers(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetOauth2V2Authorization(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetOauth2V2Jwks(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetOauth2V2Userinfo(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetOidcCallback(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetWellKnownOpenidConfiguration(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostApiV1Organizations(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostApiV1OrganizationsOrganizationGroups(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PostOauth2V2Login(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostOauth2V2Token(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PutApiV1OrganizationsOrganization(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PutApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, r *http.Request, err error)
HandleError is called when the router has trouble parsong paths.
func MethodNotAllowed ¶
func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
MethodNotAllowed is called from the router when a method is not found for a path.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(client client.Client, namespace string, authenticator *authorization.Authenticator, options *Options) (*Handler, error)
func (*Handler) DeleteApiV1OrganizationsOrganizationGroupsGroupid ¶ added in v0.1.3
func (h *Handler) DeleteApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, groupid generated.GroupidParameter)
func (*Handler) GetApiV1Organizations ¶ added in v0.1.3
func (h *Handler) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)
func (*Handler) GetApiV1OrganizationsOrganizationGroups ¶ added in v0.1.3
func (h *Handler) GetApiV1OrganizationsOrganizationGroups(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter)
func (*Handler) GetApiV1OrganizationsOrganizationGroupsGroupid ¶ added in v0.1.20
func (h *Handler) GetApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, groupid generated.GroupidParameter)
func (*Handler) GetApiV1OrganizationsOrganizationOauth2Providers ¶ added in v0.1.18
func (h *Handler) GetApiV1OrganizationsOrganizationOauth2Providers(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter)
func (*Handler) GetOauth2V2Authorization ¶
func (h *Handler) GetOauth2V2Authorization(w http.ResponseWriter, r *http.Request)
func (*Handler) GetOauth2V2Jwks ¶
func (h *Handler) GetOauth2V2Jwks(w http.ResponseWriter, r *http.Request)
func (*Handler) GetOauth2V2Userinfo ¶ added in v0.1.14
func (h *Handler) GetOauth2V2Userinfo(w http.ResponseWriter, r *http.Request)
func (*Handler) GetOidcCallback ¶
func (h *Handler) GetOidcCallback(w http.ResponseWriter, r *http.Request)
func (*Handler) GetWellKnownOpenidConfiguration ¶
func (h *Handler) GetWellKnownOpenidConfiguration(w http.ResponseWriter, r *http.Request)
func (*Handler) PostApiV1Organizations ¶ added in v0.1.13
func (h *Handler) PostApiV1Organizations(w http.ResponseWriter, r *http.Request)
func (*Handler) PostApiV1OrganizationsOrganizationGroups ¶ added in v0.1.3
func (h *Handler) PostApiV1OrganizationsOrganizationGroups(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter)
func (*Handler) PostOauth2V2Login ¶
func (h *Handler) PostOauth2V2Login(w http.ResponseWriter, r *http.Request)
func (*Handler) PostOauth2V2Token ¶
func (h *Handler) PostOauth2V2Token(w http.ResponseWriter, r *http.Request)
func (*Handler) PutApiV1OrganizationsOrganization ¶ added in v0.1.3
func (h *Handler) PutApiV1OrganizationsOrganization(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter)
func (*Handler) PutApiV1OrganizationsOrganizationGroupsGroupid ¶ added in v0.1.3
func (h *Handler) PutApiV1OrganizationsOrganizationGroupsGroupid(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, groupid generated.GroupidParameter)
type Options ¶
type Options struct { // Host is the hostname of the service, this will be used as the oauth2 // issuer etc. Host string // cacheMaxAge defines the max age for cachable items e.g. images and // flavors don't change all that often. CacheMaxAge time.Duration }
Options defines configurable handler options.
Click to show internal directories.
Click to hide internal directories.