resources

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: AGPL-3.0 Imports: 12 Imported by: 6

Documentation

Overview

Package resources provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Package resources provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AvailableIdentityProvider

type AvailableIdentityProvider struct {
	Id   string  `json:"id"`
	Name *string `json:"name,omitempty"`
}

AvailableIdentityProvider defines model for AvailableIdentityProvider.

type AvailableIdentityProviders

type AvailableIdentityProviders struct {
	Data []AvailableIdentityProvider `json:"data"`
}

AvailableIdentityProviders defines model for AvailableIdentityProviders.

type BadRequest

type BadRequest = Response

BadRequest defines model for BadRequest.

type Capabilities

type Capabilities struct {
	Data []Capability `json:"data"`
}

Capabilities defines model for Capabilities.

type Capability

type Capability struct {
	Endpoint string              `json:"endpoint"`
	Methods  []CapabilityMethods `json:"methods"`
}

Capability defines model for Capability.

type CapabilityMethods

type CapabilityMethods string

CapabilityMethods defines model for Capability.Methods.

const (
	DELETE CapabilityMethods = "DELETE"
	GET    CapabilityMethods = "GET"
	PATCH  CapabilityMethods = "PATCH"
	POST   CapabilityMethods = "POST"
	PUT    CapabilityMethods = "PUT"
)

Defines values for CapabilityMethods.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Default

type Default = Response

Default defines model for default.

type EntitlementSchema

type EntitlementSchema struct {
	Entitlement  string `json:"entitlement" validate:"required"`
	EntityType   string `json:"entity_type" validate:"required"`
	ReceiverType string `json:"receiver_type" validate:"required"`
}

EntitlementSchema defines model for EntitlementSchema.

type Entity

type Entity struct {
	Id   string `json:"id" validate:"required"`
	Name string `json:"name" validate:"required"`
	Type string `json:"type" validate:"required"`
}

Entity defines model for Entity.

type EntityEntitlement

type EntityEntitlement struct {
	Entitlement string `json:"entitlement" validate:"required"`
	EntityId    string `json:"entity_id" validate:"required"`
	EntityType  string `json:"entity_type" validate:"required"`
}

EntityEntitlement defines model for EntityEntitlement.

type EntityEntitlementItem

type EntityEntitlementItem struct {
	Entitlement EntityEntitlement `json:"entitlement"`
}

EntityEntitlementItem defines model for EntityEntitlementItem.

type FilterParam

type FilterParam = string

FilterParam defines model for FilterParam.

type GetAvailableIdentityProvidersParams

type GetAvailableIdentityProvidersParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetAvailableIdentityProvidersParams defines parameters for GetAvailableIdentityProviders.

type GetAvailableIdentityProvidersResponse

type GetAvailableIdentityProvidersResponse struct {
	Links   ResponseLinks               `json:"_links"`
	Meta    ResponseMeta                `json:"_meta"`
	Data    []AvailableIdentityProvider `json:"data"`
	Message string                      `json:"message"`
	Status  int                         `json:"status"`
}

GetAvailableIdentityProvidersResponse defines model for GetAvailableIdentityProvidersResponse.

type GetCapabilitiesResponse

type GetCapabilitiesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Capability  `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetCapabilitiesResponse defines model for GetCapabilitiesResponse.

type GetEntitlementsParams

type GetEntitlementsParams struct {
	// Filter A string to filter results by
	Filter *FilterParam `form:"filter,omitempty" json:"filter,omitempty"`
}

GetEntitlementsParams defines parameters for GetEntitlements.

type GetEntitlementsResponse

type GetEntitlementsResponse struct {
	Links   ResponseLinks       `json:"_links"`
	Meta    ResponseMeta        `json:"_meta"`
	Data    []EntitlementSchema `json:"data"`
	Message string              `json:"message"`
	Status  int                 `json:"status"`
}

GetEntitlementsResponse defines model for GetEntitlementsResponse.

type GetGroupEntitlementsResponse

type GetGroupEntitlementsResponse struct {
	Links   ResponseLinks       `json:"_links"`
	Meta    ResponseMeta        `json:"_meta"`
	Data    []EntityEntitlement `json:"data"`
	Message string              `json:"message"`
	Status  int                 `json:"status"`
}

GetGroupEntitlementsResponse defines model for GetGroupEntitlementsResponse.

type GetGroupIdentitiesResponse

type GetGroupIdentitiesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Identity    `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetGroupIdentitiesResponse defines model for GetGroupIdentitiesResponse.

type GetGroupRolesResponse

type GetGroupRolesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Role        `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetGroupRolesResponse defines model for GetGroupRolesResponse.

type GetGroupsItemEntitlementsParams

type GetGroupsItemEntitlementsParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetGroupsItemEntitlementsParams defines parameters for GetGroupsItemEntitlements.

type GetGroupsItemIdentitiesParams

type GetGroupsItemIdentitiesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetGroupsItemIdentitiesParams defines parameters for GetGroupsItemIdentities.

type GetGroupsItemRolesParams

type GetGroupsItemRolesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetGroupsItemRolesParams defines parameters for GetGroupsItemRoles.

type GetGroupsParams

type GetGroupsParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Filter A string to filter results by
	Filter *FilterParam `form:"filter,omitempty" json:"filter,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetGroupsParams defines parameters for GetGroups.

type GetGroupsResponse

type GetGroupsResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Group       `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetGroupsResponse defines model for GetGroupsResponse.

type GetIdentitiesItemEntitlementsParams

type GetIdentitiesItemEntitlementsParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetIdentitiesItemEntitlementsParams defines parameters for GetIdentitiesItemEntitlements.

type GetIdentitiesItemGroupsParams

type GetIdentitiesItemGroupsParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetIdentitiesItemGroupsParams defines parameters for GetIdentitiesItemGroups.

type GetIdentitiesItemRolesParams

type GetIdentitiesItemRolesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetIdentitiesItemRolesParams defines parameters for GetIdentitiesItemRoles.

type GetIdentitiesParams

type GetIdentitiesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Filter A string to filter results by
	Filter *FilterParam `form:"filter,omitempty" json:"filter,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetIdentitiesParams defines parameters for GetIdentities.

