Documentation ¶
Index ¶
- Constants
- type VerifyLdapBind
- type VerifyLdapBindBadRequest
- type VerifyLdapBindHandler
- type VerifyLdapBindHandlerFunc
- type VerifyLdapBindInternalServerError
- func (o *VerifyLdapBindInternalServerError) SetPayload(payload *models.Error)
- func (o *VerifyLdapBindInternalServerError) WithPayload(payload *models.Error) *VerifyLdapBindInternalServerError
- func (o *VerifyLdapBindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapBindOK
- type VerifyLdapBindParams
- type VerifyLdapBindURL
- func (o *VerifyLdapBindURL) Build() (*url.URL, error)
- func (o *VerifyLdapBindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyLdapBindURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyLdapBindURL) SetBasePath(bp string)
- func (o *VerifyLdapBindURL) String() string
- func (o *VerifyLdapBindURL) StringFull(scheme, host string) string
- func (o *VerifyLdapBindURL) WithBasePath(bp string) *VerifyLdapBindURL
- type VerifyLdapBindUnauthorized
- type VerifyLdapCloseConnection
- type VerifyLdapCloseConnectionBadRequest
- func (o *VerifyLdapCloseConnectionBadRequest) SetPayload(payload *models.Error)
- func (o *VerifyLdapCloseConnectionBadRequest) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionBadRequest
- func (o *VerifyLdapCloseConnectionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapCloseConnectionCreated
- type VerifyLdapCloseConnectionHandler
- type VerifyLdapCloseConnectionHandlerFunc
- type VerifyLdapCloseConnectionInternalServerError
- func (o *VerifyLdapCloseConnectionInternalServerError) SetPayload(payload *models.Error)
- func (o *VerifyLdapCloseConnectionInternalServerError) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionInternalServerError
- func (o *VerifyLdapCloseConnectionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapCloseConnectionParams
- type VerifyLdapCloseConnectionURL
- func (o *VerifyLdapCloseConnectionURL) Build() (*url.URL, error)
- func (o *VerifyLdapCloseConnectionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyLdapCloseConnectionURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyLdapCloseConnectionURL) SetBasePath(bp string)
- func (o *VerifyLdapCloseConnectionURL) String() string
- func (o *VerifyLdapCloseConnectionURL) StringFull(scheme, host string) string
- func (o *VerifyLdapCloseConnectionURL) WithBasePath(bp string) *VerifyLdapCloseConnectionURL
- type VerifyLdapCloseConnectionUnauthorized
- func (o *VerifyLdapCloseConnectionUnauthorized) SetPayload(payload *models.Error)
- func (o *VerifyLdapCloseConnectionUnauthorized) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionUnauthorized
- func (o *VerifyLdapCloseConnectionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapConnect
- type VerifyLdapConnectBadRequest
- type VerifyLdapConnectHandler
- type VerifyLdapConnectHandlerFunc
- type VerifyLdapConnectInternalServerError
- func (o *VerifyLdapConnectInternalServerError) SetPayload(payload *models.Error)
- func (o *VerifyLdapConnectInternalServerError) WithPayload(payload *models.Error) *VerifyLdapConnectInternalServerError
- func (o *VerifyLdapConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapConnectOK
- type VerifyLdapConnectParams
- type VerifyLdapConnectURL
- func (o *VerifyLdapConnectURL) Build() (*url.URL, error)
- func (o *VerifyLdapConnectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyLdapConnectURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyLdapConnectURL) SetBasePath(bp string)
- func (o *VerifyLdapConnectURL) String() string
- func (o *VerifyLdapConnectURL) StringFull(scheme, host string) string
- func (o *VerifyLdapConnectURL) WithBasePath(bp string) *VerifyLdapConnectURL
- type VerifyLdapConnectUnauthorized
- type VerifyLdapGroupSearch
- type VerifyLdapGroupSearchBadRequest
- type VerifyLdapGroupSearchHandler
- type VerifyLdapGroupSearchHandlerFunc
- type VerifyLdapGroupSearchInternalServerError
- func (o *VerifyLdapGroupSearchInternalServerError) SetPayload(payload *models.Error)
- func (o *VerifyLdapGroupSearchInternalServerError) WithPayload(payload *models.Error) *VerifyLdapGroupSearchInternalServerError
- func (o *VerifyLdapGroupSearchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapGroupSearchOK
- type VerifyLdapGroupSearchParams
- type VerifyLdapGroupSearchURL
- func (o *VerifyLdapGroupSearchURL) Build() (*url.URL, error)
- func (o *VerifyLdapGroupSearchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyLdapGroupSearchURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyLdapGroupSearchURL) SetBasePath(bp string)
- func (o *VerifyLdapGroupSearchURL) String() string
- func (o *VerifyLdapGroupSearchURL) StringFull(scheme, host string) string
- func (o *VerifyLdapGroupSearchURL) WithBasePath(bp string) *VerifyLdapGroupSearchURL
- type VerifyLdapGroupSearchUnauthorized
- func (o *VerifyLdapGroupSearchUnauthorized) SetPayload(payload *models.Error)
- func (o *VerifyLdapGroupSearchUnauthorized) WithPayload(payload *models.Error) *VerifyLdapGroupSearchUnauthorized
- func (o *VerifyLdapGroupSearchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapUserSearch
- type VerifyLdapUserSearchBadRequest
- type VerifyLdapUserSearchHandler
- type VerifyLdapUserSearchHandlerFunc
- type VerifyLdapUserSearchInternalServerError
- func (o *VerifyLdapUserSearchInternalServerError) SetPayload(payload *models.Error)
- func (o *VerifyLdapUserSearchInternalServerError) WithPayload(payload *models.Error) *VerifyLdapUserSearchInternalServerError
- func (o *VerifyLdapUserSearchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyLdapUserSearchOK
- type VerifyLdapUserSearchParams
- type VerifyLdapUserSearchURL
- func (o *VerifyLdapUserSearchURL) Build() (*url.URL, error)
- func (o *VerifyLdapUserSearchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyLdapUserSearchURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyLdapUserSearchURL) SetBasePath(bp string)
- func (o *VerifyLdapUserSearchURL) String() string
- func (o *VerifyLdapUserSearchURL) StringFull(scheme, host string) string
- func (o *VerifyLdapUserSearchURL) WithBasePath(bp string) *VerifyLdapUserSearchURL
- type VerifyLdapUserSearchUnauthorized
Constants ¶
const VerifyLdapBindBadRequestCode int = 400
VerifyLdapBindBadRequestCode is the HTTP code returned for type VerifyLdapBindBadRequest
const VerifyLdapBindInternalServerErrorCode int = 500
VerifyLdapBindInternalServerErrorCode is the HTTP code returned for type VerifyLdapBindInternalServerError
const VerifyLdapBindOKCode int = 200
VerifyLdapBindOKCode is the HTTP code returned for type VerifyLdapBindOK
VerifyLdapBindUnauthorizedCode is the HTTP code returned for type VerifyLdapBindUnauthorized
const VerifyLdapCloseConnectionBadRequestCode int = 400
VerifyLdapCloseConnectionBadRequestCode is the HTTP code returned for type VerifyLdapCloseConnectionBadRequest
const VerifyLdapCloseConnectionCreatedCode int = 201
VerifyLdapCloseConnectionCreatedCode is the HTTP code returned for type VerifyLdapCloseConnectionCreated
const VerifyLdapCloseConnectionInternalServerErrorCode int = 500
VerifyLdapCloseConnectionInternalServerErrorCode is the HTTP code returned for type VerifyLdapCloseConnectionInternalServerError
VerifyLdapCloseConnectionUnauthorizedCode is the HTTP code returned for type VerifyLdapCloseConnectionUnauthorized
const VerifyLdapConnectBadRequestCode int = 400
VerifyLdapConnectBadRequestCode is the HTTP code returned for type VerifyLdapConnectBadRequest
const VerifyLdapConnectInternalServerErrorCode int = 500
VerifyLdapConnectInternalServerErrorCode is the HTTP code returned for type VerifyLdapConnectInternalServerError
const VerifyLdapConnectOKCode int = 200
VerifyLdapConnectOKCode is the HTTP code returned for type VerifyLdapConnectOK
VerifyLdapConnectUnauthorizedCode is the HTTP code returned for type VerifyLdapConnectUnauthorized
const VerifyLdapGroupSearchBadRequestCode int = 400
VerifyLdapGroupSearchBadRequestCode is the HTTP code returned for type VerifyLdapGroupSearchBadRequest
const VerifyLdapGroupSearchInternalServerErrorCode int = 500
VerifyLdapGroupSearchInternalServerErrorCode is the HTTP code returned for type VerifyLdapGroupSearchInternalServerError
const VerifyLdapGroupSearchOKCode int = 200
VerifyLdapGroupSearchOKCode is the HTTP code returned for type VerifyLdapGroupSearchOK
VerifyLdapGroupSearchUnauthorizedCode is the HTTP code returned for type VerifyLdapGroupSearchUnauthorized
const VerifyLdapUserSearchBadRequestCode int = 400
VerifyLdapUserSearchBadRequestCode is the HTTP code returned for type VerifyLdapUserSearchBadRequest
const VerifyLdapUserSearchInternalServerErrorCode int = 500
VerifyLdapUserSearchInternalServerErrorCode is the HTTP code returned for type VerifyLdapUserSearchInternalServerError
const VerifyLdapUserSearchOKCode int = 200
VerifyLdapUserSearchOKCode is the HTTP code returned for type VerifyLdapUserSearchOK
VerifyLdapUserSearchUnauthorizedCode is the HTTP code returned for type VerifyLdapUserSearchUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyLdapBind ¶
type VerifyLdapBind struct { Context *middleware.Context Handler VerifyLdapBindHandler }
VerifyLdapBind swagger:route POST /api/ldap/bind ldap verifyLdapBind
Validate LDAP bind or authentication
func NewVerifyLdapBind ¶
func NewVerifyLdapBind(ctx *middleware.Context, handler VerifyLdapBindHandler) *VerifyLdapBind
NewVerifyLdapBind creates a new http.Handler for the verify ldap bind operation
func (*VerifyLdapBind) ServeHTTP ¶
func (o *VerifyLdapBind) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyLdapBindBadRequest ¶
type VerifyLdapBindBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapBindBadRequest Bad request
swagger:response verifyLdapBindBadRequest
func NewVerifyLdapBindBadRequest ¶
func NewVerifyLdapBindBadRequest() *VerifyLdapBindBadRequest
NewVerifyLdapBindBadRequest creates VerifyLdapBindBadRequest with default headers values
func (*VerifyLdapBindBadRequest) SetPayload ¶
func (o *VerifyLdapBindBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap bind bad request response
func (*VerifyLdapBindBadRequest) WithPayload ¶
func (o *VerifyLdapBindBadRequest) WithPayload(payload *models.Error) *VerifyLdapBindBadRequest
WithPayload adds the payload to the verify ldap bind bad request response
func (*VerifyLdapBindBadRequest) WriteResponse ¶
func (o *VerifyLdapBindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapBindHandler ¶
type VerifyLdapBindHandler interface {
Handle(VerifyLdapBindParams) middleware.Responder
}
VerifyLdapBindHandler interface for that can handle valid verify ldap bind params
type VerifyLdapBindHandlerFunc ¶
type VerifyLdapBindHandlerFunc func(VerifyLdapBindParams) middleware.Responder
VerifyLdapBindHandlerFunc turns a function with the right signature into a verify ldap bind handler
func (VerifyLdapBindHandlerFunc) Handle ¶
func (fn VerifyLdapBindHandlerFunc) Handle(params VerifyLdapBindParams) middleware.Responder
Handle executing the request and returning a response
type VerifyLdapBindInternalServerError ¶
type VerifyLdapBindInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapBindInternalServerError Internal server error
swagger:response verifyLdapBindInternalServerError
func NewVerifyLdapBindInternalServerError ¶
func NewVerifyLdapBindInternalServerError() *VerifyLdapBindInternalServerError
NewVerifyLdapBindInternalServerError creates VerifyLdapBindInternalServerError with default headers values
func (*VerifyLdapBindInternalServerError) SetPayload ¶
func (o *VerifyLdapBindInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap bind internal server error response
func (*VerifyLdapBindInternalServerError) WithPayload ¶
func (o *VerifyLdapBindInternalServerError) WithPayload(payload *models.Error) *VerifyLdapBindInternalServerError
WithPayload adds the payload to the verify ldap bind internal server error response
func (*VerifyLdapBindInternalServerError) WriteResponse ¶
func (o *VerifyLdapBindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapBindOK ¶
type VerifyLdapBindOK struct { /* In: Body */ Payload *models.LdapTestResult `json:"body,omitempty"` }
VerifyLdapBindOK Verified LDAP credentials successfully
swagger:response verifyLdapBindOK
func NewVerifyLdapBindOK ¶
func NewVerifyLdapBindOK() *VerifyLdapBindOK
NewVerifyLdapBindOK creates VerifyLdapBindOK with default headers values
func (*VerifyLdapBindOK) SetPayload ¶
func (o *VerifyLdapBindOK) SetPayload(payload *models.LdapTestResult)
SetPayload sets the payload to the verify ldap bind o k response
func (*VerifyLdapBindOK) WithPayload ¶
func (o *VerifyLdapBindOK) WithPayload(payload *models.LdapTestResult) *VerifyLdapBindOK
WithPayload adds the payload to the verify ldap bind o k response
func (*VerifyLdapBindOK) WriteResponse ¶
func (o *VerifyLdapBindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapBindParams ¶
VerifyLdapBindParams contains all the bound params for the verify ldap bind operation typically these are obtained from a http.Request
swagger:parameters verifyLdapBind
func NewVerifyLdapBindParams ¶
func NewVerifyLdapBindParams() VerifyLdapBindParams
NewVerifyLdapBindParams creates a new VerifyLdapBindParams object no default values defined in spec.
func (*VerifyLdapBindParams) BindRequest ¶
func (o *VerifyLdapBindParams) 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 NewVerifyLdapBindParams() beforehand.
type VerifyLdapBindURL ¶
type VerifyLdapBindURL struct {
// contains filtered or unexported fields
}
VerifyLdapBindURL generates an URL for the verify ldap bind operation
func (*VerifyLdapBindURL) Build ¶
func (o *VerifyLdapBindURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyLdapBindURL) BuildFull ¶
func (o *VerifyLdapBindURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyLdapBindURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyLdapBindURL) SetBasePath ¶
func (o *VerifyLdapBindURL) 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 (*VerifyLdapBindURL) String ¶
func (o *VerifyLdapBindURL) String() string
String returns the string representation of the path with query string
func (*VerifyLdapBindURL) StringFull ¶
func (o *VerifyLdapBindURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyLdapBindURL) WithBasePath ¶
func (o *VerifyLdapBindURL) WithBasePath(bp string) *VerifyLdapBindURL
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 VerifyLdapBindUnauthorized ¶
VerifyLdapBindUnauthorized Incorrect credentials
swagger:response verifyLdapBindUnauthorized
func NewVerifyLdapBindUnauthorized ¶
func NewVerifyLdapBindUnauthorized() *VerifyLdapBindUnauthorized
NewVerifyLdapBindUnauthorized creates VerifyLdapBindUnauthorized with default headers values
func (*VerifyLdapBindUnauthorized) SetPayload ¶
func (o *VerifyLdapBindUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap bind unauthorized response
func (*VerifyLdapBindUnauthorized) WithPayload ¶
func (o *VerifyLdapBindUnauthorized) WithPayload(payload *models.Error) *VerifyLdapBindUnauthorized
WithPayload adds the payload to the verify ldap bind unauthorized response
func (*VerifyLdapBindUnauthorized) WriteResponse ¶
func (o *VerifyLdapBindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapCloseConnection ¶
type VerifyLdapCloseConnection struct { Context *middleware.Context Handler VerifyLdapCloseConnectionHandler }
VerifyLdapCloseConnection swagger:route POST /api/ldap/disconnect ldap verifyLdapCloseConnection
Validate if the LDAP connection can be closed
func NewVerifyLdapCloseConnection ¶
func NewVerifyLdapCloseConnection(ctx *middleware.Context, handler VerifyLdapCloseConnectionHandler) *VerifyLdapCloseConnection
NewVerifyLdapCloseConnection creates a new http.Handler for the verify ldap close connection operation
func (*VerifyLdapCloseConnection) ServeHTTP ¶
func (o *VerifyLdapCloseConnection) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyLdapCloseConnectionBadRequest ¶
type VerifyLdapCloseConnectionBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapCloseConnectionBadRequest Bad request
swagger:response verifyLdapCloseConnectionBadRequest
func NewVerifyLdapCloseConnectionBadRequest ¶
func NewVerifyLdapCloseConnectionBadRequest() *VerifyLdapCloseConnectionBadRequest
NewVerifyLdapCloseConnectionBadRequest creates VerifyLdapCloseConnectionBadRequest with default headers values
func (*VerifyLdapCloseConnectionBadRequest) SetPayload ¶
func (o *VerifyLdapCloseConnectionBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap close connection bad request response
func (*VerifyLdapCloseConnectionBadRequest) WithPayload ¶
func (o *VerifyLdapCloseConnectionBadRequest) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionBadRequest
WithPayload adds the payload to the verify ldap close connection bad request response
func (*VerifyLdapCloseConnectionBadRequest) WriteResponse ¶
func (o *VerifyLdapCloseConnectionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapCloseConnectionCreated ¶
type VerifyLdapCloseConnectionCreated struct { }
VerifyLdapCloseConnectionCreated Verified LDAP credentials successfully
swagger:response verifyLdapCloseConnectionCreated
func NewVerifyLdapCloseConnectionCreated ¶
func NewVerifyLdapCloseConnectionCreated() *VerifyLdapCloseConnectionCreated
NewVerifyLdapCloseConnectionCreated creates VerifyLdapCloseConnectionCreated with default headers values
func (*VerifyLdapCloseConnectionCreated) WriteResponse ¶
func (o *VerifyLdapCloseConnectionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapCloseConnectionHandler ¶
type VerifyLdapCloseConnectionHandler interface {
Handle(VerifyLdapCloseConnectionParams) middleware.Responder
}
VerifyLdapCloseConnectionHandler interface for that can handle valid verify ldap close connection params
type VerifyLdapCloseConnectionHandlerFunc ¶
type VerifyLdapCloseConnectionHandlerFunc func(VerifyLdapCloseConnectionParams) middleware.Responder
VerifyLdapCloseConnectionHandlerFunc turns a function with the right signature into a verify ldap close connection handler
func (VerifyLdapCloseConnectionHandlerFunc) Handle ¶
func (fn VerifyLdapCloseConnectionHandlerFunc) Handle(params VerifyLdapCloseConnectionParams) middleware.Responder
Handle executing the request and returning a response
type VerifyLdapCloseConnectionInternalServerError ¶
type VerifyLdapCloseConnectionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapCloseConnectionInternalServerError Internal server error
swagger:response verifyLdapCloseConnectionInternalServerError
func NewVerifyLdapCloseConnectionInternalServerError ¶
func NewVerifyLdapCloseConnectionInternalServerError() *VerifyLdapCloseConnectionInternalServerError
NewVerifyLdapCloseConnectionInternalServerError creates VerifyLdapCloseConnectionInternalServerError with default headers values
func (*VerifyLdapCloseConnectionInternalServerError) SetPayload ¶
func (o *VerifyLdapCloseConnectionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap close connection internal server error response
func (*VerifyLdapCloseConnectionInternalServerError) WithPayload ¶
func (o *VerifyLdapCloseConnectionInternalServerError) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionInternalServerError
WithPayload adds the payload to the verify ldap close connection internal server error response
func (*VerifyLdapCloseConnectionInternalServerError) WriteResponse ¶
func (o *VerifyLdapCloseConnectionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapCloseConnectionParams ¶
type VerifyLdapCloseConnectionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
VerifyLdapCloseConnectionParams contains all the bound params for the verify ldap close connection operation typically these are obtained from a http.Request
swagger:parameters verifyLdapCloseConnection
func NewVerifyLdapCloseConnectionParams ¶
func NewVerifyLdapCloseConnectionParams() VerifyLdapCloseConnectionParams
NewVerifyLdapCloseConnectionParams creates a new VerifyLdapCloseConnectionParams object no default values defined in spec.
func (*VerifyLdapCloseConnectionParams) BindRequest ¶
func (o *VerifyLdapCloseConnectionParams) 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 NewVerifyLdapCloseConnectionParams() beforehand.
type VerifyLdapCloseConnectionURL ¶
type VerifyLdapCloseConnectionURL struct {
// contains filtered or unexported fields
}
VerifyLdapCloseConnectionURL generates an URL for the verify ldap close connection operation
func (*VerifyLdapCloseConnectionURL) Build ¶
func (o *VerifyLdapCloseConnectionURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyLdapCloseConnectionURL) BuildFull ¶
func (o *VerifyLdapCloseConnectionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyLdapCloseConnectionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyLdapCloseConnectionURL) SetBasePath ¶
func (o *VerifyLdapCloseConnectionURL) 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 (*VerifyLdapCloseConnectionURL) String ¶
func (o *VerifyLdapCloseConnectionURL) String() string
String returns the string representation of the path with query string
func (*VerifyLdapCloseConnectionURL) StringFull ¶
func (o *VerifyLdapCloseConnectionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyLdapCloseConnectionURL) WithBasePath ¶
func (o *VerifyLdapCloseConnectionURL) WithBasePath(bp string) *VerifyLdapCloseConnectionURL
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 VerifyLdapCloseConnectionUnauthorized ¶
type VerifyLdapCloseConnectionUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
VerifyLdapCloseConnectionUnauthorized Incorrect credentials
swagger:response verifyLdapCloseConnectionUnauthorized
func NewVerifyLdapCloseConnectionUnauthorized ¶
func NewVerifyLdapCloseConnectionUnauthorized() *VerifyLdapCloseConnectionUnauthorized
NewVerifyLdapCloseConnectionUnauthorized creates VerifyLdapCloseConnectionUnauthorized with default headers values
func (*VerifyLdapCloseConnectionUnauthorized) SetPayload ¶
func (o *VerifyLdapCloseConnectionUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap close connection unauthorized response
func (*VerifyLdapCloseConnectionUnauthorized) WithPayload ¶
func (o *VerifyLdapCloseConnectionUnauthorized) WithPayload(payload *models.Error) *VerifyLdapCloseConnectionUnauthorized
WithPayload adds the payload to the verify ldap close connection unauthorized response
func (*VerifyLdapCloseConnectionUnauthorized) WriteResponse ¶
func (o *VerifyLdapCloseConnectionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapConnect ¶
type VerifyLdapConnect struct { Context *middleware.Context Handler VerifyLdapConnectHandler }
VerifyLdapConnect swagger:route POST /api/ldap/connect ldap verifyLdapConnect
Validate LDAP connection
func NewVerifyLdapConnect ¶
func NewVerifyLdapConnect(ctx *middleware.Context, handler VerifyLdapConnectHandler) *VerifyLdapConnect
NewVerifyLdapConnect creates a new http.Handler for the verify ldap connect operation
func (*VerifyLdapConnect) ServeHTTP ¶
func (o *VerifyLdapConnect) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyLdapConnectBadRequest ¶
type VerifyLdapConnectBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapConnectBadRequest Bad request
swagger:response verifyLdapConnectBadRequest
func NewVerifyLdapConnectBadRequest ¶
func NewVerifyLdapConnectBadRequest() *VerifyLdapConnectBadRequest
NewVerifyLdapConnectBadRequest creates VerifyLdapConnectBadRequest with default headers values
func (*VerifyLdapConnectBadRequest) SetPayload ¶
func (o *VerifyLdapConnectBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap connect bad request response
func (*VerifyLdapConnectBadRequest) WithPayload ¶
func (o *VerifyLdapConnectBadRequest) WithPayload(payload *models.Error) *VerifyLdapConnectBadRequest
WithPayload adds the payload to the verify ldap connect bad request response
func (*VerifyLdapConnectBadRequest) WriteResponse ¶
func (o *VerifyLdapConnectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapConnectHandler ¶
type VerifyLdapConnectHandler interface {
Handle(VerifyLdapConnectParams) middleware.Responder
}
VerifyLdapConnectHandler interface for that can handle valid verify ldap connect params
type VerifyLdapConnectHandlerFunc ¶
type VerifyLdapConnectHandlerFunc func(VerifyLdapConnectParams) middleware.Responder
VerifyLdapConnectHandlerFunc turns a function with the right signature into a verify ldap connect handler
func (VerifyLdapConnectHandlerFunc) Handle ¶
func (fn VerifyLdapConnectHandlerFunc) Handle(params VerifyLdapConnectParams) middleware.Responder
Handle executing the request and returning a response
type VerifyLdapConnectInternalServerError ¶
type VerifyLdapConnectInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapConnectInternalServerError Internal server error
swagger:response verifyLdapConnectInternalServerError
func NewVerifyLdapConnectInternalServerError ¶
func NewVerifyLdapConnectInternalServerError() *VerifyLdapConnectInternalServerError
NewVerifyLdapConnectInternalServerError creates VerifyLdapConnectInternalServerError with default headers values
func (*VerifyLdapConnectInternalServerError) SetPayload ¶
func (o *VerifyLdapConnectInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap connect internal server error response
func (*VerifyLdapConnectInternalServerError) WithPayload ¶
func (o *VerifyLdapConnectInternalServerError) WithPayload(payload *models.Error) *VerifyLdapConnectInternalServerError
WithPayload adds the payload to the verify ldap connect internal server error response
func (*VerifyLdapConnectInternalServerError) WriteResponse ¶
func (o *VerifyLdapConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapConnectOK ¶
type VerifyLdapConnectOK struct { /* In: Body */ Payload *models.LdapTestResult `json:"body,omitempty"` }
VerifyLdapConnectOK Verified LDAP credentials successfully
swagger:response verifyLdapConnectOK
func NewVerifyLdapConnectOK ¶
func NewVerifyLdapConnectOK() *VerifyLdapConnectOK
NewVerifyLdapConnectOK creates VerifyLdapConnectOK with default headers values
func (*VerifyLdapConnectOK) SetPayload ¶
func (o *VerifyLdapConnectOK) SetPayload(payload *models.LdapTestResult)
SetPayload sets the payload to the verify ldap connect o k response
func (*VerifyLdapConnectOK) WithPayload ¶
func (o *VerifyLdapConnectOK) WithPayload(payload *models.LdapTestResult) *VerifyLdapConnectOK
WithPayload adds the payload to the verify ldap connect o k response
func (*VerifyLdapConnectOK) WriteResponse ¶
func (o *VerifyLdapConnectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapConnectParams ¶
type VerifyLdapConnectParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*LDAP configuration In: body */ Credentials *models.LdapParams }
VerifyLdapConnectParams contains all the bound params for the verify ldap connect operation typically these are obtained from a http.Request
swagger:parameters verifyLdapConnect
func NewVerifyLdapConnectParams ¶
func NewVerifyLdapConnectParams() VerifyLdapConnectParams
NewVerifyLdapConnectParams creates a new VerifyLdapConnectParams object no default values defined in spec.
func (*VerifyLdapConnectParams) BindRequest ¶
func (o *VerifyLdapConnectParams) 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 NewVerifyLdapConnectParams() beforehand.
type VerifyLdapConnectURL ¶
type VerifyLdapConnectURL struct {
// contains filtered or unexported fields
}
VerifyLdapConnectURL generates an URL for the verify ldap connect operation
func (*VerifyLdapConnectURL) Build ¶
func (o *VerifyLdapConnectURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyLdapConnectURL) BuildFull ¶
func (o *VerifyLdapConnectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyLdapConnectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyLdapConnectURL) SetBasePath ¶
func (o *VerifyLdapConnectURL) 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 (*VerifyLdapConnectURL) String ¶
func (o *VerifyLdapConnectURL) String() string
String returns the string representation of the path with query string
func (*VerifyLdapConnectURL) StringFull ¶
func (o *VerifyLdapConnectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyLdapConnectURL) WithBasePath ¶
func (o *VerifyLdapConnectURL) WithBasePath(bp string) *VerifyLdapConnectURL
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 VerifyLdapConnectUnauthorized ¶
VerifyLdapConnectUnauthorized Incorrect credentials
swagger:response verifyLdapConnectUnauthorized
func NewVerifyLdapConnectUnauthorized ¶
func NewVerifyLdapConnectUnauthorized() *VerifyLdapConnectUnauthorized
NewVerifyLdapConnectUnauthorized creates VerifyLdapConnectUnauthorized with default headers values
func (*VerifyLdapConnectUnauthorized) SetPayload ¶
func (o *VerifyLdapConnectUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap connect unauthorized response
func (*VerifyLdapConnectUnauthorized) WithPayload ¶
func (o *VerifyLdapConnectUnauthorized) WithPayload(payload *models.Error) *VerifyLdapConnectUnauthorized
WithPayload adds the payload to the verify ldap connect unauthorized response
func (*VerifyLdapConnectUnauthorized) WriteResponse ¶
func (o *VerifyLdapConnectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapGroupSearch ¶
type VerifyLdapGroupSearch struct { Context *middleware.Context Handler VerifyLdapGroupSearchHandler }
VerifyLdapGroupSearch swagger:route POST /api/ldap/groups/search ldap verifyLdapGroupSearch
Validate LDAP Group Search configuration
func NewVerifyLdapGroupSearch ¶
func NewVerifyLdapGroupSearch(ctx *middleware.Context, handler VerifyLdapGroupSearchHandler) *VerifyLdapGroupSearch
NewVerifyLdapGroupSearch creates a new http.Handler for the verify ldap group search operation
func (*VerifyLdapGroupSearch) ServeHTTP ¶
func (o *VerifyLdapGroupSearch) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyLdapGroupSearchBadRequest ¶
type VerifyLdapGroupSearchBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapGroupSearchBadRequest Bad request
swagger:response verifyLdapGroupSearchBadRequest
func NewVerifyLdapGroupSearchBadRequest ¶
func NewVerifyLdapGroupSearchBadRequest() *VerifyLdapGroupSearchBadRequest
NewVerifyLdapGroupSearchBadRequest creates VerifyLdapGroupSearchBadRequest with default headers values
func (*VerifyLdapGroupSearchBadRequest) SetPayload ¶
func (o *VerifyLdapGroupSearchBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap group search bad request response
func (*VerifyLdapGroupSearchBadRequest) WithPayload ¶
func (o *VerifyLdapGroupSearchBadRequest) WithPayload(payload *models.Error) *VerifyLdapGroupSearchBadRequest
WithPayload adds the payload to the verify ldap group search bad request response
func (*VerifyLdapGroupSearchBadRequest) WriteResponse ¶
func (o *VerifyLdapGroupSearchBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapGroupSearchHandler ¶
type VerifyLdapGroupSearchHandler interface {
Handle(VerifyLdapGroupSearchParams) middleware.Responder
}
VerifyLdapGroupSearchHandler interface for that can handle valid verify ldap group search params
type VerifyLdapGroupSearchHandlerFunc ¶
type VerifyLdapGroupSearchHandlerFunc func(VerifyLdapGroupSearchParams) middleware.Responder
VerifyLdapGroupSearchHandlerFunc turns a function with the right signature into a verify ldap group search handler
func (VerifyLdapGroupSearchHandlerFunc) Handle ¶
func (fn VerifyLdapGroupSearchHandlerFunc) Handle(params VerifyLdapGroupSearchParams) middleware.Responder
Handle executing the request and returning a response
type VerifyLdapGroupSearchInternalServerError ¶
type VerifyLdapGroupSearchInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapGroupSearchInternalServerError Internal server error
swagger:response verifyLdapGroupSearchInternalServerError
func NewVerifyLdapGroupSearchInternalServerError ¶
func NewVerifyLdapGroupSearchInternalServerError() *VerifyLdapGroupSearchInternalServerError
NewVerifyLdapGroupSearchInternalServerError creates VerifyLdapGroupSearchInternalServerError with default headers values
func (*VerifyLdapGroupSearchInternalServerError) SetPayload ¶
func (o *VerifyLdapGroupSearchInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap group search internal server error response
func (*VerifyLdapGroupSearchInternalServerError) WithPayload ¶
func (o *VerifyLdapGroupSearchInternalServerError) WithPayload(payload *models.Error) *VerifyLdapGroupSearchInternalServerError
WithPayload adds the payload to the verify ldap group search internal server error response
func (*VerifyLdapGroupSearchInternalServerError) WriteResponse ¶
func (o *VerifyLdapGroupSearchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapGroupSearchOK ¶
type VerifyLdapGroupSearchOK struct { /* In: Body */ Payload *models.LdapTestResult `json:"body,omitempty"` }
VerifyLdapGroupSearchOK Verified LDAP credentials successfully
swagger:response verifyLdapGroupSearchOK
func NewVerifyLdapGroupSearchOK ¶
func NewVerifyLdapGroupSearchOK() *VerifyLdapGroupSearchOK
NewVerifyLdapGroupSearchOK creates VerifyLdapGroupSearchOK with default headers values
func (*VerifyLdapGroupSearchOK) SetPayload ¶
func (o *VerifyLdapGroupSearchOK) SetPayload(payload *models.LdapTestResult)
SetPayload sets the payload to the verify ldap group search o k response
func (*VerifyLdapGroupSearchOK) WithPayload ¶
func (o *VerifyLdapGroupSearchOK) WithPayload(payload *models.LdapTestResult) *VerifyLdapGroupSearchOK
WithPayload adds the payload to the verify ldap group search o k response
func (*VerifyLdapGroupSearchOK) WriteResponse ¶
func (o *VerifyLdapGroupSearchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapGroupSearchParams ¶
type VerifyLdapGroupSearchParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
VerifyLdapGroupSearchParams contains all the bound params for the verify ldap group search operation typically these are obtained from a http.Request
swagger:parameters verifyLdapGroupSearch
func NewVerifyLdapGroupSearchParams ¶
func NewVerifyLdapGroupSearchParams() VerifyLdapGroupSearchParams
NewVerifyLdapGroupSearchParams creates a new VerifyLdapGroupSearchParams object no default values defined in spec.
func (*VerifyLdapGroupSearchParams) BindRequest ¶
func (o *VerifyLdapGroupSearchParams) 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 NewVerifyLdapGroupSearchParams() beforehand.
type VerifyLdapGroupSearchURL ¶
type VerifyLdapGroupSearchURL struct {
// contains filtered or unexported fields
}
VerifyLdapGroupSearchURL generates an URL for the verify ldap group search operation
func (*VerifyLdapGroupSearchURL) Build ¶
func (o *VerifyLdapGroupSearchURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyLdapGroupSearchURL) BuildFull ¶
func (o *VerifyLdapGroupSearchURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyLdapGroupSearchURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyLdapGroupSearchURL) SetBasePath ¶
func (o *VerifyLdapGroupSearchURL) 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 (*VerifyLdapGroupSearchURL) String ¶
func (o *VerifyLdapGroupSearchURL) String() string
String returns the string representation of the path with query string
func (*VerifyLdapGroupSearchURL) StringFull ¶
func (o *VerifyLdapGroupSearchURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyLdapGroupSearchURL) WithBasePath ¶
func (o *VerifyLdapGroupSearchURL) WithBasePath(bp string) *VerifyLdapGroupSearchURL
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 VerifyLdapGroupSearchUnauthorized ¶
VerifyLdapGroupSearchUnauthorized Incorrect credentials
swagger:response verifyLdapGroupSearchUnauthorized
func NewVerifyLdapGroupSearchUnauthorized ¶
func NewVerifyLdapGroupSearchUnauthorized() *VerifyLdapGroupSearchUnauthorized
NewVerifyLdapGroupSearchUnauthorized creates VerifyLdapGroupSearchUnauthorized with default headers values
func (*VerifyLdapGroupSearchUnauthorized) SetPayload ¶
func (o *VerifyLdapGroupSearchUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap group search unauthorized response
func (*VerifyLdapGroupSearchUnauthorized) WithPayload ¶
func (o *VerifyLdapGroupSearchUnauthorized) WithPayload(payload *models.Error) *VerifyLdapGroupSearchUnauthorized
WithPayload adds the payload to the verify ldap group search unauthorized response
func (*VerifyLdapGroupSearchUnauthorized) WriteResponse ¶
func (o *VerifyLdapGroupSearchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapUserSearch ¶
type VerifyLdapUserSearch struct { Context *middleware.Context Handler VerifyLdapUserSearchHandler }
VerifyLdapUserSearch swagger:route POST /api/ldap/users/search ldap verifyLdapUserSearch
Validate LDAP User Search configuration
func NewVerifyLdapUserSearch ¶
func NewVerifyLdapUserSearch(ctx *middleware.Context, handler VerifyLdapUserSearchHandler) *VerifyLdapUserSearch
NewVerifyLdapUserSearch creates a new http.Handler for the verify ldap user search operation
func (*VerifyLdapUserSearch) ServeHTTP ¶
func (o *VerifyLdapUserSearch) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyLdapUserSearchBadRequest ¶
type VerifyLdapUserSearchBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapUserSearchBadRequest Bad request
swagger:response verifyLdapUserSearchBadRequest
func NewVerifyLdapUserSearchBadRequest ¶
func NewVerifyLdapUserSearchBadRequest() *VerifyLdapUserSearchBadRequest
NewVerifyLdapUserSearchBadRequest creates VerifyLdapUserSearchBadRequest with default headers values
func (*VerifyLdapUserSearchBadRequest) SetPayload ¶
func (o *VerifyLdapUserSearchBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap user search bad request response
func (*VerifyLdapUserSearchBadRequest) WithPayload ¶
func (o *VerifyLdapUserSearchBadRequest) WithPayload(payload *models.Error) *VerifyLdapUserSearchBadRequest
WithPayload adds the payload to the verify ldap user search bad request response
func (*VerifyLdapUserSearchBadRequest) WriteResponse ¶
func (o *VerifyLdapUserSearchBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapUserSearchHandler ¶
type VerifyLdapUserSearchHandler interface {
Handle(VerifyLdapUserSearchParams) middleware.Responder
}
VerifyLdapUserSearchHandler interface for that can handle valid verify ldap user search params
type VerifyLdapUserSearchHandlerFunc ¶
type VerifyLdapUserSearchHandlerFunc func(VerifyLdapUserSearchParams) middleware.Responder
VerifyLdapUserSearchHandlerFunc turns a function with the right signature into a verify ldap user search handler
func (VerifyLdapUserSearchHandlerFunc) Handle ¶
func (fn VerifyLdapUserSearchHandlerFunc) Handle(params VerifyLdapUserSearchParams) middleware.Responder
Handle executing the request and returning a response
type VerifyLdapUserSearchInternalServerError ¶
type VerifyLdapUserSearchInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
VerifyLdapUserSearchInternalServerError Internal server error
swagger:response verifyLdapUserSearchInternalServerError
func NewVerifyLdapUserSearchInternalServerError ¶
func NewVerifyLdapUserSearchInternalServerError() *VerifyLdapUserSearchInternalServerError
NewVerifyLdapUserSearchInternalServerError creates VerifyLdapUserSearchInternalServerError with default headers values
func (*VerifyLdapUserSearchInternalServerError) SetPayload ¶
func (o *VerifyLdapUserSearchInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap user search internal server error response
func (*VerifyLdapUserSearchInternalServerError) WithPayload ¶
func (o *VerifyLdapUserSearchInternalServerError) WithPayload(payload *models.Error) *VerifyLdapUserSearchInternalServerError
WithPayload adds the payload to the verify ldap user search internal server error response
func (*VerifyLdapUserSearchInternalServerError) WriteResponse ¶
func (o *VerifyLdapUserSearchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapUserSearchOK ¶
type VerifyLdapUserSearchOK struct { /* In: Body */ Payload *models.LdapTestResult `json:"body,omitempty"` }
VerifyLdapUserSearchOK Verified LDAP credentials successfully
swagger:response verifyLdapUserSearchOK
func NewVerifyLdapUserSearchOK ¶
func NewVerifyLdapUserSearchOK() *VerifyLdapUserSearchOK
NewVerifyLdapUserSearchOK creates VerifyLdapUserSearchOK with default headers values
func (*VerifyLdapUserSearchOK) SetPayload ¶
func (o *VerifyLdapUserSearchOK) SetPayload(payload *models.LdapTestResult)
SetPayload sets the payload to the verify ldap user search o k response
func (*VerifyLdapUserSearchOK) WithPayload ¶
func (o *VerifyLdapUserSearchOK) WithPayload(payload *models.LdapTestResult) *VerifyLdapUserSearchOK
WithPayload adds the payload to the verify ldap user search o k response
func (*VerifyLdapUserSearchOK) WriteResponse ¶
func (o *VerifyLdapUserSearchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyLdapUserSearchParams ¶
type VerifyLdapUserSearchParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
VerifyLdapUserSearchParams contains all the bound params for the verify ldap user search operation typically these are obtained from a http.Request
swagger:parameters verifyLdapUserSearch
func NewVerifyLdapUserSearchParams ¶
func NewVerifyLdapUserSearchParams() VerifyLdapUserSearchParams
NewVerifyLdapUserSearchParams creates a new VerifyLdapUserSearchParams object no default values defined in spec.
func (*VerifyLdapUserSearchParams) BindRequest ¶
func (o *VerifyLdapUserSearchParams) 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 NewVerifyLdapUserSearchParams() beforehand.
type VerifyLdapUserSearchURL ¶
type VerifyLdapUserSearchURL struct {
// contains filtered or unexported fields
}
VerifyLdapUserSearchURL generates an URL for the verify ldap user search operation
func (*VerifyLdapUserSearchURL) Build ¶
func (o *VerifyLdapUserSearchURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyLdapUserSearchURL) BuildFull ¶
func (o *VerifyLdapUserSearchURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyLdapUserSearchURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyLdapUserSearchURL) SetBasePath ¶
func (o *VerifyLdapUserSearchURL) 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 (*VerifyLdapUserSearchURL) String ¶
func (o *VerifyLdapUserSearchURL) String() string
String returns the string representation of the path with query string
func (*VerifyLdapUserSearchURL) StringFull ¶
func (o *VerifyLdapUserSearchURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyLdapUserSearchURL) WithBasePath ¶
func (o *VerifyLdapUserSearchURL) WithBasePath(bp string) *VerifyLdapUserSearchURL
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 VerifyLdapUserSearchUnauthorized ¶
VerifyLdapUserSearchUnauthorized Incorrect credentials
swagger:response verifyLdapUserSearchUnauthorized
func NewVerifyLdapUserSearchUnauthorized ¶
func NewVerifyLdapUserSearchUnauthorized() *VerifyLdapUserSearchUnauthorized
NewVerifyLdapUserSearchUnauthorized creates VerifyLdapUserSearchUnauthorized with default headers values
func (*VerifyLdapUserSearchUnauthorized) SetPayload ¶
func (o *VerifyLdapUserSearchUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the verify ldap user search unauthorized response
func (*VerifyLdapUserSearchUnauthorized) WithPayload ¶
func (o *VerifyLdapUserSearchUnauthorized) WithPayload(payload *models.Error) *VerifyLdapUserSearchUnauthorized
WithPayload adds the payload to the verify ldap user search unauthorized response
func (*VerifyLdapUserSearchUnauthorized) WriteResponse ¶
func (o *VerifyLdapUserSearchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- verify_ldap_bind.go
- verify_ldap_bind_parameters.go
- verify_ldap_bind_responses.go
- verify_ldap_bind_urlbuilder.go
- verify_ldap_close_connection.go
- verify_ldap_close_connection_parameters.go
- verify_ldap_close_connection_responses.go
- verify_ldap_close_connection_urlbuilder.go
- verify_ldap_connect.go
- verify_ldap_connect_parameters.go
- verify_ldap_connect_responses.go
- verify_ldap_connect_urlbuilder.go
- verify_ldap_group_search.go
- verify_ldap_group_search_parameters.go
- verify_ldap_group_search_responses.go
- verify_ldap_group_search_urlbuilder.go
- verify_ldap_user_search.go
- verify_ldap_user_search_parameters.go
- verify_ldap_user_search_responses.go
- verify_ldap_user_search_urlbuilder.go