appscape_service

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppscapeServiceGetLogLabelsBadRequest

type AppscapeServiceGetLogLabelsBadRequest struct {
	Payload string
}
AppscapeServiceGetLogLabelsBadRequest describes a response with status code 400, with default header values.

Returned when the caller provided incorrect request parameters.

func NewAppscapeServiceGetLogLabelsBadRequest

func NewAppscapeServiceGetLogLabelsBadRequest() *AppscapeServiceGetLogLabelsBadRequest

NewAppscapeServiceGetLogLabelsBadRequest creates a AppscapeServiceGetLogLabelsBadRequest with default headers values

func (*AppscapeServiceGetLogLabelsBadRequest) Error

func (*AppscapeServiceGetLogLabelsBadRequest) GetPayload

type AppscapeServiceGetLogLabelsDefault

type AppscapeServiceGetLogLabelsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
AppscapeServiceGetLogLabelsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewAppscapeServiceGetLogLabelsDefault

func NewAppscapeServiceGetLogLabelsDefault(code int) *AppscapeServiceGetLogLabelsDefault

NewAppscapeServiceGetLogLabelsDefault creates a AppscapeServiceGetLogLabelsDefault with default headers values

func (*AppscapeServiceGetLogLabelsDefault) Code

Code gets the status code for the appscape service get log labels default response

func (*AppscapeServiceGetLogLabelsDefault) Error

func (*AppscapeServiceGetLogLabelsDefault) GetPayload

type AppscapeServiceGetLogLabelsForbidden

type AppscapeServiceGetLogLabelsForbidden struct {
	Payload string
}
AppscapeServiceGetLogLabelsForbidden describes a response with status code 403, with default header values.

Returned when the caller is not authorised to perform this call.

func NewAppscapeServiceGetLogLabelsForbidden

func NewAppscapeServiceGetLogLabelsForbidden() *AppscapeServiceGetLogLabelsForbidden

NewAppscapeServiceGetLogLabelsForbidden creates a AppscapeServiceGetLogLabelsForbidden with default headers values

func (*AppscapeServiceGetLogLabelsForbidden) Error

func (*AppscapeServiceGetLogLabelsForbidden) GetPayload

type AppscapeServiceGetLogLabelsInternalServerError

type AppscapeServiceGetLogLabelsInternalServerError struct {
	Payload string
}
AppscapeServiceGetLogLabelsInternalServerError describes a response with status code 500, with default header values.

Returned when an error occurred while processing the process.

func NewAppscapeServiceGetLogLabelsInternalServerError

func NewAppscapeServiceGetLogLabelsInternalServerError() *AppscapeServiceGetLogLabelsInternalServerError

NewAppscapeServiceGetLogLabelsInternalServerError creates a AppscapeServiceGetLogLabelsInternalServerError with default headers values

func (*AppscapeServiceGetLogLabelsInternalServerError) Error

func (*AppscapeServiceGetLogLabelsInternalServerError) GetPayload

type AppscapeServiceGetLogLabelsNotFound

type AppscapeServiceGetLogLabelsNotFound struct {
	Payload string
}
AppscapeServiceGetLogLabelsNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewAppscapeServiceGetLogLabelsNotFound

func NewAppscapeServiceGetLogLabelsNotFound() *AppscapeServiceGetLogLabelsNotFound

NewAppscapeServiceGetLogLabelsNotFound creates a AppscapeServiceGetLogLabelsNotFound with default headers values

func (*AppscapeServiceGetLogLabelsNotFound) Error

func (*AppscapeServiceGetLogLabelsNotFound) GetPayload

type AppscapeServiceGetLogLabelsOK

type AppscapeServiceGetLogLabelsOK struct {
	Payload *models.V1GetLogLabelsResponse
}
AppscapeServiceGetLogLabelsOK describes a response with status code 200, with default header values.

A successful response.

func NewAppscapeServiceGetLogLabelsOK

func NewAppscapeServiceGetLogLabelsOK() *AppscapeServiceGetLogLabelsOK

NewAppscapeServiceGetLogLabelsOK creates a AppscapeServiceGetLogLabelsOK with default headers values

func (*AppscapeServiceGetLogLabelsOK) Error