type GetIdentitiesResponse

type GetIdentitiesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Identity    `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetIdentitiesResponse defines model for GetIdentitiesResponse.

type GetIdentityEntitlementsResponse

type GetIdentityEntitlementsResponse struct {
	Links   ResponseLinks       `json:"_links"`
	Meta    ResponseMeta        `json:"_meta"`
	Data    []EntityEntitlement `json:"data"`
	Message string              `json:"message"`
	Status  int                 `json:"status"`
}

GetIdentityEntitlementsResponse defines model for GetIdentityEntitlementsResponse.

type GetIdentityGroupsResponse

type GetIdentityGroupsResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Group       `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetIdentityGroupsResponse defines model for GetIdentityGroupsResponse.

type GetIdentityProvidersParams

type GetIdentityProvidersParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetIdentityProvidersParams defines parameters for GetIdentityProviders.

type GetIdentityProvidersResponse

type GetIdentityProvidersResponse struct {
	Links   ResponseLinks      `json:"_links"`
	Meta    ResponseMeta       `json:"_meta"`
	Data    []IdentityProvider `json:"data"`
	Message string             `json:"message"`
	Status  int                `json:"status"`
}

GetIdentityProvidersResponse defines model for GetIdentityProvidersResponse.

type GetIdentityRolesResponse

type GetIdentityRolesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Role        `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetIdentityRolesResponse defines model for GetIdentityRolesResponse.

type GetResourcesParams

type GetResourcesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken  *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
	EntityType *string              `form:"entityType,omitempty" json:"entityType,omitempty"`
	EntityName *string              `form:"entityName,omitempty" json:"entityName,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetResourcesParams defines parameters for GetResources.

type GetResourcesResponse

type GetResourcesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Resource    `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetResourcesResponse defines model for GetResourcesResponse.

type GetRoleEntitlementsResponse

type GetRoleEntitlementsResponse struct {
	Links   ResponseLinks       `json:"_links"`
	Meta    ResponseMeta        `json:"_meta"`
	Data    []EntityEntitlement `json:"data"`
	Message string              `json:"message"`
	Status  int                 `json:"status"`
}

GetRoleEntitlementsResponse defines model for GetRoleEntitlementsResponse.

type GetRolesItemEntitlementsParams

type GetRolesItemEntitlementsParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetRolesItemEntitlementsParams defines parameters for GetRolesItemEntitlements.

type GetRolesParams

type GetRolesParams struct {
	// Size The number of records to return per response
	Size *PaginationSize `form:"size,omitempty" json:"size,omitempty"`

	// Page The record offset to return results from
	Page *PaginationPage `form:"page,omitempty" json:"page,omitempty"`

	// NextToken The continuation token to retrieve the next set of results
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Filter A string to filter results by
	Filter *FilterParam `form:"filter,omitempty" json:"filter,omitempty"`

	// NextPageToken The continuation token to retrieve the next set of results
	NextPageToken *PaginationNextTokenHeader `json:"Next-Page-Token,omitempty"`
}

GetRolesParams defines parameters for GetRoles.

type GetRolesResponse

type GetRolesResponse struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Data    []Role        `json:"data"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

GetRolesResponse defines model for GetRolesResponse.

type Group

type Group struct {
	Id   *string `json:"id,omitempty"`
	Name string  `json:"name" validate:"required"`
}

Group defines model for Group.

type GroupEntitlementsPatchItem

type GroupEntitlementsPatchItem struct {
	Entitlement EntityEntitlement            `json:"entitlement"`
	Op          GroupEntitlementsPatchItemOp `json:"op" validate:"required,oneof=add remove"`
}

GroupEntitlementsPatchItem defines model for GroupEntitlementsPatchItem.

type GroupEntitlementsPatchItemOp

type GroupEntitlementsPatchItemOp string

GroupEntitlementsPatchItemOp defines model for GroupEntitlementsPatchItem.Op.

const (
	GroupEntitlementsPatchItemOpAdd    GroupEntitlementsPatchItemOp = "add"
	GroupEntitlementsPatchItemOpRemove GroupEntitlementsPatchItemOp = "remove"
)

Defines values for GroupEntitlementsPatchItemOp.

type GroupEntitlementsPatchRequestBody

