operation

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacertsInternalServerError

type CacertsInternalServerError struct {
	Payload string
}

CacertsInternalServerError handles this case with default header values.

something went wrong

func NewCacertsInternalServerError

func NewCacertsInternalServerError() *CacertsInternalServerError

NewCacertsInternalServerError creates a CacertsInternalServerError with default headers values

func (*CacertsInternalServerError) Error

type CacertsOK

type CacertsOK struct {
	ContentTransferEncoding string

	ContentType string

	Payload string
}

CacertsOK handles this case with default header values.

successful operation

func NewCacertsOK

func NewCacertsOK() *CacertsOK

NewCacertsOK creates a CacertsOK with default headers values

func (*CacertsOK) Error

func (o *CacertsOK) Error() string

type CacertsParams

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

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

func NewCacertsParams

func NewCacertsParams() *CacertsParams

NewCacertsParams creates a new CacertsParams object with the default values initialized.

func NewCacertsParamsWithContext

func NewCacertsParamsWithContext(ctx context.Context) *CacertsParams

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

func NewCacertsParamsWithHTTPClient

func NewCacertsParamsWithHTTPClient(client *http.Client) *CacertsParams

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

func NewCacertsParamsWithTimeout

func NewCacertsParamsWithTimeout(timeout time.Duration) *CacertsParams

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

func (*CacertsParams) SetContext

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

SetContext adds the context to the cacerts params