func (*AppscapeServiceGetLogLabelsOK) GetPayload

type AppscapeServiceGetLogLabelsParams

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

AppscapeServiceGetLogLabelsParams contains all the parameters to send to the API endpoint

for the appscape service get log labels operation.

Typically these are written to a http.Request.

func NewAppscapeServiceGetLogLabelsParams

func NewAppscapeServiceGetLogLabelsParams() *AppscapeServiceGetLogLabelsParams

NewAppscapeServiceGetLogLabelsParams creates a new AppscapeServiceGetLogLabelsParams 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 NewAppscapeServiceGetLogLabelsParamsWithContext

func NewAppscapeServiceGetLogLabelsParamsWithContext(ctx context.Context) *AppscapeServiceGetLogLabelsParams

NewAppscapeServiceGetLogLabelsParamsWithContext creates a new AppscapeServiceGetLogLabelsParams object with the ability to set a context for a request.

func NewAppscapeServiceGetLogLabelsParamsWithHTTPClient

func NewAppscapeServiceGetLogLabelsParamsWithHTTPClient(client *http.Client) *AppscapeServiceGetLogLabelsParams

NewAppscapeServiceGetLogLabelsParamsWithHTTPClient creates a new AppscapeServiceGetLogLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewAppscapeServiceGetLogLabelsParamsWithTimeout

func NewAppscapeServiceGetLogLabelsParamsWithTimeout(timeout time.Duration) *AppscapeServiceGetLogLabelsParams

NewAppscapeServiceGetLogLabelsParamsWithTimeout creates a new AppscapeServiceGetLogLabelsParams object with the ability to set a timeout on a request.

func (*AppscapeServiceGetLogLabelsParams) SetContext

SetContext adds the context to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) SetDefaults

func (o *AppscapeServiceGetLogLabelsParams) SetDefaults()

SetDefaults hydrates default values in the appscape service get log labels params (not the query body).

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

func (*AppscapeServiceGetLogLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) WithContext

WithContext adds the context to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) WithDefaults

WithDefaults hydrates default values in the appscape service get log labels params (not the query body).

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

func (*AppscapeServiceGetLogLabelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) WithTimeout

WithTimeout adds the timeout to the appscape service get log labels params

func (*AppscapeServiceGetLogLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppscapeServiceGetLogLabelsReader

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

AppscapeServiceGetLogLabelsReader is a Reader for the AppscapeServiceGetLogLabels structure.

func (*AppscapeServiceGetLogLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppscapeServiceGetMetricsMetaBadRequest

type AppscapeServiceGetMetricsMetaBadRequest struct {
	Payload string
}
AppscapeServiceGetMetricsMetaBadRequest describes a response with status code 400, with default header values.

Returned when the caller provided incorrect request parameters.

func NewAppscapeServiceGetMetricsMetaBadRequest

func NewAppscapeServiceGetMetricsMetaBadRequest() *AppscapeServiceGetMetricsMetaBadRequest

NewAppscapeServiceGetMetricsMetaBadRequest creates a AppscapeServiceGetMetricsMetaBadRequest with default headers values

func (*AppscapeServiceGetMetricsMetaBadRequest) Error

func (*AppscapeServiceGetMetricsMetaBadRequest) GetPayload

type AppscapeServiceGetMetricsMetaDefault

type AppscapeServiceGetMetricsMetaDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
AppscapeServiceGetMetricsMetaDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewAppscapeServiceGetMetricsMetaDefault

func NewAppscapeServiceGetMetricsMetaDefault(code int) *AppscapeServiceGetMetricsMetaDefault

NewAppscapeServiceGetMetricsMetaDefault creates a AppscapeServiceGetMetricsMetaDefault with default headers values

func (*AppscapeServiceGetMetricsMetaDefault) Code

Code gets the status code for the appscape service get metrics meta default response

func (*AppscapeServiceGetMetricsMetaDefault) Error

func (*AppscapeServiceGetMetricsMetaDefault) GetPayload

type AppscapeServiceGetMetricsMetaForbidden

type AppscapeServiceGetMetricsMetaForbidden struct {
	Payload string
}
AppscapeServiceGetMetricsMetaForbidden describes a response with status code 403, with default header values.

Returned when the caller is not authorised to perform this call.

func NewAppscapeServiceGetMetricsMetaForbidden

func NewAppscapeServiceGetMetricsMetaForbidden() *AppscapeServiceGetMetricsMetaForbidden

NewAppscapeServiceGetMetricsMetaForbidden creates a AppscapeServiceGetMetricsMetaForbidden with default headers values

func (*AppscapeServiceGetMetricsMetaForbidden) Error

func (*AppscapeServiceGetMetricsMetaForbidden) GetPayload

type AppscapeServiceGetMetricsMetaInternalServerError

type AppscapeServiceGetMetricsMetaInternalServerError struct {
	Payload string
}
AppscapeServiceGetMetricsMetaInternalServerError describes a response with status code 500, with default header values.

Returned when an error occurred while processing the process.

func NewAppscapeServiceGetMetricsMetaInternalServerError

func NewAppscapeServiceGetMetricsMetaInternalServerError() *AppscapeServiceGetMetricsMetaInternalServerError

NewAppscapeServiceGetMetricsMetaInternalServerError creates a AppscapeServiceGetMetricsMetaInternalServerError with default headers values

func (*AppscapeServiceGetMetricsMetaInternalServerError) Error

func (*AppscapeServiceGetMetricsMetaInternalServerError) GetPayload

type AppscapeServiceGetMetricsMetaNotFound

type AppscapeServiceGetMetricsMetaNotFound struct {
	Payload string
}
AppscapeServiceGetMetricsMetaNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewAppscapeServiceGetMetricsMetaNotFound

func NewAppscapeServiceGetMetricsMetaNotFound() *AppscapeServiceGetMetricsMetaNotFound

NewAppscapeServiceGetMetricsMetaNotFound creates a AppscapeServiceGetMetricsMetaNotFound with default headers values

func (*AppscapeServiceGetMetricsMetaNotFound) Error

func (*AppscapeServiceGetMetricsMetaNotFound) GetPayload

type AppscapeServiceGetMetricsMetaOK

type AppscapeServiceGetMetricsMetaOK struct {
	Payload *models.V1GetMetricsMetaResponse
}
AppscapeServiceGetMetricsMetaOK describes a response with status code 200, with default header values.

A successful response.

func NewAppscapeServiceGetMetricsMetaOK

func NewAppscapeServiceGetMetricsMetaOK() *AppscapeServiceGetMetricsMetaOK

NewAppscapeServiceGetMetricsMetaOK creates a AppscapeServiceGetMetricsMetaOK with default headers values

func (*AppscapeServiceGetMetricsMetaOK) Error

func (*AppscapeServiceGetMetricsMetaOK) GetPayload

type AppscapeServiceGetMetricsMetaParams

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

AppscapeServiceGetMetricsMetaParams contains all the parameters to send to the API endpoint

for the appscape service get metrics meta operation.

Typically these are written to a http.Request.

func NewAppscapeServiceGetMetricsMetaParams

func NewAppscapeServiceGetMetricsMetaParams() *AppscapeServiceGetMetricsMetaParams

NewAppscapeServiceGetMetricsMetaParams creates a new AppscapeServiceGetMetricsMetaParams 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 NewAppscapeServiceGetMetricsMetaParamsWithContext

func NewAppscapeServiceGetMetricsMetaParamsWithContext(ctx context.Context) *AppscapeServiceGetMetricsMetaParams

NewAppscapeServiceGetMetricsMetaParamsWithContext creates a new AppscapeServiceGetMetricsMetaParams object with the ability to set a context for a request.

func NewAppscapeServiceGetMetricsMetaParamsWithHTTPClient

func NewAppscapeServiceGetMetricsMetaParamsWithHTTPClient(client *http.Client) *AppscapeServiceGetMetricsMetaParams

NewAppscapeServiceGetMetricsMetaParamsWithHTTPClient creates a new AppscapeServiceGetMetricsMetaParams object with the ability to set a custom HTTPClient for a request.

func NewAppscapeServiceGetMetricsMetaParamsWithTimeout

func NewAppscapeServiceGetMetricsMetaParamsWithTimeout(timeout time.Duration) *AppscapeServiceGetMetricsMetaParams

NewAppscapeServiceGetMetricsMetaParamsWithTimeout creates a new AppscapeServiceGetMetricsMetaParams object with the ability to set a timeout on a request.

func (*AppscapeServiceGetMetricsMetaParams) SetContext

SetContext adds the context to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) SetDefaults

func (o *AppscapeServiceGetMetricsMetaParams) SetDefaults()

SetDefaults hydrates default values in the appscape service get metrics meta params (not the query body).

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

func (*AppscapeServiceGetMetricsMetaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) SetTimeout

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

SetTimeout adds the timeout to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) WithContext