type GroupEntitlementsPatchRequestBody struct {
	Patches []GroupEntitlementsPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

GroupEntitlementsPatchRequestBody defines model for GroupEntitlementsPatchRequestBody.

type GroupIdentitiesPatchItem

type GroupIdentitiesPatchItem struct {
	Identity string                     `json:"identity" validate:"required"`
	Op       GroupIdentitiesPatchItemOp `json:"op" validate:"required,oneof=add remove"`
}

GroupIdentitiesPatchItem defines model for GroupIdentitiesPatchItem.

type GroupIdentitiesPatchItemOp

type GroupIdentitiesPatchItemOp string

GroupIdentitiesPatchItemOp defines model for GroupIdentitiesPatchItem.Op.

const (
	GroupIdentitiesPatchItemOpAdd    GroupIdentitiesPatchItemOp = "add"
	GroupIdentitiesPatchItemOpRemove GroupIdentitiesPatchItemOp = "remove"
)

Defines values for GroupIdentitiesPatchItemOp.

type GroupIdentitiesPatchRequestBody

type GroupIdentitiesPatchRequestBody struct {
	Patches []GroupIdentitiesPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

GroupIdentitiesPatchRequestBody defines model for GroupIdentitiesPatchRequestBody.

type GroupRolesPatchItem

type GroupRolesPatchItem struct {
	Op   GroupRolesPatchItemOp `json:"op" validate:"required,oneof=add remove"`
	Role string                `json:"role" validate:"required"`
}

GroupRolesPatchItem defines model for GroupRolesPatchItem.

type GroupRolesPatchItemOp

type GroupRolesPatchItemOp string

GroupRolesPatchItemOp defines model for GroupRolesPatchItem.Op.

const (
	GroupRolesPatchItemOpAdd    GroupRolesPatchItemOp = "add"
	GroupRolesPatchItemOpRemove GroupRolesPatchItemOp = "remove"
)

Defines values for GroupRolesPatchItemOp.

type GroupRolesPatchRequestBody

type GroupRolesPatchRequestBody struct {
	Patches []GroupRolesPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

GroupRolesPatchRequestBody defines model for GroupRolesPatchRequestBody.

type Groups

type Groups struct {
	Data []Group `json:"data"`
}

Groups defines model for Groups.

type Identities

type Identities struct {
	Data []Identity `json:"data"`
}

Identities defines model for Identities.

type Identity

type Identity struct {
	AddedBy     string  `json:"addedBy" validate:"required"`
	Certificate *string `json:"certificate,omitempty"`
	Email       string  `json:"email" validate:"required"`
	FirstName   *string `json:"firstName,omitempty"`
	Groups      *int    `json:"groups,omitempty"`
	Id          *string `json:"id,omitempty"`
	Joined      *string `json:"joined,omitempty"`
	LastLogin   *string `json:"lastLogin,omitempty"`
	LastName    *string `json:"lastName,omitempty"`
	Permissions *int    `json:"permissions,omitempty"`
	Roles       *int    `json:"roles,omitempty"`
	Source      string  `json:"source" validate:"required"`
}

Identity defines model for Identity.

type IdentityEntitlementsPatchItem

type IdentityEntitlementsPatchItem struct {
	Entitlement EntityEntitlement               `json:"entitlement"`
	Op          IdentityEntitlementsPatchItemOp `json:"op" validate:"required,oneof=add remove"`
}

IdentityEntitlementsPatchItem defines model for IdentityEntitlementsPatchItem.

type IdentityEntitlementsPatchItemOp

type IdentityEntitlementsPatchItemOp string

IdentityEntitlementsPatchItemOp defines model for IdentityEntitlementsPatchItem.Op.

const (
	IdentityEntitlementsPatchItemOpAdd    IdentityEntitlementsPatchItemOp = "add"
	IdentityEntitlementsPatchItemOpRemove IdentityEntitlementsPatchItemOp = "remove"
)

Defines values for IdentityEntitlementsPatchItemOp.

type IdentityEntitlementsPatchRequestBody

type IdentityEntitlementsPatchRequestBody struct {
	Patches []IdentityEntitlementsPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

IdentityEntitlementsPatchRequestBody defines model for IdentityEntitlementsPatchRequestBody.

type IdentityGroupsPatchItem

type IdentityGroupsPatchItem struct {
	Group string                    `json:"group" validate:"required"`
	Op    IdentityGroupsPatchItemOp `json:"op" validate:"required,oneof=add remove"`
}

IdentityGroupsPatchItem defines model for IdentityGroupsPatchItem.

type IdentityGroupsPatchItemOp

type IdentityGroupsPatchItemOp string

IdentityGroupsPatchItemOp defines model for IdentityGroupsPatchItem.Op.

const (
	IdentityGroupsPatchItemOpAdd    IdentityGroupsPatchItemOp = "add"
	IdentityGroupsPatchItemOpRemove IdentityGroupsPatchItemOp = "remove"
)

Defines values for IdentityGroupsPatchItemOp.

type IdentityGroupsPatchRequestBody

type IdentityGroupsPatchRequestBody struct {
	Patches []IdentityGroupsPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

IdentityGroupsPatchRequestBody defines model for IdentityGroupsPatchRequestBody.

type IdentityProvider

type IdentityProvider struct {
	AcceptsPromptNone   *bool                     `json:"acceptsPromptNone,omitempty"`
	AccountLinkingOnly  *bool                     `json:"accountLinkingOnly,omitempty"`
	ClientID            *string                   `json:"clientID,omitempty"`
	ClientSecret        *string                   `json:"clientSecret,omitempty"`
	DisableIdentityInfo *bool                     `json:"disableIdentityInfo,omitempty"`
	Enabled             *bool                     `json:"enabled,omitempty"`
	Id                  *string                   `json:"id,omitempty"`
	IdentityCount       *int                      `json:"identityCount,omitempty"`
	Name                *string                   `json:"name,omitempty"`
	RedirectUrl         *string                   `json:"redirectUrl,omitempty"`
	StoreTokens         *bool                     `json:"storeTokens,omitempty"`
	StoreTokensReadable *bool                     `json:"storeTokensReadable,omitempty"`
	SyncMode            *IdentityProviderSyncMode `json:"syncMode,omitempty" validate:"omitempty,oneof=import"`
	TrustEmail          *bool                     `json:"trustEmail,omitempty"`
}

IdentityProvider defines model for IdentityProvider.

type IdentityProviderSyncMode

type IdentityProviderSyncMode string

IdentityProviderSyncMode defines model for IdentityProvider.SyncMode.

const (
	Import IdentityProviderSyncMode = "import"
)

Defines values for IdentityProviderSyncMode.

type IdentityProviders

type IdentityProviders struct {
	Data []IdentityProvider `json:"data"`
}

IdentityProviders defines model for IdentityProviders.

type IdentityRolesPatchItem

type IdentityRolesPatchItem struct {
	Op   IdentityRolesPatchItemOp `json:"op" validate:"required,oneof=add remove"`
	Role string                   `json:"role" validate:"required"`
}

IdentityRolesPatchItem defines model for IdentityRolesPatchItem.

type IdentityRolesPatchItemOp

type IdentityRolesPatchItemOp string

IdentityRolesPatchItemOp defines model for IdentityRolesPatchItem.Op.

const (
	IdentityRolesPatchItemOpAdd    IdentityRolesPatchItemOp = "add"
	IdentityRolesPatchItemOpRemove IdentityRolesPatchItemOp = "remove"
)

Defines values for IdentityRolesPatchItemOp.

type IdentityRolesPatchRequestBody

type IdentityRolesPatchRequestBody struct {
	Patches []IdentityRolesPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

IdentityRolesPatchRequestBody defines model for IdentityRolesPatchRequestBody.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Next

type Next struct {
	Page      *int    `json:"page,omitempty"`
	PageToken *string `json:"pageToken,omitempty"`
}

Next contains data used to retrieve the next available set of results

type NotFound

type NotFound = Response

NotFound defines model for NotFound.

type PaginatedResponse

type PaginatedResponse[T any] struct {
	Meta ResponseMeta
	Next Next
	Data []T
}

PaginatedResponse contains info about a page of results and possibly the next page to retrieve

type PaginationNextToken

type PaginationNextToken = string

PaginationNextToken defines model for PaginationNextToken.

type PaginationNextTokenHeader

type PaginationNextTokenHeader = string

PaginationNextTokenHeader defines model for PaginationNextTokenHeader.

type PaginationPage

type PaginationPage = int

PaginationPage defines model for PaginationPage.

type PaginationSize

type PaginationSize = int

PaginationSize defines model for PaginationSize.

type PatchGroupsItemEntitlementsJSONRequestBody

type PatchGroupsItemEntitlementsJSONRequestBody = GroupEntitlementsPatchRequestBody

PatchGroupsItemEntitlementsJSONRequestBody defines body for PatchGroupsItemEntitlements for application/json ContentType.

type PatchGroupsItemIdentitiesJSONRequestBody

type PatchGroupsItemIdentitiesJSONRequestBody = GroupIdentitiesPatchRequestBody

PatchGroupsItemIdentitiesJSONRequestBody defines body for PatchGroupsItemIdentities for application/json ContentType.

type PatchGroupsItemRolesJSONRequestBody

type PatchGroupsItemRolesJSONRequestBody = GroupRolesPatchRequestBody

PatchGroupsItemRolesJSONRequestBody defines body for PatchGroupsItemRoles for application/json ContentType.

type PatchIdentitiesItemEntitlementsJSONRequestBody

type PatchIdentitiesItemEntitlementsJSONRequestBody = IdentityEntitlementsPatchRequestBody

PatchIdentitiesItemEntitlementsJSONRequestBody defines body for PatchIdentitiesItemEntitlements for application/json ContentType.

type PatchIdentitiesItemGroupsJSONRequestBody

type PatchIdentitiesItemGroupsJSONRequestBody = IdentityGroupsPatchRequestBody

PatchIdentitiesItemGroupsJSONRequestBody defines body for PatchIdentitiesItemGroups for application/json ContentType.

type PatchIdentitiesItemRolesJSONRequestBody

type PatchIdentitiesItemRolesJSONRequestBody = IdentityRolesPatchRequestBody

PatchIdentitiesItemRolesJSONRequestBody defines body for PatchIdentitiesItemRoles for application/json ContentType.

type PatchRolesItemEntitlementsJSONRequestBody

type PatchRolesItemEntitlementsJSONRequestBody = RoleEntitlementsPatchRequestBody

PatchRolesItemEntitlementsJSONRequestBody defines body for PatchRolesItemEntitlements for application/json ContentType.

type PostGroupsJSONRequestBody

type PostGroupsJSONRequestBody = Group

PostGroupsJSONRequestBody defines body for PostGroups for application/json ContentType.

type PostIdentitiesJSONRequestBody

type PostIdentitiesJSONRequestBody = Identity

PostIdentitiesJSONRequestBody defines body for PostIdentities for application/json ContentType.

type PostIdentityProvidersJSONRequestBody

type PostIdentityProvidersJSONRequestBody = IdentityProvider

PostIdentityProvidersJSONRequestBody defines body for PostIdentityProviders for application/json ContentType.

type PostRolesJSONRequestBody

type PostRolesJSONRequestBody = Role

PostRolesJSONRequestBody defines body for PostRoles for application/json ContentType.

type PutGroupsItemJSONRequestBody

type PutGroupsItemJSONRequestBody = Group

PutGroupsItemJSONRequestBody defines body for PutGroupsItem for application/json ContentType.

type PutIdentitiesItemJSONRequestBody

type PutIdentitiesItemJSONRequestBody = Identity

PutIdentitiesItemJSONRequestBody defines body for PutIdentitiesItem for application/json ContentType.

type PutIdentityProvidersItemJSONRequestBody

type PutIdentityProvidersItemJSONRequestBody = IdentityProvider

PutIdentityProvidersItemJSONRequestBody defines body for PutIdentityProvidersItem for application/json ContentType.

type PutRolesItemJSONRequestBody

type PutRolesItemJSONRequestBody = Role

PutRolesItemJSONRequestBody defines body for PutRolesItem for application/json ContentType.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type Resource

type Resource struct {
	Entity Entity  `json:"entity"`
	Parent *Entity `json:"parent,omitempty"`
}

Resource defines model for Resource.

type Resources

type Resources struct {
	Data []Resource `json:"data"`
}

Resources defines model for Resources.

type Response

type Response struct {
	Links   ResponseLinks `json:"_links"`
	Meta    ResponseMeta  `json:"_meta"`
	Message string        `json:"message"`
	Status  int           `json:"status"`
}

Response defines model for Response.

type ResponseLinks struct {
	Next ResponseLinksNext `json:"next"`
}

ResponseLinks defines model for ResponseLinks.

func NewResponseLinks[T any](u *url.URL, p *PaginatedResponse[T]) ResponseLinks

NewResponseLinks returns a resources.ResponseLinks object with the href to retreive the next set of results, if any

type ResponseLinksNext

type ResponseLinksNext struct {
	Href string `json:"href"`
}

ResponseLinksNext defines model for ResponseLinksNext.

type ResponseMeta

type ResponseMeta struct {
	Page      *int    `json:"page,omitempty"`
	PageToken *string `json:"pageToken,omitempty"`
	Size      int     `json:"size"`
	Total     *int    `json:"total,omitempty"`
}

ResponseMeta defines model for ResponseMeta.

type Role

type Role struct {
	Entitlements *[]RoleEntitlement `json:"entitlements,omitempty" validate:"omitempty,dive"`
	Id           *string            `json:"id,omitempty"`
	Name         string             `json:"name" validate:"required"`
}

Role defines model for Role.

type RoleEntitlement

type RoleEntitlement struct {
	Entitlement *string `json:"entitlement,omitempty"`
	Entity      *Entity `json:"entity,omitempty"`
	Resource    *string `json:"resource,omitempty"`
}

RoleEntitlement defines model for RoleEntitlement.

type RoleEntitlementsPatchItem

type RoleEntitlementsPatchItem struct {
	Entitlement EntityEntitlement           `json:"entitlement"`
	Op          RoleEntitlementsPatchItemOp `json:"op" validate:"required,oneof=add remove"`
}

RoleEntitlementsPatchItem defines model for RoleEntitlementsPatchItem.

type RoleEntitlementsPatchItemOp

type RoleEntitlementsPatchItemOp string

RoleEntitlementsPatchItemOp defines model for RoleEntitlementsPatchItem.Op.

const (
	Add    RoleEntitlementsPatchItemOp = "add"
	Remove RoleEntitlementsPatchItemOp = "remove"
)

Defines values for RoleEntitlementsPatchItemOp.

type RoleEntitlementsPatchRequestBody

type RoleEntitlementsPatchRequestBody struct {
	Patches []RoleEntitlementsPatchItem `json:"patches" validate:"required,gt=0,dive"`
}

RoleEntitlementsPatchRequestBody defines model for RoleEntitlementsPatchRequestBody.

type Roles

type Roles struct {
	Data []Role `json:"data"`
}

Roles defines model for Roles.

type ServerInterface

type ServerInterface interface {
	// List configured authentication providers.
	// (GET /authentication)
	GetIdentityProviders(w http.ResponseWriter, r *http.Request, params GetIdentityProvidersParams)
	// Configure a new authentication provider.
	// (POST /authentication)
	PostIdentityProviders(w http.ResponseWriter, r *http.Request)
	// Returns the list of supported identity providers.
	// (GET /authentication/providers)
	GetAvailableIdentityProviders(w http.ResponseWriter, r *http.Request, params GetAvailableIdentityProvidersParams)
	// Remove an authentication provider configuration.
	// (DELETE /authentication/{id})
	DeleteIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)
	// Get a single authentication provider.
	// (GET /authentication/{id})
	GetIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)
	// Update an authentication provider configuration.
	// (PUT /authentication/{id})
	PutIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)
	// Returns the list of endpoints implemented by this API.
	// (GET /capabilities)
	GetCapabilities(w http.ResponseWriter, r *http.Request)
	// Get the list of entitlements in JSON format.
	// (GET /entitlements)
	GetEntitlements(w http.ResponseWriter, r *http.Request, params GetEntitlementsParams)
	// Get the list of entitlements as raw text.
	// (GET /entitlements/raw)
	GetRawEntitlements(w http.ResponseWriter, r *http.Request)
	// Get all groups.
	// (GET /groups)
	GetGroups(w http.ResponseWriter, r *http.Request, params GetGroupsParams)
	// Create a new group.
	// (POST /groups)
	PostGroups(w http.ResponseWriter, r *http.Request)
	// Remove a group.
	// (DELETE /groups/{id})
	DeleteGroupsItem(w http.ResponseWriter, r *http.Request, id string)
	// Get a single group.
	// (GET /groups/{id})
	GetGroupsItem(w http.ResponseWriter, r *http.Request, id string)
	// Update a group.
	// (PUT /groups/{id})
	PutGroupsItem(w http.ResponseWriter, r *http.Request, id string)
	// List direct entitlements the group has.
	// (GET /groups/{id}/entitlements)
	GetGroupsItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemEntitlementsParams)
	// Add or remove a direct entitlements to/from a group.
	// (PATCH /groups/{id}/entitlements)
	PatchGroupsItemEntitlements(w http.ResponseWriter, r *http.Request, id string)
	// Get the identities of a group.
	// (GET /groups/{id}/identities)
	GetGroupsItemIdentities(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemIdentitiesParams)
	// Add or remove identities to/from a group.
	// (PATCH /groups/{id}/identities)
	PatchGroupsItemIdentities(w http.ResponseWriter, r *http.Request, id string)
	// Get the roles of a group.
	// (GET /groups/{id}/roles)
	GetGroupsItemRoles(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemRolesParams)
	// Add or remove a role to/from the group.
	// (PATCH /groups/{id}/roles)
	PatchGroupsItemRoles(w http.ResponseWriter, r *http.Request, id string)
	// Get list of identities.
	// (GET /identities)
	GetIdentities(w http.ResponseWriter, r *http.Request, params GetIdentitiesParams)
	// Add an identity.
	// (POST /identities)
	PostIdentities(w http.ResponseWriter, r *http.Request)
	// Remove an identity.
	// (DELETE /identities/{id})
	DeleteIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)
	// Get a single identity.
	// (GET /identities/{id})
	GetIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)
	// Update an identity.
	// (PUT /identities/{id})
	PutIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)
	// List entitlements the identity has.
	// (GET /identities/{id}/entitlements)
	GetIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemEntitlementsParams)
	// Add or remove entitlement to/from an identity.
	// (PATCH /identities/{id}/entitlements)
	PatchIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request, id string)
	// List groups the identity is a member of.
	// (GET /identities/{id}/groups)
	GetIdentitiesItemGroups(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemGroupsParams)
	// Add or remove the identity to/from groups.
	// (PATCH /identities/{id}/groups)
	PatchIdentitiesItemGroups(w http.ResponseWriter, r *http.Request, id string)
	// List roles assigned to the identity.
	// (GET /identities/{id}/roles)
	GetIdentitiesItemRoles(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemRolesParams)
	// Add or remove the identity to/from roles.
	// (PATCH /identities/{id}/roles)
	PatchIdentitiesItemRoles(w http.ResponseWriter, r *http.Request, id string)
	// Get the list of available resources.
	// (GET /resources)
	GetResources(w http.ResponseWriter, r *http.Request, params GetResourcesParams)
	// Get the list of roles.
	// (GET /roles)
	GetRoles(w http.ResponseWriter, r *http.Request, params GetRolesParams)
	// Create a new role.
	// (POST /roles)
	PostRoles(w http.ResponseWriter, r *http.Request)
	// Delete a role.
	// (DELETE /roles/{id})
	DeleteRolesItem(w http.ResponseWriter, r *http.Request, id string)
	// Get a single role.
	// (GET /roles/{id})
	GetRolesItem(w http.ResponseWriter, r *http.Request, id string)
	// Update a role.
	// (PUT /roles/{id})
	PutRolesItem(w http.ResponseWriter, r *http.Request, id string)
	// Get the entitlements of a role.
	// (GET /roles/{id}/entitlements)
	GetRolesItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetRolesItemEntitlementsParams)
	// Add or remove a direct entitlements to/from a role.
	// (PATCH /roles/{id}/entitlements)
	PatchRolesItemEntitlements(w http.ResponseWriter, r *http.Request, id string)
	// Returns the OpenAPI spec as a JSON file.
	// (GET /swagger.json)
	SwaggerJson(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteGroupsItem

func (siw *ServerInterfaceWrapper) DeleteGroupsItem(w http.ResponseWriter, r *http.Request)

DeleteGroupsItem operation middleware

func (*ServerInterfaceWrapper) DeleteIdentitiesItem

func (siw *ServerInterfaceWrapper) DeleteIdentitiesItem(w http.ResponseWriter, r *http.Request)

DeleteIdentitiesItem operation middleware

func (*ServerInterfaceWrapper) DeleteIdentityProvidersItem

func (siw *ServerInterfaceWrapper) DeleteIdentityProvidersItem(w http.ResponseWriter, r *http.Request)

DeleteIdentityProvidersItem operation middleware

func (*ServerInterfaceWrapper) DeleteRolesItem

func (siw *ServerInterfaceWrapper) DeleteRolesItem(w http.ResponseWriter, r *http.Request)

DeleteRolesItem operation middleware

func (*ServerInterfaceWrapper) GetAvailableIdentityProviders

func (siw *ServerInterfaceWrapper) GetAvailableIdentityProviders(w http.ResponseWriter, r *http.Request)

GetAvailableIdentityProviders operation middleware

func (*ServerInterfaceWrapper) GetCapabilities

func (siw *ServerInterfaceWrapper) GetCapabilities(w http.ResponseWriter, r *http.Request)

GetCapabilities operation middleware

func (*ServerInterfaceWrapper) GetEntitlements

func (siw *ServerInterfaceWrapper) GetEntitlements(w http.ResponseWriter, r *http.Request)

GetEntitlements operation middleware

func (*ServerInterfaceWrapper) GetGroups

func (siw *ServerInterfaceWrapper) GetGroups(w http.ResponseWriter, r *http.Request)

GetGroups operation middleware

func (*ServerInterfaceWrapper) GetGroupsItem

func (siw *ServerInterfaceWrapper) GetGroupsItem(w http.ResponseWriter, r *http.Request)

GetGroupsItem operation middleware

func (*ServerInterfaceWrapper) GetGroupsItemEntitlements

func (siw *ServerInterfaceWrapper) GetGroupsItemEntitlements(w http.ResponseWriter, r *http.Request)

GetGroupsItemEntitlements operation middleware

func (*ServerInterfaceWrapper) GetGroupsItemIdentities

func (siw *ServerInterfaceWrapper) GetGroupsItemIdentities(w http.ResponseWriter, r *http.Request)

GetGroupsItemIdentities operation middleware

func (*ServerInterfaceWrapper) GetGroupsItemRoles

func (siw *ServerInterfaceWrapper) GetGroupsItemRoles(w http.ResponseWriter, r *http.Request)

GetGroupsItemRoles operation middleware

func (*ServerInterfaceWrapper) GetIdentities

func (siw *ServerInterfaceWrapper) GetIdentities(w http.ResponseWriter, r *http.Request)

GetIdentities operation middleware

func (*ServerInterfaceWrapper) GetIdentitiesItem

func (siw *ServerInterfaceWrapper) GetIdentitiesItem(w http.ResponseWriter, r *http.Request)

GetIdentitiesItem operation middleware

func (*ServerInterfaceWrapper) GetIdentitiesItemEntitlements

func (siw *ServerInterfaceWrapper) GetIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request)

