Documentation ¶
Index ¶
- type Client
- func (a *Client) Enroll(params *EnrollParams) (*EnrollOK, error)
- func (a *Client) EnrollCa(params *EnrollCaParams) (*EnrollCaOK, error)
- func (a *Client) EnrollErOtt(params *EnrollErOttParams) (*EnrollErOttOK, error)
- func (a *Client) EnrollOtt(params *EnrollOttParams) (*EnrollOttOK, error)
- func (a *Client) EnrollOttCa(params *EnrollOttCaParams) (*EnrollOttCaOK, error)
- func (a *Client) ErnollUpdb(params *ErnollUpdbParams) (*ErnollUpdbOK, error)
- func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams) (*ExtendRouterEnrollmentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EnrollCaNotFound
- type EnrollCaOK
- type EnrollCaParams
- func (o *EnrollCaParams) SetContext(ctx context.Context)
- func (o *EnrollCaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollCaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollCaParams) WithContext(ctx context.Context) *EnrollCaParams
- func (o *EnrollCaParams) WithHTTPClient(client *http.Client) *EnrollCaParams
- func (o *EnrollCaParams) WithTimeout(timeout time.Duration) *EnrollCaParams
- func (o *EnrollCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollCaReader
- type EnrollErOttOK
- type EnrollErOttParams
- func (o *EnrollErOttParams) SetContext(ctx context.Context)
- func (o *EnrollErOttParams) SetHTTPClient(client *http.Client)
- func (o *EnrollErOttParams) SetTimeout(timeout time.Duration)
- func (o *EnrollErOttParams) SetToken(token strfmt.UUID)
- func (o *EnrollErOttParams) WithContext(ctx context.Context) *EnrollErOttParams
- func (o *EnrollErOttParams) WithHTTPClient(client *http.Client) *EnrollErOttParams
- func (o *EnrollErOttParams) WithTimeout(timeout time.Duration) *EnrollErOttParams
- func (o *EnrollErOttParams) WithToken(token strfmt.UUID) *EnrollErOttParams
- func (o *EnrollErOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollErOttReader
- type EnrollNotFound
- type EnrollOK
- type EnrollOttCaOK
- type EnrollOttCaParams
- func (o *EnrollOttCaParams) SetContext(ctx context.Context)
- func (o *EnrollOttCaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollOttCaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollOttCaParams) SetToken(token strfmt.UUID)
- func (o *EnrollOttCaParams) WithContext(ctx context.Context) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithHTTPClient(client *http.Client) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithTimeout(timeout time.Duration) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithToken(token strfmt.UUID) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollOttCaReader
- type EnrollOttNotFound
- type EnrollOttOK
- type EnrollOttParams
- func (o *EnrollOttParams) SetContext(ctx context.Context)
- func (o *EnrollOttParams) SetHTTPClient(client *http.Client)
- func (o *EnrollOttParams) SetTimeout(timeout time.Duration)
- func (o *EnrollOttParams) SetToken(token strfmt.UUID)
- func (o *EnrollOttParams) WithContext(ctx context.Context) *EnrollOttParams
- func (o *EnrollOttParams) WithHTTPClient(client *http.Client) *EnrollOttParams
- func (o *EnrollOttParams) WithTimeout(timeout time.Duration) *EnrollOttParams
- func (o *EnrollOttParams) WithToken(token strfmt.UUID) *EnrollOttParams
- func (o *EnrollOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollOttReader
- type EnrollParams
- func (o *EnrollParams) SetContext(ctx context.Context)
- func (o *EnrollParams) SetHTTPClient(client *http.Client)
- func (o *EnrollParams) SetTimeout(timeout time.Duration)
- func (o *EnrollParams) SetToken(token *strfmt.UUID)
- func (o *EnrollParams) WithContext(ctx context.Context) *EnrollParams
- func (o *EnrollParams) WithHTTPClient(client *http.Client) *EnrollParams
- func (o *EnrollParams) WithTimeout(timeout time.Duration) *EnrollParams
- func (o *EnrollParams) WithToken(token *strfmt.UUID) *EnrollParams
- func (o *EnrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollReader
- type ErnollUpdbNotFound
- type ErnollUpdbOK
- type ErnollUpdbParams
- func (o *ErnollUpdbParams) SetContext(ctx context.Context)
- func (o *ErnollUpdbParams) SetHTTPClient(client *http.Client)
- func (o *ErnollUpdbParams) SetTimeout(timeout time.Duration)
- func (o *ErnollUpdbParams) SetToken(token strfmt.UUID)
- func (o *ErnollUpdbParams) WithContext(ctx context.Context) *ErnollUpdbParams
- func (o *ErnollUpdbParams) WithHTTPClient(client *http.Client) *ErnollUpdbParams
- func (o *ErnollUpdbParams) WithTimeout(timeout time.Duration) *ErnollUpdbParams
- func (o *ErnollUpdbParams) WithToken(token strfmt.UUID) *ErnollUpdbParams
- func (o *ErnollUpdbParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ErnollUpdbReader
- type ExtendRouterEnrollmentOK
- type ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) SetContext(ctx context.Context)
- func (o *ExtendRouterEnrollmentParams) SetHTTPClient(client *http.Client)
- func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)
- func (o *ExtendRouterEnrollmentParams) SetTimeout(timeout time.Duration)
- func (o *ExtendRouterEnrollmentParams) WithContext(ctx context.Context) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExtendRouterEnrollmentReader
- type ExtendRouterEnrollmentUnauthorized
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 certificate 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 via one time token
Enrolls an identity via a one-time-token to establish an initial username and password combination
func (*Client) ExtendRouterEnrollment ¶ added in v0.19.81
func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams) (*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 pased 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. 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) 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) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams) (*ExtendRouterEnrollmentOK, 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 ¶
func (o *EnrollErOttOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
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) 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 ¶
func (o *EnrollOttNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *ErnollUpdbNotFound) GetPayload() *rest_model.APIErrorEnvelope
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.
type ExtendRouterEnrollmentOK ¶ added in v0.19.81
type ExtendRouterEnrollmentOK struct {
Payload *rest_model.EnrollmentCertsEnvelope
}
ExtendRouterEnrollmentOK handles this case with default header values.
A response containg the edge routers new signed certificates (server chain, server cert, CAs).
func NewExtendRouterEnrollmentOK ¶ added in v0.19.81
func NewExtendRouterEnrollmentOK() *ExtendRouterEnrollmentOK
NewExtendRouterEnrollmentOK creates a ExtendRouterEnrollmentOK with default headers values
func (*ExtendRouterEnrollmentOK) Error ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentOK) Error() string
func (*ExtendRouterEnrollmentOK) GetPayload ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
type ExtendRouterEnrollmentParams ¶ added in v0.19.81
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 ¶ added in v0.19.81
func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParams creates a new ExtendRouterEnrollmentParams object with the default values initialized.
func NewExtendRouterEnrollmentParamsWithContext ¶ added in v0.19.81
func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithContext creates a new ExtendRouterEnrollmentParams object with the default values initialized, and the ability to set a context for a request
func NewExtendRouterEnrollmentParamsWithHTTPClient ¶ added in v0.19.81
func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithHTTPClient creates a new ExtendRouterEnrollmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExtendRouterEnrollmentParamsWithTimeout ¶ added in v0.19.81
func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithTimeout creates a new ExtendRouterEnrollmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExtendRouterEnrollmentParams) SetContext ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) SetContext(ctx context.Context)
SetContext adds the context to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetHTTPClient ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)
SetRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetTimeout ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithContext ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) WithContext(ctx context.Context) *ExtendRouterEnrollmentParams
WithContext adds the context to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithHTTPClient ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) WithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
WithHTTPClient adds the HTTPClient to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams
WithRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithTimeout ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) WithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
WithTimeout adds the timeout to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WriteToRequest ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExtendRouterEnrollmentReader ¶ added in v0.19.81
type ExtendRouterEnrollmentReader struct {
// contains filtered or unexported fields
}
ExtendRouterEnrollmentReader is a Reader for the ExtendRouterEnrollment structure.
func (*ExtendRouterEnrollmentReader) ReadResponse ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExtendRouterEnrollmentUnauthorized ¶ added in v0.19.81
type ExtendRouterEnrollmentUnauthorized struct {
}ExtendRouterEnrollmentUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewExtendRouterEnrollmentUnauthorized ¶ added in v0.19.81
func NewExtendRouterEnrollmentUnauthorized() *ExtendRouterEnrollmentUnauthorized
NewExtendRouterEnrollmentUnauthorized creates a ExtendRouterEnrollmentUnauthorized with default headers values
func (*ExtendRouterEnrollmentUnauthorized) Error ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentUnauthorized) Error() string
func (*ExtendRouterEnrollmentUnauthorized) GetPayload ¶ added in v0.19.81
func (o *ExtendRouterEnrollmentUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- enroll_ca_parameters.go
- enroll_ca_responses.go
- enroll_client.go
- enroll_er_ott_parameters.go
- enroll_er_ott_responses.go
- enroll_ott_ca_parameters.go
- enroll_ott_ca_responses.go
- enroll_ott_parameters.go
- enroll_ott_responses.go
- enroll_parameters.go
- enroll_responses.go
- ernoll_updb_parameters.go
- ernoll_updb_responses.go
- extend_router_enrollment_parameters.go
- extend_router_enrollment_responses.go