Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateIdentity(params *CreateIdentityParams, opts ...ClientOption) (*CreateIdentityCreated, error)
- func (a *Client) CreateRecoveryLink(params *CreateRecoveryLinkParams, opts ...ClientOption) (*CreateRecoveryLinkOK, error)
- func (a *Client) DeleteIdentity(params *DeleteIdentityParams, opts ...ClientOption) (*DeleteIdentityNoContent, error)
- func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
- func (a *Client) ListIdentities(params *ListIdentitiesParams, opts ...ClientOption) (*ListIdentitiesOK, error)
- func (a *Client) Prometheus(params *PrometheusParams, opts ...ClientOption) (*PrometheusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIdentity(params *UpdateIdentityParams, opts ...ClientOption) (*UpdateIdentityOK, error)
- type ClientOption
- type ClientService
- type CreateIdentityBadRequest
- type CreateIdentityConflict
- type CreateIdentityCreated
- type CreateIdentityInternalServerError
- type CreateIdentityParams
- func NewCreateIdentityParams() *CreateIdentityParams
- func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
- func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
- func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) SetBody(body *models.CreateIdentity)
- func (o *CreateIdentityParams) SetContext(ctx context.Context)
- func (o *CreateIdentityParams) SetDefaults()
- func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
- func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
- func (o *CreateIdentityParams) WithBody(body *models.CreateIdentity) *CreateIdentityParams
- func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
- func (o *CreateIdentityParams) WithDefaults() *CreateIdentityParams
- func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
- func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIdentityReader
- type CreateRecoveryLinkBadRequest
- type CreateRecoveryLinkInternalServerError
- type CreateRecoveryLinkNotFound
- type CreateRecoveryLinkOK
- type CreateRecoveryLinkParams
- func NewCreateRecoveryLinkParams() *CreateRecoveryLinkParams
- func NewCreateRecoveryLinkParamsWithContext(ctx context.Context) *CreateRecoveryLinkParams
- func NewCreateRecoveryLinkParamsWithHTTPClient(client *http.Client) *CreateRecoveryLinkParams
- func NewCreateRecoveryLinkParamsWithTimeout(timeout time.Duration) *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) SetBody(body *models.CreateRecoveryLink)
- func (o *CreateRecoveryLinkParams) SetContext(ctx context.Context)
- func (o *CreateRecoveryLinkParams) SetDefaults()
- func (o *CreateRecoveryLinkParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecoveryLinkParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecoveryLinkParams) WithBody(body *models.CreateRecoveryLink) *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) WithContext(ctx context.Context) *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) WithDefaults() *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) WithHTTPClient(client *http.Client) *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) WithTimeout(timeout time.Duration) *CreateRecoveryLinkParams
- func (o *CreateRecoveryLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecoveryLinkReader
- type DeleteIdentityInternalServerError
- type DeleteIdentityNoContent
- type DeleteIdentityNotFound
- type DeleteIdentityParams
- func NewDeleteIdentityParams() *DeleteIdentityParams
- func NewDeleteIdentityParamsWithContext(ctx context.Context) *DeleteIdentityParams
- func NewDeleteIdentityParamsWithHTTPClient(client *http.Client) *DeleteIdentityParams
- func NewDeleteIdentityParamsWithTimeout(timeout time.Duration) *DeleteIdentityParams
- func (o *DeleteIdentityParams) SetContext(ctx context.Context)
- func (o *DeleteIdentityParams) SetDefaults()
- func (o *DeleteIdentityParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIdentityParams) SetID(id string)
- func (o *DeleteIdentityParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIdentityParams) WithContext(ctx context.Context) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithDefaults() *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithHTTPClient(client *http.Client) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithID(id string) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WithTimeout(timeout time.Duration) *DeleteIdentityParams
- func (o *DeleteIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIdentityReader
- type GetIdentityBadRequest
- type GetIdentityInternalServerError
- type GetIdentityOK
- type GetIdentityParams
- func (o *GetIdentityParams) SetContext(ctx context.Context)
- func (o *GetIdentityParams) SetDefaults()
- func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
- func (o *GetIdentityParams) SetID(id string)
- func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
- func (o *GetIdentityParams) WithDefaults() *GetIdentityParams
- func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
- func (o *GetIdentityParams) WithID(id string) *GetIdentityParams
- func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
- func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIdentityReader
- type ListIdentitiesInternalServerError
- type ListIdentitiesOK
- type ListIdentitiesParams
- func NewListIdentitiesParams() *ListIdentitiesParams
- func NewListIdentitiesParamsWithContext(ctx context.Context) *ListIdentitiesParams
- func NewListIdentitiesParamsWithHTTPClient(client *http.Client) *ListIdentitiesParams
- func NewListIdentitiesParamsWithTimeout(timeout time.Duration) *ListIdentitiesParams
- func (o *ListIdentitiesParams) SetContext(ctx context.Context)
- func (o *ListIdentitiesParams) SetDefaults()
- func (o *ListIdentitiesParams) SetHTTPClient(client *http.Client)
- func (o *ListIdentitiesParams) SetPage(page *int64)
- func (o *ListIdentitiesParams) SetPerPage(perPage *int64)
- func (o *ListIdentitiesParams) SetTimeout(timeout time.Duration)
- func (o *ListIdentitiesParams) WithContext(ctx context.Context) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithDefaults() *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithHTTPClient(client *http.Client) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithPage(page *int64) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithPerPage(perPage *int64) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WithTimeout(timeout time.Duration) *ListIdentitiesParams
- func (o *ListIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListIdentitiesReader
- type PrometheusOK
- type PrometheusParams
- func (o *PrometheusParams) SetContext(ctx context.Context)
- func (o *PrometheusParams) SetDefaults()
- func (o *PrometheusParams) SetHTTPClient(client *http.Client)
- func (o *PrometheusParams) SetTimeout(timeout time.Duration)
- func (o *PrometheusParams) WithContext(ctx context.Context) *PrometheusParams
- func (o *PrometheusParams) WithDefaults() *PrometheusParams
- func (o *PrometheusParams) WithHTTPClient(client *http.Client) *PrometheusParams
- func (o *PrometheusParams) WithTimeout(timeout time.Duration) *PrometheusParams
- func (o *PrometheusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrometheusReader
- type UpdateIdentityBadRequest
- type UpdateIdentityInternalServerError
- type UpdateIdentityNotFound
- type UpdateIdentityOK
- type UpdateIdentityParams
- func NewUpdateIdentityParams() *UpdateIdentityParams
- func NewUpdateIdentityParamsWithContext(ctx context.Context) *UpdateIdentityParams
- func NewUpdateIdentityParamsWithHTTPClient(client *http.Client) *UpdateIdentityParams
- func NewUpdateIdentityParamsWithTimeout(timeout time.Duration) *UpdateIdentityParams
- func (o *UpdateIdentityParams) SetBody(body *models.UpdateIdentity)
- func (o *UpdateIdentityParams) SetContext(ctx context.Context)
- func (o *UpdateIdentityParams) SetDefaults()
- func (o *UpdateIdentityParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIdentityParams) SetID(id string)
- func (o *UpdateIdentityParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIdentityParams) WithBody(body *models.UpdateIdentity) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithContext(ctx context.Context) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithDefaults() *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithHTTPClient(client *http.Client) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithID(id string) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WithTimeout(timeout time.Duration) *UpdateIdentityParams
- func (o *UpdateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIdentityReader
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 admin API
func (*Client) CreateIdentity ¶
func (a *Client) CreateIdentity(params *CreateIdentityParams, opts ...ClientOption) (*CreateIdentityCreated, error)
CreateIdentity creates an identity This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...)
using this method! A way to achieve that will be introduced in the future.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) CreateRecoveryLink ¶
func (a *Client) CreateRecoveryLink(params *CreateRecoveryLinkParams, opts ...ClientOption) (*CreateRecoveryLinkOK, error)
CreateRecoveryLink creates a recovery link This endpoint creates a recovery link which should be given to the user in order for them to recover
(or activate) their account.
func (*Client) DeleteIdentity ¶
func (a *Client) DeleteIdentity(params *DeleteIdentityParams, opts ...ClientOption) (*DeleteIdentityNoContent, error)
DeleteIdentity deletes an identity Calling this endpoint irrecoverably and permanently deletes the identity given its ID. This action can not be undone.
This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) GetIdentity ¶
func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
GetIdentity gets an identity
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) ListIdentities ¶
func (a *Client) ListIdentities(params *ListIdentitiesParams, opts ...ClientOption) (*ListIdentitiesOK, error)
ListIdentities lists identities Lists all identities. Does not support search at the moment.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
func (*Client) Prometheus ¶
func (a *Client) Prometheus(params *PrometheusParams, opts ...ClientOption) (*PrometheusOK, error)
Prometheus gets snapshot metrics from the hydra service if you re using k8s you can then add annotations to your deployment like so ```
metadata: annotations: prometheus.io/port: "4434" prometheus.io/path: "/metrics/prometheus" ```
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIdentity ¶
func (a *Client) UpdateIdentity(params *UpdateIdentityParams, opts ...ClientOption) (*UpdateIdentityOK, error)
UpdateIdentity updates an identity This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...)
using this method! A way to achieve that will be introduced in the future.
The full identity payload (except credentials) is expected. This endpoint does not support patching.
Learn how identities work in [ORY Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateIdentity(params *CreateIdentityParams, opts ...ClientOption) (*CreateIdentityCreated, error) CreateRecoveryLink(params *CreateRecoveryLinkParams, opts ...ClientOption) (*CreateRecoveryLinkOK, error) DeleteIdentity(params *DeleteIdentityParams, opts ...ClientOption) (*DeleteIdentityNoContent, error) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error) ListIdentities(params *ListIdentitiesParams, opts ...ClientOption) (*ListIdentitiesOK, error) Prometheus(params *PrometheusParams, opts ...ClientOption) (*PrometheusOK, error) UpdateIdentity(params *UpdateIdentityParams, opts ...ClientOption) (*UpdateIdentityOK, 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 admin API client.
type CreateIdentityBadRequest ¶
type CreateIdentityBadRequest struct {
Payload *models.GenericError
}
CreateIdentityBadRequest describes a response with status code 400, with default header values.
genericError
func NewCreateIdentityBadRequest ¶
func NewCreateIdentityBadRequest() *CreateIdentityBadRequest
NewCreateIdentityBadRequest creates a CreateIdentityBadRequest with default headers values
func (*CreateIdentityBadRequest) Error ¶
func (o *CreateIdentityBadRequest) Error() string
func (*CreateIdentityBadRequest) GetPayload ¶
func (o *CreateIdentityBadRequest) GetPayload() *models.GenericError
type CreateIdentityConflict ¶
type CreateIdentityConflict struct {
Payload *models.GenericError
}
CreateIdentityConflict describes a response with status code 409, with default header values.
genericError
func NewCreateIdentityConflict ¶
func NewCreateIdentityConflict() *CreateIdentityConflict
NewCreateIdentityConflict creates a CreateIdentityConflict with default headers values
func (*CreateIdentityConflict) Error ¶
func (o *CreateIdentityConflict) Error() string
func (*CreateIdentityConflict) GetPayload ¶
func (o *CreateIdentityConflict) GetPayload() *models.GenericError
type CreateIdentityCreated ¶
CreateIdentityCreated describes a response with status code 201, with default header values.
A single identity.
func NewCreateIdentityCreated ¶
func NewCreateIdentityCreated() *CreateIdentityCreated
NewCreateIdentityCreated creates a CreateIdentityCreated with default headers values
func (*CreateIdentityCreated) Error ¶
func (o *CreateIdentityCreated) Error() string
func (*CreateIdentityCreated) GetPayload ¶
func (o *CreateIdentityCreated) GetPayload() *models.Identity
type CreateIdentityInternalServerError ¶
type CreateIdentityInternalServerError struct {
Payload *models.GenericError
}
CreateIdentityInternalServerError describes a response with status code 500, with default header values.
genericError
func NewCreateIdentityInternalServerError ¶
func NewCreateIdentityInternalServerError() *CreateIdentityInternalServerError
NewCreateIdentityInternalServerError creates a CreateIdentityInternalServerError with default headers values
func (*CreateIdentityInternalServerError) Error ¶
func (o *CreateIdentityInternalServerError) Error() string
func (*CreateIdentityInternalServerError) GetPayload ¶
func (o *CreateIdentityInternalServerError) GetPayload() *models.GenericError
type CreateIdentityParams ¶
type CreateIdentityParams struct { // Body. Body *models.CreateIdentity Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateIdentityParams contains all the parameters to send to the API endpoint
for the create identity operation. Typically these are written to a http.Request.
func NewCreateIdentityParams ¶
func NewCreateIdentityParams() *CreateIdentityParams
NewCreateIdentityParams creates a new CreateIdentityParams 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 NewCreateIdentityParamsWithContext ¶
func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
NewCreateIdentityParamsWithContext creates a new CreateIdentityParams object with the ability to set a context for a request.
func NewCreateIdentityParamsWithHTTPClient ¶
func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
NewCreateIdentityParamsWithHTTPClient creates a new CreateIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIdentityParamsWithTimeout ¶
func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
NewCreateIdentityParamsWithTimeout creates a new CreateIdentityParams object with the ability to set a timeout on a request.
func (*CreateIdentityParams) SetBody ¶
func (o *CreateIdentityParams) SetBody(body *models.CreateIdentity)
SetBody adds the body to the create identity params
func (*CreateIdentityParams) SetContext ¶
func (o *CreateIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the create identity params
func (*CreateIdentityParams) SetDefaults ¶
func (o *CreateIdentityParams) SetDefaults()
SetDefaults hydrates default values in the create identity params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIdentityParams) SetHTTPClient ¶
func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) SetTimeout ¶
func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WithBody ¶
func (o *CreateIdentityParams) WithBody(body *models.CreateIdentity) *CreateIdentityParams
WithBody adds the body to the create identity params
func (*CreateIdentityParams) WithContext ¶
func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
WithContext adds the context to the create identity params
func (*CreateIdentityParams) WithDefaults ¶
func (o *CreateIdentityParams) WithDefaults() *CreateIdentityParams
WithDefaults hydrates default values in the create identity params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIdentityParams) WithHTTPClient ¶
func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
WithHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) WithTimeout ¶
func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
WithTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WriteToRequest ¶
func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIdentityReader ¶
type CreateIdentityReader struct {
// contains filtered or unexported fields
}
CreateIdentityReader is a Reader for the CreateIdentity structure.
func (*CreateIdentityReader) ReadResponse ¶
func (o *CreateIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRecoveryLinkBadRequest ¶
type CreateRecoveryLinkBadRequest struct {
Payload *models.GenericError
}
CreateRecoveryLinkBadRequest describes a response with status code 400, with default header values.
genericError
func NewCreateRecoveryLinkBadRequest ¶
func NewCreateRecoveryLinkBadRequest() *CreateRecoveryLinkBadRequest
NewCreateRecoveryLinkBadRequest creates a CreateRecoveryLinkBadRequest with default headers values
func (*CreateRecoveryLinkBadRequest) Error ¶
func (o *CreateRecoveryLinkBadRequest) Error() string
func (*CreateRecoveryLinkBadRequest) GetPayload ¶
func (o *CreateRecoveryLinkBadRequest) GetPayload() *models.GenericError
type CreateRecoveryLinkInternalServerError ¶
type CreateRecoveryLinkInternalServerError struct {
Payload *models.GenericError
}
CreateRecoveryLinkInternalServerError describes a response with status code 500, with default header values.
genericError
func NewCreateRecoveryLinkInternalServerError ¶
func NewCreateRecoveryLinkInternalServerError() *CreateRecoveryLinkInternalServerError
NewCreateRecoveryLinkInternalServerError creates a CreateRecoveryLinkInternalServerError with default headers values
func (*CreateRecoveryLinkInternalServerError) Error ¶
func (o *CreateRecoveryLinkInternalServerError) Error() string
func (*CreateRecoveryLinkInternalServerError) GetPayload ¶
func (o *CreateRecoveryLinkInternalServerError) GetPayload() *models.GenericError
type CreateRecoveryLinkNotFound ¶
type CreateRecoveryLinkNotFound struct {
Payload *models.GenericError
}
CreateRecoveryLinkNotFound describes a response with status code 404, with default header values.
genericError
func NewCreateRecoveryLinkNotFound ¶
func NewCreateRecoveryLinkNotFound() *CreateRecoveryLinkNotFound
NewCreateRecoveryLinkNotFound creates a CreateRecoveryLinkNotFound with default headers values
func (*CreateRecoveryLinkNotFound) Error ¶
func (o *CreateRecoveryLinkNotFound) Error() string
func (*CreateRecoveryLinkNotFound) GetPayload ¶
func (o *CreateRecoveryLinkNotFound) GetPayload() *models.GenericError
type CreateRecoveryLinkOK ¶
type CreateRecoveryLinkOK struct {
Payload *models.RecoveryLink
}
CreateRecoveryLinkOK describes a response with status code 200, with default header values.
recoveryLink
func NewCreateRecoveryLinkOK ¶
func NewCreateRecoveryLinkOK() *CreateRecoveryLinkOK
NewCreateRecoveryLinkOK creates a CreateRecoveryLinkOK with default headers values
func (*CreateRecoveryLinkOK) Error ¶
func (o *CreateRecoveryLinkOK) Error() string
func (*CreateRecoveryLinkOK) GetPayload ¶
func (o *CreateRecoveryLinkOK) GetPayload() *models.RecoveryLink
type CreateRecoveryLinkParams ¶
type CreateRecoveryLinkParams struct { // Body. Body *models.CreateRecoveryLink Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecoveryLinkParams contains all the parameters to send to the API endpoint
for the create recovery link operation. Typically these are written to a http.Request.
func NewCreateRecoveryLinkParams ¶
func NewCreateRecoveryLinkParams() *CreateRecoveryLinkParams
NewCreateRecoveryLinkParams creates a new CreateRecoveryLinkParams 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 NewCreateRecoveryLinkParamsWithContext ¶
func NewCreateRecoveryLinkParamsWithContext(ctx context.Context) *CreateRecoveryLinkParams
NewCreateRecoveryLinkParamsWithContext creates a new CreateRecoveryLinkParams object with the ability to set a context for a request.
func NewCreateRecoveryLinkParamsWithHTTPClient ¶
func NewCreateRecoveryLinkParamsWithHTTPClient(client *http.Client) *CreateRecoveryLinkParams
NewCreateRecoveryLinkParamsWithHTTPClient creates a new CreateRecoveryLinkParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRecoveryLinkParamsWithTimeout ¶
func NewCreateRecoveryLinkParamsWithTimeout(timeout time.Duration) *CreateRecoveryLinkParams
NewCreateRecoveryLinkParamsWithTimeout creates a new CreateRecoveryLinkParams object with the ability to set a timeout on a request.
func (*CreateRecoveryLinkParams) SetBody ¶
func (o *CreateRecoveryLinkParams) SetBody(body *models.CreateRecoveryLink)
SetBody adds the body to the create recovery link params
func (*CreateRecoveryLinkParams) SetContext ¶
func (o *CreateRecoveryLinkParams) SetContext(ctx context.Context)
SetContext adds the context to the create recovery link params
func (*CreateRecoveryLinkParams) SetDefaults ¶
func (o *CreateRecoveryLinkParams) SetDefaults()
SetDefaults hydrates default values in the create recovery link params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecoveryLinkParams) SetHTTPClient ¶
func (o *CreateRecoveryLinkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recovery link params
func (*CreateRecoveryLinkParams) SetTimeout ¶
func (o *CreateRecoveryLinkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recovery link params
func (*CreateRecoveryLinkParams) WithBody ¶
func (o *CreateRecoveryLinkParams) WithBody(body *models.CreateRecoveryLink) *CreateRecoveryLinkParams
WithBody adds the body to the create recovery link params
func (*CreateRecoveryLinkParams) WithContext ¶
func (o *CreateRecoveryLinkParams) WithContext(ctx context.Context) *CreateRecoveryLinkParams
WithContext adds the context to the create recovery link params
func (*CreateRecoveryLinkParams) WithDefaults ¶
func (o *CreateRecoveryLinkParams) WithDefaults() *CreateRecoveryLinkParams
WithDefaults hydrates default values in the create recovery link params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecoveryLinkParams) WithHTTPClient ¶
func (o *CreateRecoveryLinkParams) WithHTTPClient(client *http.Client) *CreateRecoveryLinkParams
WithHTTPClient adds the HTTPClient to the create recovery link params
func (*CreateRecoveryLinkParams) WithTimeout ¶
func (o *CreateRecoveryLinkParams) WithTimeout(timeout time.Duration) *CreateRecoveryLinkParams
WithTimeout adds the timeout to the create recovery link params
func (*CreateRecoveryLinkParams) WriteToRequest ¶
func (o *CreateRecoveryLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecoveryLinkReader ¶
type CreateRecoveryLinkReader struct {
// contains filtered or unexported fields
}
CreateRecoveryLinkReader is a Reader for the CreateRecoveryLink structure.
func (*CreateRecoveryLinkReader) ReadResponse ¶
func (o *CreateRecoveryLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIdentityInternalServerError ¶
type DeleteIdentityInternalServerError struct {
Payload *models.GenericError
}
DeleteIdentityInternalServerError describes a response with status code 500, with default header values.
genericError
func NewDeleteIdentityInternalServerError ¶
func NewDeleteIdentityInternalServerError() *DeleteIdentityInternalServerError
NewDeleteIdentityInternalServerError creates a DeleteIdentityInternalServerError with default headers values
func (*DeleteIdentityInternalServerError) Error ¶
func (o *DeleteIdentityInternalServerError) Error() string
func (*DeleteIdentityInternalServerError) GetPayload ¶
func (o *DeleteIdentityInternalServerError) GetPayload() *models.GenericError
type DeleteIdentityNoContent ¶
type DeleteIdentityNoContent struct { }
DeleteIdentityNoContent describes a response with status code 204, with default header values. Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
typically 201.
func NewDeleteIdentityNoContent ¶
func NewDeleteIdentityNoContent() *DeleteIdentityNoContent
NewDeleteIdentityNoContent creates a DeleteIdentityNoContent with default headers values
func (*DeleteIdentityNoContent) Error ¶
func (o *DeleteIdentityNoContent) Error() string
type DeleteIdentityNotFound ¶
type DeleteIdentityNotFound struct {
Payload *models.GenericError
}
DeleteIdentityNotFound describes a response with status code 404, with default header values.
genericError
func NewDeleteIdentityNotFound ¶
func NewDeleteIdentityNotFound() *DeleteIdentityNotFound
NewDeleteIdentityNotFound creates a DeleteIdentityNotFound with default headers values
func (*DeleteIdentityNotFound) Error ¶
func (o *DeleteIdentityNotFound) Error() string
func (*DeleteIdentityNotFound) GetPayload ¶
func (o *DeleteIdentityNotFound) GetPayload() *models.GenericError
type DeleteIdentityParams ¶
type DeleteIdentityParams struct { /* ID. ID is the identity's ID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIdentityParams contains all the parameters to send to the API endpoint
for the delete identity operation. Typically these are written to a http.Request.
func NewDeleteIdentityParams ¶
func NewDeleteIdentityParams() *DeleteIdentityParams
NewDeleteIdentityParams creates a new DeleteIdentityParams 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 NewDeleteIdentityParamsWithContext ¶
func NewDeleteIdentityParamsWithContext(ctx context.Context) *DeleteIdentityParams
NewDeleteIdentityParamsWithContext creates a new DeleteIdentityParams object with the ability to set a context for a request.
func NewDeleteIdentityParamsWithHTTPClient ¶
func NewDeleteIdentityParamsWithHTTPClient(client *http.Client) *DeleteIdentityParams
NewDeleteIdentityParamsWithHTTPClient creates a new DeleteIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIdentityParamsWithTimeout ¶
func NewDeleteIdentityParamsWithTimeout(timeout time.Duration) *DeleteIdentityParams
NewDeleteIdentityParamsWithTimeout creates a new DeleteIdentityParams object with the ability to set a timeout on a request.
func (*DeleteIdentityParams) SetContext ¶
func (o *DeleteIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the delete identity params
func (*DeleteIdentityParams) SetDefaults ¶
func (o *DeleteIdentityParams) SetDefaults()
SetDefaults hydrates default values in the delete identity params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIdentityParams) SetHTTPClient ¶
func (o *DeleteIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete identity params
func (*DeleteIdentityParams) SetID ¶
func (o *DeleteIdentityParams) SetID(id string)
SetID adds the id to the delete identity params
func (*DeleteIdentityParams) SetTimeout ¶
func (o *DeleteIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete identity params
func (*DeleteIdentityParams) WithContext ¶
func (o *DeleteIdentityParams) WithContext(ctx context.Context) *DeleteIdentityParams
WithContext adds the context to the delete identity params
func (*DeleteIdentityParams) WithDefaults ¶
func (o *DeleteIdentityParams) WithDefaults() *DeleteIdentityParams
WithDefaults hydrates default values in the delete identity params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIdentityParams) WithHTTPClient ¶
func (o *DeleteIdentityParams) WithHTTPClient(client *http.Client) *DeleteIdentityParams
WithHTTPClient adds the HTTPClient to the delete identity params
func (*DeleteIdentityParams) WithID ¶
func (o *DeleteIdentityParams) WithID(id string) *DeleteIdentityParams
WithID adds the id to the delete identity params
func (*DeleteIdentityParams) WithTimeout ¶
func (o *DeleteIdentityParams) WithTimeout(timeout time.Duration) *DeleteIdentityParams
WithTimeout adds the timeout to the delete identity params
func (*DeleteIdentityParams) WriteToRequest ¶
func (o *DeleteIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIdentityReader ¶
type DeleteIdentityReader struct {
// contains filtered or unexported fields
}
DeleteIdentityReader is a Reader for the DeleteIdentity structure.
func (*DeleteIdentityReader) ReadResponse ¶
func (o *DeleteIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityBadRequest ¶
type GetIdentityBadRequest struct {
Payload *models.GenericError
}
GetIdentityBadRequest describes a response with status code 400, with default header values.
genericError
func NewGetIdentityBadRequest ¶
func NewGetIdentityBadRequest() *GetIdentityBadRequest
NewGetIdentityBadRequest creates a GetIdentityBadRequest with default headers values
func (*GetIdentityBadRequest) Error ¶
func (o *GetIdentityBadRequest) Error() string
func (*GetIdentityBadRequest) GetPayload ¶
func (o *GetIdentityBadRequest) GetPayload() *models.GenericError
type GetIdentityInternalServerError ¶
type GetIdentityInternalServerError struct {
Payload *models.GenericError
}
GetIdentityInternalServerError describes a response with status code 500, with default header values.
genericError
func NewGetIdentityInternalServerError ¶
func NewGetIdentityInternalServerError() *GetIdentityInternalServerError
NewGetIdentityInternalServerError creates a GetIdentityInternalServerError with default headers values
func (*GetIdentityInternalServerError) Error ¶
func (o *GetIdentityInternalServerError) Error() string
func (*GetIdentityInternalServerError) GetPayload ¶
func (o *GetIdentityInternalServerError) GetPayload() *models.GenericError
type GetIdentityOK ¶
GetIdentityOK describes a response with status code 200, with default header values.
A single identity.
func NewGetIdentityOK ¶
func NewGetIdentityOK() *GetIdentityOK
NewGetIdentityOK creates a GetIdentityOK with default headers values
func (*GetIdentityOK) Error ¶
func (o *GetIdentityOK) Error() string
func (*GetIdentityOK) GetPayload ¶
func (o *GetIdentityOK) GetPayload() *models.Identity
type GetIdentityParams ¶
type GetIdentityParams struct { /* ID. ID must be set to the ID of identity you want to get */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIdentityParams contains all the parameters to send to the API endpoint
for the get identity operation. Typically these are written to a http.Request.
func NewGetIdentityParams ¶
func NewGetIdentityParams() *GetIdentityParams
NewGetIdentityParams creates a new GetIdentityParams 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 NewGetIdentityParamsWithContext ¶
func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams
NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the ability to set a context for a request.
func NewGetIdentityParamsWithHTTPClient ¶
func NewGetIdentityParamsWithHTTPClient(client *http.Client) *GetIdentityParams
NewGetIdentityParamsWithHTTPClient creates a new GetIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewGetIdentityParamsWithTimeout ¶
func NewGetIdentityParamsWithTimeout(timeout time.Duration) *GetIdentityParams
NewGetIdentityParamsWithTimeout creates a new GetIdentityParams object with the ability to set a timeout on a request.
func (*GetIdentityParams) SetContext ¶
func (o *GetIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity params
func (*GetIdentityParams) SetDefaults ¶
func (o *GetIdentityParams) SetDefaults()
SetDefaults hydrates default values in the get identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetIdentityParams) SetHTTPClient ¶
func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) SetID ¶
func (o *GetIdentityParams) SetID(id string)
SetID adds the id to the get identity params
func (*GetIdentityParams) SetTimeout ¶
func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WithContext ¶
func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
WithContext adds the context to the get identity params
func (*GetIdentityParams) WithDefaults ¶
func (o *GetIdentityParams) WithDefaults() *GetIdentityParams
WithDefaults hydrates default values in the get identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetIdentityParams) WithHTTPClient ¶
func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
WithHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) WithID ¶
func (o *GetIdentityParams) WithID(id string) *GetIdentityParams
WithID adds the id to the get identity params
func (*GetIdentityParams) WithTimeout ¶
func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
WithTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WriteToRequest ¶
func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIdentityReader ¶
type GetIdentityReader struct {
// contains filtered or unexported fields
}
GetIdentityReader is a Reader for the GetIdentity structure.
func (*GetIdentityReader) ReadResponse ¶
func (o *GetIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListIdentitiesInternalServerError ¶
type ListIdentitiesInternalServerError struct {
Payload *models.GenericError
}
ListIdentitiesInternalServerError describes a response with status code 500, with default header values.
genericError
func NewListIdentitiesInternalServerError ¶
func NewListIdentitiesInternalServerError() *ListIdentitiesInternalServerError
NewListIdentitiesInternalServerError creates a ListIdentitiesInternalServerError with default headers values
func (*ListIdentitiesInternalServerError) Error ¶
func (o *ListIdentitiesInternalServerError) Error() string
func (*ListIdentitiesInternalServerError) GetPayload ¶
func (o *ListIdentitiesInternalServerError) GetPayload() *models.GenericError
type ListIdentitiesOK ¶
ListIdentitiesOK describes a response with status code 200, with default header values.
A list of identities.
func NewListIdentitiesOK ¶
func NewListIdentitiesOK() *ListIdentitiesOK
NewListIdentitiesOK creates a ListIdentitiesOK with default headers values
func (*ListIdentitiesOK) Error ¶
func (o *ListIdentitiesOK) Error() string
func (*ListIdentitiesOK) GetPayload ¶
func (o *ListIdentitiesOK) GetPayload() []*models.Identity
type ListIdentitiesParams ¶
type ListIdentitiesParams struct { /* Page. Pagination Page Format: int64 */ Page *int64 /* PerPage. Items per Page This is the number of items per page. Format: int64 Default: 100 */ PerPage *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListIdentitiesParams contains all the parameters to send to the API endpoint
for the list identities operation. Typically these are written to a http.Request.
func NewListIdentitiesParams ¶
func NewListIdentitiesParams() *ListIdentitiesParams
NewListIdentitiesParams creates a new ListIdentitiesParams 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 NewListIdentitiesParamsWithContext ¶
func NewListIdentitiesParamsWithContext(ctx context.Context) *ListIdentitiesParams
NewListIdentitiesParamsWithContext creates a new ListIdentitiesParams object with the ability to set a context for a request.
func NewListIdentitiesParamsWithHTTPClient ¶
func NewListIdentitiesParamsWithHTTPClient(client *http.Client) *ListIdentitiesParams
NewListIdentitiesParamsWithHTTPClient creates a new ListIdentitiesParams object with the ability to set a custom HTTPClient for a request.
func NewListIdentitiesParamsWithTimeout ¶
func NewListIdentitiesParamsWithTimeout(timeout time.Duration) *ListIdentitiesParams
NewListIdentitiesParamsWithTimeout creates a new ListIdentitiesParams object with the ability to set a timeout on a request.
func (*ListIdentitiesParams) SetContext ¶
func (o *ListIdentitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the list identities params
func (*ListIdentitiesParams) SetDefaults ¶
func (o *ListIdentitiesParams) SetDefaults()
SetDefaults hydrates default values in the list identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListIdentitiesParams) SetHTTPClient ¶
func (o *ListIdentitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list identities params
func (*ListIdentitiesParams) SetPage ¶
func (o *ListIdentitiesParams) SetPage(page *int64)
SetPage adds the page to the list identities params
func (*ListIdentitiesParams) SetPerPage ¶
func (o *ListIdentitiesParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the list identities params
func (*ListIdentitiesParams) SetTimeout ¶
func (o *ListIdentitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list identities params
func (*ListIdentitiesParams) WithContext ¶
func (o *ListIdentitiesParams) WithContext(ctx context.Context) *ListIdentitiesParams
WithContext adds the context to the list identities params
func (*ListIdentitiesParams) WithDefaults ¶
func (o *ListIdentitiesParams) WithDefaults() *ListIdentitiesParams
WithDefaults hydrates default values in the list identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListIdentitiesParams) WithHTTPClient ¶
func (o *ListIdentitiesParams) WithHTTPClient(client *http.Client) *ListIdentitiesParams
WithHTTPClient adds the HTTPClient to the list identities params
func (*ListIdentitiesParams) WithPage ¶
func (o *ListIdentitiesParams) WithPage(page *int64) *ListIdentitiesParams
WithPage adds the page to the list identities params
func (*ListIdentitiesParams) WithPerPage ¶
func (o *ListIdentitiesParams) WithPerPage(perPage *int64) *ListIdentitiesParams
WithPerPage adds the perPage to the list identities params
func (*ListIdentitiesParams) WithTimeout ¶
func (o *ListIdentitiesParams) WithTimeout(timeout time.Duration) *ListIdentitiesParams
WithTimeout adds the timeout to the list identities params
func (*ListIdentitiesParams) WriteToRequest ¶
func (o *ListIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListIdentitiesReader ¶
type ListIdentitiesReader struct {
// contains filtered or unexported fields
}
ListIdentitiesReader is a Reader for the ListIdentities structure.
func (*ListIdentitiesReader) ReadResponse ¶
func (o *ListIdentitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PrometheusOK ¶
type PrometheusOK struct { }
PrometheusOK describes a response with status code 200, with default header values. Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
typically 201.
func NewPrometheusOK ¶
func NewPrometheusOK() *PrometheusOK
NewPrometheusOK creates a PrometheusOK with default headers values
func (*PrometheusOK) Error ¶
func (o *PrometheusOK) Error() string
type PrometheusParams ¶
type PrometheusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PrometheusParams contains all the parameters to send to the API endpoint
for the prometheus operation. Typically these are written to a http.Request.
func NewPrometheusParams ¶
func NewPrometheusParams() *PrometheusParams
NewPrometheusParams creates a new PrometheusParams 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 NewPrometheusParamsWithContext ¶
func NewPrometheusParamsWithContext(ctx context.Context) *PrometheusParams
NewPrometheusParamsWithContext creates a new PrometheusParams object with the ability to set a context for a request.
func NewPrometheusParamsWithHTTPClient ¶
func NewPrometheusParamsWithHTTPClient(client *http.Client) *PrometheusParams
NewPrometheusParamsWithHTTPClient creates a new PrometheusParams object with the ability to set a custom HTTPClient for a request.
func NewPrometheusParamsWithTimeout ¶
func NewPrometheusParamsWithTimeout(timeout time.Duration) *PrometheusParams
NewPrometheusParamsWithTimeout creates a new PrometheusParams object with the ability to set a timeout on a request.
func (*PrometheusParams) SetContext ¶
func (o *PrometheusParams) SetContext(ctx context.Context)
SetContext adds the context to the prometheus params
func (*PrometheusParams) SetDefaults ¶
func (o *PrometheusParams) SetDefaults()
SetDefaults hydrates default values in the prometheus params (not the query body).
All values with no default are reset to their zero value.
func (*PrometheusParams) SetHTTPClient ¶
func (o *PrometheusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the prometheus params
func (*PrometheusParams) SetTimeout ¶
func (o *PrometheusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the prometheus params
func (*PrometheusParams) WithContext ¶
func (o *PrometheusParams) WithContext(ctx context.Context) *PrometheusParams
WithContext adds the context to the prometheus params
func (*PrometheusParams) WithDefaults ¶
func (o *PrometheusParams) WithDefaults() *PrometheusParams
WithDefaults hydrates default values in the prometheus params (not the query body).
All values with no default are reset to their zero value.
func (*PrometheusParams) WithHTTPClient ¶
func (o *PrometheusParams) WithHTTPClient(client *http.Client) *PrometheusParams
WithHTTPClient adds the HTTPClient to the prometheus params
func (*PrometheusParams) WithTimeout ¶
func (o *PrometheusParams) WithTimeout(timeout time.Duration) *PrometheusParams
WithTimeout adds the timeout to the prometheus params
func (*PrometheusParams) WriteToRequest ¶
func (o *PrometheusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PrometheusReader ¶
type PrometheusReader struct {
// contains filtered or unexported fields
}
PrometheusReader is a Reader for the Prometheus structure.
func (*PrometheusReader) ReadResponse ¶
func (o *PrometheusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIdentityBadRequest ¶
type UpdateIdentityBadRequest struct {
Payload *models.GenericError
}
UpdateIdentityBadRequest describes a response with status code 400, with default header values.
genericError
func NewUpdateIdentityBadRequest ¶
func NewUpdateIdentityBadRequest() *UpdateIdentityBadRequest
NewUpdateIdentityBadRequest creates a UpdateIdentityBadRequest with default headers values
func (*UpdateIdentityBadRequest) Error ¶
func (o *UpdateIdentityBadRequest) Error() string
func (*UpdateIdentityBadRequest) GetPayload ¶
func (o *UpdateIdentityBadRequest) GetPayload() *models.GenericError
type UpdateIdentityInternalServerError ¶
type UpdateIdentityInternalServerError struct {
Payload *models.GenericError
}
UpdateIdentityInternalServerError describes a response with status code 500, with default header values.
genericError
func NewUpdateIdentityInternalServerError ¶
func NewUpdateIdentityInternalServerError() *UpdateIdentityInternalServerError
NewUpdateIdentityInternalServerError creates a UpdateIdentityInternalServerError with default headers values
func (*UpdateIdentityInternalServerError) Error ¶
func (o *UpdateIdentityInternalServerError) Error() string
func (*UpdateIdentityInternalServerError) GetPayload ¶
func (o *UpdateIdentityInternalServerError) GetPayload() *models.GenericError
type UpdateIdentityNotFound ¶
type UpdateIdentityNotFound struct {
Payload *models.GenericError
}
UpdateIdentityNotFound describes a response with status code 404, with default header values.
genericError
func NewUpdateIdentityNotFound ¶
func NewUpdateIdentityNotFound() *UpdateIdentityNotFound
NewUpdateIdentityNotFound creates a UpdateIdentityNotFound with default headers values
func (*UpdateIdentityNotFound) Error ¶
func (o *UpdateIdentityNotFound) Error() string
func (*UpdateIdentityNotFound) GetPayload ¶
func (o *UpdateIdentityNotFound) GetPayload() *models.GenericError
type UpdateIdentityOK ¶
UpdateIdentityOK describes a response with status code 200, with default header values.
A single identity.
func NewUpdateIdentityOK ¶
func NewUpdateIdentityOK() *UpdateIdentityOK
NewUpdateIdentityOK creates a UpdateIdentityOK with default headers values
func (*UpdateIdentityOK) Error ¶
func (o *UpdateIdentityOK) Error() string
func (*UpdateIdentityOK) GetPayload ¶
func (o *UpdateIdentityOK) GetPayload() *models.Identity
type UpdateIdentityParams ¶
type UpdateIdentityParams struct { // Body. Body *models.UpdateIdentity /* ID. ID must be set to the ID of identity you want to update */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateIdentityParams contains all the parameters to send to the API endpoint
for the update identity operation. Typically these are written to a http.Request.
func NewUpdateIdentityParams ¶
func NewUpdateIdentityParams() *UpdateIdentityParams
NewUpdateIdentityParams creates a new UpdateIdentityParams 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 NewUpdateIdentityParamsWithContext ¶
func NewUpdateIdentityParamsWithContext(ctx context.Context) *UpdateIdentityParams
NewUpdateIdentityParamsWithContext creates a new UpdateIdentityParams object with the ability to set a context for a request.
func NewUpdateIdentityParamsWithHTTPClient ¶
func NewUpdateIdentityParamsWithHTTPClient(client *http.Client) *UpdateIdentityParams
NewUpdateIdentityParamsWithHTTPClient creates a new UpdateIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateIdentityParamsWithTimeout ¶
func NewUpdateIdentityParamsWithTimeout(timeout time.Duration) *UpdateIdentityParams
NewUpdateIdentityParamsWithTimeout creates a new UpdateIdentityParams object with the ability to set a timeout on a request.
func (*UpdateIdentityParams) SetBody ¶
func (o *UpdateIdentityParams) SetBody(body *models.UpdateIdentity)
SetBody adds the body to the update identity params
func (*UpdateIdentityParams) SetContext ¶
func (o *UpdateIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the update identity params
func (*UpdateIdentityParams) SetDefaults ¶
func (o *UpdateIdentityParams) SetDefaults()
SetDefaults hydrates default values in the update identity params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIdentityParams) SetHTTPClient ¶
func (o *UpdateIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update identity params
func (*UpdateIdentityParams) SetID ¶
func (o *UpdateIdentityParams) SetID(id string)
SetID adds the id to the update identity params
func (*UpdateIdentityParams) SetTimeout ¶
func (o *UpdateIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update identity params
func (*UpdateIdentityParams) WithBody ¶
func (o *UpdateIdentityParams) WithBody(body *models.UpdateIdentity) *UpdateIdentityParams
WithBody adds the body to the update identity params
func (*UpdateIdentityParams) WithContext ¶
func (o *UpdateIdentityParams) WithContext(ctx context.Context) *UpdateIdentityParams
WithContext adds the context to the update identity params
func (*UpdateIdentityParams) WithDefaults ¶
func (o *UpdateIdentityParams) WithDefaults() *UpdateIdentityParams
WithDefaults hydrates default values in the update identity params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIdentityParams) WithHTTPClient ¶
func (o *UpdateIdentityParams) WithHTTPClient(client *http.Client) *UpdateIdentityParams
WithHTTPClient adds the HTTPClient to the update identity params
func (*UpdateIdentityParams) WithID ¶
func (o *UpdateIdentityParams) WithID(id string) *UpdateIdentityParams
WithID adds the id to the update identity params
func (*UpdateIdentityParams) WithTimeout ¶
func (o *UpdateIdentityParams) WithTimeout(timeout time.Duration) *UpdateIdentityParams
WithTimeout adds the timeout to the update identity params
func (*UpdateIdentityParams) WriteToRequest ¶
func (o *UpdateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIdentityReader ¶
type UpdateIdentityReader struct {
// contains filtered or unexported fields
}
UpdateIdentityReader is a Reader for the UpdateIdentity structure.
func (*UpdateIdentityReader) ReadResponse ¶
func (o *UpdateIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- admin_client.go
- create_identity_parameters.go
- create_identity_responses.go
- create_recovery_link_parameters.go
- create_recovery_link_responses.go
- delete_identity_parameters.go
- delete_identity_responses.go
- get_identity_parameters.go
- get_identity_responses.go
- list_identities_parameters.go
- list_identities_responses.go
- prometheus_parameters.go
- prometheus_responses.go
- update_identity_parameters.go
- update_identity_responses.go