GetIdentitiesItemEntitlements operation middleware

func (*ServerInterfaceWrapper) GetIdentitiesItemGroups

func (siw *ServerInterfaceWrapper) GetIdentitiesItemGroups(w http.ResponseWriter, r *http.Request)

GetIdentitiesItemGroups operation middleware

func (*ServerInterfaceWrapper) GetIdentitiesItemRoles

func (siw *ServerInterfaceWrapper) GetIdentitiesItemRoles(w http.ResponseWriter, r *http.Request)

GetIdentitiesItemRoles operation middleware

func (*ServerInterfaceWrapper) GetIdentityProviders

func (siw *ServerInterfaceWrapper) GetIdentityProviders(w http.ResponseWriter, r *http.Request)

GetIdentityProviders operation middleware

func (*ServerInterfaceWrapper) GetIdentityProvidersItem

func (siw *ServerInterfaceWrapper) GetIdentityProvidersItem(w http.ResponseWriter, r *http.Request)

GetIdentityProvidersItem operation middleware

func (*ServerInterfaceWrapper) GetRawEntitlements

func (siw *ServerInterfaceWrapper) GetRawEntitlements(w http.ResponseWriter, r *http.Request)

GetRawEntitlements operation middleware

func (*ServerInterfaceWrapper) GetResources