WithContext adds the context to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) WithDefaults

WithDefaults hydrates default values in the appscape service get metrics meta params (not the query body).

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

func (*AppscapeServiceGetMetricsMetaParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) WithTimeout

WithTimeout adds the timeout to the appscape service get metrics meta params

func (*AppscapeServiceGetMetricsMetaParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppscapeServiceGetMetricsMetaReader

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

AppscapeServiceGetMetricsMetaReader is a Reader for the AppscapeServiceGetMetricsMeta structure.

func (*AppscapeServiceGetMetricsMetaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppscapeServiceQueryLogsBadRequest

type AppscapeServiceQueryLogsBadRequest struct {
	Payload string
}
AppscapeServiceQueryLogsBadRequest describes a response with status code 400, with default header values.

Returned when the caller provided incorrect request parameters.

func NewAppscapeServiceQueryLogsBadRequest

func NewAppscapeServiceQueryLogsBadRequest() *AppscapeServiceQueryLogsBadRequest

NewAppscapeServiceQueryLogsBadRequest creates a AppscapeServiceQueryLogsBadRequest with default headers values

func (*AppscapeServiceQueryLogsBadRequest) Error

func (*AppscapeServiceQueryLogsBadRequest) GetPayload

type AppscapeServiceQueryLogsDefault

type AppscapeServiceQueryLogsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
AppscapeServiceQueryLogsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewAppscapeServiceQueryLogsDefault

func NewAppscapeServiceQueryLogsDefault(code int) *AppscapeServiceQueryLogsDefault

NewAppscapeServiceQueryLogsDefault creates a AppscapeServiceQueryLogsDefault with default headers values

func (*AppscapeServiceQueryLogsDefault) Code

Code gets the status code for the appscape service query logs default response

func (*AppscapeServiceQueryLogsDefault) Error

func (*AppscapeServiceQueryLogsDefault) GetPayload

type AppscapeServiceQueryLogsForbidden

type AppscapeServiceQueryLogsForbidden struct {
	Payload string
}
AppscapeServiceQueryLogsForbidden describes a response with status code 403, with default header values.

Returned when the caller is not authorised to perform this call.

func NewAppscapeServiceQueryLogsForbidden

func NewAppscapeServiceQueryLogsForbidden() *AppscapeServiceQueryLogsForbidden

NewAppscapeServiceQueryLogsForbidden creates a AppscapeServiceQueryLogsForbidden with default headers values

func (*AppscapeServiceQueryLogsForbidden) Error

func (*AppscapeServiceQueryLogsForbidden) GetPayload

func (o *AppscapeServiceQueryLogsForbidden) GetPayload() string

type AppscapeServiceQueryLogsInternalServerError

type AppscapeServiceQueryLogsInternalServerError struct {
	Payload string
}
AppscapeServiceQueryLogsInternalServerError describes a response with status code 500, with default header values.

Returned when an error occurred while processing the process.

func NewAppscapeServiceQueryLogsInternalServerError

func NewAppscapeServiceQueryLogsInternalServerError() *AppscapeServiceQueryLogsInternalServerError

NewAppscapeServiceQueryLogsInternalServerError creates a AppscapeServiceQueryLogsInternalServerError with default headers values

func (*AppscapeServiceQueryLogsInternalServerError) Error

func (*AppscapeServiceQueryLogsInternalServerError) GetPayload

type AppscapeServiceQueryLogsNotFound

type AppscapeServiceQueryLogsNotFound struct {
	Payload string
}
AppscapeServiceQueryLogsNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewAppscapeServiceQueryLogsNotFound

func NewAppscapeServiceQueryLogsNotFound() *AppscapeServiceQueryLogsNotFound

NewAppscapeServiceQueryLogsNotFound creates a AppscapeServiceQueryLogsNotFound with default headers values

func (*AppscapeServiceQueryLogsNotFound) Error

func (*AppscapeServiceQueryLogsNotFound) GetPayload

func (o *AppscapeServiceQueryLogsNotFound) GetPayload() string

type AppscapeServiceQueryLogsOK

type AppscapeServiceQueryLogsOK struct {
	Payload *models.V1QueryLogsResponse
}
AppscapeServiceQueryLogsOK describes a response with status code 200, with default header values.

A successful response.

func NewAppscapeServiceQueryLogsOK

func NewAppscapeServiceQueryLogsOK() *AppscapeServiceQueryLogsOK

NewAppscapeServiceQueryLogsOK creates a AppscapeServiceQueryLogsOK with default headers values

func (*AppscapeServiceQueryLogsOK) Error

func (*AppscapeServiceQueryLogsOK) GetPayload

type AppscapeServiceQueryLogsParams

type AppscapeServiceQueryLogsParams struct {

	// Body.
	Body *models.V1QueryLogsRequest

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

AppscapeServiceQueryLogsParams contains all the parameters to send to the API endpoint

for the appscape service query logs operation.

Typically these are written to a http.Request.

func NewAppscapeServiceQueryLogsParams

func NewAppscapeServiceQueryLogsParams() *AppscapeServiceQueryLogsParams

NewAppscapeServiceQueryLogsParams creates a new AppscapeServiceQueryLogsParams 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 NewAppscapeServiceQueryLogsParamsWithContext

func NewAppscapeServiceQueryLogsParamsWithContext(ctx context.Context) *AppscapeServiceQueryLogsParams

NewAppscapeServiceQueryLogsParamsWithContext creates a new AppscapeServiceQueryLogsParams object with the ability to set a context for a request.

func NewAppscapeServiceQueryLogsParamsWithHTTPClient

func NewAppscapeServiceQueryLogsParamsWithHTTPClient(client *http.Client) *AppscapeServiceQueryLogsParams

NewAppscapeServiceQueryLogsParamsWithHTTPClient creates a new AppscapeServiceQueryLogsParams object with the ability to set a custom HTTPClient for a request.

func NewAppscapeServiceQueryLogsParamsWithTimeout

func NewAppscapeServiceQueryLogsParamsWithTimeout(timeout time.Duration) *AppscapeServiceQueryLogsParams

NewAppscapeServiceQueryLogsParamsWithTimeout creates a new AppscapeServiceQueryLogsParams object with the ability to set a timeout on a request.

func (*AppscapeServiceQueryLogsParams) SetBody

SetBody adds the body to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) SetContext

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

SetContext adds the context to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) SetDefaults

func (o *AppscapeServiceQueryLogsParams) SetDefaults()

SetDefaults hydrates default values in the appscape service query logs params (not the query body).

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

func (*AppscapeServiceQueryLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) SetTimeout

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

SetTimeout adds the timeout to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) WithBody

