idp

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateConfigurationCreatedCode int = 201

CreateConfigurationCreatedCode is the HTTP code returned for type CreateConfigurationCreated

View Source
const DeleteConfigurationOKCode int = 200

DeleteConfigurationOKCode is the HTTP code returned for type DeleteConfigurationOK

View Source
const GetConfigurationOKCode int = 200

GetConfigurationOKCode is the HTTP code returned for type GetConfigurationOK

View Source
const GetLDAPEntitiesOKCode int = 200

GetLDAPEntitiesOKCode is the HTTP code returned for type GetLDAPEntitiesOK

View Source
const ListConfigurationsOKCode int = 200

ListConfigurationsOKCode is the HTTP code returned for type ListConfigurationsOK

View Source
const UpdateConfigurationOKCode int = 200

UpdateConfigurationOKCode is the HTTP code returned for type UpdateConfigurationOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateConfiguration

type CreateConfiguration struct {
	Context *middleware.Context
	Handler CreateConfigurationHandler
}
CreateConfiguration swagger:route POST /idp/{type} idp createConfiguration

Create IDP Configuration

func NewCreateConfiguration

func NewCreateConfiguration(ctx *middleware.Context, handler CreateConfigurationHandler) *CreateConfiguration

NewCreateConfiguration creates a new http.Handler for the create configuration operation

func (*CreateConfiguration) ServeHTTP