func (siw *ServerInterfaceWrapper) GetResources(w http.ResponseWriter, r *http.Request)

GetResources operation middleware

func (*ServerInterfaceWrapper) GetRoles

func (siw *ServerInterfaceWrapper) GetRoles(w http.ResponseWriter, r *http.Request)

GetRoles operation middleware

func (*ServerInterfaceWrapper) GetRolesItem

func (siw *ServerInterfaceWrapper) GetRolesItem(w http.ResponseWriter, r *http.Request)

GetRolesItem operation middleware

func (*ServerInterfaceWrapper) GetRolesItemEntitlements

func (siw *ServerInterfaceWrapper) GetRolesItemEntitlements(w http.ResponseWriter, r *http.Request)

GetRolesItemEntitlements operation middleware

func (*ServerInterfaceWrapper) PatchGroupsItemEntitlements

func (siw *ServerInterfaceWrapper) PatchGroupsItemEntitlements(w http.ResponseWriter, r *http.Request)

PatchGroupsItemEntitlements operation middleware

func (*ServerInterfaceWrapper) PatchGroupsItemIdentities

func (siw *ServerInterfaceWrapper) PatchGroupsItemIdentities(w http.ResponseWriter, r *http.Request)

PatchGroupsItemIdentities operation middleware

func (*ServerInterfaceWrapper) PatchGroupsItemRoles