WithBody adds the body to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) WithContext

WithContext adds the context to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) WithDefaults

WithDefaults hydrates default values in the appscape service query logs params (not the query body).

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

func (*AppscapeServiceQueryLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) WithTimeout

WithTimeout adds the timeout to the appscape service query logs params

func (*AppscapeServiceQueryLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppscapeServiceQueryLogsReader

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

AppscapeServiceQueryLogsReader is a Reader for the AppscapeServiceQueryLogs structure.

func (*AppscapeServiceQueryLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppscapeServiceQueryMetricsBadRequest

type AppscapeServiceQueryMetricsBadRequest struct {
	Payload string
}
AppscapeServiceQueryMetricsBadRequest describes a response with status code 400, with default header values.

Returned when the caller provided incorrect request parameters.

func NewAppscapeServiceQueryMetricsBadRequest

func NewAppscapeServiceQueryMetricsBadRequest() *AppscapeServiceQueryMetricsBadRequest

NewAppscapeServiceQueryMetricsBadRequest creates a AppscapeServiceQueryMetricsBadRequest with default headers values

func (*AppscapeServiceQueryMetricsBadRequest) Error

func (*AppscapeServiceQueryMetricsBadRequest) GetPayload

type AppscapeServiceQueryMetricsDefault

type AppscapeServiceQueryMetricsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
AppscapeServiceQueryMetricsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewAppscapeServiceQueryMetricsDefault

func NewAppscapeServiceQueryMetricsDefault(code int) *AppscapeServiceQueryMetricsDefault

NewAppscapeServiceQueryMetricsDefault creates a AppscapeServiceQueryMetricsDefault with default headers values

func (*AppscapeServiceQueryMetricsDefault) Code

Code gets the status code for the appscape service query metrics default response

func (*AppscapeServiceQueryMetricsDefault) Error

func (*AppscapeServiceQueryMetricsDefault) GetPayload

type AppscapeServiceQueryMetricsForbidden

type AppscapeServiceQueryMetricsForbidden struct {
	Payload string
}
AppscapeServiceQueryMetricsForbidden describes a response with status code 403, with default header values.

Returned when the caller is not authorised to perform this call.

func NewAppscapeServiceQueryMetricsForbidden

func NewAppscapeServiceQueryMetricsForbidden() *AppscapeServiceQueryMetricsForbidden

NewAppscapeServiceQueryMetricsForbidden creates a AppscapeServiceQueryMetricsForbidden with default headers values

func (*AppscapeServiceQueryMetricsForbidden) Error

func (*AppscapeServiceQueryMetricsForbidden) GetPayload

type AppscapeServiceQueryMetricsInternalServerError

type AppscapeServiceQueryMetricsInternalServerError struct {
	Payload string
}
AppscapeServiceQueryMetricsInternalServerError describes a response with status code 500, with default header values.

Returned when an error occurred while processing the process.

func NewAppscapeServiceQueryMetricsInternalServerError

func NewAppscapeServiceQueryMetricsInternalServerError() *AppscapeServiceQueryMetricsInternalServerError

NewAppscapeServiceQueryMetricsInternalServerError creates a AppscapeServiceQueryMetricsInternalServerError with default headers values

func (*AppscapeServiceQueryMetricsInternalServerError) Error

func (*AppscapeServiceQueryMetricsInternalServerError) GetPayload

type AppscapeServiceQueryMetricsNotFound

type AppscapeServiceQueryMetricsNotFound struct {
	Payload string
}
AppscapeServiceQueryMetricsNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewAppscapeServiceQueryMetricsNotFound

func NewAppscapeServiceQueryMetricsNotFound() *AppscapeServiceQueryMetricsNotFound

NewAppscapeServiceQueryMetricsNotFound creates a AppscapeServiceQueryMetricsNotFound with default headers values

func (*AppscapeServiceQueryMetricsNotFound) Error

func (*AppscapeServiceQueryMetricsNotFound) GetPayload

type AppscapeServiceQueryMetricsOK

type AppscapeServiceQueryMetricsOK struct {
	Payload *models.V1QueryMetricsResponse
}
AppscapeServiceQueryMetricsOK describes a response with status code 200, with default header values.

A successful response.

func NewAppscapeServiceQueryMetricsOK

func NewAppscapeServiceQueryMetricsOK() *AppscapeServiceQueryMetricsOK

NewAppscapeServiceQueryMetricsOK creates a AppscapeServiceQueryMetricsOK with default headers values

func (*AppscapeServiceQueryMetricsOK) Error

func (*AppscapeServiceQueryMetricsOK) GetPayload

type AppscapeServiceQueryMetricsParams

type AppscapeServiceQueryMetricsParams struct {

	// Body.
	Body *models.V1QueryMetricsRequest

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

AppscapeServiceQueryMetricsParams contains all the parameters to send to the API endpoint

for the appscape service query metrics operation.

Typically these are written to a http.Request.

func NewAppscapeServiceQueryMetricsParams

func NewAppscapeServiceQueryMetricsParams() *AppscapeServiceQueryMetricsParams

NewAppscapeServiceQueryMetricsParams creates a new AppscapeServiceQueryMetricsParams 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 NewAppscapeServiceQueryMetricsParamsWithContext

func NewAppscapeServiceQueryMetricsParamsWithContext(ctx context.Context) *AppscapeServiceQueryMetricsParams

NewAppscapeServiceQueryMetricsParamsWithContext creates a new AppscapeServiceQueryMetricsParams object with the ability to set a context for a request.

func NewAppscapeServiceQueryMetricsParamsWithHTTPClient

func NewAppscapeServiceQueryMetricsParamsWithHTTPClient(client *http.Client) *AppscapeServiceQueryMetricsParams

NewAppscapeServiceQueryMetricsParamsWithHTTPClient creates a new AppscapeServiceQueryMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewAppscapeServiceQueryMetricsParamsWithTimeout

func NewAppscapeServiceQueryMetricsParamsWithTimeout(timeout time.Duration) *AppscapeServiceQueryMetricsParams

NewAppscapeServiceQueryMetricsParamsWithTimeout creates a new AppscapeServiceQueryMetricsParams object with the ability to set a timeout on a request.

func (*AppscapeServiceQueryMetricsParams) SetBody

SetBody adds the body to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) SetContext

SetContext adds the context to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) SetDefaults

func (o *AppscapeServiceQueryMetricsParams) SetDefaults()

SetDefaults hydrates default values in the appscape service query metrics params (not the query body).

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

func (*AppscapeServiceQueryMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) WithBody

WithBody adds the body to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) WithContext

