enroll

package
v0.16.24 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 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 enroll API

func (*Client) Enroll

func (a *Client) Enroll(params *EnrollParams) (*EnrollOK, error)

Enroll legacies enrollment endpoint

endpoint defers to the logic in the more specific `enroll/*` endpoints

func (*Client) EnrollCa

func (a *Client) EnrollCa(params *EnrollCaParams) (*EnrollCaOK, error)
EnrollCa enrolls an identity with a pre exchanged certificate

For CA auto enrollment, an identity is not created beforehand.

Instead one will be created during enrollment. The client will present a client certificate that is signed by a Certificate Authority that has been added and verified (See POST /cas and POST /cas/{id}/verify).

During this process no CSRs are requires as the client should already be in possession of a valid certificate.

func (*Client) EnrollErOtt

func (a *Client) EnrollErOtt(params *EnrollErOttParams) (*EnrollErOttOK, error)

EnrollErOtt enrolls an edge router

Enrolls an edge-router via a one-time-token to establish a certificate based identity.

func (*Client) EnrollOtt

func (a *Client) EnrollOtt(params *EnrollOttParams) (*EnrollOttOK, error)
EnrollOtt enrolls an identity via one time token

Enroll an identity via a one-time-token which is supplied via a query string parameter. This enrollment method

expects a PEM encoded CSRs to be provided for fulfillment. It is up to the enrolling identity to manage the private key backing the CSR request.

func (*Client) EnrollOttCa

func (a *Client) EnrollOttCa(params *EnrollOttCaParams) (*EnrollOttCaOK, error)
EnrollOttCa enrolls an identity via one time token with a pre exchanged client certificate

Enroll an identity via a one-time-token that also requires a pre-exchanged client certificate to match a

Certificate Authority that has been added and verified (See POST /cas and POST /cas{id}/verify). The client must present a client certificate signed by CA associated with the enrollment. This enrollment is similar to CA auto enrollment except that is required the identity to be pre-created.

As the client certificat has been pre-exchanged there is no CSR input to this enrollment method.

func (*Client) ErnollUpdb

func (a *Client) ErnollUpdb(params *ErnollUpdbParams) (*ErnollUpdbOK, error)

ErnollUpdb enrolls an identity vvia one time token