func (o *CreateConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateConfigurationCreated

type CreateConfigurationCreated struct {

	/*
	  In: Body
	*/
	Payload *models.SetIDPResponse `json:"body,omitempty"`
}

CreateConfigurationCreated A successful response.

swagger:response createConfigurationCreated

func NewCreateConfigurationCreated

func NewCreateConfigurationCreated() *CreateConfigurationCreated

NewCreateConfigurationCreated creates CreateConfigurationCreated with default headers values

func (*CreateConfigurationCreated) SetPayload

func (o *CreateConfigurationCreated) SetPayload(payload *models.SetIDPResponse)

SetPayload sets the payload to the create configuration created response

func (*CreateConfigurationCreated) WithPayload

WithPayload adds the payload to the create configuration created response

func (*CreateConfigurationCreated) WriteResponse

func (o *CreateConfigurationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateConfigurationDefault

type CreateConfigurationDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

CreateConfigurationDefault Generic error response.

swagger:response createConfigurationDefault

func NewCreateConfigurationDefault

func NewCreateConfigurationDefault(code int) *CreateConfigurationDefault

NewCreateConfigurationDefault creates CreateConfigurationDefault with default headers values

func (*CreateConfigurationDefault) SetPayload

func (o *CreateConfigurationDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the create configuration default response

func (*CreateConfigurationDefault) SetStatusCode

func (o *CreateConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create configuration default response

func (*CreateConfigurationDefault) WithPayload

WithPayload adds the payload to the create configuration default response

func (*CreateConfigurationDefault) WithStatusCode

WithStatusCode adds the status to the create configuration default response

func (*CreateConfigurationDefault) WriteResponse

func (o *CreateConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateConfigurationHandler

type CreateConfigurationHandler interface {
	Handle(CreateConfigurationParams, *models.Principal) middleware.Responder
}

CreateConfigurationHandler interface for that can handle valid create configuration params

type CreateConfigurationHandlerFunc

type CreateConfigurationHandlerFunc func(CreateConfigurationParams, *models.Principal) middleware.Responder

CreateConfigurationHandlerFunc turns a function with the right signature into a create configuration handler

func (CreateConfigurationHandlerFunc) Handle

Handle executing the request and returning a response

type CreateConfigurationParams

type CreateConfigurationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.IdpServerConfiguration
	/*IDP Configuration Type
	  Required: true
	  In: path
	*/
	Type string
}

CreateConfigurationParams contains all the bound params for the create configuration operation typically these are obtained from a http.Request

swagger:parameters CreateConfiguration

func NewCreateConfigurationParams

func NewCreateConfigurationParams() CreateConfigurationParams

NewCreateConfigurationParams creates a new CreateConfigurationParams object

There are no default values defined in the spec.

func (*CreateConfigurationParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateConfigurationParams() beforehand.

type CreateConfigurationURL

type CreateConfigurationURL struct {
	Type string
	// contains filtered or unexported fields
}

CreateConfigurationURL generates an URL for the create configuration operation

func (*CreateConfigurationURL) Build

func (o *CreateConfigurationURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateConfigurationURL) BuildFull

func (o *CreateConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateConfigurationURL) Must

func (o *CreateConfigurationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateConfigurationURL) SetBasePath

func (o *CreateConfigurationURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateConfigurationURL) String

func (o *CreateConfigurationURL) String() string

String returns the string representation of the path with query string

func (*CreateConfigurationURL) StringFull

func (o *CreateConfigurationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateConfigurationURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteConfiguration

type DeleteConfiguration struct {
	Context *middleware.Context
	Handler DeleteConfigurationHandler
}
DeleteConfiguration swagger:route DELETE /idp/{type}/{name} idp deleteConfiguration

Delete IDP Configuration

func NewDeleteConfiguration

func NewDeleteConfiguration(ctx *middleware.Context, handler DeleteConfigurationHandler) *DeleteConfiguration

NewDeleteConfiguration creates a new http.Handler for the delete configuration operation

func (*DeleteConfiguration) ServeHTTP

func (o *DeleteConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteConfigurationDefault

type DeleteConfigurationDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteConfigurationDefault Generic error response.

swagger:response deleteConfigurationDefault

func NewDeleteConfigurationDefault

func NewDeleteConfigurationDefault(code int) *DeleteConfigurationDefault

NewDeleteConfigurationDefault creates DeleteConfigurationDefault with default headers values

func (*DeleteConfigurationDefault) SetPayload

func (o *DeleteConfigurationDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the delete configuration default response

func (*DeleteConfigurationDefault) SetStatusCode

func (o *DeleteConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete configuration default response

func (*DeleteConfigurationDefault) WithPayload

WithPayload adds the payload to the delete configuration default response

func (*DeleteConfigurationDefault) WithStatusCode

WithStatusCode adds the status to the delete configuration default response

func (*DeleteConfigurationDefault) WriteResponse

func (o *DeleteConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteConfigurationHandler

type DeleteConfigurationHandler interface {
	Handle(DeleteConfigurationParams, *models.Principal) middleware.Responder
}

DeleteConfigurationHandler interface for that can handle valid delete configuration params

type DeleteConfigurationHandlerFunc

type DeleteConfigurationHandlerFunc func(DeleteConfigurationParams, *models.Principal) middleware.Responder

DeleteConfigurationHandlerFunc turns a function with the right signature into a delete configuration handler

func (DeleteConfigurationHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteConfigurationOK

type DeleteConfigurationOK struct {

	/*
	  In: Body
	*/
	Payload *models.SetIDPResponse `json:"body,omitempty"`
}

DeleteConfigurationOK A successful response.

swagger:response deleteConfigurationOK

func NewDeleteConfigurationOK

func NewDeleteConfigurationOK() *DeleteConfigurationOK

NewDeleteConfigurationOK creates DeleteConfigurationOK with default headers values

func (*DeleteConfigurationOK) SetPayload

func (o *DeleteConfigurationOK) SetPayload(payload *models.SetIDPResponse)

SetPayload sets the payload to the delete configuration o k response

func (*DeleteConfigurationOK) WithPayload

WithPayload adds the payload to the delete configuration o k response

func (*DeleteConfigurationOK) WriteResponse

func (o *DeleteConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteConfigurationParams

type DeleteConfigurationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*IDP Configuration Name
	  Required: true
	  In: path
	*/
	Name string
	/*IDP Configuration Type
	  Required: true
	  In: path
	*/
	Type string
}

DeleteConfigurationParams contains all the bound params for the delete configuration operation typically these are obtained from a http.Request

swagger:parameters DeleteConfiguration

func NewDeleteConfigurationParams

func NewDeleteConfigurationParams() DeleteConfigurationParams

NewDeleteConfigurationParams creates a new DeleteConfigurationParams object

There are no default values defined in the spec.

func (*DeleteConfigurationParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteConfigurationParams() beforehand.

type DeleteConfigurationURL

type DeleteConfigurationURL struct {
	Name string
	Type string
	// contains filtered or unexported fields
}

DeleteConfigurationURL generates an URL for the delete configuration operation

func (*DeleteConfigurationURL) Build

func (o *DeleteConfigurationURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteConfigurationURL) BuildFull

func (o *DeleteConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteConfigurationURL) Must

func (o *DeleteConfigurationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteConfigurationURL) SetBasePath

func (o *DeleteConfigurationURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteConfigurationURL) String

func (o *DeleteConfigurationURL) String() string

String returns the string representation of the path with query string

func (*DeleteConfigurationURL) StringFull

func (o *DeleteConfigurationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteConfigurationURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetConfiguration

type GetConfiguration struct {
	Context *middleware.Context
	Handler GetConfigurationHandler
}
GetConfiguration swagger:route GET /idp/{type}/{name} idp getConfiguration

Get IDP Configuration

func NewGetConfiguration

func NewGetConfiguration(ctx *middleware.Context, handler GetConfigurationHandler) *GetConfiguration

NewGetConfiguration creates a new http.Handler for the get configuration operation

func (*GetConfiguration) ServeHTTP

func (o *GetConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetConfigurationDefault

type GetConfigurationDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetConfigurationDefault Generic error response.

swagger:response getConfigurationDefault

func NewGetConfigurationDefault

func NewGetConfigurationDefault(code int) *GetConfigurationDefault

NewGetConfigurationDefault creates GetConfigurationDefault with default headers values

func (*GetConfigurationDefault) SetPayload

func (o *GetConfigurationDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the get configuration default response

func (*GetConfigurationDefault) SetStatusCode

func (o *GetConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get configuration default response

func (*GetConfigurationDefault) WithPayload

WithPayload adds the payload to the get configuration default response

func (*GetConfigurationDefault) WithStatusCode

func (o *GetConfigurationDefault) WithStatusCode(code int) *GetConfigurationDefault

WithStatusCode adds the status to the get configuration default response

func (*GetConfigurationDefault) WriteResponse

func (o *GetConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetConfigurationHandler

type GetConfigurationHandler interface {
	Handle(GetConfigurationParams, *models.Principal) middleware.Responder
}

GetConfigurationHandler interface for that can handle valid get configuration params

type GetConfigurationHandlerFunc

type GetConfigurationHandlerFunc func(GetConfigurationParams, *models.Principal) middleware.Responder

GetConfigurationHandlerFunc turns a function with the right signature into a get configuration handler

func (GetConfigurationHandlerFunc) Handle

Handle executing the request and returning a response

type GetConfigurationOK

type GetConfigurationOK struct {

	/*
	  In: Body
	*/
	Payload *models.IdpServerConfiguration `json:"body,omitempty"`
}

GetConfigurationOK A successful response.

swagger:response getConfigurationOK

func NewGetConfigurationOK

func NewGetConfigurationOK() *GetConfigurationOK

NewGetConfigurationOK creates GetConfigurationOK with default headers values

func (*GetConfigurationOK) SetPayload

func (o *GetConfigurationOK) SetPayload(payload *models.IdpServerConfiguration)

SetPayload sets the payload to the get configuration o k response

func (*GetConfigurationOK) WithPayload

WithPayload adds the payload to the get configuration o k response

func (*GetConfigurationOK) WriteResponse

func (o *GetConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetConfigurationParams

type GetConfigurationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*IDP Configuration Name
	  Required: true
	  In: path
	*/
	Name string
	/*IDP Configuration Type
	  Required: true
	  In: path
	*/
	Type string
}

GetConfigurationParams contains all the bound params for the get configuration operation typically these are obtained from a http.Request

swagger:parameters GetConfiguration

func NewGetConfigurationParams

func NewGetConfigurationParams() GetConfigurationParams

NewGetConfigurationParams creates a new GetConfigurationParams object

There are no default values defined in the spec.

func (*GetConfigurationParams) BindRequest

func (o *GetConfigurationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetConfigurationParams() beforehand.

type GetConfigurationURL

type GetConfigurationURL struct {
	Name string
	Type string
	// contains filtered or unexported fields
}

GetConfigurationURL generates an URL for the get configuration operation

func (*GetConfigurationURL) Build

func (o *GetConfigurationURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetConfigurationURL) BuildFull

func (o *GetConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetConfigurationURL) Must

func (o *GetConfigurationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetConfigurationURL) SetBasePath

func (o *GetConfigurationURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetConfigurationURL) String

func (o *GetConfigurationURL) String() string

String returns the string representation of the path with query string

func (*GetConfigurationURL) StringFull

func (o *GetConfigurationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetConfigurationURL) WithBasePath

func (o *GetConfigurationURL) WithBasePath(bp string) *GetConfigurationURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetLDAPEntities added in v0.26.0

type GetLDAPEntities struct {
	Context *middleware.Context
	Handler GetLDAPEntitiesHandler
}
GetLDAPEntities swagger:route POST /ldap-entities idp getLDAPEntities

Get LDAP Entities

func NewGetLDAPEntities added in v0.26.0

func NewGetLDAPEntities(ctx *middleware.Context, handler GetLDAPEntitiesHandler) *GetLDAPEntities

NewGetLDAPEntities creates a new http.Handler for the get l d a p entities operation

func (*GetLDAPEntities) ServeHTTP added in v0.26.0

func (o *GetLDAPEntities) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetLDAPEntitiesDefault added in v0.26.0

type GetLDAPEntitiesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetLDAPEntitiesDefault Generic error response.

swagger:response getLDAPEntitiesDefault

func NewGetLDAPEntitiesDefault added in v0.26.0

func NewGetLDAPEntitiesDefault(code int) *GetLDAPEntitiesDefault

NewGetLDAPEntitiesDefault creates GetLDAPEntitiesDefault with default headers values

func (*GetLDAPEntitiesDefault) SetPayload added in v0.26.0

func (o *GetLDAPEntitiesDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the get l d a p entities default response

func (*GetLDAPEntitiesDefault) SetStatusCode added in v0.26.0

func (o *GetLDAPEntitiesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get l d a p entities default response

func (*GetLDAPEntitiesDefault) WithPayload added in v0.26.0

WithPayload adds the payload to the get l d a p entities default response

func (*GetLDAPEntitiesDefault) WithStatusCode added in v0.26.0

func (o *GetLDAPEntitiesDefault) WithStatusCode(code int) *GetLDAPEntitiesDefault

WithStatusCode adds the status to the get l d a p entities default response

func (*GetLDAPEntitiesDefault) WriteResponse added in v0.26.0

func (o *GetLDAPEntitiesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLDAPEntitiesHandler added in v0.26.0

type GetLDAPEntitiesHandler interface {
	Handle(GetLDAPEntitiesParams, *models.Principal) middleware.Responder
}

GetLDAPEntitiesHandler interface for that can handle valid get l d a p entities params

type GetLDAPEntitiesHandlerFunc added in v0.26.0

type GetLDAPEntitiesHandlerFunc func(GetLDAPEntitiesParams, *models.Principal) middleware.Responder

GetLDAPEntitiesHandlerFunc turns a function with the right signature into a get l d a p entities handler

func (GetLDAPEntitiesHandlerFunc) Handle added in v0.26.0

Handle executing the request and returning a response

type GetLDAPEntitiesOK added in v0.26.0

type GetLDAPEntitiesOK struct {

	/*
	  In: Body
	*/
	Payload *models.LdapEntities `json:"body,omitempty"`
}

GetLDAPEntitiesOK A successful response.

swagger:response getLDAPEntitiesOK

func NewGetLDAPEntitiesOK added in v0.26.0

func NewGetLDAPEntitiesOK() *GetLDAPEntitiesOK

NewGetLDAPEntitiesOK creates GetLDAPEntitiesOK with default headers values

func (*GetLDAPEntitiesOK) SetPayload added in v0.26.0

func (o *GetLDAPEntitiesOK) SetPayload(payload *models.LdapEntities)

SetPayload sets the payload to the get l d a p entities o k response

func (*GetLDAPEntitiesOK) WithPayload added in v0.26.0

func (o *GetLDAPEntitiesOK) WithPayload(payload *models.LdapEntities) *GetLDAPEntitiesOK

WithPayload adds the payload to the get l d a p entities o k response

func (*GetLDAPEntitiesOK) WriteResponse added in v0.26.0

func (o *GetLDAPEntitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLDAPEntitiesParams added in v0.26.0

type GetLDAPEntitiesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.LdapEntitiesRequest
}

GetLDAPEntitiesParams contains all the bound params for the get l d a p entities operation typically these are obtained from a http.Request

swagger:parameters GetLDAPEntities

func NewGetLDAPEntitiesParams added in v0.26.0

func NewGetLDAPEntitiesParams() GetLDAPEntitiesParams

NewGetLDAPEntitiesParams creates a new GetLDAPEntitiesParams object

There are no default values defined in the spec.

func (*GetLDAPEntitiesParams) BindRequest added in v0.26.0

func (o *GetLDAPEntitiesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetLDAPEntitiesParams() beforehand.

type GetLDAPEntitiesURL added in v0.26.0

type GetLDAPEntitiesURL struct {
	// contains filtered or unexported fields
}

GetLDAPEntitiesURL generates an URL for the get l d a p entities operation

func (*GetLDAPEntitiesURL) Build added in v0.26.0

func (o *GetLDAPEntitiesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetLDAPEntitiesURL) BuildFull added in v0.26.0

func (o *GetLDAPEntitiesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetLDAPEntitiesURL) Must added in v0.26.0

func (o *GetLDAPEntitiesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetLDAPEntitiesURL) SetBasePath added in v0.26.0

func (o *GetLDAPEntitiesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetLDAPEntitiesURL) String added in v0.26.0

func (o *GetLDAPEntitiesURL) String() string

String returns the string representation of the path with query string

func (*GetLDAPEntitiesURL) StringFull added in v0.26.0

func (o *GetLDAPEntitiesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetLDAPEntitiesURL) WithBasePath added in v0.26.0

func (o *GetLDAPEntitiesURL) WithBasePath(bp string) *GetLDAPEntitiesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListConfigurations

type ListConfigurations struct {
	Context *middleware.Context
	Handler ListConfigurationsHandler
}
ListConfigurations swagger:route GET /idp/{type} idp listConfigurations

List IDP Configurations

func NewListConfigurations

func NewListConfigurations(ctx *middleware.Context, handler ListConfigurationsHandler) *ListConfigurations

NewListConfigurations creates a new http.Handler for the list configurations operation

func (*ListConfigurations) ServeHTTP

func (o *ListConfigurations) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListConfigurationsDefault

type ListConfigurationsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListConfigurationsDefault Generic error response.

swagger:response listConfigurationsDefault

func NewListConfigurationsDefault

func NewListConfigurationsDefault(code int) *ListConfigurationsDefault

NewListConfigurationsDefault creates ListConfigurationsDefault with default headers values

func (*ListConfigurationsDefault) SetPayload

func (o *ListConfigurationsDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the list configurations default response

func (*ListConfigurationsDefault) SetStatusCode

func (o *ListConfigurationsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list configurations default response

func (*ListConfigurationsDefault) WithPayload

WithPayload adds the payload to the list configurations default response

func (*ListConfigurationsDefault) WithStatusCode

func (o *ListConfigurationsDefault) WithStatusCode(code int) *ListConfigurationsDefault

WithStatusCode adds the status to the list configurations default response

func (*ListConfigurationsDefault) WriteResponse

func (o *ListConfigurationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListConfigurationsHandler

type ListConfigurationsHandler interface {
	Handle(ListConfigurationsParams, *models.Principal) middleware.Responder
}

ListConfigurationsHandler interface for that can handle valid list configurations params

type ListConfigurationsHandlerFunc

type ListConfigurationsHandlerFunc func(ListConfigurationsParams, *models.Principal) middleware.Responder

ListConfigurationsHandlerFunc turns a function with the right signature into a list configurations handler

func (ListConfigurationsHandlerFunc) Handle

Handle executing the request and returning a response

type ListConfigurationsOK

type ListConfigurationsOK struct {

	/*
	  In: Body
	*/
	Payload *models.IdpListConfigurationsResponse `json:"body,omitempty"`
}

ListConfigurationsOK A successful response.

swagger:response listConfigurationsOK

func NewListConfigurationsOK

func NewListConfigurationsOK() *ListConfigurationsOK

NewListConfigurationsOK creates ListConfigurationsOK with default headers values

func (*ListConfigurationsOK) SetPayload

SetPayload sets the payload to the list configurations o k response

func (*ListConfigurationsOK) WithPayload

WithPayload adds the payload to the list configurations o k response

func (*ListConfigurationsOK) WriteResponse

func (o *ListConfigurationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListConfigurationsParams

type ListConfigurationsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*IDP Configuration Type
	  Required: true
	  In: path
	*/
	Type string
}

ListConfigurationsParams contains all the bound params for the list configurations operation typically these are obtained from a http.Request

swagger:parameters ListConfigurations

func NewListConfigurationsParams

func NewListConfigurationsParams() ListConfigurationsParams

NewListConfigurationsParams creates a new ListConfigurationsParams object

There are no default values defined in the spec.

func (*ListConfigurationsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListConfigurationsParams() beforehand.

type ListConfigurationsURL

type ListConfigurationsURL struct {
	Type string
	// contains filtered or unexported fields
}

ListConfigurationsURL generates an URL for the list configurations operation

func (*ListConfigurationsURL) Build

func (o *ListConfigurationsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListConfigurationsURL) BuildFull

func (o *ListConfigurationsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListConfigurationsURL) Must

func (o *ListConfigurationsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListConfigurationsURL) SetBasePath

func (o *ListConfigurationsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListConfigurationsURL) String

func (o *ListConfigurationsURL) String() string

String returns the string representation of the path with query string

func (*ListConfigurationsURL) StringFull

func (o *ListConfigurationsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListConfigurationsURL) WithBasePath

func (o *ListConfigurationsURL) WithBasePath(bp string) *ListConfigurationsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateConfiguration

type UpdateConfiguration struct {
	Context *middleware.Context
	Handler UpdateConfigurationHandler
}
UpdateConfiguration swagger:route PUT /idp/{type}/{name} idp updateConfiguration

Update IDP Configuration

func NewUpdateConfiguration

func NewUpdateConfiguration(ctx *middleware.Context, handler UpdateConfigurationHandler) *UpdateConfiguration

NewUpdateConfiguration creates a new http.Handler for the update configuration operation

func (*UpdateConfiguration) ServeHTTP

func (o *UpdateConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateConfigurationDefault

type UpdateConfigurationDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateConfigurationDefault Generic error response.

swagger:response updateConfigurationDefault

func NewUpdateConfigurationDefault

func NewUpdateConfigurationDefault(code int) *UpdateConfigurationDefault

NewUpdateConfigurationDefault creates UpdateConfigurationDefault with default headers values

func (*UpdateConfigurationDefault) SetPayload

func (o *UpdateConfigurationDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the update configuration default response

func (*UpdateConfigurationDefault) SetStatusCode

func (o *UpdateConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update configuration default response

func (*UpdateConfigurationDefault) WithPayload

WithPayload adds the payload to the update configuration default response

func (*UpdateConfigurationDefault) WithStatusCode

WithStatusCode adds the status to the update configuration default response

func (*UpdateConfigurationDefault) WriteResponse

func (o *UpdateConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateConfigurationHandler

type UpdateConfigurationHandler interface {
	Handle(UpdateConfigurationParams, *models.Principal) middleware.Responder
}

UpdateConfigurationHandler interface for that can handle valid update configuration params

type UpdateConfigurationHandlerFunc

type UpdateConfigurationHandlerFunc func(UpdateConfigurationParams, *models.Principal) middleware.Responder

UpdateConfigurationHandlerFunc turns a function with the right signature into a update configuration handler

func (UpdateConfigurationHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateConfigurationOK

type UpdateConfigurationOK struct {

	/*
	  In: Body
	*/
	Payload *models.SetIDPResponse `json:"body,omitempty"`
}

UpdateConfigurationOK A successful response.

swagger:response updateConfigurationOK

func NewUpdateConfigurationOK

func NewUpdateConfigurationOK() *UpdateConfigurationOK

NewUpdateConfigurationOK creates UpdateConfigurationOK with default headers values

func (*UpdateConfigurationOK) SetPayload

func (o *UpdateConfigurationOK) SetPayload(payload *models.SetIDPResponse)

SetPayload sets the payload to the update configuration o k response

func (*UpdateConfigurationOK) WithPayload

WithPayload adds the payload to the update configuration o k response

func (*UpdateConfigurationOK) WriteResponse

func (o *UpdateConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateConfigurationParams

type UpdateConfigurationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.IdpServerConfiguration
	/*IDP Configuration Name
	  Required: true
	  In: path
	*/
	Name string
	/*IDP Configuration Type
	  Required: true
	  In: path
	*/
	Type string
}

UpdateConfigurationParams contains all the bound params for the update configuration operation typically these are obtained from a http.Request

swagger:parameters UpdateConfiguration

func NewUpdateConfigurationParams

func NewUpdateConfigurationParams() UpdateConfigurationParams

NewUpdateConfigurationParams creates a new UpdateConfigurationParams object

There are no default values defined in the spec.

func (*UpdateConfigurationParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateConfigurationParams() beforehand.

type UpdateConfigurationURL

type UpdateConfigurationURL struct {
	Name string
	Type string
	// contains filtered or unexported fields
}

UpdateConfigurationURL generates an URL for the update configuration operation

func (*UpdateConfigurationURL) Build

func (o *UpdateConfigurationURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateConfigurationURL) BuildFull

func (o *UpdateConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateConfigurationURL) Must

func (o *UpdateConfigurationURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateConfigurationURL) SetBasePath

func (o *UpdateConfigurationURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateConfigurationURL) String

func (o *UpdateConfigurationURL) String() string

String returns the string representation of the path with query string

func (*UpdateConfigurationURL) StringFull

func (o *UpdateConfigurationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateConfigurationURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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