Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateOtelMetricsIngestion(params *CreateOtelMetricsIngestionParams, opts ...ClientOption) (*CreateOtelMetricsIngestionOK, error)
- func (a *Client) DeleteOtelMetricsIngestion(params *DeleteOtelMetricsIngestionParams, opts ...ClientOption) (*DeleteOtelMetricsIngestionOK, error)
- func (a *Client) ReadOtelMetricsIngestion(params *ReadOtelMetricsIngestionParams, opts ...ClientOption) (*ReadOtelMetricsIngestionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOtelMetricsIngestion(params *UpdateOtelMetricsIngestionParams, opts ...ClientOption) (*UpdateOtelMetricsIngestionOK, error)
- type ClientOption
- type ClientService
- type CreateOtelMetricsIngestionBadRequest
- func (o *CreateOtelMetricsIngestionBadRequest) Code() int
- func (o *CreateOtelMetricsIngestionBadRequest) Error() string
- func (o *CreateOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
- func (o *CreateOtelMetricsIngestionBadRequest) IsClientError() bool
- func (o *CreateOtelMetricsIngestionBadRequest) IsCode(code int) bool
- func (o *CreateOtelMetricsIngestionBadRequest) IsRedirect() bool
- func (o *CreateOtelMetricsIngestionBadRequest) IsServerError() bool
- func (o *CreateOtelMetricsIngestionBadRequest) IsSuccess() bool
- func (o *CreateOtelMetricsIngestionBadRequest) String() string
- type CreateOtelMetricsIngestionConflict
- func (o *CreateOtelMetricsIngestionConflict) Code() int
- func (o *CreateOtelMetricsIngestionConflict) Error() string
- func (o *CreateOtelMetricsIngestionConflict) GetPayload() *models.APIError
- func (o *CreateOtelMetricsIngestionConflict) IsClientError() bool
- func (o *CreateOtelMetricsIngestionConflict) IsCode(code int) bool
- func (o *CreateOtelMetricsIngestionConflict) IsRedirect() bool
- func (o *CreateOtelMetricsIngestionConflict) IsServerError() bool
- func (o *CreateOtelMetricsIngestionConflict) IsSuccess() bool
- func (o *CreateOtelMetricsIngestionConflict) String() string
- type CreateOtelMetricsIngestionDefault
- func (o *CreateOtelMetricsIngestionDefault) Code() int
- func (o *CreateOtelMetricsIngestionDefault) Error() string
- func (o *CreateOtelMetricsIngestionDefault) GetPayload() models.GenericError
- func (o *CreateOtelMetricsIngestionDefault) IsClientError() bool
- func (o *CreateOtelMetricsIngestionDefault) IsCode(code int) bool
- func (o *CreateOtelMetricsIngestionDefault) IsRedirect() bool
- func (o *CreateOtelMetricsIngestionDefault) IsServerError() bool
- func (o *CreateOtelMetricsIngestionDefault) IsSuccess() bool
- func (o *CreateOtelMetricsIngestionDefault) String() string
- type CreateOtelMetricsIngestionInternalServerError
- func (o *CreateOtelMetricsIngestionInternalServerError) Code() int
- func (o *CreateOtelMetricsIngestionInternalServerError) Error() string
- func (o *CreateOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
- func (o *CreateOtelMetricsIngestionInternalServerError) IsClientError() bool
- func (o *CreateOtelMetricsIngestionInternalServerError) IsCode(code int) bool
- func (o *CreateOtelMetricsIngestionInternalServerError) IsRedirect() bool
- func (o *CreateOtelMetricsIngestionInternalServerError) IsServerError() bool
- func (o *CreateOtelMetricsIngestionInternalServerError) IsSuccess() bool
- func (o *CreateOtelMetricsIngestionInternalServerError) String() string
- type CreateOtelMetricsIngestionOK
- func (o *CreateOtelMetricsIngestionOK) Code() int
- func (o *CreateOtelMetricsIngestionOK) Error() string
- func (o *CreateOtelMetricsIngestionOK) GetPayload() *models.Configv1CreateOtelMetricsIngestionResponse
- func (o *CreateOtelMetricsIngestionOK) IsClientError() bool
- func (o *CreateOtelMetricsIngestionOK) IsCode(code int) bool
- func (o *CreateOtelMetricsIngestionOK) IsRedirect() bool
- func (o *CreateOtelMetricsIngestionOK) IsServerError() bool
- func (o *CreateOtelMetricsIngestionOK) IsSuccess() bool
- func (o *CreateOtelMetricsIngestionOK) String() string
- type CreateOtelMetricsIngestionParams
- func NewCreateOtelMetricsIngestionParams() *CreateOtelMetricsIngestionParams
- func NewCreateOtelMetricsIngestionParamsWithContext(ctx context.Context) *CreateOtelMetricsIngestionParams
- func NewCreateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *CreateOtelMetricsIngestionParams
- func NewCreateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) SetBody(body *models.Configv1CreateOtelMetricsIngestionRequest)
- func (o *CreateOtelMetricsIngestionParams) SetContext(ctx context.Context)
- func (o *CreateOtelMetricsIngestionParams) SetDefaults()
- func (o *CreateOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
- func (o *CreateOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
- func (o *CreateOtelMetricsIngestionParams) WithBody(body *models.Configv1CreateOtelMetricsIngestionRequest) *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) WithContext(ctx context.Context) *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) WithDefaults() *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *CreateOtelMetricsIngestionParams
- func (o *CreateOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOtelMetricsIngestionReader
- type DeleteOtelMetricsIngestionBadRequest
- func (o *DeleteOtelMetricsIngestionBadRequest) Code() int
- func (o *DeleteOtelMetricsIngestionBadRequest) Error() string
- func (o *DeleteOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
- func (o *DeleteOtelMetricsIngestionBadRequest) IsClientError() bool
- func (o *DeleteOtelMetricsIngestionBadRequest) IsCode(code int) bool
- func (o *DeleteOtelMetricsIngestionBadRequest) IsRedirect() bool
- func (o *DeleteOtelMetricsIngestionBadRequest) IsServerError() bool
- func (o *DeleteOtelMetricsIngestionBadRequest) IsSuccess() bool
- func (o *DeleteOtelMetricsIngestionBadRequest) String() string
- type DeleteOtelMetricsIngestionDefault
- func (o *DeleteOtelMetricsIngestionDefault) Code() int
- func (o *DeleteOtelMetricsIngestionDefault) Error() string
- func (o *DeleteOtelMetricsIngestionDefault) GetPayload() models.GenericError
- func (o *DeleteOtelMetricsIngestionDefault) IsClientError() bool
- func (o *DeleteOtelMetricsIngestionDefault) IsCode(code int) bool
- func (o *DeleteOtelMetricsIngestionDefault) IsRedirect() bool
- func (o *DeleteOtelMetricsIngestionDefault) IsServerError() bool
- func (o *DeleteOtelMetricsIngestionDefault) IsSuccess() bool
- func (o *DeleteOtelMetricsIngestionDefault) String() string
- type DeleteOtelMetricsIngestionInternalServerError
- func (o *DeleteOtelMetricsIngestionInternalServerError) Code() int
- func (o *DeleteOtelMetricsIngestionInternalServerError) Error() string
- func (o *DeleteOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
- func (o *DeleteOtelMetricsIngestionInternalServerError) IsClientError() bool
- func (o *DeleteOtelMetricsIngestionInternalServerError) IsCode(code int) bool
- func (o *DeleteOtelMetricsIngestionInternalServerError) IsRedirect() bool
- func (o *DeleteOtelMetricsIngestionInternalServerError) IsServerError() bool
- func (o *DeleteOtelMetricsIngestionInternalServerError) IsSuccess() bool
- func (o *DeleteOtelMetricsIngestionInternalServerError) String() string
- type DeleteOtelMetricsIngestionNotFound
- func (o *DeleteOtelMetricsIngestionNotFound) Code() int
- func (o *DeleteOtelMetricsIngestionNotFound) Error() string
- func (o *DeleteOtelMetricsIngestionNotFound) GetPayload() *models.APIError
- func (o *DeleteOtelMetricsIngestionNotFound) IsClientError() bool
- func (o *DeleteOtelMetricsIngestionNotFound) IsCode(code int) bool
- func (o *DeleteOtelMetricsIngestionNotFound) IsRedirect() bool
- func (o *DeleteOtelMetricsIngestionNotFound) IsServerError() bool
- func (o *DeleteOtelMetricsIngestionNotFound) IsSuccess() bool
- func (o *DeleteOtelMetricsIngestionNotFound) String() string
- type DeleteOtelMetricsIngestionOK
- func (o *DeleteOtelMetricsIngestionOK) Code() int
- func (o *DeleteOtelMetricsIngestionOK) Error() string
- func (o *DeleteOtelMetricsIngestionOK) GetPayload() models.Configv1DeleteOtelMetricsIngestionResponse
- func (o *DeleteOtelMetricsIngestionOK) IsClientError() bool
- func (o *DeleteOtelMetricsIngestionOK) IsCode(code int) bool
- func (o *DeleteOtelMetricsIngestionOK) IsRedirect() bool
- func (o *DeleteOtelMetricsIngestionOK) IsServerError() bool
- func (o *DeleteOtelMetricsIngestionOK) IsSuccess() bool
- func (o *DeleteOtelMetricsIngestionOK) String() string
- type DeleteOtelMetricsIngestionParams
- func NewDeleteOtelMetricsIngestionParams() *DeleteOtelMetricsIngestionParams
- func NewDeleteOtelMetricsIngestionParamsWithContext(ctx context.Context) *DeleteOtelMetricsIngestionParams
- func NewDeleteOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *DeleteOtelMetricsIngestionParams
- func NewDeleteOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *DeleteOtelMetricsIngestionParams
- func (o *DeleteOtelMetricsIngestionParams) SetContext(ctx context.Context)
- func (o *DeleteOtelMetricsIngestionParams) SetDefaults()
- func (o *DeleteOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOtelMetricsIngestionParams) WithContext(ctx context.Context) *DeleteOtelMetricsIngestionParams
- func (o *DeleteOtelMetricsIngestionParams) WithDefaults() *DeleteOtelMetricsIngestionParams
- func (o *DeleteOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *DeleteOtelMetricsIngestionParams
- func (o *DeleteOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *DeleteOtelMetricsIngestionParams
- func (o *DeleteOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOtelMetricsIngestionReader
- type ReadOtelMetricsIngestionDefault
- func (o *ReadOtelMetricsIngestionDefault) Code() int
- func (o *ReadOtelMetricsIngestionDefault) Error() string
- func (o *ReadOtelMetricsIngestionDefault) GetPayload() models.GenericError
- func (o *ReadOtelMetricsIngestionDefault) IsClientError() bool
- func (o *ReadOtelMetricsIngestionDefault) IsCode(code int) bool
- func (o *ReadOtelMetricsIngestionDefault) IsRedirect() bool
- func (o *ReadOtelMetricsIngestionDefault) IsServerError() bool
- func (o *ReadOtelMetricsIngestionDefault) IsSuccess() bool
- func (o *ReadOtelMetricsIngestionDefault) String() string
- type ReadOtelMetricsIngestionInternalServerError
- func (o *ReadOtelMetricsIngestionInternalServerError) Code() int
- func (o *ReadOtelMetricsIngestionInternalServerError) Error() string
- func (o *ReadOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
- func (o *ReadOtelMetricsIngestionInternalServerError) IsClientError() bool
- func (o *ReadOtelMetricsIngestionInternalServerError) IsCode(code int) bool
- func (o *ReadOtelMetricsIngestionInternalServerError) IsRedirect() bool
- func (o *ReadOtelMetricsIngestionInternalServerError) IsServerError() bool
- func (o *ReadOtelMetricsIngestionInternalServerError) IsSuccess() bool
- func (o *ReadOtelMetricsIngestionInternalServerError) String() string
- type ReadOtelMetricsIngestionNotFound
- func (o *ReadOtelMetricsIngestionNotFound) Code() int
- func (o *ReadOtelMetricsIngestionNotFound) Error() string
- func (o *ReadOtelMetricsIngestionNotFound) GetPayload() *models.APIError
- func (o *ReadOtelMetricsIngestionNotFound) IsClientError() bool
- func (o *ReadOtelMetricsIngestionNotFound) IsCode(code int) bool
- func (o *ReadOtelMetricsIngestionNotFound) IsRedirect() bool
- func (o *ReadOtelMetricsIngestionNotFound) IsServerError() bool
- func (o *ReadOtelMetricsIngestionNotFound) IsSuccess() bool
- func (o *ReadOtelMetricsIngestionNotFound) String() string
- type ReadOtelMetricsIngestionOK
- func (o *ReadOtelMetricsIngestionOK) Code() int
- func (o *ReadOtelMetricsIngestionOK) Error() string
- func (o *ReadOtelMetricsIngestionOK) GetPayload() *models.Configv1ReadOtelMetricsIngestionResponse
- func (o *ReadOtelMetricsIngestionOK) IsClientError() bool
- func (o *ReadOtelMetricsIngestionOK) IsCode(code int) bool
- func (o *ReadOtelMetricsIngestionOK) IsRedirect() bool
- func (o *ReadOtelMetricsIngestionOK) IsServerError() bool
- func (o *ReadOtelMetricsIngestionOK) IsSuccess() bool
- func (o *ReadOtelMetricsIngestionOK) String() string
- type ReadOtelMetricsIngestionParams
- func NewReadOtelMetricsIngestionParams() *ReadOtelMetricsIngestionParams
- func NewReadOtelMetricsIngestionParamsWithContext(ctx context.Context) *ReadOtelMetricsIngestionParams
- func NewReadOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *ReadOtelMetricsIngestionParams
- func NewReadOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *ReadOtelMetricsIngestionParams
- func (o *ReadOtelMetricsIngestionParams) SetContext(ctx context.Context)
- func (o *ReadOtelMetricsIngestionParams) SetDefaults()
- func (o *ReadOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
- func (o *ReadOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
- func (o *ReadOtelMetricsIngestionParams) WithContext(ctx context.Context) *ReadOtelMetricsIngestionParams
- func (o *ReadOtelMetricsIngestionParams) WithDefaults() *ReadOtelMetricsIngestionParams
- func (o *ReadOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *ReadOtelMetricsIngestionParams
- func (o *ReadOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *ReadOtelMetricsIngestionParams
- func (o *ReadOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadOtelMetricsIngestionReader
- type UpdateOtelMetricsIngestionBadRequest
- func (o *UpdateOtelMetricsIngestionBadRequest) Code() int
- func (o *UpdateOtelMetricsIngestionBadRequest) Error() string
- func (o *UpdateOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
- func (o *UpdateOtelMetricsIngestionBadRequest) IsClientError() bool
- func (o *UpdateOtelMetricsIngestionBadRequest) IsCode(code int) bool
- func (o *UpdateOtelMetricsIngestionBadRequest) IsRedirect() bool
- func (o *UpdateOtelMetricsIngestionBadRequest) IsServerError() bool
- func (o *UpdateOtelMetricsIngestionBadRequest) IsSuccess() bool
- func (o *UpdateOtelMetricsIngestionBadRequest) String() string
- type UpdateOtelMetricsIngestionDefault
- func (o *UpdateOtelMetricsIngestionDefault) Code() int
- func (o *UpdateOtelMetricsIngestionDefault) Error() string
- func (o *UpdateOtelMetricsIngestionDefault) GetPayload() models.GenericError
- func (o *UpdateOtelMetricsIngestionDefault) IsClientError() bool
- func (o *UpdateOtelMetricsIngestionDefault) IsCode(code int) bool
- func (o *UpdateOtelMetricsIngestionDefault) IsRedirect() bool
- func (o *UpdateOtelMetricsIngestionDefault) IsServerError() bool
- func (o *UpdateOtelMetricsIngestionDefault) IsSuccess() bool
- func (o *UpdateOtelMetricsIngestionDefault) String() string
- type UpdateOtelMetricsIngestionInternalServerError
- func (o *UpdateOtelMetricsIngestionInternalServerError) Code() int
- func (o *UpdateOtelMetricsIngestionInternalServerError) Error() string
- func (o *UpdateOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
- func (o *UpdateOtelMetricsIngestionInternalServerError) IsClientError() bool
- func (o *UpdateOtelMetricsIngestionInternalServerError) IsCode(code int) bool
- func (o *UpdateOtelMetricsIngestionInternalServerError) IsRedirect() bool
- func (o *UpdateOtelMetricsIngestionInternalServerError) IsServerError() bool
- func (o *UpdateOtelMetricsIngestionInternalServerError) IsSuccess() bool
- func (o *UpdateOtelMetricsIngestionInternalServerError) String() string
- type UpdateOtelMetricsIngestionNotFound
- func (o *UpdateOtelMetricsIngestionNotFound) Code() int
- func (o *UpdateOtelMetricsIngestionNotFound) Error() string
- func (o *UpdateOtelMetricsIngestionNotFound) GetPayload() *models.APIError
- func (o *UpdateOtelMetricsIngestionNotFound) IsClientError() bool
- func (o *UpdateOtelMetricsIngestionNotFound) IsCode(code int) bool
- func (o *UpdateOtelMetricsIngestionNotFound) IsRedirect() bool
- func (o *UpdateOtelMetricsIngestionNotFound) IsServerError() bool
- func (o *UpdateOtelMetricsIngestionNotFound) IsSuccess() bool
- func (o *UpdateOtelMetricsIngestionNotFound) String() string
- type UpdateOtelMetricsIngestionOK
- func (o *UpdateOtelMetricsIngestionOK) Code() int
- func (o *UpdateOtelMetricsIngestionOK) Error() string
- func (o *UpdateOtelMetricsIngestionOK) GetPayload() *models.Configv1UpdateOtelMetricsIngestionResponse
- func (o *UpdateOtelMetricsIngestionOK) IsClientError() bool
- func (o *UpdateOtelMetricsIngestionOK) IsCode(code int) bool
- func (o *UpdateOtelMetricsIngestionOK) IsRedirect() bool
- func (o *UpdateOtelMetricsIngestionOK) IsServerError() bool
- func (o *UpdateOtelMetricsIngestionOK) IsSuccess() bool
- func (o *UpdateOtelMetricsIngestionOK) String() string
- type UpdateOtelMetricsIngestionParams
- func NewUpdateOtelMetricsIngestionParams() *UpdateOtelMetricsIngestionParams
- func NewUpdateOtelMetricsIngestionParamsWithContext(ctx context.Context) *UpdateOtelMetricsIngestionParams
- func NewUpdateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *UpdateOtelMetricsIngestionParams
- func NewUpdateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) SetBody(body *models.Configv1UpdateOtelMetricsIngestionRequest)
- func (o *UpdateOtelMetricsIngestionParams) SetContext(ctx context.Context)
- func (o *UpdateOtelMetricsIngestionParams) SetDefaults()
- func (o *UpdateOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOtelMetricsIngestionParams) WithBody(body *models.Configv1UpdateOtelMetricsIngestionRequest) *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) WithContext(ctx context.Context) *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) WithDefaults() *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *UpdateOtelMetricsIngestionParams
- func (o *UpdateOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOtelMetricsIngestionReader
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 otel metrics ingestion API
func (*Client) CreateOtelMetricsIngestion ¶
func (a *Client) CreateOtelMetricsIngestion(params *CreateOtelMetricsIngestionParams, opts ...ClientOption) (*CreateOtelMetricsIngestionOK, error)
CreateOtelMetricsIngestion create otel metrics ingestion API
func (*Client) DeleteOtelMetricsIngestion ¶
func (a *Client) DeleteOtelMetricsIngestion(params *DeleteOtelMetricsIngestionParams, opts ...ClientOption) (*DeleteOtelMetricsIngestionOK, error)
DeleteOtelMetricsIngestion delete otel metrics ingestion API
func (*Client) ReadOtelMetricsIngestion ¶
func (a *Client) ReadOtelMetricsIngestion(params *ReadOtelMetricsIngestionParams, opts ...ClientOption) (*ReadOtelMetricsIngestionOK, error)
ReadOtelMetricsIngestion read otel metrics ingestion API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOtelMetricsIngestion ¶
func (a *Client) UpdateOtelMetricsIngestion(params *UpdateOtelMetricsIngestionParams, opts ...ClientOption) (*UpdateOtelMetricsIngestionOK, error)
UpdateOtelMetricsIngestion update otel metrics ingestion API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateOtelMetricsIngestion(params *CreateOtelMetricsIngestionParams, opts ...ClientOption) (*CreateOtelMetricsIngestionOK, error) DeleteOtelMetricsIngestion(params *DeleteOtelMetricsIngestionParams, opts ...ClientOption) (*DeleteOtelMetricsIngestionOK, error) ReadOtelMetricsIngestion(params *ReadOtelMetricsIngestionParams, opts ...ClientOption) (*ReadOtelMetricsIngestionOK, error) UpdateOtelMetricsIngestion(params *UpdateOtelMetricsIngestionParams, opts ...ClientOption) (*UpdateOtelMetricsIngestionOK, 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 otel metrics ingestion API client.
type CreateOtelMetricsIngestionBadRequest ¶
CreateOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.
Cannot create the OtelMetricsIngestion because the request is invalid.
func NewCreateOtelMetricsIngestionBadRequest ¶
func NewCreateOtelMetricsIngestionBadRequest() *CreateOtelMetricsIngestionBadRequest
NewCreateOtelMetricsIngestionBadRequest creates a CreateOtelMetricsIngestionBadRequest with default headers values
func (*CreateOtelMetricsIngestionBadRequest) Code ¶
func (o *CreateOtelMetricsIngestionBadRequest) Code() int
Code gets the status code for the create otel metrics ingestion bad request response
func (*CreateOtelMetricsIngestionBadRequest) Error ¶
func (o *CreateOtelMetricsIngestionBadRequest) Error() string
func (*CreateOtelMetricsIngestionBadRequest) GetPayload ¶
func (o *CreateOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
func (*CreateOtelMetricsIngestionBadRequest) IsClientError ¶
func (o *CreateOtelMetricsIngestionBadRequest) IsClientError() bool
IsClientError returns true when this create otel metrics ingestion bad request response has a 4xx status code
func (*CreateOtelMetricsIngestionBadRequest) IsCode ¶
func (o *CreateOtelMetricsIngestionBadRequest) IsCode(code int) bool
IsCode returns true when this create otel metrics ingestion bad request response a status code equal to that given
func (*CreateOtelMetricsIngestionBadRequest) IsRedirect ¶
func (o *CreateOtelMetricsIngestionBadRequest) IsRedirect() bool
IsRedirect returns true when this create otel metrics ingestion bad request response has a 3xx status code
func (*CreateOtelMetricsIngestionBadRequest) IsServerError ¶
func (o *CreateOtelMetricsIngestionBadRequest) IsServerError() bool
IsServerError returns true when this create otel metrics ingestion bad request response has a 5xx status code
func (*CreateOtelMetricsIngestionBadRequest) IsSuccess ¶
func (o *CreateOtelMetricsIngestionBadRequest) IsSuccess() bool
IsSuccess returns true when this create otel metrics ingestion bad request response has a 2xx status code
func (*CreateOtelMetricsIngestionBadRequest) String ¶
func (o *CreateOtelMetricsIngestionBadRequest) String() string
type CreateOtelMetricsIngestionConflict ¶
CreateOtelMetricsIngestionConflict describes a response with status code 409, with default header values.
Cannot create the OtelMetricsIngestion because there is a conflict with an existing OtelMetricsIngestion.
func NewCreateOtelMetricsIngestionConflict ¶
func NewCreateOtelMetricsIngestionConflict() *CreateOtelMetricsIngestionConflict
NewCreateOtelMetricsIngestionConflict creates a CreateOtelMetricsIngestionConflict with default headers values
func (*CreateOtelMetricsIngestionConflict) Code ¶
func (o *CreateOtelMetricsIngestionConflict) Code() int
Code gets the status code for the create otel metrics ingestion conflict response
func (*CreateOtelMetricsIngestionConflict) Error ¶
func (o *CreateOtelMetricsIngestionConflict) Error() string
func (*CreateOtelMetricsIngestionConflict) GetPayload ¶
func (o *CreateOtelMetricsIngestionConflict) GetPayload() *models.APIError
func (*CreateOtelMetricsIngestionConflict) IsClientError ¶
func (o *CreateOtelMetricsIngestionConflict) IsClientError() bool
IsClientError returns true when this create otel metrics ingestion conflict response has a 4xx status code
func (*CreateOtelMetricsIngestionConflict) IsCode ¶
func (o *CreateOtelMetricsIngestionConflict) IsCode(code int) bool
IsCode returns true when this create otel metrics ingestion conflict response a status code equal to that given
func (*CreateOtelMetricsIngestionConflict) IsRedirect ¶
func (o *CreateOtelMetricsIngestionConflict) IsRedirect() bool
IsRedirect returns true when this create otel metrics ingestion conflict response has a 3xx status code
func (*CreateOtelMetricsIngestionConflict) IsServerError ¶
func (o *CreateOtelMetricsIngestionConflict) IsServerError() bool
IsServerError returns true when this create otel metrics ingestion conflict response has a 5xx status code
func (*CreateOtelMetricsIngestionConflict) IsSuccess ¶
func (o *CreateOtelMetricsIngestionConflict) IsSuccess() bool
IsSuccess returns true when this create otel metrics ingestion conflict response has a 2xx status code
func (*CreateOtelMetricsIngestionConflict) String ¶
func (o *CreateOtelMetricsIngestionConflict) String() string
type CreateOtelMetricsIngestionDefault ¶
type CreateOtelMetricsIngestionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateOtelMetricsIngestionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateOtelMetricsIngestionDefault ¶
func NewCreateOtelMetricsIngestionDefault(code int) *CreateOtelMetricsIngestionDefault
NewCreateOtelMetricsIngestionDefault creates a CreateOtelMetricsIngestionDefault with default headers values
func (*CreateOtelMetricsIngestionDefault) Code ¶
func (o *CreateOtelMetricsIngestionDefault) Code() int
Code gets the status code for the create otel metrics ingestion default response
func (*CreateOtelMetricsIngestionDefault) Error ¶
func (o *CreateOtelMetricsIngestionDefault) Error() string
func (*CreateOtelMetricsIngestionDefault) GetPayload ¶
func (o *CreateOtelMetricsIngestionDefault) GetPayload() models.GenericError
func (*CreateOtelMetricsIngestionDefault) IsClientError ¶
func (o *CreateOtelMetricsIngestionDefault) IsClientError() bool
IsClientError returns true when this create otel metrics ingestion default response has a 4xx status code
func (*CreateOtelMetricsIngestionDefault) IsCode ¶
func (o *CreateOtelMetricsIngestionDefault) IsCode(code int) bool
IsCode returns true when this create otel metrics ingestion default response a status code equal to that given
func (*CreateOtelMetricsIngestionDefault) IsRedirect ¶
func (o *CreateOtelMetricsIngestionDefault) IsRedirect() bool
IsRedirect returns true when this create otel metrics ingestion default response has a 3xx status code
func (*CreateOtelMetricsIngestionDefault) IsServerError ¶
func (o *CreateOtelMetricsIngestionDefault) IsServerError() bool
IsServerError returns true when this create otel metrics ingestion default response has a 5xx status code
func (*CreateOtelMetricsIngestionDefault) IsSuccess ¶
func (o *CreateOtelMetricsIngestionDefault) IsSuccess() bool
IsSuccess returns true when this create otel metrics ingestion default response has a 2xx status code
func (*CreateOtelMetricsIngestionDefault) String ¶
func (o *CreateOtelMetricsIngestionDefault) String() string
type CreateOtelMetricsIngestionInternalServerError ¶
CreateOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateOtelMetricsIngestionInternalServerError ¶
func NewCreateOtelMetricsIngestionInternalServerError() *CreateOtelMetricsIngestionInternalServerError
NewCreateOtelMetricsIngestionInternalServerError creates a CreateOtelMetricsIngestionInternalServerError with default headers values
func (*CreateOtelMetricsIngestionInternalServerError) Code ¶
func (o *CreateOtelMetricsIngestionInternalServerError) Code() int
Code gets the status code for the create otel metrics ingestion internal server error response
func (*CreateOtelMetricsIngestionInternalServerError) Error ¶
func (o *CreateOtelMetricsIngestionInternalServerError) Error() string
func (*CreateOtelMetricsIngestionInternalServerError) GetPayload ¶
func (o *CreateOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
func (*CreateOtelMetricsIngestionInternalServerError) IsClientError ¶
func (o *CreateOtelMetricsIngestionInternalServerError) IsClientError() bool
IsClientError returns true when this create otel metrics ingestion internal server error response has a 4xx status code
func (*CreateOtelMetricsIngestionInternalServerError) IsCode ¶
func (o *CreateOtelMetricsIngestionInternalServerError) IsCode(code int) bool
IsCode returns true when this create otel metrics ingestion internal server error response a status code equal to that given
func (*CreateOtelMetricsIngestionInternalServerError) IsRedirect ¶
func (o *CreateOtelMetricsIngestionInternalServerError) IsRedirect() bool
IsRedirect returns true when this create otel metrics ingestion internal server error response has a 3xx status code
func (*CreateOtelMetricsIngestionInternalServerError) IsServerError ¶
func (o *CreateOtelMetricsIngestionInternalServerError) IsServerError() bool
IsServerError returns true when this create otel metrics ingestion internal server error response has a 5xx status code
func (*CreateOtelMetricsIngestionInternalServerError) IsSuccess ¶
func (o *CreateOtelMetricsIngestionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create otel metrics ingestion internal server error response has a 2xx status code
func (*CreateOtelMetricsIngestionInternalServerError) String ¶
func (o *CreateOtelMetricsIngestionInternalServerError) String() string
type CreateOtelMetricsIngestionOK ¶
type CreateOtelMetricsIngestionOK struct {
Payload *models.Configv1CreateOtelMetricsIngestionResponse
}
CreateOtelMetricsIngestionOK describes a response with status code 200, with default header values.
A successful response containing the created OtelMetricsIngestion.
func NewCreateOtelMetricsIngestionOK ¶
func NewCreateOtelMetricsIngestionOK() *CreateOtelMetricsIngestionOK
NewCreateOtelMetricsIngestionOK creates a CreateOtelMetricsIngestionOK with default headers values
func (*CreateOtelMetricsIngestionOK) Code ¶
func (o *CreateOtelMetricsIngestionOK) Code() int
Code gets the status code for the create otel metrics ingestion o k response
func (*CreateOtelMetricsIngestionOK) Error ¶
func (o *CreateOtelMetricsIngestionOK) Error() string
func (*CreateOtelMetricsIngestionOK) GetPayload ¶
func (o *CreateOtelMetricsIngestionOK) GetPayload() *models.Configv1CreateOtelMetricsIngestionResponse
func (*CreateOtelMetricsIngestionOK) IsClientError ¶
func (o *CreateOtelMetricsIngestionOK) IsClientError() bool
IsClientError returns true when this create otel metrics ingestion o k response has a 4xx status code
func (*CreateOtelMetricsIngestionOK) IsCode ¶
func (o *CreateOtelMetricsIngestionOK) IsCode(code int) bool
IsCode returns true when this create otel metrics ingestion o k response a status code equal to that given
func (*CreateOtelMetricsIngestionOK) IsRedirect ¶
func (o *CreateOtelMetricsIngestionOK) IsRedirect() bool
IsRedirect returns true when this create otel metrics ingestion o k response has a 3xx status code
func (*CreateOtelMetricsIngestionOK) IsServerError ¶
func (o *CreateOtelMetricsIngestionOK) IsServerError() bool
IsServerError returns true when this create otel metrics ingestion o k response has a 5xx status code
func (*CreateOtelMetricsIngestionOK) IsSuccess ¶
func (o *CreateOtelMetricsIngestionOK) IsSuccess() bool
IsSuccess returns true when this create otel metrics ingestion o k response has a 2xx status code
func (*CreateOtelMetricsIngestionOK) String ¶
func (o *CreateOtelMetricsIngestionOK) String() string
type CreateOtelMetricsIngestionParams ¶
type CreateOtelMetricsIngestionParams struct { // Body. Body *models.Configv1CreateOtelMetricsIngestionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOtelMetricsIngestionParams contains all the parameters to send to the API endpoint
for the create otel metrics ingestion operation. Typically these are written to a http.Request.
func NewCreateOtelMetricsIngestionParams ¶
func NewCreateOtelMetricsIngestionParams() *CreateOtelMetricsIngestionParams
NewCreateOtelMetricsIngestionParams creates a new CreateOtelMetricsIngestionParams 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 NewCreateOtelMetricsIngestionParamsWithContext ¶
func NewCreateOtelMetricsIngestionParamsWithContext(ctx context.Context) *CreateOtelMetricsIngestionParams
NewCreateOtelMetricsIngestionParamsWithContext creates a new CreateOtelMetricsIngestionParams object with the ability to set a context for a request.
func NewCreateOtelMetricsIngestionParamsWithHTTPClient ¶
func NewCreateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *CreateOtelMetricsIngestionParams
NewCreateOtelMetricsIngestionParamsWithHTTPClient creates a new CreateOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOtelMetricsIngestionParamsWithTimeout ¶
func NewCreateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *CreateOtelMetricsIngestionParams
NewCreateOtelMetricsIngestionParamsWithTimeout creates a new CreateOtelMetricsIngestionParams object with the ability to set a timeout on a request.
func (*CreateOtelMetricsIngestionParams) SetBody ¶
func (o *CreateOtelMetricsIngestionParams) SetBody(body *models.Configv1CreateOtelMetricsIngestionRequest)
SetBody adds the body to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) SetContext ¶
func (o *CreateOtelMetricsIngestionParams) SetContext(ctx context.Context)
SetContext adds the context to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) SetDefaults ¶
func (o *CreateOtelMetricsIngestionParams) SetDefaults()
SetDefaults hydrates default values in the create otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOtelMetricsIngestionParams) SetHTTPClient ¶
func (o *CreateOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) SetTimeout ¶
func (o *CreateOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) WithBody ¶
func (o *CreateOtelMetricsIngestionParams) WithBody(body *models.Configv1CreateOtelMetricsIngestionRequest) *CreateOtelMetricsIngestionParams
WithBody adds the body to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) WithContext ¶
func (o *CreateOtelMetricsIngestionParams) WithContext(ctx context.Context) *CreateOtelMetricsIngestionParams
WithContext adds the context to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) WithDefaults ¶
func (o *CreateOtelMetricsIngestionParams) WithDefaults() *CreateOtelMetricsIngestionParams
WithDefaults hydrates default values in the create otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOtelMetricsIngestionParams) WithHTTPClient ¶
func (o *CreateOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *CreateOtelMetricsIngestionParams
WithHTTPClient adds the HTTPClient to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) WithTimeout ¶
func (o *CreateOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *CreateOtelMetricsIngestionParams
WithTimeout adds the timeout to the create otel metrics ingestion params
func (*CreateOtelMetricsIngestionParams) WriteToRequest ¶
func (o *CreateOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOtelMetricsIngestionReader ¶
type CreateOtelMetricsIngestionReader struct {
// contains filtered or unexported fields
}
CreateOtelMetricsIngestionReader is a Reader for the CreateOtelMetricsIngestion structure.
func (*CreateOtelMetricsIngestionReader) ReadResponse ¶
func (o *CreateOtelMetricsIngestionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOtelMetricsIngestionBadRequest ¶
DeleteOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.
Cannot delete the OtelMetricsIngestion because it is in use.
func NewDeleteOtelMetricsIngestionBadRequest ¶
func NewDeleteOtelMetricsIngestionBadRequest() *DeleteOtelMetricsIngestionBadRequest
NewDeleteOtelMetricsIngestionBadRequest creates a DeleteOtelMetricsIngestionBadRequest with default headers values
func (*DeleteOtelMetricsIngestionBadRequest) Code ¶
func (o *DeleteOtelMetricsIngestionBadRequest) Code() int
Code gets the status code for the delete otel metrics ingestion bad request response
func (*DeleteOtelMetricsIngestionBadRequest) Error ¶
func (o *DeleteOtelMetricsIngestionBadRequest) Error() string
func (*DeleteOtelMetricsIngestionBadRequest) GetPayload ¶
func (o *DeleteOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
func (*DeleteOtelMetricsIngestionBadRequest) IsClientError ¶
func (o *DeleteOtelMetricsIngestionBadRequest) IsClientError() bool
IsClientError returns true when this delete otel metrics ingestion bad request response has a 4xx status code
func (*DeleteOtelMetricsIngestionBadRequest) IsCode ¶
func (o *DeleteOtelMetricsIngestionBadRequest) IsCode(code int) bool
IsCode returns true when this delete otel metrics ingestion bad request response a status code equal to that given
func (*DeleteOtelMetricsIngestionBadRequest) IsRedirect ¶
func (o *DeleteOtelMetricsIngestionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete otel metrics ingestion bad request response has a 3xx status code
func (*DeleteOtelMetricsIngestionBadRequest) IsServerError ¶
func (o *DeleteOtelMetricsIngestionBadRequest) IsServerError() bool
IsServerError returns true when this delete otel metrics ingestion bad request response has a 5xx status code
func (*DeleteOtelMetricsIngestionBadRequest) IsSuccess ¶
func (o *DeleteOtelMetricsIngestionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete otel metrics ingestion bad request response has a 2xx status code
func (*DeleteOtelMetricsIngestionBadRequest) String ¶
func (o *DeleteOtelMetricsIngestionBadRequest) String() string
type DeleteOtelMetricsIngestionDefault ¶
type DeleteOtelMetricsIngestionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteOtelMetricsIngestionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteOtelMetricsIngestionDefault ¶
func NewDeleteOtelMetricsIngestionDefault(code int) *DeleteOtelMetricsIngestionDefault
NewDeleteOtelMetricsIngestionDefault creates a DeleteOtelMetricsIngestionDefault with default headers values
func (*DeleteOtelMetricsIngestionDefault) Code ¶
func (o *DeleteOtelMetricsIngestionDefault) Code() int
Code gets the status code for the delete otel metrics ingestion default response
func (*DeleteOtelMetricsIngestionDefault) Error ¶
func (o *DeleteOtelMetricsIngestionDefault) Error() string
func (*DeleteOtelMetricsIngestionDefault) GetPayload ¶
func (o *DeleteOtelMetricsIngestionDefault) GetPayload() models.GenericError
func (*DeleteOtelMetricsIngestionDefault) IsClientError ¶
func (o *DeleteOtelMetricsIngestionDefault) IsClientError() bool
IsClientError returns true when this delete otel metrics ingestion default response has a 4xx status code
func (*DeleteOtelMetricsIngestionDefault) IsCode ¶
func (o *DeleteOtelMetricsIngestionDefault) IsCode(code int) bool
IsCode returns true when this delete otel metrics ingestion default response a status code equal to that given
func (*DeleteOtelMetricsIngestionDefault) IsRedirect ¶
func (o *DeleteOtelMetricsIngestionDefault) IsRedirect() bool
IsRedirect returns true when this delete otel metrics ingestion default response has a 3xx status code
func (*DeleteOtelMetricsIngestionDefault) IsServerError ¶
func (o *DeleteOtelMetricsIngestionDefault) IsServerError() bool
IsServerError returns true when this delete otel metrics ingestion default response has a 5xx status code
func (*DeleteOtelMetricsIngestionDefault) IsSuccess ¶
func (o *DeleteOtelMetricsIngestionDefault) IsSuccess() bool
IsSuccess returns true when this delete otel metrics ingestion default response has a 2xx status code
func (*DeleteOtelMetricsIngestionDefault) String ¶
func (o *DeleteOtelMetricsIngestionDefault) String() string
type DeleteOtelMetricsIngestionInternalServerError ¶
DeleteOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteOtelMetricsIngestionInternalServerError ¶
func NewDeleteOtelMetricsIngestionInternalServerError() *DeleteOtelMetricsIngestionInternalServerError
NewDeleteOtelMetricsIngestionInternalServerError creates a DeleteOtelMetricsIngestionInternalServerError with default headers values
func (*DeleteOtelMetricsIngestionInternalServerError) Code ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) Code() int
Code gets the status code for the delete otel metrics ingestion internal server error response
func (*DeleteOtelMetricsIngestionInternalServerError) Error ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) Error() string
func (*DeleteOtelMetricsIngestionInternalServerError) GetPayload ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
func (*DeleteOtelMetricsIngestionInternalServerError) IsClientError ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) IsClientError() bool
IsClientError returns true when this delete otel metrics ingestion internal server error response has a 4xx status code
func (*DeleteOtelMetricsIngestionInternalServerError) IsCode ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) IsCode(code int) bool
IsCode returns true when this delete otel metrics ingestion internal server error response a status code equal to that given
func (*DeleteOtelMetricsIngestionInternalServerError) IsRedirect ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete otel metrics ingestion internal server error response has a 3xx status code
func (*DeleteOtelMetricsIngestionInternalServerError) IsServerError ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) IsServerError() bool
IsServerError returns true when this delete otel metrics ingestion internal server error response has a 5xx status code
func (*DeleteOtelMetricsIngestionInternalServerError) IsSuccess ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete otel metrics ingestion internal server error response has a 2xx status code
func (*DeleteOtelMetricsIngestionInternalServerError) String ¶
func (o *DeleteOtelMetricsIngestionInternalServerError) String() string
type DeleteOtelMetricsIngestionNotFound ¶
DeleteOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.
Cannot delete the OtelMetricsIngestion because the slug does not exist.
func NewDeleteOtelMetricsIngestionNotFound ¶
func NewDeleteOtelMetricsIngestionNotFound() *DeleteOtelMetricsIngestionNotFound
NewDeleteOtelMetricsIngestionNotFound creates a DeleteOtelMetricsIngestionNotFound with default headers values
func (*DeleteOtelMetricsIngestionNotFound) Code ¶
func (o *DeleteOtelMetricsIngestionNotFound) Code() int
Code gets the status code for the delete otel metrics ingestion not found response
func (*DeleteOtelMetricsIngestionNotFound) Error ¶
func (o *DeleteOtelMetricsIngestionNotFound) Error() string
func (*DeleteOtelMetricsIngestionNotFound) GetPayload ¶
func (o *DeleteOtelMetricsIngestionNotFound) GetPayload() *models.APIError
func (*DeleteOtelMetricsIngestionNotFound) IsClientError ¶
func (o *DeleteOtelMetricsIngestionNotFound) IsClientError() bool
IsClientError returns true when this delete otel metrics ingestion not found response has a 4xx status code
func (*DeleteOtelMetricsIngestionNotFound) IsCode ¶
func (o *DeleteOtelMetricsIngestionNotFound) IsCode(code int) bool
IsCode returns true when this delete otel metrics ingestion not found response a status code equal to that given
func (*DeleteOtelMetricsIngestionNotFound) IsRedirect ¶
func (o *DeleteOtelMetricsIngestionNotFound) IsRedirect() bool
IsRedirect returns true when this delete otel metrics ingestion not found response has a 3xx status code
func (*DeleteOtelMetricsIngestionNotFound) IsServerError ¶
func (o *DeleteOtelMetricsIngestionNotFound) IsServerError() bool
IsServerError returns true when this delete otel metrics ingestion not found response has a 5xx status code
func (*DeleteOtelMetricsIngestionNotFound) IsSuccess ¶
func (o *DeleteOtelMetricsIngestionNotFound) IsSuccess() bool
IsSuccess returns true when this delete otel metrics ingestion not found response has a 2xx status code
func (*DeleteOtelMetricsIngestionNotFound) String ¶
func (o *DeleteOtelMetricsIngestionNotFound) String() string
type DeleteOtelMetricsIngestionOK ¶
type DeleteOtelMetricsIngestionOK struct {
Payload models.Configv1DeleteOtelMetricsIngestionResponse
}
DeleteOtelMetricsIngestionOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOtelMetricsIngestionOK ¶
func NewDeleteOtelMetricsIngestionOK() *DeleteOtelMetricsIngestionOK
NewDeleteOtelMetricsIngestionOK creates a DeleteOtelMetricsIngestionOK with default headers values
func (*DeleteOtelMetricsIngestionOK) Code ¶
func (o *DeleteOtelMetricsIngestionOK) Code() int
Code gets the status code for the delete otel metrics ingestion o k response
func (*DeleteOtelMetricsIngestionOK) Error ¶
func (o *DeleteOtelMetricsIngestionOK) Error() string
func (*DeleteOtelMetricsIngestionOK) GetPayload ¶
func (o *DeleteOtelMetricsIngestionOK) GetPayload() models.Configv1DeleteOtelMetricsIngestionResponse
func (*DeleteOtelMetricsIngestionOK) IsClientError ¶
func (o *DeleteOtelMetricsIngestionOK) IsClientError() bool
IsClientError returns true when this delete otel metrics ingestion o k response has a 4xx status code
func (*DeleteOtelMetricsIngestionOK) IsCode ¶
func (o *DeleteOtelMetricsIngestionOK) IsCode(code int) bool
IsCode returns true when this delete otel metrics ingestion o k response a status code equal to that given
func (*DeleteOtelMetricsIngestionOK) IsRedirect ¶
func (o *DeleteOtelMetricsIngestionOK) IsRedirect() bool
IsRedirect returns true when this delete otel metrics ingestion o k response has a 3xx status code
func (*DeleteOtelMetricsIngestionOK) IsServerError ¶
func (o *DeleteOtelMetricsIngestionOK) IsServerError() bool
IsServerError returns true when this delete otel metrics ingestion o k response has a 5xx status code
func (*DeleteOtelMetricsIngestionOK) IsSuccess ¶
func (o *DeleteOtelMetricsIngestionOK) IsSuccess() bool
IsSuccess returns true when this delete otel metrics ingestion o k response has a 2xx status code
func (*DeleteOtelMetricsIngestionOK) String ¶
func (o *DeleteOtelMetricsIngestionOK) String() string
type DeleteOtelMetricsIngestionParams ¶
type DeleteOtelMetricsIngestionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOtelMetricsIngestionParams contains all the parameters to send to the API endpoint
for the delete otel metrics ingestion operation. Typically these are written to a http.Request.
func NewDeleteOtelMetricsIngestionParams ¶
func NewDeleteOtelMetricsIngestionParams() *DeleteOtelMetricsIngestionParams
NewDeleteOtelMetricsIngestionParams creates a new DeleteOtelMetricsIngestionParams 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 NewDeleteOtelMetricsIngestionParamsWithContext ¶
func NewDeleteOtelMetricsIngestionParamsWithContext(ctx context.Context) *DeleteOtelMetricsIngestionParams
NewDeleteOtelMetricsIngestionParamsWithContext creates a new DeleteOtelMetricsIngestionParams object with the ability to set a context for a request.
func NewDeleteOtelMetricsIngestionParamsWithHTTPClient ¶
func NewDeleteOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *DeleteOtelMetricsIngestionParams
NewDeleteOtelMetricsIngestionParamsWithHTTPClient creates a new DeleteOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOtelMetricsIngestionParamsWithTimeout ¶
func NewDeleteOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *DeleteOtelMetricsIngestionParams
NewDeleteOtelMetricsIngestionParamsWithTimeout creates a new DeleteOtelMetricsIngestionParams object with the ability to set a timeout on a request.
func (*DeleteOtelMetricsIngestionParams) SetContext ¶
func (o *DeleteOtelMetricsIngestionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) SetDefaults ¶
func (o *DeleteOtelMetricsIngestionParams) SetDefaults()
SetDefaults hydrates default values in the delete otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOtelMetricsIngestionParams) SetHTTPClient ¶
func (o *DeleteOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) SetTimeout ¶
func (o *DeleteOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) WithContext ¶
func (o *DeleteOtelMetricsIngestionParams) WithContext(ctx context.Context) *DeleteOtelMetricsIngestionParams
WithContext adds the context to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) WithDefaults ¶
func (o *DeleteOtelMetricsIngestionParams) WithDefaults() *DeleteOtelMetricsIngestionParams
WithDefaults hydrates default values in the delete otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOtelMetricsIngestionParams) WithHTTPClient ¶
func (o *DeleteOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *DeleteOtelMetricsIngestionParams
WithHTTPClient adds the HTTPClient to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) WithTimeout ¶
func (o *DeleteOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *DeleteOtelMetricsIngestionParams
WithTimeout adds the timeout to the delete otel metrics ingestion params
func (*DeleteOtelMetricsIngestionParams) WriteToRequest ¶
func (o *DeleteOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOtelMetricsIngestionReader ¶
type DeleteOtelMetricsIngestionReader struct {
// contains filtered or unexported fields
}
DeleteOtelMetricsIngestionReader is a Reader for the DeleteOtelMetricsIngestion structure.
func (*DeleteOtelMetricsIngestionReader) ReadResponse ¶
func (o *DeleteOtelMetricsIngestionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadOtelMetricsIngestionDefault ¶
type ReadOtelMetricsIngestionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadOtelMetricsIngestionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadOtelMetricsIngestionDefault ¶
func NewReadOtelMetricsIngestionDefault(code int) *ReadOtelMetricsIngestionDefault
NewReadOtelMetricsIngestionDefault creates a ReadOtelMetricsIngestionDefault with default headers values
func (*ReadOtelMetricsIngestionDefault) Code ¶
func (o *ReadOtelMetricsIngestionDefault) Code() int
Code gets the status code for the read otel metrics ingestion default response
func (*ReadOtelMetricsIngestionDefault) Error ¶
func (o *ReadOtelMetricsIngestionDefault) Error() string
func (*ReadOtelMetricsIngestionDefault) GetPayload ¶
func (o *ReadOtelMetricsIngestionDefault) GetPayload() models.GenericError
func (*ReadOtelMetricsIngestionDefault) IsClientError ¶
func (o *ReadOtelMetricsIngestionDefault) IsClientError() bool
IsClientError returns true when this read otel metrics ingestion default response has a 4xx status code
func (*ReadOtelMetricsIngestionDefault) IsCode ¶
func (o *ReadOtelMetricsIngestionDefault) IsCode(code int) bool
IsCode returns true when this read otel metrics ingestion default response a status code equal to that given
func (*ReadOtelMetricsIngestionDefault) IsRedirect ¶
func (o *ReadOtelMetricsIngestionDefault) IsRedirect() bool
IsRedirect returns true when this read otel metrics ingestion default response has a 3xx status code
func (*ReadOtelMetricsIngestionDefault) IsServerError ¶
func (o *ReadOtelMetricsIngestionDefault) IsServerError() bool
IsServerError returns true when this read otel metrics ingestion default response has a 5xx status code
func (*ReadOtelMetricsIngestionDefault) IsSuccess ¶
func (o *ReadOtelMetricsIngestionDefault) IsSuccess() bool
IsSuccess returns true when this read otel metrics ingestion default response has a 2xx status code
func (*ReadOtelMetricsIngestionDefault) String ¶
func (o *ReadOtelMetricsIngestionDefault) String() string
type ReadOtelMetricsIngestionInternalServerError ¶
ReadOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadOtelMetricsIngestionInternalServerError ¶
func NewReadOtelMetricsIngestionInternalServerError() *ReadOtelMetricsIngestionInternalServerError
NewReadOtelMetricsIngestionInternalServerError creates a ReadOtelMetricsIngestionInternalServerError with default headers values
func (*ReadOtelMetricsIngestionInternalServerError) Code ¶
func (o *ReadOtelMetricsIngestionInternalServerError) Code() int
Code gets the status code for the read otel metrics ingestion internal server error response
func (*ReadOtelMetricsIngestionInternalServerError) Error ¶
func (o *ReadOtelMetricsIngestionInternalServerError) Error() string
func (*ReadOtelMetricsIngestionInternalServerError) GetPayload ¶
func (o *ReadOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
func (*ReadOtelMetricsIngestionInternalServerError) IsClientError ¶
func (o *ReadOtelMetricsIngestionInternalServerError) IsClientError() bool
IsClientError returns true when this read otel metrics ingestion internal server error response has a 4xx status code
func (*ReadOtelMetricsIngestionInternalServerError) IsCode ¶
func (o *ReadOtelMetricsIngestionInternalServerError) IsCode(code int) bool
IsCode returns true when this read otel metrics ingestion internal server error response a status code equal to that given
func (*ReadOtelMetricsIngestionInternalServerError) IsRedirect ¶
func (o *ReadOtelMetricsIngestionInternalServerError) IsRedirect() bool
IsRedirect returns true when this read otel metrics ingestion internal server error response has a 3xx status code
func (*ReadOtelMetricsIngestionInternalServerError) IsServerError ¶
func (o *ReadOtelMetricsIngestionInternalServerError) IsServerError() bool
IsServerError returns true when this read otel metrics ingestion internal server error response has a 5xx status code
func (*ReadOtelMetricsIngestionInternalServerError) IsSuccess ¶
func (o *ReadOtelMetricsIngestionInternalServerError) IsSuccess() bool
IsSuccess returns true when this read otel metrics ingestion internal server error response has a 2xx status code
func (*ReadOtelMetricsIngestionInternalServerError) String ¶
func (o *ReadOtelMetricsIngestionInternalServerError) String() string
type ReadOtelMetricsIngestionNotFound ¶
ReadOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.
Cannot read the OtelMetricsIngestion because OtelMetricsIngestion has not been created.
func NewReadOtelMetricsIngestionNotFound ¶
func NewReadOtelMetricsIngestionNotFound() *ReadOtelMetricsIngestionNotFound
NewReadOtelMetricsIngestionNotFound creates a ReadOtelMetricsIngestionNotFound with default headers values
func (*ReadOtelMetricsIngestionNotFound) Code ¶
func (o *ReadOtelMetricsIngestionNotFound) Code() int
Code gets the status code for the read otel metrics ingestion not found response
func (*ReadOtelMetricsIngestionNotFound) Error ¶
func (o *ReadOtelMetricsIngestionNotFound) Error() string
func (*ReadOtelMetricsIngestionNotFound) GetPayload ¶
func (o *ReadOtelMetricsIngestionNotFound) GetPayload() *models.APIError
func (*ReadOtelMetricsIngestionNotFound) IsClientError ¶
func (o *ReadOtelMetricsIngestionNotFound) IsClientError() bool
IsClientError returns true when this read otel metrics ingestion not found response has a 4xx status code
func (*ReadOtelMetricsIngestionNotFound) IsCode ¶
func (o *ReadOtelMetricsIngestionNotFound) IsCode(code int) bool
IsCode returns true when this read otel metrics ingestion not found response a status code equal to that given
func (*ReadOtelMetricsIngestionNotFound) IsRedirect ¶
func (o *ReadOtelMetricsIngestionNotFound) IsRedirect() bool
IsRedirect returns true when this read otel metrics ingestion not found response has a 3xx status code
func (*ReadOtelMetricsIngestionNotFound) IsServerError ¶
func (o *ReadOtelMetricsIngestionNotFound) IsServerError() bool
IsServerError returns true when this read otel metrics ingestion not found response has a 5xx status code
func (*ReadOtelMetricsIngestionNotFound) IsSuccess ¶
func (o *ReadOtelMetricsIngestionNotFound) IsSuccess() bool
IsSuccess returns true when this read otel metrics ingestion not found response has a 2xx status code
func (*ReadOtelMetricsIngestionNotFound) String ¶
func (o *ReadOtelMetricsIngestionNotFound) String() string
type ReadOtelMetricsIngestionOK ¶
type ReadOtelMetricsIngestionOK struct {
Payload *models.Configv1ReadOtelMetricsIngestionResponse
}
ReadOtelMetricsIngestionOK describes a response with status code 200, with default header values.
A successful response.
func NewReadOtelMetricsIngestionOK ¶
func NewReadOtelMetricsIngestionOK() *ReadOtelMetricsIngestionOK
NewReadOtelMetricsIngestionOK creates a ReadOtelMetricsIngestionOK with default headers values
func (*ReadOtelMetricsIngestionOK) Code ¶
func (o *ReadOtelMetricsIngestionOK) Code() int
Code gets the status code for the read otel metrics ingestion o k response
func (*ReadOtelMetricsIngestionOK) Error ¶
func (o *ReadOtelMetricsIngestionOK) Error() string
func (*ReadOtelMetricsIngestionOK) GetPayload ¶
func (o *ReadOtelMetricsIngestionOK) GetPayload() *models.Configv1ReadOtelMetricsIngestionResponse
func (*ReadOtelMetricsIngestionOK) IsClientError ¶
func (o *ReadOtelMetricsIngestionOK) IsClientError() bool
IsClientError returns true when this read otel metrics ingestion o k response has a 4xx status code
func (*ReadOtelMetricsIngestionOK) IsCode ¶
func (o *ReadOtelMetricsIngestionOK) IsCode(code int) bool
IsCode returns true when this read otel metrics ingestion o k response a status code equal to that given
func (*ReadOtelMetricsIngestionOK) IsRedirect ¶
func (o *ReadOtelMetricsIngestionOK) IsRedirect() bool
IsRedirect returns true when this read otel metrics ingestion o k response has a 3xx status code
func (*ReadOtelMetricsIngestionOK) IsServerError ¶
func (o *ReadOtelMetricsIngestionOK) IsServerError() bool
IsServerError returns true when this read otel metrics ingestion o k response has a 5xx status code
func (*ReadOtelMetricsIngestionOK) IsSuccess ¶
func (o *ReadOtelMetricsIngestionOK) IsSuccess() bool
IsSuccess returns true when this read otel metrics ingestion o k response has a 2xx status code
func (*ReadOtelMetricsIngestionOK) String ¶
func (o *ReadOtelMetricsIngestionOK) String() string
type ReadOtelMetricsIngestionParams ¶
type ReadOtelMetricsIngestionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadOtelMetricsIngestionParams contains all the parameters to send to the API endpoint
for the read otel metrics ingestion operation. Typically these are written to a http.Request.
func NewReadOtelMetricsIngestionParams ¶
func NewReadOtelMetricsIngestionParams() *ReadOtelMetricsIngestionParams
NewReadOtelMetricsIngestionParams creates a new ReadOtelMetricsIngestionParams 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 NewReadOtelMetricsIngestionParamsWithContext ¶
func NewReadOtelMetricsIngestionParamsWithContext(ctx context.Context) *ReadOtelMetricsIngestionParams
NewReadOtelMetricsIngestionParamsWithContext creates a new ReadOtelMetricsIngestionParams object with the ability to set a context for a request.
func NewReadOtelMetricsIngestionParamsWithHTTPClient ¶
func NewReadOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *ReadOtelMetricsIngestionParams
NewReadOtelMetricsIngestionParamsWithHTTPClient creates a new ReadOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.
func NewReadOtelMetricsIngestionParamsWithTimeout ¶
func NewReadOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *ReadOtelMetricsIngestionParams
NewReadOtelMetricsIngestionParamsWithTimeout creates a new ReadOtelMetricsIngestionParams object with the ability to set a timeout on a request.
func (*ReadOtelMetricsIngestionParams) SetContext ¶
func (o *ReadOtelMetricsIngestionParams) SetContext(ctx context.Context)
SetContext adds the context to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) SetDefaults ¶
func (o *ReadOtelMetricsIngestionParams) SetDefaults()
SetDefaults hydrates default values in the read otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*ReadOtelMetricsIngestionParams) SetHTTPClient ¶
func (o *ReadOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) SetTimeout ¶
func (o *ReadOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) WithContext ¶
func (o *ReadOtelMetricsIngestionParams) WithContext(ctx context.Context) *ReadOtelMetricsIngestionParams
WithContext adds the context to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) WithDefaults ¶
func (o *ReadOtelMetricsIngestionParams) WithDefaults() *ReadOtelMetricsIngestionParams
WithDefaults hydrates default values in the read otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*ReadOtelMetricsIngestionParams) WithHTTPClient ¶
func (o *ReadOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *ReadOtelMetricsIngestionParams
WithHTTPClient adds the HTTPClient to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) WithTimeout ¶
func (o *ReadOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *ReadOtelMetricsIngestionParams
WithTimeout adds the timeout to the read otel metrics ingestion params
func (*ReadOtelMetricsIngestionParams) WriteToRequest ¶
func (o *ReadOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadOtelMetricsIngestionReader ¶
type ReadOtelMetricsIngestionReader struct {
// contains filtered or unexported fields
}
ReadOtelMetricsIngestionReader is a Reader for the ReadOtelMetricsIngestion structure.
func (*ReadOtelMetricsIngestionReader) ReadResponse ¶
func (o *ReadOtelMetricsIngestionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOtelMetricsIngestionBadRequest ¶
UpdateOtelMetricsIngestionBadRequest describes a response with status code 400, with default header values.
Cannot update the OtelMetricsIngestion because the request is invalid.
func NewUpdateOtelMetricsIngestionBadRequest ¶
func NewUpdateOtelMetricsIngestionBadRequest() *UpdateOtelMetricsIngestionBadRequest
NewUpdateOtelMetricsIngestionBadRequest creates a UpdateOtelMetricsIngestionBadRequest with default headers values
func (*UpdateOtelMetricsIngestionBadRequest) Code ¶
func (o *UpdateOtelMetricsIngestionBadRequest) Code() int
Code gets the status code for the update otel metrics ingestion bad request response
func (*UpdateOtelMetricsIngestionBadRequest) Error ¶
func (o *UpdateOtelMetricsIngestionBadRequest) Error() string
func (*UpdateOtelMetricsIngestionBadRequest) GetPayload ¶
func (o *UpdateOtelMetricsIngestionBadRequest) GetPayload() *models.APIError
func (*UpdateOtelMetricsIngestionBadRequest) IsClientError ¶
func (o *UpdateOtelMetricsIngestionBadRequest) IsClientError() bool
IsClientError returns true when this update otel metrics ingestion bad request response has a 4xx status code
func (*UpdateOtelMetricsIngestionBadRequest) IsCode ¶
func (o *UpdateOtelMetricsIngestionBadRequest) IsCode(code int) bool
IsCode returns true when this update otel metrics ingestion bad request response a status code equal to that given
func (*UpdateOtelMetricsIngestionBadRequest) IsRedirect ¶
func (o *UpdateOtelMetricsIngestionBadRequest) IsRedirect() bool
IsRedirect returns true when this update otel metrics ingestion bad request response has a 3xx status code
func (*UpdateOtelMetricsIngestionBadRequest) IsServerError ¶
func (o *UpdateOtelMetricsIngestionBadRequest) IsServerError() bool
IsServerError returns true when this update otel metrics ingestion bad request response has a 5xx status code
func (*UpdateOtelMetricsIngestionBadRequest) IsSuccess ¶
func (o *UpdateOtelMetricsIngestionBadRequest) IsSuccess() bool
IsSuccess returns true when this update otel metrics ingestion bad request response has a 2xx status code
func (*UpdateOtelMetricsIngestionBadRequest) String ¶
func (o *UpdateOtelMetricsIngestionBadRequest) String() string
type UpdateOtelMetricsIngestionDefault ¶
type UpdateOtelMetricsIngestionDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateOtelMetricsIngestionDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateOtelMetricsIngestionDefault ¶
func NewUpdateOtelMetricsIngestionDefault(code int) *UpdateOtelMetricsIngestionDefault
NewUpdateOtelMetricsIngestionDefault creates a UpdateOtelMetricsIngestionDefault with default headers values
func (*UpdateOtelMetricsIngestionDefault) Code ¶
func (o *UpdateOtelMetricsIngestionDefault) Code() int
Code gets the status code for the update otel metrics ingestion default response
func (*UpdateOtelMetricsIngestionDefault) Error ¶
func (o *UpdateOtelMetricsIngestionDefault) Error() string
func (*UpdateOtelMetricsIngestionDefault) GetPayload ¶
func (o *UpdateOtelMetricsIngestionDefault) GetPayload() models.GenericError
func (*UpdateOtelMetricsIngestionDefault) IsClientError ¶
func (o *UpdateOtelMetricsIngestionDefault) IsClientError() bool
IsClientError returns true when this update otel metrics ingestion default response has a 4xx status code
func (*UpdateOtelMetricsIngestionDefault) IsCode ¶
func (o *UpdateOtelMetricsIngestionDefault) IsCode(code int) bool
IsCode returns true when this update otel metrics ingestion default response a status code equal to that given
func (*UpdateOtelMetricsIngestionDefault) IsRedirect ¶
func (o *UpdateOtelMetricsIngestionDefault) IsRedirect() bool
IsRedirect returns true when this update otel metrics ingestion default response has a 3xx status code
func (*UpdateOtelMetricsIngestionDefault) IsServerError ¶
func (o *UpdateOtelMetricsIngestionDefault) IsServerError() bool
IsServerError returns true when this update otel metrics ingestion default response has a 5xx status code
func (*UpdateOtelMetricsIngestionDefault) IsSuccess ¶
func (o *UpdateOtelMetricsIngestionDefault) IsSuccess() bool
IsSuccess returns true when this update otel metrics ingestion default response has a 2xx status code
func (*UpdateOtelMetricsIngestionDefault) String ¶
func (o *UpdateOtelMetricsIngestionDefault) String() string
type UpdateOtelMetricsIngestionInternalServerError ¶
UpdateOtelMetricsIngestionInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateOtelMetricsIngestionInternalServerError ¶
func NewUpdateOtelMetricsIngestionInternalServerError() *UpdateOtelMetricsIngestionInternalServerError
NewUpdateOtelMetricsIngestionInternalServerError creates a UpdateOtelMetricsIngestionInternalServerError with default headers values
func (*UpdateOtelMetricsIngestionInternalServerError) Code ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) Code() int
Code gets the status code for the update otel metrics ingestion internal server error response
func (*UpdateOtelMetricsIngestionInternalServerError) Error ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) Error() string
func (*UpdateOtelMetricsIngestionInternalServerError) GetPayload ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) GetPayload() *models.APIError
func (*UpdateOtelMetricsIngestionInternalServerError) IsClientError ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) IsClientError() bool
IsClientError returns true when this update otel metrics ingestion internal server error response has a 4xx status code
func (*UpdateOtelMetricsIngestionInternalServerError) IsCode ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) IsCode(code int) bool
IsCode returns true when this update otel metrics ingestion internal server error response a status code equal to that given
func (*UpdateOtelMetricsIngestionInternalServerError) IsRedirect ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) IsRedirect() bool
IsRedirect returns true when this update otel metrics ingestion internal server error response has a 3xx status code
func (*UpdateOtelMetricsIngestionInternalServerError) IsServerError ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) IsServerError() bool
IsServerError returns true when this update otel metrics ingestion internal server error response has a 5xx status code
func (*UpdateOtelMetricsIngestionInternalServerError) IsSuccess ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) IsSuccess() bool
IsSuccess returns true when this update otel metrics ingestion internal server error response has a 2xx status code
func (*UpdateOtelMetricsIngestionInternalServerError) String ¶
func (o *UpdateOtelMetricsIngestionInternalServerError) String() string
type UpdateOtelMetricsIngestionNotFound ¶
UpdateOtelMetricsIngestionNotFound describes a response with status code 404, with default header values.
Cannot update the OtelMetricsIngestion because OtelMetricsIngestion has not been created.
func NewUpdateOtelMetricsIngestionNotFound ¶
func NewUpdateOtelMetricsIngestionNotFound() *UpdateOtelMetricsIngestionNotFound
NewUpdateOtelMetricsIngestionNotFound creates a UpdateOtelMetricsIngestionNotFound with default headers values
func (*UpdateOtelMetricsIngestionNotFound) Code ¶
func (o *UpdateOtelMetricsIngestionNotFound) Code() int
Code gets the status code for the update otel metrics ingestion not found response
func (*UpdateOtelMetricsIngestionNotFound) Error ¶
func (o *UpdateOtelMetricsIngestionNotFound) Error() string
func (*UpdateOtelMetricsIngestionNotFound) GetPayload ¶
func (o *UpdateOtelMetricsIngestionNotFound) GetPayload() *models.APIError
func (*UpdateOtelMetricsIngestionNotFound) IsClientError ¶
func (o *UpdateOtelMetricsIngestionNotFound) IsClientError() bool
IsClientError returns true when this update otel metrics ingestion not found response has a 4xx status code
func (*UpdateOtelMetricsIngestionNotFound) IsCode ¶
func (o *UpdateOtelMetricsIngestionNotFound) IsCode(code int) bool
IsCode returns true when this update otel metrics ingestion not found response a status code equal to that given
func (*UpdateOtelMetricsIngestionNotFound) IsRedirect ¶
func (o *UpdateOtelMetricsIngestionNotFound) IsRedirect() bool
IsRedirect returns true when this update otel metrics ingestion not found response has a 3xx status code
func (*UpdateOtelMetricsIngestionNotFound) IsServerError ¶
func (o *UpdateOtelMetricsIngestionNotFound) IsServerError() bool
IsServerError returns true when this update otel metrics ingestion not found response has a 5xx status code
func (*UpdateOtelMetricsIngestionNotFound) IsSuccess ¶
func (o *UpdateOtelMetricsIngestionNotFound) IsSuccess() bool
IsSuccess returns true when this update otel metrics ingestion not found response has a 2xx status code
func (*UpdateOtelMetricsIngestionNotFound) String ¶
func (o *UpdateOtelMetricsIngestionNotFound) String() string
type UpdateOtelMetricsIngestionOK ¶
type UpdateOtelMetricsIngestionOK struct {
Payload *models.Configv1UpdateOtelMetricsIngestionResponse
}
UpdateOtelMetricsIngestionOK describes a response with status code 200, with default header values.
A successful response containing the updated OtelMetricsIngestion.
func NewUpdateOtelMetricsIngestionOK ¶
func NewUpdateOtelMetricsIngestionOK() *UpdateOtelMetricsIngestionOK
NewUpdateOtelMetricsIngestionOK creates a UpdateOtelMetricsIngestionOK with default headers values
func (*UpdateOtelMetricsIngestionOK) Code ¶
func (o *UpdateOtelMetricsIngestionOK) Code() int
Code gets the status code for the update otel metrics ingestion o k response
func (*UpdateOtelMetricsIngestionOK) Error ¶
func (o *UpdateOtelMetricsIngestionOK) Error() string
func (*UpdateOtelMetricsIngestionOK) GetPayload ¶
func (o *UpdateOtelMetricsIngestionOK) GetPayload() *models.Configv1UpdateOtelMetricsIngestionResponse
func (*UpdateOtelMetricsIngestionOK) IsClientError ¶
func (o *UpdateOtelMetricsIngestionOK) IsClientError() bool
IsClientError returns true when this update otel metrics ingestion o k response has a 4xx status code
func (*UpdateOtelMetricsIngestionOK) IsCode ¶
func (o *UpdateOtelMetricsIngestionOK) IsCode(code int) bool
IsCode returns true when this update otel metrics ingestion o k response a status code equal to that given
func (*UpdateOtelMetricsIngestionOK) IsRedirect ¶
func (o *UpdateOtelMetricsIngestionOK) IsRedirect() bool
IsRedirect returns true when this update otel metrics ingestion o k response has a 3xx status code
func (*UpdateOtelMetricsIngestionOK) IsServerError ¶
func (o *UpdateOtelMetricsIngestionOK) IsServerError() bool
IsServerError returns true when this update otel metrics ingestion o k response has a 5xx status code
func (*UpdateOtelMetricsIngestionOK) IsSuccess ¶
func (o *UpdateOtelMetricsIngestionOK) IsSuccess() bool
IsSuccess returns true when this update otel metrics ingestion o k response has a 2xx status code
func (*UpdateOtelMetricsIngestionOK) String ¶
func (o *UpdateOtelMetricsIngestionOK) String() string
type UpdateOtelMetricsIngestionParams ¶
type UpdateOtelMetricsIngestionParams struct { // Body. Body *models.Configv1UpdateOtelMetricsIngestionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOtelMetricsIngestionParams contains all the parameters to send to the API endpoint
for the update otel metrics ingestion operation. Typically these are written to a http.Request.
func NewUpdateOtelMetricsIngestionParams ¶
func NewUpdateOtelMetricsIngestionParams() *UpdateOtelMetricsIngestionParams
NewUpdateOtelMetricsIngestionParams creates a new UpdateOtelMetricsIngestionParams 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 NewUpdateOtelMetricsIngestionParamsWithContext ¶
func NewUpdateOtelMetricsIngestionParamsWithContext(ctx context.Context) *UpdateOtelMetricsIngestionParams
NewUpdateOtelMetricsIngestionParamsWithContext creates a new UpdateOtelMetricsIngestionParams object with the ability to set a context for a request.
func NewUpdateOtelMetricsIngestionParamsWithHTTPClient ¶
func NewUpdateOtelMetricsIngestionParamsWithHTTPClient(client *http.Client) *UpdateOtelMetricsIngestionParams
NewUpdateOtelMetricsIngestionParamsWithHTTPClient creates a new UpdateOtelMetricsIngestionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOtelMetricsIngestionParamsWithTimeout ¶
func NewUpdateOtelMetricsIngestionParamsWithTimeout(timeout time.Duration) *UpdateOtelMetricsIngestionParams
NewUpdateOtelMetricsIngestionParamsWithTimeout creates a new UpdateOtelMetricsIngestionParams object with the ability to set a timeout on a request.
func (*UpdateOtelMetricsIngestionParams) SetBody ¶
func (o *UpdateOtelMetricsIngestionParams) SetBody(body *models.Configv1UpdateOtelMetricsIngestionRequest)
SetBody adds the body to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) SetContext ¶
func (o *UpdateOtelMetricsIngestionParams) SetContext(ctx context.Context)
SetContext adds the context to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) SetDefaults ¶
func (o *UpdateOtelMetricsIngestionParams) SetDefaults()
SetDefaults hydrates default values in the update otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOtelMetricsIngestionParams) SetHTTPClient ¶
func (o *UpdateOtelMetricsIngestionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) SetTimeout ¶
func (o *UpdateOtelMetricsIngestionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) WithBody ¶
func (o *UpdateOtelMetricsIngestionParams) WithBody(body *models.Configv1UpdateOtelMetricsIngestionRequest) *UpdateOtelMetricsIngestionParams
WithBody adds the body to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) WithContext ¶
func (o *UpdateOtelMetricsIngestionParams) WithContext(ctx context.Context) *UpdateOtelMetricsIngestionParams
WithContext adds the context to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) WithDefaults ¶
func (o *UpdateOtelMetricsIngestionParams) WithDefaults() *UpdateOtelMetricsIngestionParams
WithDefaults hydrates default values in the update otel metrics ingestion params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOtelMetricsIngestionParams) WithHTTPClient ¶
func (o *UpdateOtelMetricsIngestionParams) WithHTTPClient(client *http.Client) *UpdateOtelMetricsIngestionParams
WithHTTPClient adds the HTTPClient to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) WithTimeout ¶
func (o *UpdateOtelMetricsIngestionParams) WithTimeout(timeout time.Duration) *UpdateOtelMetricsIngestionParams
WithTimeout adds the timeout to the update otel metrics ingestion params
func (*UpdateOtelMetricsIngestionParams) WriteToRequest ¶
func (o *UpdateOtelMetricsIngestionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOtelMetricsIngestionReader ¶
type UpdateOtelMetricsIngestionReader struct {
// contains filtered or unexported fields
}
UpdateOtelMetricsIngestionReader is a Reader for the UpdateOtelMetricsIngestion structure.
func (*UpdateOtelMetricsIngestionReader) ReadResponse ¶
func (o *UpdateOtelMetricsIngestionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_otel_metrics_ingestion_parameters.go
- create_otel_metrics_ingestion_responses.go
- delete_otel_metrics_ingestion_parameters.go
- delete_otel_metrics_ingestion_responses.go
- otel_metrics_ingestion_client.go
- read_otel_metrics_ingestion_parameters.go
- read_otel_metrics_ingestion_responses.go
- update_otel_metrics_ingestion_parameters.go
- update_otel_metrics_ingestion_responses.go