reports

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for reports API

func (*Client) CollectionReport

func (a *Client) CollectionReport(params *CollectionReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CollectionReportOK, error)

CollectionReport collections level report

Summary of collections and their size

func (*Client) ContainerReport

func (a *Client) ContainerReport(params *ContainerReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerReportOK, error)

ContainerReport containers level report

Summary of containers and their size

func (*Client) EntityReport

func (a *Client) EntityReport(params *EntityReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EntityReportOK, error)

EntityReport projects entity quota level report

Summary of projects (entities) and their usage and quotas

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CollectionReport(params *CollectionReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CollectionReportOK, error)

	ContainerReport(params *ContainerReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerReportOK, error)

	EntityReport(params *EntityReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EntityReportOK, 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 reports API client.

type CollectionReportForbidden

type CollectionReportForbidden struct {
	Payload *models.Json403error
}
CollectionReportForbidden describes a response with status code 403, with default header values.

Unauthorized to get this report

func NewCollectionReportForbidden

func NewCollectionReportForbidden() *CollectionReportForbidden

NewCollectionReportForbidden creates a CollectionReportForbidden with default headers values

func (*CollectionReportForbidden) Error

func (o *CollectionReportForbidden) Error() string

func (*CollectionReportForbidden) GetPayload

type CollectionReportInternalServerError

type CollectionReportInternalServerError struct {
	Payload *models.Json500error
}
CollectionReportInternalServerError describes a response with status code 500, with default header values.

Server internal error

func NewCollectionReportInternalServerError

func NewCollectionReportInternalServerError() *CollectionReportInternalServerError

NewCollectionReportInternalServerError creates a CollectionReportInternalServerError with default headers values

func (*CollectionReportInternalServerError) Error

func (*CollectionReportInternalServerError) GetPayload

type CollectionReportOK

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

Success

func NewCollectionReportOK

func NewCollectionReportOK() *CollectionReportOK

NewCollectionReportOK creates a CollectionReportOK with default headers values

func (*CollectionReportOK) Error

func (o *CollectionReportOK) Error() string

func (*CollectionReportOK) GetPayload

type CollectionReportParams

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

CollectionReportParams contains all the parameters to send to the API endpoint

for the collection report operation.

Typically these are written to a http.Request.

func NewCollectionReportParams

func NewCollectionReportParams() *CollectionReportParams

NewCollectionReportParams creates a new CollectionReportParams 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 NewCollectionReportParamsWithContext

func NewCollectionReportParamsWithContext(ctx context.Context) *CollectionReportParams

NewCollectionReportParamsWithContext creates a new CollectionReportParams object with the ability to set a context for a request.

func NewCollectionReportParamsWithHTTPClient

func NewCollectionReportParamsWithHTTPClient(client *http.Client) *CollectionReportParams

NewCollectionReportParamsWithHTTPClient creates a new CollectionReportParams object with the ability to set a custom HTTPClient for a request.

func NewCollectionReportParamsWithTimeout

func NewCollectionReportParamsWithTimeout(timeout time.Duration) *CollectionReportParams

NewCollectionReportParamsWithTimeout creates a new CollectionReportParams object with the ability to set a timeout on a request.

func (*CollectionReportParams) SetContext

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

SetContext adds the context to the collection report params

func (*CollectionReportParams) SetDefaults

func (o *CollectionReportParams) SetDefaults()

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

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

func (*CollectionReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the collection report params

func (*CollectionReportParams) SetTimeout

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

SetTimeout adds the timeout to the collection report params

func (*CollectionReportParams) WithContext

WithContext adds the context to the collection report params

func (*CollectionReportParams) WithDefaults

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

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

func (*CollectionReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the collection report params

func (*CollectionReportParams) WithTimeout

WithTimeout adds the timeout to the collection report params

func (*CollectionReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CollectionReportReader

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

CollectionReportReader is a Reader for the CollectionReport structure.

func (*CollectionReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CollectionReportUnauthorized

type CollectionReportUnauthorized struct {
	Payload *models.Json401error
}
CollectionReportUnauthorized describes a response with status code 401, with default header values.

Unauthorized to get this report

func NewCollectionReportUnauthorized

func NewCollectionReportUnauthorized() *CollectionReportUnauthorized

NewCollectionReportUnauthorized creates a CollectionReportUnauthorized with default headers values

func (*CollectionReportUnauthorized) Error

func (*CollectionReportUnauthorized) GetPayload

type ContainerReportForbidden

type ContainerReportForbidden struct {
	Payload *models.Json403error
}
ContainerReportForbidden describes a response with status code 403, with default header values.

Unauthorized to get this report

func NewContainerReportForbidden

func NewContainerReportForbidden() *ContainerReportForbidden

NewContainerReportForbidden creates a ContainerReportForbidden with default headers values

func (*ContainerReportForbidden) Error

func (o *ContainerReportForbidden) Error() string

func (*ContainerReportForbidden) GetPayload

func (o *ContainerReportForbidden) GetPayload() *models.Json403error

type ContainerReportInternalServerError

type ContainerReportInternalServerError struct {
	Payload *models.Json500error
}
ContainerReportInternalServerError describes a response with status code 500, with default header values.

Server internal error

func NewContainerReportInternalServerError

func NewContainerReportInternalServerError() *ContainerReportInternalServerError

NewContainerReportInternalServerError creates a ContainerReportInternalServerError with default headers values

func (*ContainerReportInternalServerError) Error

func (*ContainerReportInternalServerError) GetPayload

type ContainerReportOK

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

Success

func NewContainerReportOK

func NewContainerReportOK() *ContainerReportOK

NewContainerReportOK creates a ContainerReportOK with default headers values

func (*ContainerReportOK) Error

func (o *ContainerReportOK) Error() string

func (*ContainerReportOK) GetPayload

type ContainerReportParams

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

ContainerReportParams contains all the parameters to send to the API endpoint

for the container report operation.

Typically these are written to a http.Request.

func NewContainerReportParams

func NewContainerReportParams() *ContainerReportParams

NewContainerReportParams creates a new ContainerReportParams 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 NewContainerReportParamsWithContext

func NewContainerReportParamsWithContext(ctx context.Context) *ContainerReportParams

NewContainerReportParamsWithContext creates a new ContainerReportParams object with the ability to set a context for a request.

func NewContainerReportParamsWithHTTPClient

func NewContainerReportParamsWithHTTPClient(client *http.Client) *ContainerReportParams

NewContainerReportParamsWithHTTPClient creates a new ContainerReportParams object with the ability to set a custom HTTPClient for a request.

func NewContainerReportParamsWithTimeout

func NewContainerReportParamsWithTimeout(timeout time.Duration) *ContainerReportParams

NewContainerReportParamsWithTimeout creates a new ContainerReportParams object with the ability to set a timeout on a request.

func (*ContainerReportParams) SetContext

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

SetContext adds the context to the container report params

func (*ContainerReportParams) SetDefaults

func (o *ContainerReportParams) SetDefaults()

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

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

func (*ContainerReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container report params

func (*ContainerReportParams) SetTimeout

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

SetTimeout adds the timeout to the container report params

func (*ContainerReportParams) WithContext

WithContext adds the context to the container report params

func (*ContainerReportParams) WithDefaults

func (o *ContainerReportParams) WithDefaults() *ContainerReportParams

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

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

func (*ContainerReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container report params

func (*ContainerReportParams) WithTimeout

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

WithTimeout adds the timeout to the container report params

func (*ContainerReportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ContainerReportReader

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

ContainerReportReader is a Reader for the ContainerReport structure.

func (*ContainerReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerReportUnauthorized

type ContainerReportUnauthorized struct {
	Payload *models.Json401error
}
ContainerReportUnauthorized describes a response with status code 401, with default header values.

Unauthorized to get this report

func NewContainerReportUnauthorized

func NewContainerReportUnauthorized() *ContainerReportUnauthorized

NewContainerReportUnauthorized creates a ContainerReportUnauthorized with default headers values

func (*ContainerReportUnauthorized) Error

func (*ContainerReportUnauthorized) GetPayload

type EntityReportForbidden

type EntityReportForbidden struct {
	Payload *models.Json403error
}
EntityReportForbidden describes a response with status code 403, with default header values.

Unauthorized to get this report

func NewEntityReportForbidden

func NewEntityReportForbidden() *EntityReportForbidden

NewEntityReportForbidden creates a EntityReportForbidden with default headers values

func (*EntityReportForbidden) Error

func (o *EntityReportForbidden) Error() string

func (*EntityReportForbidden) GetPayload

func (o *EntityReportForbidden) GetPayload() *models.Json403error

type EntityReportInternalServerError

type EntityReportInternalServerError struct {
	Payload *models.Json500error
}
EntityReportInternalServerError describes a response with status code 500, with default header values.

Server internal error

func NewEntityReportInternalServerError

func NewEntityReportInternalServerError() *EntityReportInternalServerError

NewEntityReportInternalServerError creates a EntityReportInternalServerError with default headers values

func (*EntityReportInternalServerError) Error

func (*EntityReportInternalServerError) GetPayload

type EntityReportOK

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

Success

func NewEntityReportOK

func NewEntityReportOK() *EntityReportOK

NewEntityReportOK creates a EntityReportOK with default headers values

func (*EntityReportOK) Error

func (o *EntityReportOK) Error() string

func (*EntityReportOK) GetPayload

func (o *EntityReportOK) GetPayload() *models.EntityReportResponse

type EntityReportParams

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

EntityReportParams contains all the parameters to send to the API endpoint

for the entity report operation.

Typically these are written to a http.Request.

func NewEntityReportParams

func NewEntityReportParams() *EntityReportParams

NewEntityReportParams creates a new EntityReportParams 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 NewEntityReportParamsWithContext

func NewEntityReportParamsWithContext(ctx context.Context) *EntityReportParams

NewEntityReportParamsWithContext creates a new EntityReportParams object with the ability to set a context for a request.

func NewEntityReportParamsWithHTTPClient

func NewEntityReportParamsWithHTTPClient(client *http.Client) *EntityReportParams

NewEntityReportParamsWithHTTPClient creates a new EntityReportParams object with the ability to set a custom HTTPClient for a request.

func NewEntityReportParamsWithTimeout

func NewEntityReportParamsWithTimeout(timeout time.Duration) *EntityReportParams

NewEntityReportParamsWithTimeout creates a new EntityReportParams object with the ability to set a timeout on a request.

func (*EntityReportParams) SetContext

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

SetContext adds the context to the entity report params

func (*EntityReportParams) SetDefaults

func (o *EntityReportParams) SetDefaults()

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

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

func (*EntityReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the entity report params

func (*EntityReportParams) SetTimeout

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

SetTimeout adds the timeout to the entity report params

func (*EntityReportParams) WithContext

WithContext adds the context to the entity report params

func (*EntityReportParams) WithDefaults

func (o *EntityReportParams) WithDefaults() *EntityReportParams

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

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

func (*EntityReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the entity report params

func (*EntityReportParams) WithTimeout

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

WithTimeout adds the timeout to the entity report params

func (*EntityReportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EntityReportReader

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

EntityReportReader is a Reader for the EntityReport structure.

func (*EntityReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EntityReportUnauthorized

type EntityReportUnauthorized struct {
	Payload *models.Json401error
}
EntityReportUnauthorized describes a response with status code 401, with default header values.

Unauthorized to get this report

func NewEntityReportUnauthorized

func NewEntityReportUnauthorized() *EntityReportUnauthorized

NewEntityReportUnauthorized creates a EntityReportUnauthorized with default headers values

func (*EntityReportUnauthorized) Error

func (o *EntityReportUnauthorized) Error() string

func (*EntityReportUnauthorized) GetPayload

func (o *EntityReportUnauthorized) GetPayload() *models.Json401error

Jump to

Keyboard shortcuts

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