ldap

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 8 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 client.Transport, formats strfmt.Registry) *Client

New creates a new ldap API client.

func (*Client) DeleteLdapAccountName

func (a *Client) DeleteLdapAccountName(params *DeleteLdapAccountNameParams) error

DeleteLdapAccountName 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) DeleteLdapID

func (a *Client) DeleteLdapID(params *DeleteLdapIDParams) error

DeleteLdapID 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) DeleteLdapUserName

func (a *Client) DeleteLdapUserName(params *DeleteLdapUserNameParams) error

DeleteLdapUserName 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) GetLdapAccount

func (a *Client) GetLdapAccount(params *GetLdapAccountParams) (*GetLdapAccountOK, error)

GetLdapAccount 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) GetLdapAccountName

func (a *Client) GetLdapAccountName(params *GetLdapAccountNameParams) (*GetLdapAccountNameOK, error)

GetLdapAccountName 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) GetLdapID

func (a *Client) GetLdapID(params *GetLdapIDParams) (*GetLdapIDOK, error)

GetLdapID 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) GetLdapUser

func (a *Client) GetLdapUser(params *GetLdapUserParams) (*GetLdapUserOK, error)

GetLdapUser 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) GetLdapUserName

func (a *Client) GetLdapUserName(params *GetLdapUserNameParams) (*GetLdapUserNameOK, error)

GetLdapUserName 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) PostLdapAccount

func (a *Client) PostLdapAccount(params *PostLdapAccountParams) (*PostLdapAccountOK, error)

PostLdapAccount 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) PostLdapUser

func (a *Client) PostLdapUser(params *PostLdapUserParams) (*PostLdapUserOK, error)

PostLdapUser 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) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type DeleteLdapAccountNameDefault

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

DeleteLdapAccountNameDefault handles this case with default header values.

successful operation

func NewDeleteLdapAccountNameDefault

func NewDeleteLdapAccountNameDefault(code int) *DeleteLdapAccountNameDefault

NewDeleteLdapAccountNameDefault creates a DeleteLdapAccountNameDefault with default headers values

func (*DeleteLdapAccountNameDefault) Code

Code gets the status code for the delete ldap account name default response

func (*DeleteLdapAccountNameDefault) Error

type DeleteLdapAccountNameParams

type DeleteLdapAccountNameParams struct {

	/*Name*/
	Name string
}

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

func NewDeleteLdapAccountNameParams

func NewDeleteLdapAccountNameParams() *DeleteLdapAccountNameParams

NewDeleteLdapAccountNameParams creates a new DeleteLdapAccountNameParams object with the default values initialized.

func (*DeleteLdapAccountNameParams) WithName

WithName adds the name to the delete ldap account name params

func (*DeleteLdapAccountNameParams) WriteToRequest

func (o *DeleteLdapAccountNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteLdapAccountNameReader

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

DeleteLdapAccountNameReader is a Reader for the DeleteLdapAccountName structure.

func (*DeleteLdapAccountNameReader) ReadResponse

func (o *DeleteLdapAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteLdapIDDefault

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

DeleteLdapIDDefault handles this case with default header values.

successful operation

func NewDeleteLdapIDDefault

func NewDeleteLdapIDDefault(code int) *DeleteLdapIDDefault

NewDeleteLdapIDDefault creates a DeleteLdapIDDefault with default headers values

func (*DeleteLdapIDDefault) Code

func (o *DeleteLdapIDDefault) Code() int

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

func (*DeleteLdapIDDefault) Error

func (o *DeleteLdapIDDefault) Error() string

type DeleteLdapIDParams

type DeleteLdapIDParams struct {

	/*ID*/
	ID int64
}

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

func NewDeleteLdapIDParams

func NewDeleteLdapIDParams() *DeleteLdapIDParams

NewDeleteLdapIDParams creates a new DeleteLdapIDParams object with the default values initialized.

func (*DeleteLdapIDParams) WithID

WithID adds the id to the delete ldap ID params

func (*DeleteLdapIDParams) WriteToRequest

func (o *DeleteLdapIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteLdapIDReader

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

DeleteLdapIDReader is a Reader for the DeleteLdapID structure.

func (*DeleteLdapIDReader) ReadResponse

func (o *DeleteLdapIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteLdapUserNameDefault

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

DeleteLdapUserNameDefault handles this case with default header values.

successful operation

func NewDeleteLdapUserNameDefault

func NewDeleteLdapUserNameDefault(code int) *DeleteLdapUserNameDefault

NewDeleteLdapUserNameDefault creates a DeleteLdapUserNameDefault with default headers values

func (*DeleteLdapUserNameDefault) Code

func (o *DeleteLdapUserNameDefault) Code() int

Code gets the status code for the delete ldap user name default response

func (*DeleteLdapUserNameDefault) Error

func (o *DeleteLdapUserNameDefault) Error() string

type DeleteLdapUserNameParams

type DeleteLdapUserNameParams struct {

	/*Name*/
	Name string
}

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

func NewDeleteLdapUserNameParams

func NewDeleteLdapUserNameParams() *DeleteLdapUserNameParams

NewDeleteLdapUserNameParams creates a new DeleteLdapUserNameParams object with the default values initialized.

func (*DeleteLdapUserNameParams) WithName

WithName adds the name to the delete ldap user name params

func (*DeleteLdapUserNameParams) WriteToRequest

func (o *DeleteLdapUserNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteLdapUserNameReader

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

DeleteLdapUserNameReader is a Reader for the DeleteLdapUserName structure.

func (*DeleteLdapUserNameReader) ReadResponse

func (o *DeleteLdapUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetLdapAccountNameOK

type GetLdapAccountNameOK struct {
	Payload *models.LdapConfigResponse
}

GetLdapAccountNameOK handles this case with default header values.

successful operation

func NewGetLdapAccountNameOK

func NewGetLdapAccountNameOK() *GetLdapAccountNameOK

NewGetLdapAccountNameOK creates a GetLdapAccountNameOK with default headers values

func (*GetLdapAccountNameOK) Error

func (o *GetLdapAccountNameOK) Error() string

type GetLdapAccountNameParams

type GetLdapAccountNameParams struct {

	/*Name*/
	Name string
}

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

func NewGetLdapAccountNameParams

func NewGetLdapAccountNameParams() *GetLdapAccountNameParams

NewGetLdapAccountNameParams creates a new GetLdapAccountNameParams object with the default values initialized.

func (*GetLdapAccountNameParams) WithName

WithName adds the name to the get ldap account name params

func (*GetLdapAccountNameParams) WriteToRequest

func (o *GetLdapAccountNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLdapAccountNameReader

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

GetLdapAccountNameReader is a Reader for the GetLdapAccountName structure.

func (*GetLdapAccountNameReader) ReadResponse

func (o *GetLdapAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetLdapAccountOK

type GetLdapAccountOK struct {
	Payload []*models.LdapConfigResponse
}

GetLdapAccountOK handles this case with default header values.

successful operation

func NewGetLdapAccountOK

func NewGetLdapAccountOK() *GetLdapAccountOK

NewGetLdapAccountOK creates a GetLdapAccountOK with default headers values

func (*GetLdapAccountOK) Error

func (o *GetLdapAccountOK) Error() string

type GetLdapAccountParams

type GetLdapAccountParams struct {
}

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

func NewGetLdapAccountParams

func NewGetLdapAccountParams() *GetLdapAccountParams

NewGetLdapAccountParams creates a new GetLdapAccountParams object with the default values initialized.

func (*GetLdapAccountParams) WriteToRequest

func (o *GetLdapAccountParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLdapAccountReader

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

GetLdapAccountReader is a Reader for the GetLdapAccount structure.

func (*GetLdapAccountReader) ReadResponse

func (o *GetLdapAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetLdapIDOK

type GetLdapIDOK struct {
	Payload *models.LdapConfigResponse
}

GetLdapIDOK handles this case with default header values.

successful operation

func NewGetLdapIDOK

func NewGetLdapIDOK() *GetLdapIDOK

NewGetLdapIDOK creates a GetLdapIDOK with default headers values

func (*GetLdapIDOK) Error

func (o *GetLdapIDOK) Error() string

type GetLdapIDParams

type GetLdapIDParams struct {

	/*ID*/
	ID int64
}

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

func NewGetLdapIDParams

func NewGetLdapIDParams() *GetLdapIDParams

NewGetLdapIDParams creates a new GetLdapIDParams object with the default values initialized.

func (*GetLdapIDParams) WithID

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

WithID adds the id to the get ldap ID params

func (*GetLdapIDParams) WriteToRequest

func (o *GetLdapIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLdapIDReader

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

GetLdapIDReader is a Reader for the GetLdapID structure.

func (*GetLdapIDReader) ReadResponse

func (o *GetLdapIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetLdapUserNameOK

type GetLdapUserNameOK struct {
	Payload *models.LdapConfigResponse
}

GetLdapUserNameOK handles this case with default header values.

successful operation

func NewGetLdapUserNameOK

func NewGetLdapUserNameOK() *GetLdapUserNameOK

NewGetLdapUserNameOK creates a GetLdapUserNameOK with default headers values

func (*GetLdapUserNameOK) Error

func (o *GetLdapUserNameOK) Error() string

type GetLdapUserNameParams

type GetLdapUserNameParams struct {

	/*Name*/
	Name string
}

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

func NewGetLdapUserNameParams

func NewGetLdapUserNameParams() *GetLdapUserNameParams

NewGetLdapUserNameParams creates a new GetLdapUserNameParams object with the default values initialized.

func (*GetLdapUserNameParams) WithName

WithName adds the name to the get ldap user name params

func (*GetLdapUserNameParams) WriteToRequest

func (o *GetLdapUserNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLdapUserNameReader

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

GetLdapUserNameReader is a Reader for the GetLdapUserName structure.

func (*GetLdapUserNameReader) ReadResponse

func (o *GetLdapUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetLdapUserOK

type GetLdapUserOK struct {
	Payload []*models.LdapConfigResponse
}

GetLdapUserOK handles this case with default header values.

successful operation

func NewGetLdapUserOK

func NewGetLdapUserOK() *GetLdapUserOK

NewGetLdapUserOK creates a GetLdapUserOK with default headers values

func (*GetLdapUserOK) Error

func (o *GetLdapUserOK) Error() string

type GetLdapUserParams

type GetLdapUserParams struct {
}

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

func NewGetLdapUserParams

func NewGetLdapUserParams() *GetLdapUserParams

NewGetLdapUserParams creates a new GetLdapUserParams object with the default values initialized.

func (*GetLdapUserParams) WriteToRequest

func (o *GetLdapUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLdapUserReader

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

GetLdapUserReader is a Reader for the GetLdapUser structure.

func (*GetLdapUserReader) ReadResponse

func (o *GetLdapUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostLdapAccountOK

type PostLdapAccountOK struct {
	Payload *models.ID
}

PostLdapAccountOK handles this case with default header values.

successful operation

func NewPostLdapAccountOK

func NewPostLdapAccountOK() *PostLdapAccountOK

NewPostLdapAccountOK creates a PostLdapAccountOK with default headers values

func (*PostLdapAccountOK) Error

func (o *PostLdapAccountOK) Error() string

type PostLdapAccountParams

type PostLdapAccountParams struct {

	/*Body*/
	Body *models.LdapConfigRequest
}

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

func NewPostLdapAccountParams

func NewPostLdapAccountParams() *PostLdapAccountParams

NewPostLdapAccountParams creates a new PostLdapAccountParams object with the default values initialized.

func (*PostLdapAccountParams) WithBody

WithBody adds the body to the post ldap account params

func (*PostLdapAccountParams) WriteToRequest

func (o *PostLdapAccountParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostLdapAccountReader

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

PostLdapAccountReader is a Reader for the PostLdapAccount structure.

func (*PostLdapAccountReader) ReadResponse

func (o *PostLdapAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostLdapUserOK

type PostLdapUserOK struct {
	Payload *models.ID
}

PostLdapUserOK handles this case with default header values.

successful operation

func NewPostLdapUserOK

func NewPostLdapUserOK() *PostLdapUserOK

NewPostLdapUserOK creates a PostLdapUserOK with default headers values

func (*PostLdapUserOK) Error

func (o *PostLdapUserOK) Error() string

type PostLdapUserParams

type PostLdapUserParams struct {

	/*Body*/
	Body *models.LdapConfigRequest
}

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

func NewPostLdapUserParams

func NewPostLdapUserParams() *PostLdapUserParams

NewPostLdapUserParams creates a new PostLdapUserParams object with the default values initialized.

func (*PostLdapUserParams) WithBody

WithBody adds the body to the post ldap user params

func (*PostLdapUserParams) WriteToRequest

func (o *PostLdapUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostLdapUserReader

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

PostLdapUserReader is a Reader for the PostLdapUser structure.

func (*PostLdapUserReader) ReadResponse

func (o *PostLdapUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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