Enrolls an identity via a one-time-token to establish an initial username and password combination

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	Enroll(params *EnrollParams) (*EnrollOK, error)

	EnrollCa(params *EnrollCaParams) (*EnrollCaOK, error)

	EnrollErOtt(params *EnrollErOttParams) (*EnrollErOttOK, error)

	EnrollOtt(params *EnrollOttParams) (*EnrollOttOK, error)

	EnrollOttCa(params *EnrollOttCaParams) (*EnrollOttCaOK, error)

	ErnollUpdb(params *ErnollUpdbParams) (*ErnollUpdbOK, 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 enroll API client.

type EnrollCaNotFound

type EnrollCaNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

EnrollCaNotFound handles this case with default header values.

The requested resource does not exist

func NewEnrollCaNotFound

func NewEnrollCaNotFound() *EnrollCaNotFound

NewEnrollCaNotFound creates a EnrollCaNotFound with default headers values

func (*EnrollCaNotFound) Error

func (o *EnrollCaNotFound) Error() string

func (*EnrollCaNotFound) GetPayload

func (o *EnrollCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

type EnrollCaOK

type EnrollCaOK struct {
	Payload *rest_model.Empty
}

EnrollCaOK handles this case with default header values.

Base empty response

func NewEnrollCaOK

func NewEnrollCaOK() *EnrollCaOK

NewEnrollCaOK creates a EnrollCaOK with default headers values

func (*EnrollCaOK) Error

func (o *EnrollCaOK) Error() string

func (*EnrollCaOK) GetPayload

func (o *EnrollCaOK) GetPayload() *rest_model.Empty

type EnrollCaParams

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

EnrollCaParams contains all the parameters to send to the API endpoint for the enroll ca operation typically these are written to a http.Request

func NewEnrollCaParams

func NewEnrollCaParams() *EnrollCaParams

NewEnrollCaParams creates a new EnrollCaParams object with the default values initialized.

func NewEnrollCaParamsWithContext

func NewEnrollCaParamsWithContext(ctx context.Context) *EnrollCaParams

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

func NewEnrollCaParamsWithHTTPClient

func NewEnrollCaParamsWithHTTPClient(client *http.Client) *EnrollCaParams

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

func NewEnrollCaParamsWithTimeout

func NewEnrollCaParamsWithTimeout(timeout time.Duration) *EnrollCaParams

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

func (*EnrollCaParams) SetContext

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

SetContext adds the context to the enroll ca params

func (*EnrollCaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ca params

func (*EnrollCaParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ca params

func (*EnrollCaParams) WithContext

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

WithContext adds the context to the enroll ca params

func (*EnrollCaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ca params

func (*EnrollCaParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ca params

func (*EnrollCaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollCaReader

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

EnrollCaReader is a Reader for the EnrollCa structure.

func (*EnrollCaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollErOttOK

type EnrollErOttOK struct {
	Payload *rest_model.EnrollmentCertsEnvelope
}

EnrollErOttOK handles this case with default header values.

A response containing the edge routers signed certificates (server chain, server cert, CAs).

func NewEnrollErOttOK

func NewEnrollErOttOK() *EnrollErOttOK

NewEnrollErOttOK creates a EnrollErOttOK with default headers values

func (*EnrollErOttOK) Error

func (o *EnrollErOttOK) Error() string

func (*EnrollErOttOK) GetPayload

type EnrollErOttParams

type EnrollErOttParams struct {

	/*Token*/
	Token strfmt.UUID

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

EnrollErOttParams contains all the parameters to send to the API endpoint for the enroll er ott operation typically these are written to a http.Request

func NewEnrollErOttParams

func NewEnrollErOttParams() *EnrollErOttParams

NewEnrollErOttParams creates a new EnrollErOttParams object with the default values initialized.

func NewEnrollErOttParamsWithContext

func NewEnrollErOttParamsWithContext(ctx context.Context) *EnrollErOttParams

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

func NewEnrollErOttParamsWithHTTPClient

func NewEnrollErOttParamsWithHTTPClient(client *http.Client) *EnrollErOttParams

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

func NewEnrollErOttParamsWithTimeout

func NewEnrollErOttParamsWithTimeout(timeout time.Duration) *EnrollErOttParams

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

func (*EnrollErOttParams) SetContext

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

SetContext adds the context to the enroll er ott params

func (*EnrollErOttParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll er ott params

func (*EnrollErOttParams) SetTimeout

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

SetTimeout adds the timeout to the enroll er ott params

func (*EnrollErOttParams) SetToken

func (o *EnrollErOttParams) SetToken(token strfmt.UUID)

SetToken adds the token to the enroll er ott params

func (*EnrollErOttParams) WithContext

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

WithContext adds the context to the enroll er ott params

func (*EnrollErOttParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll er ott params

func (*EnrollErOttParams) WithTimeout

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

WithTimeout adds the timeout to the enroll er ott params

func (*EnrollErOttParams) WithToken

func (o *EnrollErOttParams) WithToken(token strfmt.UUID) *EnrollErOttParams

WithToken adds the token to the enroll er ott params

func (*EnrollErOttParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollErOttReader

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

EnrollErOttReader is a Reader for the EnrollErOtt structure.

func (*EnrollErOttReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollNotFound

type EnrollNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

EnrollNotFound handles this case with default header values.

The requested resource does not exist

func NewEnrollNotFound

func NewEnrollNotFound() *EnrollNotFound

NewEnrollNotFound creates a EnrollNotFound with default headers values

func (*EnrollNotFound) Error

func (o *EnrollNotFound) Error() string

func (*EnrollNotFound) GetPayload

func (o *EnrollNotFound) GetPayload() *rest_model.APIErrorEnvelope

type EnrollOK

type EnrollOK struct {
	Payload *rest_model.Empty
}

EnrollOK handles this case with default header values.

Base empty response

func NewEnrollOK

func NewEnrollOK() *EnrollOK

NewEnrollOK creates a EnrollOK with default headers values

func (*EnrollOK) Error

func (o *EnrollOK) Error() string

func (*EnrollOK) GetPayload

func (o *EnrollOK) GetPayload() *rest_model.Empty

type EnrollOttCaOK

type EnrollOttCaOK struct {
	Payload *rest_model.Empty
}

EnrollOttCaOK handles this case with default header values.

Base empty response

func NewEnrollOttCaOK

func NewEnrollOttCaOK() *EnrollOttCaOK

NewEnrollOttCaOK creates a EnrollOttCaOK with default headers values

func (*EnrollOttCaOK) Error

func (o *EnrollOttCaOK) Error() string

func (*EnrollOttCaOK) GetPayload

func (o *EnrollOttCaOK) GetPayload() *rest_model.Empty

type EnrollOttCaParams

type EnrollOttCaParams struct {

	/*Token*/
	Token strfmt.UUID

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

EnrollOttCaParams contains all the parameters to send to the API endpoint for the enroll ott ca operation typically these are written to a http.Request

func NewEnrollOttCaParams

func NewEnrollOttCaParams() *EnrollOttCaParams

NewEnrollOttCaParams creates a new EnrollOttCaParams object with the default values initialized.

func NewEnrollOttCaParamsWithContext

func NewEnrollOttCaParamsWithContext(ctx context.Context) *EnrollOttCaParams

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

func NewEnrollOttCaParamsWithHTTPClient

func NewEnrollOttCaParamsWithHTTPClient(client *http.Client) *EnrollOttCaParams

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

func NewEnrollOttCaParamsWithTimeout

func NewEnrollOttCaParamsWithTimeout(timeout time.Duration) *EnrollOttCaParams

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

func (*EnrollOttCaParams) SetContext

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

SetContext adds the context to the enroll ott ca params

func (*EnrollOttCaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ott ca params

func (*EnrollOttCaParams) SetToken

func (o *EnrollOttCaParams) SetToken(token strfmt.UUID)

SetToken adds the token to the enroll ott ca params

func (*EnrollOttCaParams) WithContext

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

WithContext adds the context to the enroll ott ca params

func (*EnrollOttCaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ott ca params

func (*EnrollOttCaParams) WithToken

func (o *EnrollOttCaParams) WithToken(token strfmt.UUID) *EnrollOttCaParams

WithToken adds the token to the enroll ott ca params

func (*EnrollOttCaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollOttCaReader

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

EnrollOttCaReader is a Reader for the EnrollOttCa structure.

func (*EnrollOttCaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollOttNotFound

type EnrollOttNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

EnrollOttNotFound handles this case with default header values.

The requested resource does not exist

func NewEnrollOttNotFound

func NewEnrollOttNotFound() *EnrollOttNotFound

NewEnrollOttNotFound creates a EnrollOttNotFound with default headers values

func (*EnrollOttNotFound) Error

func (o *EnrollOttNotFound) Error() string

func (*EnrollOttNotFound) GetPayload

type EnrollOttOK

type EnrollOttOK struct {
	Payload string
}

EnrollOttOK handles this case with default header values.

A PEM encoded certificate signed by the internal Ziti CA

func NewEnrollOttOK

func NewEnrollOttOK() *EnrollOttOK

NewEnrollOttOK creates a EnrollOttOK with default headers values

func (*EnrollOttOK) Error

func (o *EnrollOttOK) Error() string

func (*EnrollOttOK) GetPayload

func (o *EnrollOttOK) GetPayload() string

type EnrollOttParams

type EnrollOttParams struct {

	/*Token*/
	Token strfmt.UUID

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

EnrollOttParams contains all the parameters to send to the API endpoint for the enroll ott operation typically these are written to a http.Request

func NewEnrollOttParams

func NewEnrollOttParams() *EnrollOttParams

NewEnrollOttParams creates a new EnrollOttParams object with the default values initialized.

func NewEnrollOttParamsWithContext

func NewEnrollOttParamsWithContext(ctx context.Context) *EnrollOttParams

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

func NewEnrollOttParamsWithHTTPClient

func NewEnrollOttParamsWithHTTPClient(client *http.Client) *EnrollOttParams

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

func NewEnrollOttParamsWithTimeout

func NewEnrollOttParamsWithTimeout(timeout time.Duration) *EnrollOttParams

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

func (*EnrollOttParams) SetContext

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

SetContext adds the context to the enroll ott params

func (*EnrollOttParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) SetTimeout

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

SetTimeout adds the timeout to the enroll ott params

func (*EnrollOttParams) SetToken

func (o *EnrollOttParams) SetToken(token strfmt.UUID)

SetToken adds the token to the enroll ott params

func (*EnrollOttParams) WithContext

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

WithContext adds the context to the enroll ott params

func (*EnrollOttParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) WithTimeout

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

WithTimeout adds the timeout to the enroll ott params

func (*EnrollOttParams) WithToken

func (o *EnrollOttParams) WithToken(token strfmt.UUID) *EnrollOttParams

WithToken adds the token to the enroll ott params

func (*EnrollOttParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollOttReader

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

EnrollOttReader is a Reader for the EnrollOtt structure.

func (*EnrollOttReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnrollParams

type EnrollParams struct {

	/*Token*/
	Token *strfmt.UUID

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

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

func NewEnrollParams

func NewEnrollParams() *EnrollParams

NewEnrollParams creates a new EnrollParams object with the default values initialized.

func NewEnrollParamsWithContext

func NewEnrollParamsWithContext(ctx context.Context) *EnrollParams

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

func NewEnrollParamsWithHTTPClient

func NewEnrollParamsWithHTTPClient(client *http.Client) *EnrollParams

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

func NewEnrollParamsWithTimeout

func NewEnrollParamsWithTimeout(timeout time.Duration) *EnrollParams

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

func (*EnrollParams) SetContext

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

SetContext adds the context to the enroll params

func (*EnrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) SetTimeout

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

SetTimeout adds the timeout to the enroll params

func (*EnrollParams) SetToken

func (o *EnrollParams) SetToken(token *strfmt.UUID)

SetToken adds the token to the enroll params

func (*EnrollParams) WithContext

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

WithContext adds the context to the enroll params

func (*EnrollParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) WithTimeout

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

WithTimeout adds the timeout to the enroll params

func (*EnrollParams) WithToken

func (o *EnrollParams) WithToken(token *strfmt.UUID) *EnrollParams

WithToken adds the token to the enroll params

func (*EnrollParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnrollReader

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

EnrollReader is a Reader for the Enroll structure.

func (*EnrollReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ErnollUpdbNotFound

type ErnollUpdbNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

ErnollUpdbNotFound handles this case with default header values.

The requested resource does not exist

func NewErnollUpdbNotFound

func NewErnollUpdbNotFound() *ErnollUpdbNotFound

NewErnollUpdbNotFound creates a ErnollUpdbNotFound with default headers values

func (*ErnollUpdbNotFound) Error

func (o *ErnollUpdbNotFound) Error() string

func (*ErnollUpdbNotFound) GetPayload

type ErnollUpdbOK

type ErnollUpdbOK struct {
	Payload *rest_model.Empty
}

ErnollUpdbOK handles this case with default header values.

Base empty response

func NewErnollUpdbOK

func NewErnollUpdbOK() *ErnollUpdbOK

NewErnollUpdbOK creates a ErnollUpdbOK with default headers values

func (*ErnollUpdbOK) Error

func (o *ErnollUpdbOK) Error() string

func (*ErnollUpdbOK) GetPayload

func (o *ErnollUpdbOK) GetPayload() *rest_model.Empty

type ErnollUpdbParams

type ErnollUpdbParams struct {

	/*Token*/
	Token strfmt.UUID

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

ErnollUpdbParams contains all the parameters to send to the API endpoint for the ernoll updb operation typically these are written to a http.Request

func NewErnollUpdbParams

func NewErnollUpdbParams() *ErnollUpdbParams

NewErnollUpdbParams creates a new ErnollUpdbParams object with the default values initialized.

func NewErnollUpdbParamsWithContext

func NewErnollUpdbParamsWithContext(ctx context.Context) *ErnollUpdbParams

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

func NewErnollUpdbParamsWithHTTPClient

func NewErnollUpdbParamsWithHTTPClient(client *http.Client) *ErnollUpdbParams

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

func NewErnollUpdbParamsWithTimeout

func NewErnollUpdbParamsWithTimeout(timeout time.Duration) *ErnollUpdbParams

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

func (*ErnollUpdbParams) SetContext

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

SetContext adds the context to the ernoll updb params

func (*ErnollUpdbParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ernoll updb params

func (*ErnollUpdbParams) SetTimeout

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

SetTimeout adds the timeout to the ernoll updb params

func (*ErnollUpdbParams) SetToken

func (o *ErnollUpdbParams) SetToken(token strfmt.UUID)

SetToken adds the token to the ernoll updb params

func (*ErnollUpdbParams) WithContext

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

WithContext adds the context to the ernoll updb params

func (*ErnollUpdbParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ernoll updb params

func (*ErnollUpdbParams) WithTimeout

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

WithTimeout adds the timeout to the ernoll updb params

func (*ErnollUpdbParams) WithToken

func (o *ErnollUpdbParams) WithToken(token strfmt.UUID) *ErnollUpdbParams

WithToken adds the token to the ernoll updb params

func (*ErnollUpdbParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ErnollUpdbReader

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

ErnollUpdbReader is a Reader for the ErnollUpdb structure.

func (*ErnollUpdbReader) ReadResponse

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