enroll

package
v0.26.21 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 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 enroll API

func (*Client) Enroll

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

Enroll enrolls an identity via one time token

present a OTT and CSR to receive a long-lived client certificate

func (*Client) EnrollCa

func (a *Client) EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 certificate has been pre-exchanged there is no CSR input to this enrollment method.

func (*Client) EnrollUpdb added in v0.26.20

func (a *Client) EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)

EnrollUpdb enrolls an identity via one time token

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

func (*Client) EnrollmentChallenge added in v0.26.20

func (a *Client) EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)
EnrollmentChallenge allows verification of a controller or cluster of controllers as being the valid target for enrollment

A caller may submit a nonce and a key id (kid) from the enrollment JWKS endpoint or enrollment JWT that will

be used to sign the nonce. The resulting signature may be validated with the associated public key in order to verify a networks identity during enrollment. The nonce must be a valid formatted UUID.

func (*Client) ExtendRouterEnrollment

func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)
ExtendRouterEnrollment extends the life of a currently enrolled router s certificates

Allows a router to extend its certificates' expiration date by

using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation or swapping.

After completion any new connections must be made with certificates returned from a 200 OK response. The previous client certificate is rendered invalid for use with the controller even if it has not expired.

This request must be made using the existing, valid, client certificate.

func (*Client) GetEnrollmentJwks added in v0.26.20

func (a *Client) GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, error)
GetEnrollmentJwks lists JSON web keys associated with enrollment

Returns a list of JSON Web Keys (JWKS) that are used for enrollment signing. The keys listed here are used

to sign and co-sign enrollment JWTs. They can be verified through a challenge endpoint, using the public keys from this endpoint to verify the target machine has possession of the related private key.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

	EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)

	EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)

	EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)

	EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)

	EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)

	EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)

	ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)

	GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, 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 describes a response with status code 404, 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 describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollCaParamsWithContext

func NewEnrollCaParamsWithContext(ctx context.Context) *EnrollCaParams

NewEnrollCaParamsWithContext creates a new EnrollCaParams object with 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 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 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) SetDefaults

func (o *EnrollCaParams) SetDefaults()

SetDefaults hydrates default values in the enroll ca params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *EnrollCaParams) WithDefaults() *EnrollCaParams

WithDefaults hydrates default values in the enroll ca params (not the query body).

All values with no default are reset to their zero value.

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 EnrollCaTooManyRequests added in v0.26.0

type EnrollCaTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollCaTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollCaTooManyRequests added in v0.26.0

func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests

NewEnrollCaTooManyRequests creates a EnrollCaTooManyRequests with default headers values

func (*EnrollCaTooManyRequests) Error added in v0.26.0

func (o *EnrollCaTooManyRequests) Error() string

func (*EnrollCaTooManyRequests) GetPayload added in v0.26.0

type EnrollErOttOK

type EnrollErOttOK struct {
	Payload *rest_model.EnrollmentCertsEnvelope
}
EnrollErOttOK describes a response with status code 200, 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 {

	/* ErOttEnrollmentRequest.

	   An OTT enrollment request
	*/
	ErOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollErOttParamsWithContext

func NewEnrollErOttParamsWithContext(ctx context.Context) *EnrollErOttParams

NewEnrollErOttParamsWithContext creates a new EnrollErOttParams object with 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 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 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) SetDefaults

func (o *EnrollErOttParams) SetDefaults()

SetDefaults hydrates default values in the enroll er ott params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollErOttParams) SetErOttEnrollmentRequest added in v0.26.20

func (o *EnrollErOttParams) SetErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest)

SetErOttEnrollmentRequest adds the erOttEnrollmentRequest 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) WithContext

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

WithContext adds the context to the enroll er ott params

func (*EnrollErOttParams) WithDefaults

func (o *EnrollErOttParams) WithDefaults() *EnrollErOttParams

