ldap

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const VerifyLdapBindBadRequestCode int = 400

VerifyLdapBindBadRequestCode is the HTTP code returned for type VerifyLdapBindBadRequest

View Source
const VerifyLdapBindInternalServerErrorCode int = 500

VerifyLdapBindInternalServerErrorCode is the HTTP code returned for type VerifyLdapBindInternalServerError

View Source
const VerifyLdapBindOKCode int = 200

VerifyLdapBindOKCode is the HTTP code returned for type VerifyLdapBindOK

View Source
const VerifyLdapBindUnauthorizedCode int = 401

VerifyLdapBindUnauthorizedCode is the HTTP code returned for type VerifyLdapBindUnauthorized

View Source
const VerifyLdapCloseConnectionBadRequestCode int = 400

VerifyLdapCloseConnectionBadRequestCode is the HTTP code returned for type VerifyLdapCloseConnectionBadRequest

View Source
const VerifyLdapCloseConnectionCreatedCode int = 201

VerifyLdapCloseConnectionCreatedCode is the HTTP code returned for type VerifyLdapCloseConnectionCreated

View Source
const VerifyLdapCloseConnectionInternalServerErrorCode int = 500

VerifyLdapCloseConnectionInternalServerErrorCode is the HTTP code returned for type VerifyLdapCloseConnectionInternalServerError

View Source
const VerifyLdapCloseConnectionUnauthorizedCode int = 401

VerifyLdapCloseConnectionUnauthorizedCode is the HTTP code returned for type VerifyLdapCloseConnectionUnauthorized

View Source
const VerifyLdapConnectBadRequestCode int = 400

VerifyLdapConnectBadRequestCode is the HTTP code returned for type VerifyLdapConnectBadRequest

View Source
const VerifyLdapConnectInternalServerErrorCode int = 500

VerifyLdapConnectInternalServerErrorCode is the HTTP code returned for type VerifyLdapConnectInternalServerError

View Source
const VerifyLdapConnectOKCode int = 200

VerifyLdapConnectOKCode is the HTTP code returned for type VerifyLdapConnectOK

View Source
const VerifyLdapConnectUnauthorizedCode int = 401

VerifyLdapConnectUnauthorizedCode is the HTTP code returned for type VerifyLdapConnectUnauthorized

View Source
const VerifyLdapGroupSearchBadRequestCode int = 400

VerifyLdapGroupSearchBadRequestCode is the HTTP code returned for type VerifyLdapGroupSearchBadRequest

View Source
const VerifyLdapGroupSearchInternalServerErrorCode int = 500

VerifyLdapGroupSearchInternalServerErrorCode is the HTTP code returned for type VerifyLdapGroupSearchInternalServerError

View Source
const VerifyLdapGroupSearchOKCode int = 200

VerifyLdapGroupSearchOKCode is the HTTP code returned for type VerifyLdapGroupSearchOK

View Source
const VerifyLdapGroupSearchUnauthorizedCode int = 401

VerifyLdapGroupSearchUnauthorizedCode is the HTTP code returned for type VerifyLdapGroupSearchUnauthorized

View Source
const VerifyLdapUserSearchBadRequestCode int = 400

VerifyLdapUserSearchBadRequestCode is the HTTP code returned for type VerifyLdapUserSearchBadRequest

View Source
const VerifyLdapUserSearchInternalServerErrorCode int = 500

VerifyLdapUserSearchInternalServerErrorCode is the HTTP code returned for type VerifyLdapUserSearchInternalServerError

View Source
const VerifyLdapUserSearchOKCode int = 200

VerifyLdapUserSearchOKCode is the HTTP code returned for type VerifyLdapUserSearchOK

View Source
const VerifyLdapUserSearchUnauthorizedCode int = 401

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

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

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

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

type VerifyLdapBindParams struct {

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

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

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

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

type VerifyLdapBindUnauthorized struct {

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

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

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

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

WithPayload adds the payload to the verify ldap close connection bad request response

func (*VerifyLdapCloseConnectionBadRequest) WriteResponse

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

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

SetPayload sets the payload to the verify ldap close connection internal server error response

func (*VerifyLdapCloseConnectionInternalServerError) WithPayload

WithPayload adds the payload to the verify ldap close connection internal server error response

func (*VerifyLdapCloseConnectionInternalServerError) WriteResponse

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

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

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

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

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

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 {

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

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

WithPayload adds the payload to the verify ldap close connection unauthorized response

func (*VerifyLdapCloseConnectionUnauthorized) WriteResponse

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

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

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

WithPayload adds the payload to the verify ldap connect internal server error response

func (*VerifyLdapConnectInternalServerError) WriteResponse

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

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

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

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

type VerifyLdapConnectUnauthorized struct {

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

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

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

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

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

WithPayload adds the payload to the verify ldap group search internal server error response

func (*VerifyLdapGroupSearchInternalServerError) WriteResponse

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

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

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

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

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

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

type VerifyLdapGroupSearchUnauthorized struct {

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

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

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

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

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

WithPayload adds the payload to the verify ldap user search internal server error response

func (*VerifyLdapUserSearchInternalServerError) WriteResponse

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

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

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

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

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

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

type VerifyLdapUserSearchUnauthorized struct {

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

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

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

Jump to

Keyboard shortcuts

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