func (siw *ServerInterfaceWrapper) PatchGroupsItemRoles(w http.ResponseWriter, r *http.Request)

PatchGroupsItemRoles operation middleware

func (*ServerInterfaceWrapper) PatchIdentitiesItemEntitlements

func (siw *ServerInterfaceWrapper) PatchIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request)

PatchIdentitiesItemEntitlements operation middleware

func (*ServerInterfaceWrapper) PatchIdentitiesItemGroups

func (siw *ServerInterfaceWrapper) PatchIdentitiesItemGroups(w http.ResponseWriter, r *http.Request)

PatchIdentitiesItemGroups operation middleware

func (*ServerInterfaceWrapper) PatchIdentitiesItemRoles

func (siw *ServerInterfaceWrapper) PatchIdentitiesItemRoles(w http.ResponseWriter, r *http.Request)

PatchIdentitiesItemRoles operation middleware

func (*ServerInterfaceWrapper) PatchRolesItemEntitlements

func (siw *ServerInterfaceWrapper) PatchRolesItemEntitlements(w http.ResponseWriter, r *http.Request)

PatchRolesItemEntitlements operation middleware

func (*ServerInterfaceWrapper) PostGroups

func (siw *ServerInterfaceWrapper) PostGroups(w http.ResponseWriter, r *http.Request)