WithDefaults hydrates default values in the enroll er ott params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollErOttParams) WithErOttEnrollmentRequest added in v0.26.20

func (o *EnrollErOttParams) WithErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest) *EnrollErOttParams

WithErOttEnrollmentRequest adds the erOttEnrollmentRequest 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) 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 EnrollErOttTooManyRequests added in v0.26.0

type EnrollErOttTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollErOttTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollErOttTooManyRequests added in v0.26.0

func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests

NewEnrollErOttTooManyRequests creates a EnrollErOttTooManyRequests with default headers values

func (*EnrollErOttTooManyRequests) Error added in v0.26.0

func (*EnrollErOttTooManyRequests) GetPayload added in v0.26.0

type EnrollNotFound

type EnrollNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollNotFound describes a response with status code 404, 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 string
}
EnrollOK describes a response with status code 200, with default header values.

A response for multi-format legacy enrollment.

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() string

type EnrollOttCaOK

type EnrollOttCaOK struct {
	Payload *rest_model.Empty
}
EnrollOttCaOK describes a response with status code 200, 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 {

	/* OttEnrollmentRequest.

	   An OTT enrollment request
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollOttCaParamsWithContext

func NewEnrollOttCaParamsWithContext(ctx context.Context) *EnrollOttCaParams

NewEnrollOttCaParamsWithContext creates a new EnrollOttCaParams object with 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 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 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) SetDefaults

func (o *EnrollOttCaParams) SetDefaults()

SetDefaults hydrates default values in the enroll ott ca params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollOttCaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) SetOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttCaParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)

SetOttEnrollmentRequest adds the ottEnrollmentRequest 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) WithContext

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

WithContext adds the context to the enroll ott ca params

func (*EnrollOttCaParams) WithDefaults

func (o *EnrollOttCaParams) WithDefaults() *EnrollOttCaParams

WithDefaults hydrates default values in the enroll ott ca params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollOttCaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott ca params

func (*EnrollOttCaParams) WithOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttCaParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttCaParams

WithOttEnrollmentRequest adds the ottEnrollmentRequest 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) 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 EnrollOttCaTooManyRequests added in v0.26.0

type EnrollOttCaTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollOttCaTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollOttCaTooManyRequests added in v0.26.0

func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests

NewEnrollOttCaTooManyRequests creates a EnrollOttCaTooManyRequests with default headers values

func (*EnrollOttCaTooManyRequests) Error added in v0.26.0

func (*EnrollOttCaTooManyRequests) GetPayload added in v0.26.0

type EnrollOttNotFound

type EnrollOttNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollOttNotFound describes a response with status code 404, 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 *rest_model.EnrollmentCertsEnvelope
}
EnrollOttOK describes a response with status code 200, with default header values.

A response containing and identities client certificate chains

func NewEnrollOttOK

func NewEnrollOttOK() *EnrollOttOK

NewEnrollOttOK creates a EnrollOttOK with default headers values

func (*EnrollOttOK) Error

func (o *EnrollOttOK) Error() string

func (*EnrollOttOK) GetPayload

type EnrollOttParams

type EnrollOttParams struct {

	/* OttEnrollmentRequest.

	   An OTT enrollment request
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollOttParamsWithContext

func NewEnrollOttParamsWithContext(ctx context.Context) *EnrollOttParams

NewEnrollOttParamsWithContext creates a new EnrollOttParams object with 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 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 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) SetDefaults

func (o *EnrollOttParams) SetDefaults()

SetDefaults hydrates default values in the enroll ott params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollOttParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) SetOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)

SetOttEnrollmentRequest adds the ottEnrollmentRequest 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) WithContext

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

WithContext adds the context to the enroll ott params

func (*EnrollOttParams) WithDefaults

func (o *EnrollOttParams) WithDefaults() *EnrollOttParams

WithDefaults hydrates default values in the enroll ott params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollOttParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll ott params

func (*EnrollOttParams) WithOttEnrollmentRequest added in v0.26.20

func (o *EnrollOttParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttParams

WithOttEnrollmentRequest adds the ottEnrollmentRequest 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) 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 EnrollOttTooManyRequests added in v0.26.0

type EnrollOttTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollOttTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollOttTooManyRequests added in v0.26.0

func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests

NewEnrollOttTooManyRequests creates a EnrollOttTooManyRequests with default headers values

func (*EnrollOttTooManyRequests) Error added in v0.26.0

func (o *EnrollOttTooManyRequests) Error() string

func (*EnrollOttTooManyRequests) GetPayload added in v0.26.0

type EnrollParams

type EnrollParams struct {

	// Method.
	Method *string

	// Token.
	//
	// Format: uuid
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollParamsWithContext

func NewEnrollParamsWithContext(ctx context.Context) *EnrollParams

NewEnrollParamsWithContext creates a new EnrollParams object with 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 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 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) SetDefaults

func (o *EnrollParams) SetDefaults()

SetDefaults hydrates default values in the enroll params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) SetMethod added in v0.25.11

func (o *EnrollParams) SetMethod(method *string)

SetMethod adds the method 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) WithDefaults

func (o *EnrollParams) WithDefaults() *EnrollParams

WithDefaults hydrates default values in the enroll params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) WithMethod added in v0.25.11

func (o *EnrollParams) WithMethod(method *string) *EnrollParams

WithMethod adds the method 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 EnrollTooManyRequests added in v0.26.0

type EnrollTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollTooManyRequests added in v0.26.0

func NewEnrollTooManyRequests() *EnrollTooManyRequests

NewEnrollTooManyRequests creates a EnrollTooManyRequests with default headers values

func (*EnrollTooManyRequests) Error added in v0.26.0

func (o *EnrollTooManyRequests) Error() string

func (*EnrollTooManyRequests) GetPayload added in v0.26.0

type EnrollUpdbBody added in v0.26.20

type EnrollUpdbBody struct {

	// password
	Password rest_model.Password `json:"password,omitempty"`

	// username
	Username rest_model.Username `json:"username,omitempty"`
}

EnrollUpdbBody enroll updb body swagger:model EnrollUpdbBody

func (*EnrollUpdbBody) ContextValidate added in v0.26.20

func (o *EnrollUpdbBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enroll updb body based on the context it is used

func (*EnrollUpdbBody) MarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollUpdbBody) UnmarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollUpdbBody) Validate added in v0.26.20

func (o *EnrollUpdbBody) Validate(formats strfmt.Registry) error

Validate validates this enroll updb body

type EnrollUpdbNotFound added in v0.26.20

type EnrollUpdbNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollUpdbNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewEnrollUpdbNotFound added in v0.26.20

func NewEnrollUpdbNotFound() *EnrollUpdbNotFound

NewEnrollUpdbNotFound creates a EnrollUpdbNotFound with default headers values

func (*EnrollUpdbNotFound) Error added in v0.26.20

func (o *EnrollUpdbNotFound) Error() string

func (*EnrollUpdbNotFound) GetPayload added in v0.26.20

type EnrollUpdbOK added in v0.26.20

type EnrollUpdbOK struct {
	Payload *rest_model.Empty
}
EnrollUpdbOK describes a response with status code 200, with default header values.

Base empty response

func NewEnrollUpdbOK added in v0.26.20

func NewEnrollUpdbOK() *EnrollUpdbOK

NewEnrollUpdbOK creates a EnrollUpdbOK with default headers values

func (*EnrollUpdbOK) Error added in v0.26.20

func (o *EnrollUpdbOK) Error() string

func (*EnrollUpdbOK) GetPayload added in v0.26.20

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

type EnrollUpdbParams added in v0.26.20

type EnrollUpdbParams struct {

	// Token.
	//
	// Format: uuid
	Token strfmt.UUID

	// UpdbCredentials.
	UpdbCredentials EnrollUpdbBody

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

EnrollUpdbParams contains all the parameters to send to the API endpoint

for the enroll updb operation.

Typically these are written to a http.Request.

func NewEnrollUpdbParams added in v0.26.20

func NewEnrollUpdbParams() *EnrollUpdbParams

NewEnrollUpdbParams creates a new EnrollUpdbParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollUpdbParamsWithContext added in v0.26.20

func NewEnrollUpdbParamsWithContext(ctx context.Context) *EnrollUpdbParams

NewEnrollUpdbParamsWithContext creates a new EnrollUpdbParams object with the ability to set a context for a request.

func NewEnrollUpdbParamsWithHTTPClient added in v0.26.20

func NewEnrollUpdbParamsWithHTTPClient(client *http.Client) *EnrollUpdbParams

NewEnrollUpdbParamsWithHTTPClient creates a new EnrollUpdbParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollUpdbParamsWithTimeout added in v0.26.20

func NewEnrollUpdbParamsWithTimeout(timeout time.Duration) *EnrollUpdbParams

NewEnrollUpdbParamsWithTimeout creates a new EnrollUpdbParams object with the ability to set a timeout on a request.

func (*EnrollUpdbParams) SetContext added in v0.26.20

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

SetContext adds the context to the enroll updb params

func (*EnrollUpdbParams) SetDefaults added in v0.26.20

func (o *EnrollUpdbParams) SetDefaults()

SetDefaults hydrates default values in the enroll updb params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollUpdbParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the enroll updb params

func (*EnrollUpdbParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the enroll updb params

func (*EnrollUpdbParams) SetToken added in v0.26.20

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

SetToken adds the token to the enroll updb params

func (*EnrollUpdbParams) SetUpdbCredentials added in v0.26.20

func (o *EnrollUpdbParams) SetUpdbCredentials(updbCredentials EnrollUpdbBody)

SetUpdbCredentials adds the updbCredentials to the enroll updb params

func (*EnrollUpdbParams) WithContext added in v0.26.20

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

WithContext adds the context to the enroll updb params

func (*EnrollUpdbParams) WithDefaults added in v0.26.20

func (o *EnrollUpdbParams) WithDefaults() *EnrollUpdbParams

WithDefaults hydrates default values in the enroll updb params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollUpdbParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the enroll updb params

func (*EnrollUpdbParams) WithTimeout added in v0.26.20

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

WithTimeout adds the timeout to the enroll updb params

func (*EnrollUpdbParams) WithToken added in v0.26.20

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

WithToken adds the token to the enroll updb params

func (*EnrollUpdbParams) WithUpdbCredentials added in v0.26.20

func (o *EnrollUpdbParams) WithUpdbCredentials(updbCredentials EnrollUpdbBody) *EnrollUpdbParams

WithUpdbCredentials adds the updbCredentials to the enroll updb params

func (*EnrollUpdbParams) WriteToRequest added in v0.26.20

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

WriteToRequest writes these params to a swagger request

type EnrollUpdbReader added in v0.26.20

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

EnrollUpdbReader is a Reader for the EnrollUpdb structure.

func (*EnrollUpdbReader) ReadResponse added in v0.26.20

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

ReadResponse reads a server response into the received o.

type EnrollUpdbTooManyRequests added in v0.26.20

type EnrollUpdbTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollUpdbTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollUpdbTooManyRequests added in v0.26.20

func NewEnrollUpdbTooManyRequests() *EnrollUpdbTooManyRequests

NewEnrollUpdbTooManyRequests creates a EnrollUpdbTooManyRequests with default headers values

func (*EnrollUpdbTooManyRequests) Error added in v0.26.20

func (o *EnrollUpdbTooManyRequests) Error() string

func (*EnrollUpdbTooManyRequests) GetPayload added in v0.26.20

type EnrollmentChallengeBadRequest added in v0.26.20

type EnrollmentChallengeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollmentChallengeBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewEnrollmentChallengeBadRequest added in v0.26.20

func NewEnrollmentChallengeBadRequest() *EnrollmentChallengeBadRequest

NewEnrollmentChallengeBadRequest creates a EnrollmentChallengeBadRequest with default headers values

func (*EnrollmentChallengeBadRequest) Error added in v0.26.20

func (*EnrollmentChallengeBadRequest) GetPayload added in v0.26.20

type EnrollmentChallengeOK added in v0.26.20

type EnrollmentChallengeOK struct {
	Payload *rest_model.NonceSignature
}
EnrollmentChallengeOK describes a response with status code 200, with default header values.

A nonce challenge response. The contents will be the signature of the nonce, the key id used, and algorithm used to produce the signature.

func NewEnrollmentChallengeOK added in v0.26.20

func NewEnrollmentChallengeOK() *EnrollmentChallengeOK

NewEnrollmentChallengeOK creates a EnrollmentChallengeOK with default headers values

func (*EnrollmentChallengeOK) Error added in v0.26.20

func (o *EnrollmentChallengeOK) Error() string

func (*EnrollmentChallengeOK) GetPayload added in v0.26.20

type EnrollmentChallengeParams added in v0.26.20

type EnrollmentChallengeParams struct {

	// Nonce.
	Nonce *rest_model.NonceChallenge

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

EnrollmentChallengeParams contains all the parameters to send to the API endpoint

for the enrollment challenge operation.

Typically these are written to a http.Request.

func NewEnrollmentChallengeParams added in v0.26.20

func NewEnrollmentChallengeParams() *EnrollmentChallengeParams

NewEnrollmentChallengeParams creates a new EnrollmentChallengeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEnrollmentChallengeParamsWithContext added in v0.26.20

func NewEnrollmentChallengeParamsWithContext(ctx context.Context) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithContext creates a new EnrollmentChallengeParams object with the ability to set a context for a request.

func NewEnrollmentChallengeParamsWithHTTPClient added in v0.26.20

func NewEnrollmentChallengeParamsWithHTTPClient(client *http.Client) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithHTTPClient creates a new EnrollmentChallengeParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollmentChallengeParamsWithTimeout added in v0.26.20

func NewEnrollmentChallengeParamsWithTimeout(timeout time.Duration) *EnrollmentChallengeParams

NewEnrollmentChallengeParamsWithTimeout creates a new EnrollmentChallengeParams object with the ability to set a timeout on a request.

func (*EnrollmentChallengeParams) SetContext added in v0.26.20

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

SetContext adds the context to the enrollment challenge params

func (*EnrollmentChallengeParams) SetDefaults added in v0.26.20

func (o *EnrollmentChallengeParams) SetDefaults()

SetDefaults hydrates default values in the enrollment challenge params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollmentChallengeParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the enrollment challenge params

func (*EnrollmentChallengeParams) SetNonce added in v0.26.20

SetNonce adds the nonce to the enrollment challenge params

func (*EnrollmentChallengeParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the enrollment challenge params

func (*EnrollmentChallengeParams) WithContext added in v0.26.20

WithContext adds the context to the enrollment challenge params

func (*EnrollmentChallengeParams) WithDefaults added in v0.26.20

WithDefaults hydrates default values in the enrollment challenge params (not the query body).

All values with no default are reset to their zero value.

func (*EnrollmentChallengeParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the enrollment challenge params

func (*EnrollmentChallengeParams) WithNonce added in v0.26.20

WithNonce adds the nonce to the enrollment challenge params

func (*EnrollmentChallengeParams) WithTimeout added in v0.26.20

WithTimeout adds the timeout to the enrollment challenge params

func (*EnrollmentChallengeParams) WriteToRequest added in v0.26.20

WriteToRequest writes these params to a swagger request

type EnrollmentChallengeReader added in v0.26.20

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

EnrollmentChallengeReader is a Reader for the EnrollmentChallenge structure.

func (*EnrollmentChallengeReader) ReadResponse added in v0.26.20

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

ReadResponse reads a server response into the received o.

type EnrollmentChallengeTooManyRequests added in v0.26.20

type EnrollmentChallengeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
EnrollmentChallengeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewEnrollmentChallengeTooManyRequests added in v0.26.20

func NewEnrollmentChallengeTooManyRequests() *EnrollmentChallengeTooManyRequests

NewEnrollmentChallengeTooManyRequests creates a EnrollmentChallengeTooManyRequests with default headers values

func (*EnrollmentChallengeTooManyRequests) Error added in v0.26.20

func (*EnrollmentChallengeTooManyRequests) GetPayload added in v0.26.20

type ExtendRouterEnrollmentOK

type ExtendRouterEnrollmentOK struct {
	Payload *rest_model.EnrollmentCertsEnvelope
}
ExtendRouterEnrollmentOK describes a response with status code 200, with default header values.

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

func NewExtendRouterEnrollmentOK

func NewExtendRouterEnrollmentOK() *ExtendRouterEnrollmentOK

NewExtendRouterEnrollmentOK creates a ExtendRouterEnrollmentOK with default headers values

func (*ExtendRouterEnrollmentOK) Error

func (o *ExtendRouterEnrollmentOK) Error() string

func (*ExtendRouterEnrollmentOK) GetPayload

type ExtendRouterEnrollmentParams

type ExtendRouterEnrollmentParams struct {

	// RouterExtendEnrollmentRequest.
	RouterExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest

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

ExtendRouterEnrollmentParams contains all the parameters to send to the API endpoint

for the extend router enrollment operation.

Typically these are written to a http.Request.

func NewExtendRouterEnrollmentParams

func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParams creates a new ExtendRouterEnrollmentParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExtendRouterEnrollmentParamsWithContext

func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithContext creates a new ExtendRouterEnrollmentParams object with the ability to set a context for a request.

func NewExtendRouterEnrollmentParamsWithHTTPClient

func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithHTTPClient creates a new ExtendRouterEnrollmentParams object with the ability to set a custom HTTPClient for a request.

func NewExtendRouterEnrollmentParamsWithTimeout

func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParamsWithTimeout creates a new ExtendRouterEnrollmentParams object with the ability to set a timeout on a request.

func (*ExtendRouterEnrollmentParams) SetContext

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

SetContext adds the context to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetDefaults

func (o *ExtendRouterEnrollmentParams) SetDefaults()

SetDefaults hydrates default values in the extend router enrollment params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendRouterEnrollmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest

func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)

SetRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) SetTimeout

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

SetTimeout adds the timeout to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithContext

WithContext adds the context to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithDefaults

WithDefaults hydrates default values in the extend router enrollment params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendRouterEnrollmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest

func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams

WithRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WithTimeout

WithTimeout adds the timeout to the extend router enrollment params

func (*ExtendRouterEnrollmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExtendRouterEnrollmentReader

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

ExtendRouterEnrollmentReader is a Reader for the ExtendRouterEnrollment structure.

func (*ExtendRouterEnrollmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExtendRouterEnrollmentTooManyRequests added in v0.26.0

type ExtendRouterEnrollmentTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
ExtendRouterEnrollmentTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewExtendRouterEnrollmentTooManyRequests added in v0.26.0

func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests

NewExtendRouterEnrollmentTooManyRequests creates a ExtendRouterEnrollmentTooManyRequests with default headers values

func (*ExtendRouterEnrollmentTooManyRequests) Error added in v0.26.0

func (*ExtendRouterEnrollmentTooManyRequests) GetPayload added in v0.26.0

type ExtendRouterEnrollmentUnauthorized

type ExtendRouterEnrollmentUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ExtendRouterEnrollmentUnauthorized describes a response with status code 401, with default header values.

The supplied session does not have the correct access rights to request this resource

func NewExtendRouterEnrollmentUnauthorized

func NewExtendRouterEnrollmentUnauthorized() *ExtendRouterEnrollmentUnauthorized

NewExtendRouterEnrollmentUnauthorized creates a ExtendRouterEnrollmentUnauthorized with default headers values

func (*ExtendRouterEnrollmentUnauthorized) Error

func (*ExtendRouterEnrollmentUnauthorized) GetPayload

type GetEnrollmentJwksOK added in v0.26.20

type GetEnrollmentJwksOK struct {
	Payload *rest_model.Jwks
}
GetEnrollmentJwksOK describes a response with status code 200, with default header values.

A JWKS response for enrollment.

func NewGetEnrollmentJwksOK added in v0.26.20

func NewGetEnrollmentJwksOK() *GetEnrollmentJwksOK

NewGetEnrollmentJwksOK creates a GetEnrollmentJwksOK with default headers values

func (*GetEnrollmentJwksOK) Error added in v0.26.20

func (o *GetEnrollmentJwksOK) Error() string

func (*GetEnrollmentJwksOK) GetPayload added in v0.26.20

func (o *GetEnrollmentJwksOK) GetPayload() *rest_model.Jwks

type GetEnrollmentJwksParams added in v0.26.20

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

GetEnrollmentJwksParams contains all the parameters to send to the API endpoint

for the get enrollment jwks operation.

Typically these are written to a http.Request.

func NewGetEnrollmentJwksParams added in v0.26.20

func NewGetEnrollmentJwksParams() *GetEnrollmentJwksParams

NewGetEnrollmentJwksParams creates a new GetEnrollmentJwksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEnrollmentJwksParamsWithContext added in v0.26.20

func NewGetEnrollmentJwksParamsWithContext(ctx context.Context) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithContext creates a new GetEnrollmentJwksParams object with the ability to set a context for a request.

func NewGetEnrollmentJwksParamsWithHTTPClient added in v0.26.20

func NewGetEnrollmentJwksParamsWithHTTPClient(client *http.Client) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithHTTPClient creates a new GetEnrollmentJwksParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnrollmentJwksParamsWithTimeout added in v0.26.20

func NewGetEnrollmentJwksParamsWithTimeout(timeout time.Duration) *GetEnrollmentJwksParams

NewGetEnrollmentJwksParamsWithTimeout creates a new GetEnrollmentJwksParams object with the ability to set a timeout on a request.

func (*GetEnrollmentJwksParams) SetContext added in v0.26.20

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

SetContext adds the context to the get enrollment jwks params

func (*GetEnrollmentJwksParams) SetDefaults added in v0.26.20

func (o *GetEnrollmentJwksParams) SetDefaults()

SetDefaults hydrates default values in the get enrollment jwks params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnrollmentJwksParams) SetHTTPClient added in v0.26.20

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

SetHTTPClient adds the HTTPClient to the get enrollment jwks params

func (*GetEnrollmentJwksParams) SetTimeout added in v0.26.20

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

SetTimeout adds the timeout to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithContext added in v0.26.20

WithContext adds the context to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithDefaults added in v0.26.20

WithDefaults hydrates default values in the get enrollment jwks params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnrollmentJwksParams) WithHTTPClient added in v0.26.20

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

WithHTTPClient adds the HTTPClient to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WithTimeout added in v0.26.20

WithTimeout adds the timeout to the get enrollment jwks params

func (*GetEnrollmentJwksParams) WriteToRequest added in v0.26.20

WriteToRequest writes these params to a swagger request

type GetEnrollmentJwksReader added in v0.26.20

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

GetEnrollmentJwksReader is a Reader for the GetEnrollmentJwks structure.

func (*GetEnrollmentJwksReader) ReadResponse added in v0.26.20

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