func (*CacertsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cacerts params

func (*CacertsParams) SetTimeout

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

SetTimeout adds the timeout to the cacerts params

func (*CacertsParams) WithContext

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

WithContext adds the context to the cacerts params

func (*CacertsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cacerts params

func (*CacertsParams) WithTimeout

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

WithTimeout adds the timeout to the cacerts params

func (*CacertsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CacertsReader

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

CacertsReader is a Reader for the Cacerts structure.

func (*CacertsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for operation API

func New

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

New creates a new operation API client.

func (*Client) Cacerts

func (a *Client) Cacerts(params *CacertsParams) (*CacertsOK, error)

Cacerts distributions of c a certificates

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Simpleenroll

func (a *Client) Simpleenroll(params *SimpleenrollParams, authInfo runtime.ClientAuthInfoWriter) (*SimpleenrollOK, error)

Simpleenroll enrollments of clients

func (*Client) Simplereenroll

func (a *Client) Simplereenroll(params *SimplereenrollParams, authInfo runtime.ClientAuthInfoWriter) (*SimplereenrollOK, error)

Simplereenroll enrollments of clients requires mutual tls

type SimpleenrollBadRequest

type SimpleenrollBadRequest struct {
	Payload string
}

SimpleenrollBadRequest handles this case with default header values.

invalid request

func NewSimpleenrollBadRequest

func NewSimpleenrollBadRequest() *SimpleenrollBadRequest

NewSimpleenrollBadRequest creates a SimpleenrollBadRequest with default headers values

func (*SimpleenrollBadRequest) Error

func (o *SimpleenrollBadRequest) Error() string

type SimpleenrollInternalServerError

type SimpleenrollInternalServerError struct {
	Payload string
}

SimpleenrollInternalServerError handles this case with default header values.

something went wrong

func NewSimpleenrollInternalServerError

func NewSimpleenrollInternalServerError() *SimpleenrollInternalServerError

NewSimpleenrollInternalServerError creates a SimpleenrollInternalServerError with default headers values

func (*SimpleenrollInternalServerError) Error

type SimpleenrollOK

type SimpleenrollOK struct {
	ContentTransferEncoding string

	ContentType string

	Payload string
}

SimpleenrollOK handles this case with default header values.

successful operation

func NewSimpleenrollOK

func NewSimpleenrollOK() *SimpleenrollOK

NewSimpleenrollOK creates a SimpleenrollOK with default headers values

func (*SimpleenrollOK) Error

func (o *SimpleenrollOK) Error() string

type SimpleenrollParams

type SimpleenrollParams struct {

	/*Certrequest
	  PKCS10 certificate request (DER format, base64 encoded)

	*/
	Certrequest string

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

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

func NewSimpleenrollParams

func NewSimpleenrollParams() *SimpleenrollParams

NewSimpleenrollParams creates a new SimpleenrollParams object with the default values initialized.

func NewSimpleenrollParamsWithContext

func NewSimpleenrollParamsWithContext(ctx context.Context) *SimpleenrollParams

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

func NewSimpleenrollParamsWithHTTPClient

func NewSimpleenrollParamsWithHTTPClient(client *http.Client) *SimpleenrollParams

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

func NewSimpleenrollParamsWithTimeout

func NewSimpleenrollParamsWithTimeout(timeout time.Duration) *SimpleenrollParams

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

func (*SimpleenrollParams) SetCertrequest

func (o *SimpleenrollParams) SetCertrequest(certrequest string)

SetCertrequest adds the certrequest to the simpleenroll params

func (*SimpleenrollParams) SetContext

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

SetContext adds the context to the simpleenroll params

func (*SimpleenrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the simpleenroll params

func (*SimpleenrollParams) SetTimeout

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

SetTimeout adds the timeout to the simpleenroll params

func (*SimpleenrollParams) WithCertrequest

func (o *SimpleenrollParams) WithCertrequest(certrequest string) *SimpleenrollParams

WithCertrequest adds the certrequest to the simpleenroll params

func (*SimpleenrollParams) WithContext

WithContext adds the context to the simpleenroll params

func (*SimpleenrollParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the simpleenroll params

func (*SimpleenrollParams) WithTimeout

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

WithTimeout adds the timeout to the simpleenroll params

func (*SimpleenrollParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SimpleenrollReader

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

SimpleenrollReader is a Reader for the Simpleenroll structure.

func (*SimpleenrollReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SimpleenrollUnauthorized

type SimpleenrollUnauthorized struct {
	WWWAuthenticate string
}

SimpleenrollUnauthorized handles this case with default header values.

Authentication information is missing or invalid

func NewSimpleenrollUnauthorized

func NewSimpleenrollUnauthorized() *SimpleenrollUnauthorized

NewSimpleenrollUnauthorized creates a SimpleenrollUnauthorized with default headers values

func (*SimpleenrollUnauthorized) Error

func (o *SimpleenrollUnauthorized) Error() string

type SimplereenrollBadRequest

type SimplereenrollBadRequest struct {
	Payload string
}

SimplereenrollBadRequest handles this case with default header values.

invalid request

func NewSimplereenrollBadRequest

func NewSimplereenrollBadRequest() *SimplereenrollBadRequest

NewSimplereenrollBadRequest creates a SimplereenrollBadRequest with default headers values

func (*SimplereenrollBadRequest) Error

func (o *SimplereenrollBadRequest) Error() string

type SimplereenrollForbidden

type SimplereenrollForbidden struct {
	Payload string
}

SimplereenrollForbidden handles this case with default header values.

client certificates were not presented

func NewSimplereenrollForbidden

func NewSimplereenrollForbidden() *SimplereenrollForbidden

NewSimplereenrollForbidden creates a SimplereenrollForbidden with default headers values

func (*SimplereenrollForbidden) Error

func (o *SimplereenrollForbidden) Error() string

type SimplereenrollInternalServerError

type SimplereenrollInternalServerError struct {
	Payload string
}

SimplereenrollInternalServerError handles this case with default header values.

something went wrong

func NewSimplereenrollInternalServerError

func NewSimplereenrollInternalServerError() *SimplereenrollInternalServerError

NewSimplereenrollInternalServerError creates a SimplereenrollInternalServerError with default headers values

func (*SimplereenrollInternalServerError) Error

type SimplereenrollOK

type SimplereenrollOK struct {
	ContentTransferEncoding string

	ContentType string

	Payload string
}

SimplereenrollOK handles this case with default header values.

successful operation

func NewSimplereenrollOK

func NewSimplereenrollOK() *SimplereenrollOK

NewSimplereenrollOK creates a SimplereenrollOK with default headers values

func (*SimplereenrollOK) Error

func (o *SimplereenrollOK) Error() string

type SimplereenrollParams

type SimplereenrollParams struct {

	/*Certrequest
	  PKCS10 certificate request (DER format, base64 encoded)

	*/
	Certrequest string

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

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

func NewSimplereenrollParams

func NewSimplereenrollParams() *SimplereenrollParams

NewSimplereenrollParams creates a new SimplereenrollParams object with the default values initialized.

func NewSimplereenrollParamsWithContext

func NewSimplereenrollParamsWithContext(ctx context.Context) *SimplereenrollParams

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

func NewSimplereenrollParamsWithHTTPClient

func NewSimplereenrollParamsWithHTTPClient(client *http.Client) *SimplereenrollParams

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

func NewSimplereenrollParamsWithTimeout

func NewSimplereenrollParamsWithTimeout(timeout time.Duration) *SimplereenrollParams

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

func (*SimplereenrollParams) SetCertrequest

func (o *SimplereenrollParams) SetCertrequest(certrequest string)

SetCertrequest adds the certrequest to the simplereenroll params

func (*SimplereenrollParams) SetContext

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

SetContext adds the context to the simplereenroll params

func (*SimplereenrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the simplereenroll params

func (*SimplereenrollParams) SetTimeout

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

SetTimeout adds the timeout to the simplereenroll params

func (*SimplereenrollParams) WithCertrequest

func (o *SimplereenrollParams) WithCertrequest(certrequest string) *SimplereenrollParams

WithCertrequest adds the certrequest to the simplereenroll params

func (*SimplereenrollParams) WithContext

WithContext adds the context to the simplereenroll params

func (*SimplereenrollParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the simplereenroll params

func (*SimplereenrollParams) WithTimeout

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

WithTimeout adds the timeout to the simplereenroll params

func (*SimplereenrollParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SimplereenrollReader

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

SimplereenrollReader is a Reader for the Simplereenroll structure.

func (*SimplereenrollReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SimplereenrollUnauthorized

type SimplereenrollUnauthorized struct {
	WWWAuthenticate string
}

SimplereenrollUnauthorized handles this case with default header values.

Authentication information is missing or invalid

func NewSimplereenrollUnauthorized

func NewSimplereenrollUnauthorized() *SimplereenrollUnauthorized

NewSimplereenrollUnauthorized creates a SimplereenrollUnauthorized with default headers values

func (*SimplereenrollUnauthorized) Error

Jump to

Keyboard shortcuts

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