ldap

package
v2.4.0-dev.61+incompat... Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 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 ldap API

func New

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

New creates a new ldap API client.

func (*Client) DeleteLdap

func (a *Client) DeleteLdap(params *DeleteLdapParams) error

DeleteLdap deletes l d a p config by id

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) DeletePrivateLdap

func (a *Client) DeletePrivateLdap(params *DeletePrivateLdapParams) error

DeletePrivateLdap deletes private l d a p config by name

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) DeletePublicLdap

func (a *Client) DeletePublicLdap(params *DeletePublicLdapParams) error

DeletePublicLdap deletes public owned or private l d a p config by name

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) GetLdap

func (a *Client) GetLdap(params *GetLdapParams) (*GetLdapOK, error)

GetLdap retrieves l d a p config by id

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) GetPrivateLdap

func (a *Client) GetPrivateLdap(params *GetPrivateLdapParams) (*GetPrivateLdapOK, error)

GetPrivateLdap retrieves a private l d a p config by name

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) GetPrivatesLdap

func (a *Client) GetPrivatesLdap(params *GetPrivatesLdapParams) (*GetPrivatesLdapOK, error)

GetPrivatesLdap retrieves private l d a p configs

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) GetPublicLdap

func (a *Client) GetPublicLdap(params *GetPublicLdapParams) (*GetPublicLdapOK, error)

GetPublicLdap retrieves a public or private owned l d a p config by name

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) GetPublicsLdap

func (a *Client) GetPublicsLdap(params *GetPublicsLdapParams) (*GetPublicsLdapOK, error)

GetPublicsLdap retrieves public and private owned l d a p configs

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) PostPrivateLdap

func (a *Client) PostPrivateLdap(params *PostPrivateLdapParams) (*PostPrivateLdapOK, error)

PostPrivateLdap creates l d a p config as private resource

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) PostPublicLdap

func (a *Client) PostPublicLdap(params *PostPublicLdapParams) (*PostPublicLdapOK, error)

PostPublicLdap creates l d a p config as public resource

LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteLdapDefault

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

DeleteLdapDefault handles this case with default header values.

successful operation

func NewDeleteLdapDefault

func NewDeleteLdapDefault(code int) *DeleteLdapDefault

NewDeleteLdapDefault creates a DeleteLdapDefault with default headers values

func (*DeleteLdapDefault) Code

func (o *DeleteLdapDefault) Code() int

Code gets the status code for the delete ldap default response

func (*DeleteLdapDefault) Error

func (o *DeleteLdapDefault) Error() string

type DeleteLdapParams

type DeleteLdapParams struct {

	/*ID*/
	ID int64

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

DeleteLdapParams contains all the parameters to send to the API endpoint for the delete ldap operation typically these are written to a http.Request

func NewDeleteLdapParams

func NewDeleteLdapParams() *DeleteLdapParams

NewDeleteLdapParams creates a new DeleteLdapParams object with the default values initialized.

func NewDeleteLdapParamsWithContext

func NewDeleteLdapParamsWithContext(ctx context.Context) *DeleteLdapParams

NewDeleteLdapParamsWithContext creates a new DeleteLdapParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteLdapParamsWithHTTPClient

func NewDeleteLdapParamsWithHTTPClient(client *http.Client) *DeleteLdapParams

NewDeleteLdapParamsWithHTTPClient creates a new DeleteLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteLdapParamsWithTimeout

func NewDeleteLdapParamsWithTimeout(timeout time.Duration) *DeleteLdapParams

NewDeleteLdapParamsWithTimeout creates a new DeleteLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteLdapParams) SetContext

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

SetContext adds the context to the delete ldap params

func (*DeleteLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ldap params

func (*DeleteLdapParams) SetID

func (o *DeleteLdapParams) SetID(id int64)

SetID adds the id to the delete ldap params

func (*DeleteLdapParams) SetTimeout

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

SetTimeout adds the timeout to the delete ldap params

func (*DeleteLdapParams) WithContext

func (o *DeleteLdapParams) WithContext(ctx context.Context) *DeleteLdapParams

WithContext adds the context to the delete ldap params

func (*DeleteLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete ldap params

func (*DeleteLdapParams) WithID

func (o *DeleteLdapParams) WithID(id int64) *DeleteLdapParams

WithID adds the id to the delete ldap params

func (*DeleteLdapParams) WithTimeout

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

WithTimeout adds the timeout to the delete ldap params

func (*DeleteLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteLdapReader

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

DeleteLdapReader is a Reader for the DeleteLdap structure.

func (*DeleteLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePrivateLdapDefault

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

DeletePrivateLdapDefault handles this case with default header values.

successful operation

func NewDeletePrivateLdapDefault

func NewDeletePrivateLdapDefault(code int) *DeletePrivateLdapDefault

NewDeletePrivateLdapDefault creates a DeletePrivateLdapDefault with default headers values

func (*DeletePrivateLdapDefault) Code

func (o *DeletePrivateLdapDefault) Code() int

Code gets the status code for the delete private ldap default response

func (*DeletePrivateLdapDefault) Error

func (o *DeletePrivateLdapDefault) Error() string

type DeletePrivateLdapParams

type DeletePrivateLdapParams struct {

	/*Name*/
	Name string

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

DeletePrivateLdapParams contains all the parameters to send to the API endpoint for the delete private ldap operation typically these are written to a http.Request

func NewDeletePrivateLdapParams

func NewDeletePrivateLdapParams() *DeletePrivateLdapParams

NewDeletePrivateLdapParams creates a new DeletePrivateLdapParams object with the default values initialized.

func NewDeletePrivateLdapParamsWithContext

func NewDeletePrivateLdapParamsWithContext(ctx context.Context) *DeletePrivateLdapParams

NewDeletePrivateLdapParamsWithContext creates a new DeletePrivateLdapParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePrivateLdapParamsWithHTTPClient

func NewDeletePrivateLdapParamsWithHTTPClient(client *http.Client) *DeletePrivateLdapParams

NewDeletePrivateLdapParamsWithHTTPClient creates a new DeletePrivateLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePrivateLdapParamsWithTimeout

func NewDeletePrivateLdapParamsWithTimeout(timeout time.Duration) *DeletePrivateLdapParams

NewDeletePrivateLdapParamsWithTimeout creates a new DeletePrivateLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePrivateLdapParams) SetContext

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

SetContext adds the context to the delete private ldap params

func (*DeletePrivateLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private ldap params

func (*DeletePrivateLdapParams) SetName

func (o *DeletePrivateLdapParams) SetName(name string)

SetName adds the name to the delete private ldap params

func (*DeletePrivateLdapParams) SetTimeout

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

SetTimeout adds the timeout to the delete private ldap params

func (*DeletePrivateLdapParams) WithContext

WithContext adds the context to the delete private ldap params

func (*DeletePrivateLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete private ldap params

func (*DeletePrivateLdapParams) WithName

WithName adds the name to the delete private ldap params

func (*DeletePrivateLdapParams) WithTimeout

WithTimeout adds the timeout to the delete private ldap params

func (*DeletePrivateLdapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateLdapReader

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

DeletePrivateLdapReader is a Reader for the DeletePrivateLdap structure.

func (*DeletePrivateLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicLdapDefault

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

DeletePublicLdapDefault handles this case with default header values.

successful operation

func NewDeletePublicLdapDefault

func NewDeletePublicLdapDefault(code int) *DeletePublicLdapDefault

NewDeletePublicLdapDefault creates a DeletePublicLdapDefault with default headers values

func (*DeletePublicLdapDefault) Code

func (o *DeletePublicLdapDefault) Code() int

Code gets the status code for the delete public ldap default response

func (*DeletePublicLdapDefault) Error

func (o *DeletePublicLdapDefault) Error() string

type DeletePublicLdapParams

type DeletePublicLdapParams struct {

	/*Name*/
	Name string

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

DeletePublicLdapParams contains all the parameters to send to the API endpoint for the delete public ldap operation typically these are written to a http.Request

func NewDeletePublicLdapParams

func NewDeletePublicLdapParams() *DeletePublicLdapParams

NewDeletePublicLdapParams creates a new DeletePublicLdapParams object with the default values initialized.

func NewDeletePublicLdapParamsWithContext

func NewDeletePublicLdapParamsWithContext(ctx context.Context) *DeletePublicLdapParams

NewDeletePublicLdapParamsWithContext creates a new DeletePublicLdapParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePublicLdapParamsWithHTTPClient

func NewDeletePublicLdapParamsWithHTTPClient(client *http.Client) *DeletePublicLdapParams

NewDeletePublicLdapParamsWithHTTPClient creates a new DeletePublicLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePublicLdapParamsWithTimeout

func NewDeletePublicLdapParamsWithTimeout(timeout time.Duration) *DeletePublicLdapParams

NewDeletePublicLdapParamsWithTimeout creates a new DeletePublicLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePublicLdapParams) SetContext

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

SetContext adds the context to the delete public ldap params

func (*DeletePublicLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public ldap params

func (*DeletePublicLdapParams) SetName

func (o *DeletePublicLdapParams) SetName(name string)

SetName adds the name to the delete public ldap params

func (*DeletePublicLdapParams) SetTimeout

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

SetTimeout adds the timeout to the delete public ldap params

func (*DeletePublicLdapParams) WithContext

WithContext adds the context to the delete public ldap params

func (*DeletePublicLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete public ldap params

func (*DeletePublicLdapParams) WithName

WithName adds the name to the delete public ldap params

func (*DeletePublicLdapParams) WithTimeout

WithTimeout adds the timeout to the delete public ldap params

func (*DeletePublicLdapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicLdapReader

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

DeletePublicLdapReader is a Reader for the DeletePublicLdap structure.

func (*DeletePublicLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLdapOK

type GetLdapOK struct {
	Payload *models_cloudbreak.LdapConfigResponse
}

GetLdapOK handles this case with default header values.

successful operation

func NewGetLdapOK

func NewGetLdapOK() *GetLdapOK

NewGetLdapOK creates a GetLdapOK with default headers values

func (*GetLdapOK) Error

func (o *GetLdapOK) Error() string

type GetLdapParams

type GetLdapParams struct {

	/*ID*/
	ID int64

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

GetLdapParams contains all the parameters to send to the API endpoint for the get ldap operation typically these are written to a http.Request

func NewGetLdapParams

func NewGetLdapParams() *GetLdapParams

NewGetLdapParams creates a new GetLdapParams object with the default values initialized.

func NewGetLdapParamsWithContext

func NewGetLdapParamsWithContext(ctx context.Context) *GetLdapParams

NewGetLdapParamsWithContext creates a new GetLdapParams object with the default values initialized, and the ability to set a context for a request

func NewGetLdapParamsWithHTTPClient

func NewGetLdapParamsWithHTTPClient(client *http.Client) *GetLdapParams

NewGetLdapParamsWithHTTPClient creates a new GetLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetLdapParamsWithTimeout

func NewGetLdapParamsWithTimeout(timeout time.Duration) *GetLdapParams

NewGetLdapParamsWithTimeout creates a new GetLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetLdapParams) SetContext

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

SetContext adds the context to the get ldap params

func (*GetLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ldap params

func (*GetLdapParams) SetID

func (o *GetLdapParams) SetID(id int64)

SetID adds the id to the get ldap params

func (*GetLdapParams) SetTimeout

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

SetTimeout adds the timeout to the get ldap params

func (*GetLdapParams) WithContext

func (o *GetLdapParams) WithContext(ctx context.Context) *GetLdapParams

WithContext adds the context to the get ldap params

func (*GetLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ldap params

func (*GetLdapParams) WithID

func (o *GetLdapParams) WithID(id int64) *GetLdapParams

WithID adds the id to the get ldap params

func (*GetLdapParams) WithTimeout

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

WithTimeout adds the timeout to the get ldap params

func (*GetLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLdapReader

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

GetLdapReader is a Reader for the GetLdap structure.

func (*GetLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateLdapOK

type GetPrivateLdapOK struct {
	Payload *models_cloudbreak.LdapConfigResponse
}

GetPrivateLdapOK handles this case with default header values.

successful operation

func NewGetPrivateLdapOK

func NewGetPrivateLdapOK() *GetPrivateLdapOK

NewGetPrivateLdapOK creates a GetPrivateLdapOK with default headers values

func (*GetPrivateLdapOK) Error

func (o *GetPrivateLdapOK) Error() string

type GetPrivateLdapParams

type GetPrivateLdapParams struct {

	/*Name*/
	Name string

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

GetPrivateLdapParams contains all the parameters to send to the API endpoint for the get private ldap operation typically these are written to a http.Request

func NewGetPrivateLdapParams

func NewGetPrivateLdapParams() *GetPrivateLdapParams

NewGetPrivateLdapParams creates a new GetPrivateLdapParams object with the default values initialized.

func NewGetPrivateLdapParamsWithContext

func NewGetPrivateLdapParamsWithContext(ctx context.Context) *GetPrivateLdapParams

NewGetPrivateLdapParamsWithContext creates a new GetPrivateLdapParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateLdapParamsWithHTTPClient

func NewGetPrivateLdapParamsWithHTTPClient(client *http.Client) *GetPrivateLdapParams

NewGetPrivateLdapParamsWithHTTPClient creates a new GetPrivateLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateLdapParamsWithTimeout

func NewGetPrivateLdapParamsWithTimeout(timeout time.Duration) *GetPrivateLdapParams

NewGetPrivateLdapParamsWithTimeout creates a new GetPrivateLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateLdapParams) SetContext

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

SetContext adds the context to the get private ldap params

func (*GetPrivateLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private ldap params

func (*GetPrivateLdapParams) SetName

func (o *GetPrivateLdapParams) SetName(name string)

SetName adds the name to the get private ldap params

func (*GetPrivateLdapParams) SetTimeout

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

SetTimeout adds the timeout to the get private ldap params

func (*GetPrivateLdapParams) WithContext

WithContext adds the context to the get private ldap params

func (*GetPrivateLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get private ldap params

func (*GetPrivateLdapParams) WithName

WithName adds the name to the get private ldap params

func (*GetPrivateLdapParams) WithTimeout

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

WithTimeout adds the timeout to the get private ldap params

func (*GetPrivateLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPrivateLdapReader

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

GetPrivateLdapReader is a Reader for the GetPrivateLdap structure.

func (*GetPrivateLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivatesLdapOK

type GetPrivatesLdapOK struct {
	Payload []*models_cloudbreak.LdapConfigResponse
}

GetPrivatesLdapOK handles this case with default header values.

successful operation

func NewGetPrivatesLdapOK

func NewGetPrivatesLdapOK() *GetPrivatesLdapOK

NewGetPrivatesLdapOK creates a GetPrivatesLdapOK with default headers values

func (*GetPrivatesLdapOK) Error

func (o *GetPrivatesLdapOK) Error() string

type GetPrivatesLdapParams

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

GetPrivatesLdapParams contains all the parameters to send to the API endpoint for the get privates ldap operation typically these are written to a http.Request

func NewGetPrivatesLdapParams

func NewGetPrivatesLdapParams() *GetPrivatesLdapParams

NewGetPrivatesLdapParams creates a new GetPrivatesLdapParams object with the default values initialized.

func NewGetPrivatesLdapParamsWithContext

func NewGetPrivatesLdapParamsWithContext(ctx context.Context) *GetPrivatesLdapParams

NewGetPrivatesLdapParamsWithContext creates a new GetPrivatesLdapParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivatesLdapParamsWithHTTPClient

func NewGetPrivatesLdapParamsWithHTTPClient(client *http.Client) *GetPrivatesLdapParams

NewGetPrivatesLdapParamsWithHTTPClient creates a new GetPrivatesLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivatesLdapParamsWithTimeout

func NewGetPrivatesLdapParamsWithTimeout(timeout time.Duration) *GetPrivatesLdapParams

NewGetPrivatesLdapParamsWithTimeout creates a new GetPrivatesLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivatesLdapParams) SetContext

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

SetContext adds the context to the get privates ldap params

func (*GetPrivatesLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get privates ldap params

func (*GetPrivatesLdapParams) SetTimeout

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

SetTimeout adds the timeout to the get privates ldap params

func (*GetPrivatesLdapParams) WithContext

WithContext adds the context to the get privates ldap params

func (*GetPrivatesLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get privates ldap params

func (*GetPrivatesLdapParams) WithTimeout

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

WithTimeout adds the timeout to the get privates ldap params

func (*GetPrivatesLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPrivatesLdapReader

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

GetPrivatesLdapReader is a Reader for the GetPrivatesLdap structure.

func (*GetPrivatesLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicLdapOK

type GetPublicLdapOK struct {
	Payload *models_cloudbreak.LdapConfigResponse
}

GetPublicLdapOK handles this case with default header values.

successful operation

func NewGetPublicLdapOK

func NewGetPublicLdapOK() *GetPublicLdapOK

NewGetPublicLdapOK creates a GetPublicLdapOK with default headers values

func (*GetPublicLdapOK) Error

func (o *GetPublicLdapOK) Error() string

type GetPublicLdapParams

type GetPublicLdapParams struct {

	/*Name*/
	Name string

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

GetPublicLdapParams contains all the parameters to send to the API endpoint for the get public ldap operation typically these are written to a http.Request

func NewGetPublicLdapParams

func NewGetPublicLdapParams() *GetPublicLdapParams

NewGetPublicLdapParams creates a new GetPublicLdapParams object with the default values initialized.

func NewGetPublicLdapParamsWithContext

func NewGetPublicLdapParamsWithContext(ctx context.Context) *GetPublicLdapParams

NewGetPublicLdapParamsWithContext creates a new GetPublicLdapParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicLdapParamsWithHTTPClient

func NewGetPublicLdapParamsWithHTTPClient(client *http.Client) *GetPublicLdapParams

NewGetPublicLdapParamsWithHTTPClient creates a new GetPublicLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicLdapParamsWithTimeout

func NewGetPublicLdapParamsWithTimeout(timeout time.Duration) *GetPublicLdapParams

NewGetPublicLdapParamsWithTimeout creates a new GetPublicLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicLdapParams) SetContext

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

SetContext adds the context to the get public ldap params

func (*GetPublicLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public ldap params

func (*GetPublicLdapParams) SetName

func (o *GetPublicLdapParams) SetName(name string)

SetName adds the name to the get public ldap params

func (*GetPublicLdapParams) SetTimeout

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

SetTimeout adds the timeout to the get public ldap params

func (*GetPublicLdapParams) WithContext

WithContext adds the context to the get public ldap params

func (*GetPublicLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get public ldap params

func (*GetPublicLdapParams) WithName

func (o *GetPublicLdapParams) WithName(name string) *GetPublicLdapParams

WithName adds the name to the get public ldap params

func (*GetPublicLdapParams) WithTimeout

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

WithTimeout adds the timeout to the get public ldap params

func (*GetPublicLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPublicLdapReader

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

GetPublicLdapReader is a Reader for the GetPublicLdap structure.

func (*GetPublicLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicsLdapOK

type GetPublicsLdapOK struct {
	Payload []*models_cloudbreak.LdapConfigResponse
}

GetPublicsLdapOK handles this case with default header values.

successful operation

func NewGetPublicsLdapOK

func NewGetPublicsLdapOK() *GetPublicsLdapOK

NewGetPublicsLdapOK creates a GetPublicsLdapOK with default headers values

func (*GetPublicsLdapOK) Error

func (o *GetPublicsLdapOK) Error() string

type GetPublicsLdapParams

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

GetPublicsLdapParams contains all the parameters to send to the API endpoint for the get publics ldap operation typically these are written to a http.Request

func NewGetPublicsLdapParams

func NewGetPublicsLdapParams() *GetPublicsLdapParams

NewGetPublicsLdapParams creates a new GetPublicsLdapParams object with the default values initialized.

func NewGetPublicsLdapParamsWithContext

func NewGetPublicsLdapParamsWithContext(ctx context.Context) *GetPublicsLdapParams

NewGetPublicsLdapParamsWithContext creates a new GetPublicsLdapParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicsLdapParamsWithHTTPClient

func NewGetPublicsLdapParamsWithHTTPClient(client *http.Client) *GetPublicsLdapParams

NewGetPublicsLdapParamsWithHTTPClient creates a new GetPublicsLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicsLdapParamsWithTimeout

func NewGetPublicsLdapParamsWithTimeout(timeout time.Duration) *GetPublicsLdapParams

NewGetPublicsLdapParamsWithTimeout creates a new GetPublicsLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicsLdapParams) SetContext

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

SetContext adds the context to the get publics ldap params

func (*GetPublicsLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get publics ldap params

func (*GetPublicsLdapParams) SetTimeout

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

SetTimeout adds the timeout to the get publics ldap params

func (*GetPublicsLdapParams) WithContext

WithContext adds the context to the get publics ldap params

func (*GetPublicsLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get publics ldap params

func (*GetPublicsLdapParams) WithTimeout

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

WithTimeout adds the timeout to the get publics ldap params

func (*GetPublicsLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPublicsLdapReader

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

GetPublicsLdapReader is a Reader for the GetPublicsLdap structure.

func (*GetPublicsLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPrivateLdapOK

type PostPrivateLdapOK struct {
	Payload *models_cloudbreak.LdapConfigResponse
}

PostPrivateLdapOK handles this case with default header values.

successful operation

func NewPostPrivateLdapOK

func NewPostPrivateLdapOK() *PostPrivateLdapOK

NewPostPrivateLdapOK creates a PostPrivateLdapOK with default headers values

func (*PostPrivateLdapOK) Error

func (o *PostPrivateLdapOK) Error() string

type PostPrivateLdapParams

type PostPrivateLdapParams struct {

	/*Body*/
	Body *models_cloudbreak.LdapConfigRequest

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

PostPrivateLdapParams contains all the parameters to send to the API endpoint for the post private ldap operation typically these are written to a http.Request

func NewPostPrivateLdapParams

func NewPostPrivateLdapParams() *PostPrivateLdapParams

NewPostPrivateLdapParams creates a new PostPrivateLdapParams object with the default values initialized.

func NewPostPrivateLdapParamsWithContext

func NewPostPrivateLdapParamsWithContext(ctx context.Context) *PostPrivateLdapParams

NewPostPrivateLdapParamsWithContext creates a new PostPrivateLdapParams object with the default values initialized, and the ability to set a context for a request

func NewPostPrivateLdapParamsWithHTTPClient

func NewPostPrivateLdapParamsWithHTTPClient(client *http.Client) *PostPrivateLdapParams

NewPostPrivateLdapParamsWithHTTPClient creates a new PostPrivateLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostPrivateLdapParamsWithTimeout

func NewPostPrivateLdapParamsWithTimeout(timeout time.Duration) *PostPrivateLdapParams

NewPostPrivateLdapParamsWithTimeout creates a new PostPrivateLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostPrivateLdapParams) SetBody

SetBody adds the body to the post private ldap params

func (*PostPrivateLdapParams) SetContext

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

SetContext adds the context to the post private ldap params

func (*PostPrivateLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private ldap params

func (*PostPrivateLdapParams) SetTimeout

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

SetTimeout adds the timeout to the post private ldap params

func (*PostPrivateLdapParams) WithBody

WithBody adds the body to the post private ldap params

func (*PostPrivateLdapParams) WithContext

WithContext adds the context to the post private ldap params

func (*PostPrivateLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post private ldap params

func (*PostPrivateLdapParams) WithTimeout

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

WithTimeout adds the timeout to the post private ldap params

func (*PostPrivateLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostPrivateLdapReader

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

PostPrivateLdapReader is a Reader for the PostPrivateLdap structure.

func (*PostPrivateLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicLdapOK

type PostPublicLdapOK struct {
	Payload *models_cloudbreak.LdapConfigResponse
}

PostPublicLdapOK handles this case with default header values.

successful operation

func NewPostPublicLdapOK

func NewPostPublicLdapOK() *PostPublicLdapOK

NewPostPublicLdapOK creates a PostPublicLdapOK with default headers values

func (*PostPublicLdapOK) Error

func (o *PostPublicLdapOK) Error() string

type PostPublicLdapParams

type PostPublicLdapParams struct {

	/*Body*/
	Body *models_cloudbreak.LdapConfigRequest

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

PostPublicLdapParams contains all the parameters to send to the API endpoint for the post public ldap operation typically these are written to a http.Request

func NewPostPublicLdapParams

func NewPostPublicLdapParams() *PostPublicLdapParams

NewPostPublicLdapParams creates a new PostPublicLdapParams object with the default values initialized.

func NewPostPublicLdapParamsWithContext

func NewPostPublicLdapParamsWithContext(ctx context.Context) *PostPublicLdapParams

NewPostPublicLdapParamsWithContext creates a new PostPublicLdapParams object with the default values initialized, and the ability to set a context for a request

func NewPostPublicLdapParamsWithHTTPClient

func NewPostPublicLdapParamsWithHTTPClient(client *http.Client) *PostPublicLdapParams

NewPostPublicLdapParamsWithHTTPClient creates a new PostPublicLdapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostPublicLdapParamsWithTimeout

func NewPostPublicLdapParamsWithTimeout(timeout time.Duration) *PostPublicLdapParams

NewPostPublicLdapParamsWithTimeout creates a new PostPublicLdapParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostPublicLdapParams) SetBody

SetBody adds the body to the post public ldap params

func (*PostPublicLdapParams) SetContext

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

SetContext adds the context to the post public ldap params

func (*PostPublicLdapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public ldap params

func (*PostPublicLdapParams) SetTimeout

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

SetTimeout adds the timeout to the post public ldap params

func (*PostPublicLdapParams) WithBody

WithBody adds the body to the post public ldap params

func (*PostPublicLdapParams) WithContext

WithContext adds the context to the post public ldap params

func (*PostPublicLdapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post public ldap params

func (*PostPublicLdapParams) WithTimeout

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

WithTimeout adds the timeout to the post public ldap params

func (*PostPublicLdapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostPublicLdapReader

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

PostPublicLdapReader is a Reader for the PostPublicLdap structure.

func (*PostPublicLdapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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