WithContext adds the context to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) WithDefaults

WithDefaults hydrates default values in the appscape service query metrics params (not the query body).

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

func (*AppscapeServiceQueryMetricsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) WithTimeout

WithTimeout adds the timeout to the appscape service query metrics params

func (*AppscapeServiceQueryMetricsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppscapeServiceQueryMetricsReader

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

AppscapeServiceQueryMetricsReader is a Reader for the AppscapeServiceQueryMetrics structure.

func (*AppscapeServiceQueryMetricsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for appscape service API

func (*Client) AppscapeServiceGetLogLabels

func (a *Client) AppscapeServiceGetLogLabels(params *AppscapeServiceGetLogLabelsParams, opts ...ClientOption) (*AppscapeServiceGetLogLabelsOK, error)

AppscapeServiceGetLogLabels retrieves all labels and possible values currently used to index the logs

func (*Client) AppscapeServiceGetMetricsMeta

func (a *Client) AppscapeServiceGetMetricsMeta(params *AppscapeServiceGetMetricsMetaParams, opts ...ClientOption) (*AppscapeServiceGetMetricsMetaOK, error)

AppscapeServiceGetMetricsMeta lists all available metrics in the system returning metric name and short description

func (*Client) AppscapeServiceQueryLogs

func (a *Client) AppscapeServiceQueryLogs(params *AppscapeServiceQueryLogsParams, opts ...ClientOption) (*AppscapeServiceQueryLogsOK, error)

AppscapeServiceQueryLogs retrieves all logs that match the provided filters

func (*Client) AppscapeServiceQueryMetrics

func (a *Client) AppscapeServiceQueryMetrics(params *AppscapeServiceQueryMetricsParams, opts ...ClientOption) (*AppscapeServiceQueryMetricsOK, error)

AppscapeServiceQueryMetrics retrieves data of a metrics matching the provided parameters

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.6.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AppscapeServiceGetLogLabels(params *AppscapeServiceGetLogLabelsParams, opts ...ClientOption) (*AppscapeServiceGetLogLabelsOK, error)

	AppscapeServiceGetMetricsMeta(params *AppscapeServiceGetMetricsMetaParams, opts ...ClientOption) (*AppscapeServiceGetMetricsMetaOK, error)

	AppscapeServiceQueryLogs(params *AppscapeServiceQueryLogsParams, opts ...ClientOption) (*AppscapeServiceQueryLogsOK, error)

	AppscapeServiceQueryMetrics(params *AppscapeServiceQueryMetricsParams, opts ...ClientOption) (*AppscapeServiceQueryMetricsOK, 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 appscape service API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL