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) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1Oauth2providers(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDAcl(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDAvailableGroups(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDRoles(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) PostApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PostApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PostApiV1OrganizationsOrganizationIDProjects(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) PutApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PutApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) PutApiV1OrganizationsOrganizationIDProjectsProjectID(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) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid ¶ added in v0.2.6
func (h *Handler) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, groupID openapi.GroupidParameter)
func (*Handler) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID ¶ added in v0.2.6
func (h *Handler) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, providerID openapi.Oauth2ProvderIDParameter)
func (*Handler) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID ¶ added in v0.2.6
func (h *Handler) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, projectID openapi.ProjectIDParameter)
func (*Handler) GetApiV1Oauth2providers ¶ added in v0.2.5
func (h *Handler) GetApiV1Oauth2providers(w http.ResponseWriter, r *http.Request)
func (*Handler) GetApiV1Organizations ¶ added in v0.1.3
func (h *Handler) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)
func (*Handler) GetApiV1OrganizationsOrganizationID ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDAcl ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDAcl(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDAvailableGroups ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDAvailableGroups(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDGroups ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDGroupsGroupid ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, groupID openapi.GroupidParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDOauth2providers ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDProjects ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDProjectsProjectID ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, projectID openapi.ProjectIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDRoles ¶ added in v0.2.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDRoles(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
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) PostApiV1OrganizationsOrganizationIDGroups ¶ added in v0.2.6
func (h *Handler) PostApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) PostApiV1OrganizationsOrganizationIDOauth2providers ¶ added in v0.2.6
func (h *Handler) PostApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) PostApiV1OrganizationsOrganizationIDProjects ¶ added in v0.2.6
func (h *Handler) PostApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
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) PutApiV1OrganizationsOrganizationID ¶ added in v0.2.6
func (h *Handler) PutApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) PutApiV1OrganizationsOrganizationIDGroupsGroupid ¶ added in v0.2.6
func (h *Handler) PutApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, groupID openapi.GroupidParameter)
func (*Handler) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID ¶ added in v0.2.6
func (h *Handler) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, providerID openapi.Oauth2ProvderIDParameter)
func (*Handler) PutApiV1OrganizationsOrganizationIDProjectsProjectID ¶ added in v0.2.6
func (h *Handler) PutApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, projectID openapi.ProjectIDParameter)
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.