admin_ldap

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin ldap API

func (*Client) GetLDAPStatus

func (a *Client) GetLDAPStatus(opts ...ClientOption) (*GetLDAPStatusOK, error)

GetLDAPStatus attempts to connect to all the configured LDAP servers and returns information on whenever they re available or not

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.status:read`.

func (*Client) GetLDAPStatusWithParams

func (a *Client) GetLDAPStatusWithParams(params *GetLDAPStatusParams, opts ...ClientOption) (*GetLDAPStatusOK, error)

func (*Client) GetUserFromLDAP

func (a *Client) GetUserFromLDAP(userName string, opts ...ClientOption) (*GetUserFromLDAPOK, error)

GetUserFromLDAP finds an user based on a username in LDAP this helps illustrate how would the particular user be mapped in grafana when synced

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:read`.

func (*Client) GetUserFromLDAPWithParams

func (a *Client) GetUserFromLDAPWithParams(params *GetUserFromLDAPParams, opts ...ClientOption) (*GetUserFromLDAPOK, error)

func (*Client) PostSyncUserWithLDAP

func (a *Client) PostSyncUserWithLDAP(userID int64, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)

PostSyncUserWithLDAP enables a single grafana user to be synchronized against LDAP

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:sync`.

func (*Client) PostSyncUserWithLDAPWithParams

func (a *Client) PostSyncUserWithLDAPWithParams(params *PostSyncUserWithLDAPParams, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)

func (*Client) ReloadLDAPCfg

func (a *Client) ReloadLDAPCfg(opts ...ClientOption) (*ReloadLDAPCfgOK, error)

ReloadLDAPCfg reloads the LDAP configuration

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.config:reload`.

func (*Client) ReloadLDAPCfgWithParams

func (a *Client) ReloadLDAPCfgWithParams(params *ReloadLDAPCfgParams, opts ...ClientOption) (*ReloadLDAPCfgOK, error)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	GetLDAPStatus(opts ...ClientOption) (*GetLDAPStatusOK, error)
	GetLDAPStatusWithParams(params *GetLDAPStatusParams, opts ...ClientOption) (*GetLDAPStatusOK, error)

	GetUserFromLDAP(userName string, opts ...ClientOption) (*GetUserFromLDAPOK, error)
	GetUserFromLDAPWithParams(params *GetUserFromLDAPParams, opts ...ClientOption) (*GetUserFromLDAPOK, error)

	PostSyncUserWithLDAP(userID int64, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)
	PostSyncUserWithLDAPWithParams(params *PostSyncUserWithLDAPParams, opts ...ClientOption) (*PostSyncUserWithLDAPOK, error)

	ReloadLDAPCfg(opts ...ClientOption) (*ReloadLDAPCfgOK, error)
	ReloadLDAPCfgWithParams(params *ReloadLDAPCfgParams, opts ...ClientOption) (*ReloadLDAPCfgOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new admin ldap API client.

type GetLDAPStatusForbidden

type GetLDAPStatusForbidden struct {
	Payload *models.ErrorResponseBody
}

GetLDAPStatusForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetLDAPStatusForbidden

func NewGetLDAPStatusForbidden() *GetLDAPStatusForbidden

NewGetLDAPStatusForbidden creates a GetLDAPStatusForbidden with default headers values

func (*GetLDAPStatusForbidden) Code

func (o *GetLDAPStatusForbidden) Code() int

Code gets the status code for the get Ldap status forbidden response

func (*GetLDAPStatusForbidden) Error

func (o *GetLDAPStatusForbidden) Error() string

func (*GetLDAPStatusForbidden) GetPayload

func (*GetLDAPStatusForbidden) IsClientError

func (o *GetLDAPStatusForbidden) IsClientError() bool

IsClientError returns true when this get Ldap status forbidden response has a 4xx status code

func (*GetLDAPStatusForbidden) IsCode

func (o *GetLDAPStatusForbidden) IsCode(code int) bool

IsCode returns true when this get Ldap status forbidden response a status code equal to that given

func (*GetLDAPStatusForbidden) IsRedirect

func (o *GetLDAPStatusForbidden) IsRedirect() bool

IsRedirect returns true when this get Ldap status forbidden response has a 3xx status code

func (*GetLDAPStatusForbidden) IsServerError

func (o *GetLDAPStatusForbidden) IsServerError() bool

IsServerError returns true when this get Ldap status forbidden response has a 5xx status code

func (*GetLDAPStatusForbidden) IsSuccess

func (o *GetLDAPStatusForbidden) IsSuccess() bool

IsSuccess returns true when this get Ldap status forbidden response has a 2xx status code

func (*GetLDAPStatusForbidden) String

func (o *GetLDAPStatusForbidden) String() string

type GetLDAPStatusInternalServerError

type GetLDAPStatusInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetLDAPStatusInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetLDAPStatusInternalServerError

func NewGetLDAPStatusInternalServerError() *GetLDAPStatusInternalServerError

NewGetLDAPStatusInternalServerError creates a GetLDAPStatusInternalServerError with default headers values

func (*GetLDAPStatusInternalServerError) Code

Code gets the status code for the get Ldap status internal server error response

func (*GetLDAPStatusInternalServerError) Error

func (*GetLDAPStatusInternalServerError) GetPayload

func (*GetLDAPStatusInternalServerError) IsClientError

func (o *GetLDAPStatusInternalServerError) IsClientError() bool

IsClientError returns true when this get Ldap status internal server error response has a 4xx status code

func (*GetLDAPStatusInternalServerError) IsCode

func (o *GetLDAPStatusInternalServerError) IsCode(code int) bool

IsCode returns true when this get Ldap status internal server error response a status code equal to that given

func (*GetLDAPStatusInternalServerError) IsRedirect

func (o *GetLDAPStatusInternalServerError) IsRedirect() bool

IsRedirect returns true when this get Ldap status internal server error response has a 3xx status code

func (*GetLDAPStatusInternalServerError) IsServerError

func (o *GetLDAPStatusInternalServerError) IsServerError() bool

IsServerError returns true when this get Ldap status internal server error response has a 5xx status code

func (*GetLDAPStatusInternalServerError) IsSuccess

func (o *GetLDAPStatusInternalServerError) IsSuccess() bool

IsSuccess returns true when this get Ldap status internal server error response has a 2xx status code

func (*GetLDAPStatusInternalServerError) String

type GetLDAPStatusOK

type GetLDAPStatusOK struct {
	Payload *models.SuccessResponseBody
}

GetLDAPStatusOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewGetLDAPStatusOK

func NewGetLDAPStatusOK() *GetLDAPStatusOK

NewGetLDAPStatusOK creates a GetLDAPStatusOK with default headers values

func (*GetLDAPStatusOK) Code

func (o *GetLDAPStatusOK) Code() int

Code gets the status code for the get Ldap status Ok response

func (*GetLDAPStatusOK) Error

func (o *GetLDAPStatusOK) Error() string

func (*GetLDAPStatusOK) GetPayload

func (o *GetLDAPStatusOK) GetPayload() *models.SuccessResponseBody

func (*GetLDAPStatusOK) IsClientError

func (o *GetLDAPStatusOK) IsClientError() bool

IsClientError returns true when this get Ldap status Ok response has a 4xx status code

func (*GetLDAPStatusOK) IsCode

func (o *GetLDAPStatusOK) IsCode(code int) bool

IsCode returns true when this get Ldap status Ok response a status code equal to that given

func (*GetLDAPStatusOK) IsRedirect

func (o *GetLDAPStatusOK) IsRedirect() bool

IsRedirect returns true when this get Ldap status Ok response has a 3xx status code

func (*GetLDAPStatusOK) IsServerError

func (o *GetLDAPStatusOK) IsServerError() bool

IsServerError returns true when this get Ldap status Ok response has a 5xx status code

func (*GetLDAPStatusOK) IsSuccess

func (o *GetLDAPStatusOK) IsSuccess() bool

IsSuccess returns true when this get Ldap status Ok response has a 2xx status code

func (*GetLDAPStatusOK) String

func (o *GetLDAPStatusOK) String() string

type GetLDAPStatusParams

type GetLDAPStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLDAPStatusParams contains all the parameters to send to the API endpoint

for the get LDAP status operation.

Typically these are written to a http.Request.

func NewGetLDAPStatusParams

func NewGetLDAPStatusParams() *GetLDAPStatusParams

NewGetLDAPStatusParams creates a new GetLDAPStatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetLDAPStatusParamsWithContext

func NewGetLDAPStatusParamsWithContext(ctx context.Context) *GetLDAPStatusParams

NewGetLDAPStatusParamsWithContext creates a new GetLDAPStatusParams object with the ability to set a context for a request.

func NewGetLDAPStatusParamsWithHTTPClient

func NewGetLDAPStatusParamsWithHTTPClient(client *http.Client) *GetLDAPStatusParams

NewGetLDAPStatusParamsWithHTTPClient creates a new GetLDAPStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetLDAPStatusParamsWithTimeout

func NewGetLDAPStatusParamsWithTimeout(timeout time.Duration) *GetLDAPStatusParams

NewGetLDAPStatusParamsWithTimeout creates a new GetLDAPStatusParams object with the ability to set a timeout on a request.

func (*GetLDAPStatusParams) SetContext

func (o *GetLDAPStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get LDAP status params

func (*GetLDAPStatusParams) SetDefaults

func (o *GetLDAPStatusParams) SetDefaults()

SetDefaults hydrates default values in the get LDAP status params (not the query body).

All values with no default are reset to their zero value.

func (*GetLDAPStatusParams) SetHTTPClient

func (o *GetLDAPStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get LDAP status params

func (*GetLDAPStatusParams) SetTimeout

func (o *GetLDAPStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get LDAP status params

func (*GetLDAPStatusParams) WithContext

WithContext adds the context to the get LDAP status params

func (*GetLDAPStatusParams) WithDefaults

func (o *GetLDAPStatusParams) WithDefaults() *GetLDAPStatusParams

WithDefaults hydrates default values in the get LDAP status params (not the query body).

All values with no default are reset to their zero value.

func (*GetLDAPStatusParams) WithHTTPClient

func (o *GetLDAPStatusParams) WithHTTPClient(client *http.Client) *GetLDAPStatusParams

WithHTTPClient adds the HTTPClient to the get LDAP status params

func (*GetLDAPStatusParams) WithTimeout

func (o *GetLDAPStatusParams) WithTimeout(timeout time.Duration) *GetLDAPStatusParams

WithTimeout adds the timeout to the get LDAP status params

func (*GetLDAPStatusParams) WriteToRequest

func (o *GetLDAPStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLDAPStatusReader

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

GetLDAPStatusReader is a Reader for the GetLDAPStatus structure.

func (*GetLDAPStatusReader) ReadResponse

func (o *GetLDAPStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLDAPStatusUnauthorized

type GetLDAPStatusUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetLDAPStatusUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetLDAPStatusUnauthorized

func NewGetLDAPStatusUnauthorized() *GetLDAPStatusUnauthorized

NewGetLDAPStatusUnauthorized creates a GetLDAPStatusUnauthorized with default headers values

func (*GetLDAPStatusUnauthorized) Code

func (o *GetLDAPStatusUnauthorized) Code() int

Code gets the status code for the get Ldap status unauthorized response

func (*GetLDAPStatusUnauthorized) Error

func (o *GetLDAPStatusUnauthorized) Error() string

func (*GetLDAPStatusUnauthorized) GetPayload

func (*GetLDAPStatusUnauthorized) IsClientError

func (o *GetLDAPStatusUnauthorized) IsClientError() bool

IsClientError returns true when this get Ldap status unauthorized response has a 4xx status code

func (*GetLDAPStatusUnauthorized) IsCode

func (o *GetLDAPStatusUnauthorized) IsCode(code int) bool

IsCode returns true when this get Ldap status unauthorized response a status code equal to that given

func (*GetLDAPStatusUnauthorized) IsRedirect

func (o *GetLDAPStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this get Ldap status unauthorized response has a 3xx status code

func (*GetLDAPStatusUnauthorized) IsServerError

func (o *GetLDAPStatusUnauthorized) IsServerError() bool

IsServerError returns true when this get Ldap status unauthorized response has a 5xx status code

func (*GetLDAPStatusUnauthorized) IsSuccess

func (o *GetLDAPStatusUnauthorized) IsSuccess() bool

IsSuccess returns true when this get Ldap status unauthorized response has a 2xx status code

func (*GetLDAPStatusUnauthorized) String

func (o *GetLDAPStatusUnauthorized) String() string

type GetUserFromLDAPForbidden

type GetUserFromLDAPForbidden struct {
	Payload *models.ErrorResponseBody
}

GetUserFromLDAPForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetUserFromLDAPForbidden

func NewGetUserFromLDAPForbidden() *GetUserFromLDAPForbidden

NewGetUserFromLDAPForbidden creates a GetUserFromLDAPForbidden with default headers values

func (*GetUserFromLDAPForbidden) Code

func (o *GetUserFromLDAPForbidden) Code() int

Code gets the status code for the get user from Ldap forbidden response

func (*GetUserFromLDAPForbidden) Error

func (o *GetUserFromLDAPForbidden) Error() string

func (*GetUserFromLDAPForbidden) GetPayload

func (*GetUserFromLDAPForbidden) IsClientError

func (o *GetUserFromLDAPForbidden) IsClientError() bool

IsClientError returns true when this get user from Ldap forbidden response has a 4xx status code

func (*GetUserFromLDAPForbidden) IsCode

func (o *GetUserFromLDAPForbidden) IsCode(code int) bool

IsCode returns true when this get user from Ldap forbidden response a status code equal to that given

func (*GetUserFromLDAPForbidden) IsRedirect

func (o *GetUserFromLDAPForbidden) IsRedirect() bool

IsRedirect returns true when this get user from Ldap forbidden response has a 3xx status code

func (*GetUserFromLDAPForbidden) IsServerError

func (o *GetUserFromLDAPForbidden) IsServerError() bool

IsServerError returns true when this get user from Ldap forbidden response has a 5xx status code

func (*GetUserFromLDAPForbidden) IsSuccess

func (o *GetUserFromLDAPForbidden) IsSuccess() bool

IsSuccess returns true when this get user from Ldap forbidden response has a 2xx status code

func (*GetUserFromLDAPForbidden) String

func (o *GetUserFromLDAPForbidden) String() string

type GetUserFromLDAPInternalServerError

type GetUserFromLDAPInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetUserFromLDAPInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetUserFromLDAPInternalServerError

func NewGetUserFromLDAPInternalServerError() *GetUserFromLDAPInternalServerError

NewGetUserFromLDAPInternalServerError creates a GetUserFromLDAPInternalServerError with default headers values

func (*GetUserFromLDAPInternalServerError) Code

Code gets the status code for the get user from Ldap internal server error response

func (*GetUserFromLDAPInternalServerError) Error

func (*GetUserFromLDAPInternalServerError) GetPayload

func (*GetUserFromLDAPInternalServerError) IsClientError

func (o *GetUserFromLDAPInternalServerError) IsClientError() bool

IsClientError returns true when this get user from Ldap internal server error response has a 4xx status code

func (*GetUserFromLDAPInternalServerError) IsCode

IsCode returns true when this get user from Ldap internal server error response a status code equal to that given

func (*GetUserFromLDAPInternalServerError) IsRedirect

func (o *GetUserFromLDAPInternalServerError) IsRedirect() bool

IsRedirect returns true when this get user from Ldap internal server error response has a 3xx status code

func (*GetUserFromLDAPInternalServerError) IsServerError

func (o *GetUserFromLDAPInternalServerError) IsServerError() bool

IsServerError returns true when this get user from Ldap internal server error response has a 5xx status code

func (*GetUserFromLDAPInternalServerError) IsSuccess

IsSuccess returns true when this get user from Ldap internal server error response has a 2xx status code

func (*GetUserFromLDAPInternalServerError) String

type GetUserFromLDAPOK

type GetUserFromLDAPOK struct {
	Payload *models.SuccessResponseBody
}

GetUserFromLDAPOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewGetUserFromLDAPOK

func NewGetUserFromLDAPOK() *GetUserFromLDAPOK

NewGetUserFromLDAPOK creates a GetUserFromLDAPOK with default headers values

func (*GetUserFromLDAPOK) Code

func (o *GetUserFromLDAPOK) Code() int

Code gets the status code for the get user from Ldap Ok response

func (*GetUserFromLDAPOK) Error

func (o *GetUserFromLDAPOK) Error() string

func (*GetUserFromLDAPOK) GetPayload

func (o *GetUserFromLDAPOK) GetPayload() *models.SuccessResponseBody

func (*GetUserFromLDAPOK) IsClientError

func (o *GetUserFromLDAPOK) IsClientError() bool

IsClientError returns true when this get user from Ldap Ok response has a 4xx status code

func (*GetUserFromLDAPOK) IsCode

func (o *GetUserFromLDAPOK) IsCode(code int) bool

IsCode returns true when this get user from Ldap Ok response a status code equal to that given

func (*GetUserFromLDAPOK) IsRedirect

func (o *GetUserFromLDAPOK) IsRedirect() bool

IsRedirect returns true when this get user from Ldap Ok response has a 3xx status code

func (*GetUserFromLDAPOK) IsServerError

func (o *GetUserFromLDAPOK) IsServerError() bool

IsServerError returns true when this get user from Ldap Ok response has a 5xx status code

func (*GetUserFromLDAPOK) IsSuccess

func (o *GetUserFromLDAPOK) IsSuccess() bool

IsSuccess returns true when this get user from Ldap Ok response has a 2xx status code

func (*GetUserFromLDAPOK) String

func (o *GetUserFromLDAPOK) String() string

type GetUserFromLDAPParams

type GetUserFromLDAPParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserFromLDAPParams contains all the parameters to send to the API endpoint

for the get user from LDAP operation.

Typically these are written to a http.Request.

func NewGetUserFromLDAPParams

func NewGetUserFromLDAPParams() *GetUserFromLDAPParams

NewGetUserFromLDAPParams creates a new GetUserFromLDAPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUserFromLDAPParamsWithContext

func NewGetUserFromLDAPParamsWithContext(ctx context.Context) *GetUserFromLDAPParams

NewGetUserFromLDAPParamsWithContext creates a new GetUserFromLDAPParams object with the ability to set a context for a request.

func NewGetUserFromLDAPParamsWithHTTPClient

func NewGetUserFromLDAPParamsWithHTTPClient(client *http.Client) *GetUserFromLDAPParams

NewGetUserFromLDAPParamsWithHTTPClient creates a new GetUserFromLDAPParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserFromLDAPParamsWithTimeout

func NewGetUserFromLDAPParamsWithTimeout(timeout time.Duration) *GetUserFromLDAPParams

NewGetUserFromLDAPParamsWithTimeout creates a new GetUserFromLDAPParams object with the ability to set a timeout on a request.

func (*GetUserFromLDAPParams) SetContext

func (o *GetUserFromLDAPParams) SetContext(ctx context.Context)

SetContext adds the context to the get user from LDAP params

func (*GetUserFromLDAPParams) SetDefaults

func (o *GetUserFromLDAPParams) SetDefaults()

SetDefaults hydrates default values in the get user from LDAP params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserFromLDAPParams) SetHTTPClient

func (o *GetUserFromLDAPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user from LDAP params

func (*GetUserFromLDAPParams) SetTimeout

func (o *GetUserFromLDAPParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user from LDAP params

func (*GetUserFromLDAPParams) SetUserName

func (o *GetUserFromLDAPParams) SetUserName(userName string)

SetUserName adds the userName to the get user from LDAP params

func (*GetUserFromLDAPParams) WithContext

WithContext adds the context to the get user from LDAP params

func (*GetUserFromLDAPParams) WithDefaults

func (o *GetUserFromLDAPParams) WithDefaults() *GetUserFromLDAPParams

WithDefaults hydrates default values in the get user from LDAP params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserFromLDAPParams) WithHTTPClient

func (o *GetUserFromLDAPParams) WithHTTPClient(client *http.Client) *GetUserFromLDAPParams

WithHTTPClient adds the HTTPClient to the get user from LDAP params

func (*GetUserFromLDAPParams) WithTimeout

func (o *GetUserFromLDAPParams) WithTimeout(timeout time.Duration) *GetUserFromLDAPParams

WithTimeout adds the timeout to the get user from LDAP params

func (*GetUserFromLDAPParams) WithUserName

func (o *GetUserFromLDAPParams) WithUserName(userName string) *GetUserFromLDAPParams

WithUserName adds the userName to the get user from LDAP params

func (*GetUserFromLDAPParams) WriteToRequest

func (o *GetUserFromLDAPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserFromLDAPReader

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

GetUserFromLDAPReader is a Reader for the GetUserFromLDAP structure.

func (*GetUserFromLDAPReader) ReadResponse

func (o *GetUserFromLDAPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserFromLDAPUnauthorized

type GetUserFromLDAPUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetUserFromLDAPUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetUserFromLDAPUnauthorized

func NewGetUserFromLDAPUnauthorized() *GetUserFromLDAPUnauthorized

NewGetUserFromLDAPUnauthorized creates a GetUserFromLDAPUnauthorized with default headers values

func (*GetUserFromLDAPUnauthorized) Code

func (o *GetUserFromLDAPUnauthorized) Code() int

Code gets the status code for the get user from Ldap unauthorized response

func (*GetUserFromLDAPUnauthorized) Error

func (*GetUserFromLDAPUnauthorized) GetPayload

func (*GetUserFromLDAPUnauthorized) IsClientError

func (o *GetUserFromLDAPUnauthorized) IsClientError() bool

IsClientError returns true when this get user from Ldap unauthorized response has a 4xx status code

func (*GetUserFromLDAPUnauthorized) IsCode

func (o *GetUserFromLDAPUnauthorized) IsCode(code int) bool

IsCode returns true when this get user from Ldap unauthorized response a status code equal to that given

func (*GetUserFromLDAPUnauthorized) IsRedirect

func (o *GetUserFromLDAPUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user from Ldap unauthorized response has a 3xx status code

func (*GetUserFromLDAPUnauthorized) IsServerError

func (o *GetUserFromLDAPUnauthorized) IsServerError() bool

IsServerError returns true when this get user from Ldap unauthorized response has a 5xx status code

func (*GetUserFromLDAPUnauthorized) IsSuccess

func (o *GetUserFromLDAPUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user from Ldap unauthorized response has a 2xx status code

func (*GetUserFromLDAPUnauthorized) String

func (o *GetUserFromLDAPUnauthorized) String() string

type PostSyncUserWithLDAPForbidden

type PostSyncUserWithLDAPForbidden struct {
	Payload *models.ErrorResponseBody
}

PostSyncUserWithLDAPForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewPostSyncUserWithLDAPForbidden

func NewPostSyncUserWithLDAPForbidden() *PostSyncUserWithLDAPForbidden

NewPostSyncUserWithLDAPForbidden creates a PostSyncUserWithLDAPForbidden with default headers values

func (*PostSyncUserWithLDAPForbidden) Code

Code gets the status code for the post sync user with Ldap forbidden response

func (*PostSyncUserWithLDAPForbidden) Error

func (*PostSyncUserWithLDAPForbidden) GetPayload

func (*PostSyncUserWithLDAPForbidden) IsClientError

func (o *PostSyncUserWithLDAPForbidden) IsClientError() bool

IsClientError returns true when this post sync user with Ldap forbidden response has a 4xx status code

func (*PostSyncUserWithLDAPForbidden) IsCode

func (o *PostSyncUserWithLDAPForbidden) IsCode(code int) bool

IsCode returns true when this post sync user with Ldap forbidden response a status code equal to that given

func (*PostSyncUserWithLDAPForbidden) IsRedirect

func (o *PostSyncUserWithLDAPForbidden) IsRedirect() bool

IsRedirect returns true when this post sync user with Ldap forbidden response has a 3xx status code

func (*PostSyncUserWithLDAPForbidden) IsServerError

func (o *PostSyncUserWithLDAPForbidden) IsServerError() bool

IsServerError returns true when this post sync user with Ldap forbidden response has a 5xx status code

func (*PostSyncUserWithLDAPForbidden) IsSuccess

func (o *PostSyncUserWithLDAPForbidden) IsSuccess() bool

IsSuccess returns true when this post sync user with Ldap forbidden response has a 2xx status code

func (*PostSyncUserWithLDAPForbidden) String

type PostSyncUserWithLDAPInternalServerError

type PostSyncUserWithLDAPInternalServerError struct {
	Payload *models.ErrorResponseBody
}

PostSyncUserWithLDAPInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewPostSyncUserWithLDAPInternalServerError

func NewPostSyncUserWithLDAPInternalServerError() *PostSyncUserWithLDAPInternalServerError

NewPostSyncUserWithLDAPInternalServerError creates a PostSyncUserWithLDAPInternalServerError with default headers values

func (*PostSyncUserWithLDAPInternalServerError) Code

Code gets the status code for the post sync user with Ldap internal server error response

func (*PostSyncUserWithLDAPInternalServerError) Error

func (*PostSyncUserWithLDAPInternalServerError) GetPayload

func (*PostSyncUserWithLDAPInternalServerError) IsClientError

func (o *PostSyncUserWithLDAPInternalServerError) IsClientError() bool

IsClientError returns true when this post sync user with Ldap internal server error response has a 4xx status code

func (*PostSyncUserWithLDAPInternalServerError) IsCode

IsCode returns true when this post sync user with Ldap internal server error response a status code equal to that given

func (*PostSyncUserWithLDAPInternalServerError) IsRedirect

IsRedirect returns true when this post sync user with Ldap internal server error response has a 3xx status code

func (*PostSyncUserWithLDAPInternalServerError) IsServerError

func (o *PostSyncUserWithLDAPInternalServerError) IsServerError() bool

IsServerError returns true when this post sync user with Ldap internal server error response has a 5xx status code

func (*PostSyncUserWithLDAPInternalServerError) IsSuccess

IsSuccess returns true when this post sync user with Ldap internal server error response has a 2xx status code

func (*PostSyncUserWithLDAPInternalServerError) String

type PostSyncUserWithLDAPOK

type PostSyncUserWithLDAPOK struct {
	Payload *models.SuccessResponseBody
}

PostSyncUserWithLDAPOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewPostSyncUserWithLDAPOK

func NewPostSyncUserWithLDAPOK() *PostSyncUserWithLDAPOK

NewPostSyncUserWithLDAPOK creates a PostSyncUserWithLDAPOK with default headers values

func (*PostSyncUserWithLDAPOK) Code

func (o *PostSyncUserWithLDAPOK) Code() int

Code gets the status code for the post sync user with Ldap Ok response

func (*PostSyncUserWithLDAPOK) Error

func (o *PostSyncUserWithLDAPOK) Error() string

func (*PostSyncUserWithLDAPOK) GetPayload

func (*PostSyncUserWithLDAPOK) IsClientError

func (o *PostSyncUserWithLDAPOK) IsClientError() bool

IsClientError returns true when this post sync user with Ldap Ok response has a 4xx status code

func (*PostSyncUserWithLDAPOK) IsCode

func (o *PostSyncUserWithLDAPOK) IsCode(code int) bool

IsCode returns true when this post sync user with Ldap Ok response a status code equal to that given

func (*PostSyncUserWithLDAPOK) IsRedirect

func (o *PostSyncUserWithLDAPOK) IsRedirect() bool

IsRedirect returns true when this post sync user with Ldap Ok response has a 3xx status code

func (*PostSyncUserWithLDAPOK) IsServerError

func (o *PostSyncUserWithLDAPOK) IsServerError() bool

IsServerError returns true when this post sync user with Ldap Ok response has a 5xx status code

func (*PostSyncUserWithLDAPOK) IsSuccess

func (o *PostSyncUserWithLDAPOK) IsSuccess() bool

IsSuccess returns true when this post sync user with Ldap Ok response has a 2xx status code

func (*PostSyncUserWithLDAPOK) String

func (o *PostSyncUserWithLDAPOK) String() string

type PostSyncUserWithLDAPParams

type PostSyncUserWithLDAPParams struct {

	// UserID.
	//
	// Format: int64
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostSyncUserWithLDAPParams contains all the parameters to send to the API endpoint

for the post sync user with LDAP operation.

Typically these are written to a http.Request.

func NewPostSyncUserWithLDAPParams

func NewPostSyncUserWithLDAPParams() *PostSyncUserWithLDAPParams

NewPostSyncUserWithLDAPParams creates a new PostSyncUserWithLDAPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostSyncUserWithLDAPParamsWithContext

func NewPostSyncUserWithLDAPParamsWithContext(ctx context.Context) *PostSyncUserWithLDAPParams

NewPostSyncUserWithLDAPParamsWithContext creates a new PostSyncUserWithLDAPParams object with the ability to set a context for a request.

func NewPostSyncUserWithLDAPParamsWithHTTPClient

func NewPostSyncUserWithLDAPParamsWithHTTPClient(client *http.Client) *PostSyncUserWithLDAPParams

NewPostSyncUserWithLDAPParamsWithHTTPClient creates a new PostSyncUserWithLDAPParams object with the ability to set a custom HTTPClient for a request.

func NewPostSyncUserWithLDAPParamsWithTimeout

func NewPostSyncUserWithLDAPParamsWithTimeout(timeout time.Duration) *PostSyncUserWithLDAPParams

NewPostSyncUserWithLDAPParamsWithTimeout creates a new PostSyncUserWithLDAPParams object with the ability to set a timeout on a request.

func (*PostSyncUserWithLDAPParams) SetContext

func (o *PostSyncUserWithLDAPParams) SetContext(ctx context.Context)

SetContext adds the context to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) SetDefaults

func (o *PostSyncUserWithLDAPParams) SetDefaults()

SetDefaults hydrates default values in the post sync user with LDAP params (not the query body).

All values with no default are reset to their zero value.

func (*PostSyncUserWithLDAPParams) SetHTTPClient

func (o *PostSyncUserWithLDAPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) SetTimeout

func (o *PostSyncUserWithLDAPParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) SetUserID

func (o *PostSyncUserWithLDAPParams) SetUserID(userID int64)

SetUserID adds the userId to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) WithContext

WithContext adds the context to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) WithDefaults

WithDefaults hydrates default values in the post sync user with LDAP params (not the query body).

All values with no default are reset to their zero value.

func (*PostSyncUserWithLDAPParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) WithTimeout

WithTimeout adds the timeout to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) WithUserID

WithUserID adds the userID to the post sync user with LDAP params

func (*PostSyncUserWithLDAPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostSyncUserWithLDAPReader

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

PostSyncUserWithLDAPReader is a Reader for the PostSyncUserWithLDAP structure.

func (*PostSyncUserWithLDAPReader) ReadResponse

func (o *PostSyncUserWithLDAPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostSyncUserWithLDAPUnauthorized

type PostSyncUserWithLDAPUnauthorized struct {
	Payload *models.ErrorResponseBody
}

PostSyncUserWithLDAPUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewPostSyncUserWithLDAPUnauthorized

func NewPostSyncUserWithLDAPUnauthorized() *PostSyncUserWithLDAPUnauthorized

NewPostSyncUserWithLDAPUnauthorized creates a PostSyncUserWithLDAPUnauthorized with default headers values

func (*PostSyncUserWithLDAPUnauthorized) Code

Code gets the status code for the post sync user with Ldap unauthorized response

func (*PostSyncUserWithLDAPUnauthorized) Error

func (*PostSyncUserWithLDAPUnauthorized) GetPayload

func (*PostSyncUserWithLDAPUnauthorized) IsClientError

func (o *PostSyncUserWithLDAPUnauthorized) IsClientError() bool

IsClientError returns true when this post sync user with Ldap unauthorized response has a 4xx status code

func (*PostSyncUserWithLDAPUnauthorized) IsCode

func (o *PostSyncUserWithLDAPUnauthorized) IsCode(code int) bool

IsCode returns true when this post sync user with Ldap unauthorized response a status code equal to that given

func (*PostSyncUserWithLDAPUnauthorized) IsRedirect

func (o *PostSyncUserWithLDAPUnauthorized) IsRedirect() bool

IsRedirect returns true when this post sync user with Ldap unauthorized response has a 3xx status code

func (*PostSyncUserWithLDAPUnauthorized) IsServerError

func (o *PostSyncUserWithLDAPUnauthorized) IsServerError() bool

IsServerError returns true when this post sync user with Ldap unauthorized response has a 5xx status code

func (*PostSyncUserWithLDAPUnauthorized) IsSuccess

func (o *PostSyncUserWithLDAPUnauthorized) IsSuccess() bool

IsSuccess returns true when this post sync user with Ldap unauthorized response has a 2xx status code

func (*PostSyncUserWithLDAPUnauthorized) String

type ReloadLDAPCfgForbidden

type ReloadLDAPCfgForbidden struct {
	Payload *models.ErrorResponseBody
}

ReloadLDAPCfgForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewReloadLDAPCfgForbidden

func NewReloadLDAPCfgForbidden() *ReloadLDAPCfgForbidden

NewReloadLDAPCfgForbidden creates a ReloadLDAPCfgForbidden with default headers values

func (*ReloadLDAPCfgForbidden) Code

func (o *ReloadLDAPCfgForbidden) Code() int

Code gets the status code for the reload Ldap cfg forbidden response

func (*ReloadLDAPCfgForbidden) Error

func (o *ReloadLDAPCfgForbidden) Error() string

func (*ReloadLDAPCfgForbidden) GetPayload

func (*ReloadLDAPCfgForbidden) IsClientError

func (o *ReloadLDAPCfgForbidden) IsClientError() bool

IsClientError returns true when this reload Ldap cfg forbidden response has a 4xx status code

func (*ReloadLDAPCfgForbidden) IsCode

func (o *ReloadLDAPCfgForbidden) IsCode(code int) bool

IsCode returns true when this reload Ldap cfg forbidden response a status code equal to that given

func (*ReloadLDAPCfgForbidden) IsRedirect

func (o *ReloadLDAPCfgForbidden) IsRedirect() bool

IsRedirect returns true when this reload Ldap cfg forbidden response has a 3xx status code

func (*ReloadLDAPCfgForbidden) IsServerError

func (o *ReloadLDAPCfgForbidden) IsServerError() bool

IsServerError returns true when this reload Ldap cfg forbidden response has a 5xx status code

func (*ReloadLDAPCfgForbidden) IsSuccess

func (o *ReloadLDAPCfgForbidden) IsSuccess() bool

IsSuccess returns true when this reload Ldap cfg forbidden response has a 2xx status code

func (*ReloadLDAPCfgForbidden) String

func (o *ReloadLDAPCfgForbidden) String() string

type ReloadLDAPCfgInternalServerError

type ReloadLDAPCfgInternalServerError struct {
	Payload *models.ErrorResponseBody
}

ReloadLDAPCfgInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewReloadLDAPCfgInternalServerError

func NewReloadLDAPCfgInternalServerError() *ReloadLDAPCfgInternalServerError

NewReloadLDAPCfgInternalServerError creates a ReloadLDAPCfgInternalServerError with default headers values

func (*ReloadLDAPCfgInternalServerError) Code

Code gets the status code for the reload Ldap cfg internal server error response

func (*ReloadLDAPCfgInternalServerError) Error

func (*ReloadLDAPCfgInternalServerError) GetPayload

func (*ReloadLDAPCfgInternalServerError) IsClientError

func (o *ReloadLDAPCfgInternalServerError) IsClientError() bool

IsClientError returns true when this reload Ldap cfg internal server error response has a 4xx status code

func (*ReloadLDAPCfgInternalServerError) IsCode

func (o *ReloadLDAPCfgInternalServerError) IsCode(code int) bool

IsCode returns true when this reload Ldap cfg internal server error response a status code equal to that given

func (*ReloadLDAPCfgInternalServerError) IsRedirect

func (o *ReloadLDAPCfgInternalServerError) IsRedirect() bool

IsRedirect returns true when this reload Ldap cfg internal server error response has a 3xx status code

func (*ReloadLDAPCfgInternalServerError) IsServerError

func (o *ReloadLDAPCfgInternalServerError) IsServerError() bool

IsServerError returns true when this reload Ldap cfg internal server error response has a 5xx status code

func (*ReloadLDAPCfgInternalServerError) IsSuccess

func (o *ReloadLDAPCfgInternalServerError) IsSuccess() bool

IsSuccess returns true when this reload Ldap cfg internal server error response has a 2xx status code

func (*ReloadLDAPCfgInternalServerError) String

type ReloadLDAPCfgOK

type ReloadLDAPCfgOK struct {
	Payload *models.SuccessResponseBody
}

ReloadLDAPCfgOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewReloadLDAPCfgOK

func NewReloadLDAPCfgOK() *ReloadLDAPCfgOK

NewReloadLDAPCfgOK creates a ReloadLDAPCfgOK with default headers values

func (*ReloadLDAPCfgOK) Code

func (o *ReloadLDAPCfgOK) Code() int

Code gets the status code for the reload Ldap cfg Ok response

func (*ReloadLDAPCfgOK) Error

func (o *ReloadLDAPCfgOK) Error() string

func (*ReloadLDAPCfgOK) GetPayload

func (o *ReloadLDAPCfgOK) GetPayload() *models.SuccessResponseBody

func (*ReloadLDAPCfgOK) IsClientError

func (o *ReloadLDAPCfgOK) IsClientError() bool

IsClientError returns true when this reload Ldap cfg Ok response has a 4xx status code

func (*ReloadLDAPCfgOK) IsCode

func (o *ReloadLDAPCfgOK) IsCode(code int) bool

IsCode returns true when this reload Ldap cfg Ok response a status code equal to that given

func (*ReloadLDAPCfgOK) IsRedirect

func (o *ReloadLDAPCfgOK) IsRedirect() bool

IsRedirect returns true when this reload Ldap cfg Ok response has a 3xx status code

func (*ReloadLDAPCfgOK) IsServerError

func (o *ReloadLDAPCfgOK) IsServerError() bool

IsServerError returns true when this reload Ldap cfg Ok response has a 5xx status code

func (*ReloadLDAPCfgOK) IsSuccess

func (o *ReloadLDAPCfgOK) IsSuccess() bool

IsSuccess returns true when this reload Ldap cfg Ok response has a 2xx status code

func (*ReloadLDAPCfgOK) String

func (o *ReloadLDAPCfgOK) String() string

type ReloadLDAPCfgParams

type ReloadLDAPCfgParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReloadLDAPCfgParams contains all the parameters to send to the API endpoint

for the reload LDAP cfg operation.

Typically these are written to a http.Request.

func NewReloadLDAPCfgParams

func NewReloadLDAPCfgParams() *ReloadLDAPCfgParams

NewReloadLDAPCfgParams creates a new ReloadLDAPCfgParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReloadLDAPCfgParamsWithContext

func NewReloadLDAPCfgParamsWithContext(ctx context.Context) *ReloadLDAPCfgParams

NewReloadLDAPCfgParamsWithContext creates a new ReloadLDAPCfgParams object with the ability to set a context for a request.

func NewReloadLDAPCfgParamsWithHTTPClient

func NewReloadLDAPCfgParamsWithHTTPClient(client *http.Client) *ReloadLDAPCfgParams

NewReloadLDAPCfgParamsWithHTTPClient creates a new ReloadLDAPCfgParams object with the ability to set a custom HTTPClient for a request.

func NewReloadLDAPCfgParamsWithTimeout

func NewReloadLDAPCfgParamsWithTimeout(timeout time.Duration) *ReloadLDAPCfgParams

NewReloadLDAPCfgParamsWithTimeout creates a new ReloadLDAPCfgParams object with the ability to set a timeout on a request.

func (*ReloadLDAPCfgParams) SetContext

func (o *ReloadLDAPCfgParams) SetContext(ctx context.Context)

SetContext adds the context to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) SetDefaults

func (o *ReloadLDAPCfgParams) SetDefaults()

SetDefaults hydrates default values in the reload LDAP cfg params (not the query body).

All values with no default are reset to their zero value.

func (*ReloadLDAPCfgParams) SetHTTPClient

func (o *ReloadLDAPCfgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) SetTimeout

func (o *ReloadLDAPCfgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) WithContext

WithContext adds the context to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) WithDefaults

func (o *ReloadLDAPCfgParams) WithDefaults() *ReloadLDAPCfgParams

WithDefaults hydrates default values in the reload LDAP cfg params (not the query body).

All values with no default are reset to their zero value.

func (*ReloadLDAPCfgParams) WithHTTPClient

func (o *ReloadLDAPCfgParams) WithHTTPClient(client *http.Client) *ReloadLDAPCfgParams

WithHTTPClient adds the HTTPClient to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) WithTimeout

func (o *ReloadLDAPCfgParams) WithTimeout(timeout time.Duration) *ReloadLDAPCfgParams

WithTimeout adds the timeout to the reload LDAP cfg params

func (*ReloadLDAPCfgParams) WriteToRequest

func (o *ReloadLDAPCfgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReloadLDAPCfgReader

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

ReloadLDAPCfgReader is a Reader for the ReloadLDAPCfg structure.

func (*ReloadLDAPCfgReader) ReadResponse

func (o *ReloadLDAPCfgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReloadLDAPCfgUnauthorized

type ReloadLDAPCfgUnauthorized struct {
	Payload *models.ErrorResponseBody
}

ReloadLDAPCfgUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewReloadLDAPCfgUnauthorized

func NewReloadLDAPCfgUnauthorized() *ReloadLDAPCfgUnauthorized

NewReloadLDAPCfgUnauthorized creates a ReloadLDAPCfgUnauthorized with default headers values

func (*ReloadLDAPCfgUnauthorized) Code

func (o *ReloadLDAPCfgUnauthorized) Code() int

Code gets the status code for the reload Ldap cfg unauthorized response

func (*ReloadLDAPCfgUnauthorized) Error

func (o *ReloadLDAPCfgUnauthorized) Error() string

func (*ReloadLDAPCfgUnauthorized) GetPayload

func (*ReloadLDAPCfgUnauthorized) IsClientError

func (o *ReloadLDAPCfgUnauthorized) IsClientError() bool

IsClientError returns true when this reload Ldap cfg unauthorized response has a 4xx status code

func (*ReloadLDAPCfgUnauthorized) IsCode

func (o *ReloadLDAPCfgUnauthorized) IsCode(code int) bool

IsCode returns true when this reload Ldap cfg unauthorized response a status code equal to that given

func (*ReloadLDAPCfgUnauthorized) IsRedirect

func (o *ReloadLDAPCfgUnauthorized) IsRedirect() bool

IsRedirect returns true when this reload Ldap cfg unauthorized response has a 3xx status code

func (*ReloadLDAPCfgUnauthorized) IsServerError

func (o *ReloadLDAPCfgUnauthorized) IsServerError() bool

IsServerError returns true when this reload Ldap cfg unauthorized response has a 5xx status code

func (*ReloadLDAPCfgUnauthorized) IsSuccess

func (o *ReloadLDAPCfgUnauthorized) IsSuccess() bool

IsSuccess returns true when this reload Ldap cfg unauthorized response has a 2xx status code

func (*ReloadLDAPCfgUnauthorized) String

func (o *ReloadLDAPCfgUnauthorized) String() string

Jump to

Keyboard shortcuts

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