PostGroups operation middleware

func (*ServerInterfaceWrapper) PostIdentities

func (siw *ServerInterfaceWrapper) PostIdentities(w http.ResponseWriter, r *http.Request)

PostIdentities operation middleware

func (*ServerInterfaceWrapper) PostIdentityProviders

func (siw *ServerInterfaceWrapper) PostIdentityProviders(w http.ResponseWriter, r *http.Request)

PostIdentityProviders operation middleware

func (*ServerInterfaceWrapper) PostRoles

func (siw *ServerInterfaceWrapper) PostRoles(w http.ResponseWriter, r *http.Request)

PostRoles operation middleware

func (*ServerInterfaceWrapper) PutGroupsItem

func (siw *ServerInterfaceWrapper) PutGroupsItem(w http.ResponseWriter, r *http.Request)

PutGroupsItem operation middleware

func (*ServerInterfaceWrapper) PutIdentitiesItem

func (siw *ServerInterfaceWrapper) PutIdentitiesItem(w http.ResponseWriter, r *http.Request)

PutIdentitiesItem operation middleware

func (*ServerInterfaceWrapper) PutIdentityProvidersItem

func (siw *ServerInterfaceWrapper) PutIdentityProvidersItem(w http.ResponseWriter, r *http.Request)

PutIdentityProvidersItem operation middleware

func (*ServerInterfaceWrapper) PutRolesItem

func (siw *ServerInterfaceWrapper) PutRolesItem(w http.ResponseWriter, r *http.Request)

PutRolesItem operation middleware

func (*ServerInterfaceWrapper) SwaggerJson

func (siw *ServerInterfaceWrapper) SwaggerJson(w http.ResponseWriter, r *http.Request)

SwaggerJson operation middleware

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Unauthorized

type Unauthorized = Response

Unauthorized defines model for Unauthorized.

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) DeleteGroupsItem

func (_ Unimplemented) DeleteGroupsItem(w http.ResponseWriter, r *http.Request, id string)

Remove a group. (DELETE /groups/{id})

func (Unimplemented) DeleteIdentitiesItem

func (_ Unimplemented) DeleteIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)

Remove an identity. (DELETE /identities/{id})

func (Unimplemented) DeleteIdentityProvidersItem

func (_ Unimplemented) DeleteIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)

Remove an authentication provider configuration. (DELETE /authentication/{id})

func (Unimplemented) DeleteRolesItem

func (_ Unimplemented) DeleteRolesItem(w http.ResponseWriter, r *http.Request, id string)

Delete a role. (DELETE /roles/{id})

func (Unimplemented) GetAvailableIdentityProviders

func (_ Unimplemented) GetAvailableIdentityProviders(w http.ResponseWriter, r *http.Request, params GetAvailableIdentityProvidersParams)

Returns the list of supported identity providers. (GET /authentication/providers)

func (Unimplemented) GetCapabilities

func (_ Unimplemented) GetCapabilities(w http.ResponseWriter, r *http.Request)

Returns the list of endpoints implemented by this API. (GET /capabilities)

func (Unimplemented) GetEntitlements

func (_ Unimplemented) GetEntitlements(w http.ResponseWriter, r *http.Request, params GetEntitlementsParams)

Get the list of entitlements in JSON format. (GET /entitlements)

func (Unimplemented) GetGroups

func (_ Unimplemented) GetGroups(w http.ResponseWriter, r *http.Request, params GetGroupsParams)

Get all groups. (GET /groups)

func (Unimplemented) GetGroupsItem

func (_ Unimplemented) GetGroupsItem(w http.ResponseWriter, r *http.Request, id string)

Get a single group. (GET /groups/{id})

func (Unimplemented) GetGroupsItemEntitlements

func (_ Unimplemented) GetGroupsItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemEntitlementsParams)

List direct entitlements the group has. (GET /groups/{id}/entitlements)

func (Unimplemented) GetGroupsItemIdentities

func (_ Unimplemented) GetGroupsItemIdentities(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemIdentitiesParams)

Get the identities of a group. (GET /groups/{id}/identities)

func (Unimplemented) GetGroupsItemRoles

func (_ Unimplemented) GetGroupsItemRoles(w http.ResponseWriter, r *http.Request, id string, params GetGroupsItemRolesParams)

