system_ldap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 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 system ldap API

func New

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

New creates a new system ldap API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Show

func (a *Client) Show(params *ShowParams, authInfo runtime.ClientAuthInfoWriter) (*ShowOK, error)

Show gets current state of the journal on this node

type ShowOK

type ShowOK struct {
	Payload *models.JournalSummaryResponse
}

ShowOK handles this case with default header values.

No response was specified

func NewShowOK

func NewShowOK() *ShowOK

NewShowOK creates a ShowOK with default headers values

func (*ShowOK) Error

func (o *ShowOK) Error() string

type ShowParams

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

ShowParams contains all the parameters to send to the API endpoint for the show operation typically these are written to a http.Request

func NewShowParams

func NewShowParams() *ShowParams

NewShowParams creates a new ShowParams object with the default values initialized.

func NewShowParamsWithContext

func NewShowParamsWithContext(ctx context.Context) *ShowParams

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

func NewShowParamsWithHTTPClient

func NewShowParamsWithHTTPClient(client *http.Client) *ShowParams

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

func NewShowParamsWithTimeout

func NewShowParamsWithTimeout(timeout time.Duration) *ShowParams

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

func (*ShowParams) SetContext

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

SetContext adds the context to the show params

func (*ShowParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show params

func (*ShowParams) SetTimeout

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

SetTimeout adds the timeout to the show params

func (*ShowParams) WithContext

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

WithContext adds the context to the show params

func (*ShowParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show params

func (*ShowParams) WithTimeout

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

WithTimeout adds the timeout to the show params

func (*ShowParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShowReader

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

ShowReader is a Reader for the Show structure.

func (*ShowReader) ReadResponse

func (o *ShowReader) 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