Get the roles of a group. (GET /groups/{id}/roles)

func (Unimplemented) GetIdentities

func (_ Unimplemented) GetIdentities(w http.ResponseWriter, r *http.Request, params GetIdentitiesParams)

Get list of identities. (GET /identities)

func (Unimplemented) GetIdentitiesItem

func (_ Unimplemented) GetIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)

Get a single identity. (GET /identities/{id})

func (Unimplemented) GetIdentitiesItemEntitlements

func (_ Unimplemented) GetIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemEntitlementsParams)

List entitlements the identity has. (GET /identities/{id}/entitlements)

func (Unimplemented) GetIdentitiesItemGroups

func (_ Unimplemented) GetIdentitiesItemGroups(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemGroupsParams)

List groups the identity is a member of. (GET /identities/{id}/groups)

func (Unimplemented) GetIdentitiesItemRoles

func (_ Unimplemented) GetIdentitiesItemRoles(w http.ResponseWriter, r *http.Request, id string, params GetIdentitiesItemRolesParams)

List roles assigned to the identity. (GET /identities/{id}/roles)

func (Unimplemented) GetIdentityProviders

func (_ Unimplemented) GetIdentityProviders(w http.ResponseWriter, r *http.Request, params GetIdentityProvidersParams)

List configured authentication providers. (GET /authentication)

func (Unimplemented) GetIdentityProvidersItem

func (_ Unimplemented) GetIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)

Get a single authentication provider. (GET /authentication/{id})

func (Unimplemented) GetRawEntitlements

func (_ Unimplemented) GetRawEntitlements(w http.ResponseWriter, r *http.Request)

Get the list of entitlements as raw text. (GET /entitlements/raw)

func (Unimplemented) GetResources

func (_ Unimplemented) GetResources(w http.ResponseWriter, r *http.Request, params GetResourcesParams)

Get the list of available resources. (GET /resources)

func (Unimplemented) GetRoles

func (_ Unimplemented) GetRoles(w http.ResponseWriter, r *http.Request, params GetRolesParams)

Get the list of roles. (GET /roles)

func (Unimplemented) GetRolesItem

func (_ Unimplemented) GetRolesItem(w http.ResponseWriter, r *http.Request, id string)

Get a single role. (GET /roles/{id})

func (Unimplemented) GetRolesItemEntitlements

func (_ Unimplemented) GetRolesItemEntitlements(w http.ResponseWriter, r *http.Request, id string, params GetRolesItemEntitlementsParams)

Get the entitlements of a role. (GET /roles/{id}/entitlements)

func (Unimplemented) PatchGroupsItemEntitlements

func (_ Unimplemented) PatchGroupsItemEntitlements(w http.ResponseWriter, r *http.Request, id string)

Add or remove a direct entitlements to/from a group. (PATCH /groups/{id}/entitlements)

func (Unimplemented) PatchGroupsItemIdentities

func (_ Unimplemented) PatchGroupsItemIdentities(w http.ResponseWriter, r *http.Request, id string)

Add or remove identities to/from a group. (PATCH /groups/{id}/identities)

func (Unimplemented) PatchGroupsItemRoles

func (_ Unimplemented) PatchGroupsItemRoles(w http.ResponseWriter, r *http.Request, id string)

Add or remove a role to/from the group. (PATCH /groups/{id}/roles)

func (Unimplemented) PatchIdentitiesItemEntitlements

func (_ Unimplemented) PatchIdentitiesItemEntitlements(w http.ResponseWriter, r *http.Request, id string)

Add or remove entitlement to/from an identity. (PATCH /identities/{id}/entitlements)

func (Unimplemented) PatchIdentitiesItemGroups

func (_ Unimplemented) PatchIdentitiesItemGroups(w http.ResponseWriter, r *http.Request, id string)

Add or remove the identity to/from groups. (PATCH /identities/{id}/groups)

func (Unimplemented) PatchIdentitiesItemRoles

func (_ Unimplemented) PatchIdentitiesItemRoles(w http.ResponseWriter, r *http.Request, id string)

Add or remove the identity to/from roles. (PATCH /identities/{id}/roles)

func (Unimplemented) PatchRolesItemEntitlements

func (_ Unimplemented) PatchRolesItemEntitlements(w http.ResponseWriter, r *http.Request, id string)

Add or remove a direct entitlements to/from a role. (PATCH /roles/{id}/entitlements)

func (Unimplemented) PostGroups

func (_ Unimplemented) PostGroups(w http.ResponseWriter, r *http.Request)

Create a new group. (POST /groups)

func (Unimplemented) PostIdentities

func (_ Unimplemented) PostIdentities(w http.ResponseWriter, r *http.Request)

Add an identity. (POST /identities)

func (Unimplemented) PostIdentityProviders

func (_ Unimplemented) PostIdentityProviders(w http.ResponseWriter, r *http.Request)

Configure a new authentication provider. (POST /authentication)

func (Unimplemented) PostRoles

func (_ Unimplemented) PostRoles(w http.ResponseWriter, r *http.Request)

Create a new role. (POST /roles)

func (Unimplemented) PutGroupsItem

func (_ Unimplemented) PutGroupsItem(w http.ResponseWriter, r *http.Request, id string)

Update a group. (PUT /groups/{id})

func (Unimplemented) PutIdentitiesItem

func (_ Unimplemented) PutIdentitiesItem(w http.ResponseWriter, r *http.Request, id string)

Update an identity. (PUT /identities/{id})

func (Unimplemented) PutIdentityProvidersItem

func (_ Unimplemented) PutIdentityProvidersItem(w http.ResponseWriter, r *http.Request, id string)

Update an authentication provider configuration. (PUT /authentication/{id})

func (Unimplemented) PutRolesItem

func (_ Unimplemented) PutRolesItem(w http.ResponseWriter, r *http.Request, id string)

Update a role. (PUT /roles/{id})

func (Unimplemented) SwaggerJson

func (_ Unimplemented) SwaggerJson(w http.ResponseWriter, r *http.Request)

Returns the OpenAPI spec as a JSON file. (GET /swagger.json)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL