Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteKubernetesEfficiencyReport(params *DeleteKubernetesEfficiencyReportParams, ...) (*DeleteKubernetesEfficiencyReportNoContent, error)
- func (a *Client) GetKubernetesEfficiencyReport(params *GetKubernetesEfficiencyReportParams, ...) (*GetKubernetesEfficiencyReportOK, error)
- func (a *Client) GetKubernetesEfficiencyReports(params *GetKubernetesEfficiencyReportsParams, ...) (*GetKubernetesEfficiencyReportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteKubernetesEfficiencyReportNoContent
- func (o *DeleteKubernetesEfficiencyReportNoContent) Code() int
- func (o *DeleteKubernetesEfficiencyReportNoContent) Error() string
- func (o *DeleteKubernetesEfficiencyReportNoContent) GetPayload() *models.KubernetesEfficiencyReport
- func (o *DeleteKubernetesEfficiencyReportNoContent) IsClientError() bool
- func (o *DeleteKubernetesEfficiencyReportNoContent) IsCode(code int) bool
- func (o *DeleteKubernetesEfficiencyReportNoContent) IsRedirect() bool
- func (o *DeleteKubernetesEfficiencyReportNoContent) IsServerError() bool
- func (o *DeleteKubernetesEfficiencyReportNoContent) IsSuccess() bool
- func (o *DeleteKubernetesEfficiencyReportNoContent) String() string
- type DeleteKubernetesEfficiencyReportNotFound
- func (o *DeleteKubernetesEfficiencyReportNotFound) Code() int
- func (o *DeleteKubernetesEfficiencyReportNotFound) Error() string
- func (o *DeleteKubernetesEfficiencyReportNotFound) GetPayload() *models.Errors
- func (o *DeleteKubernetesEfficiencyReportNotFound) IsClientError() bool
- func (o *DeleteKubernetesEfficiencyReportNotFound) IsCode(code int) bool
- func (o *DeleteKubernetesEfficiencyReportNotFound) IsRedirect() bool
- func (o *DeleteKubernetesEfficiencyReportNotFound) IsServerError() bool
- func (o *DeleteKubernetesEfficiencyReportNotFound) IsSuccess() bool
- func (o *DeleteKubernetesEfficiencyReportNotFound) String() string
- type DeleteKubernetesEfficiencyReportParams
- func NewDeleteKubernetesEfficiencyReportParams() *DeleteKubernetesEfficiencyReportParams
- func NewDeleteKubernetesEfficiencyReportParamsWithContext(ctx context.Context) *DeleteKubernetesEfficiencyReportParams
- func NewDeleteKubernetesEfficiencyReportParamsWithHTTPClient(client *http.Client) *DeleteKubernetesEfficiencyReportParams
- func NewDeleteKubernetesEfficiencyReportParamsWithTimeout(timeout time.Duration) *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) SetContext(ctx context.Context)
- func (o *DeleteKubernetesEfficiencyReportParams) SetDefaults()
- func (o *DeleteKubernetesEfficiencyReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string)
- func (o *DeleteKubernetesEfficiencyReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteKubernetesEfficiencyReportParams) WithContext(ctx context.Context) *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) WithDefaults() *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) WithHTTPClient(client *http.Client) *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string) *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) WithTimeout(timeout time.Duration) *DeleteKubernetesEfficiencyReportParams
- func (o *DeleteKubernetesEfficiencyReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteKubernetesEfficiencyReportReader
- type GetKubernetesEfficiencyReportNotFound
- func (o *GetKubernetesEfficiencyReportNotFound) Code() int
- func (o *GetKubernetesEfficiencyReportNotFound) Error() string
- func (o *GetKubernetesEfficiencyReportNotFound) GetPayload() *models.Errors
- func (o *GetKubernetesEfficiencyReportNotFound) IsClientError() bool
- func (o *GetKubernetesEfficiencyReportNotFound) IsCode(code int) bool
- func (o *GetKubernetesEfficiencyReportNotFound) IsRedirect() bool
- func (o *GetKubernetesEfficiencyReportNotFound) IsServerError() bool
- func (o *GetKubernetesEfficiencyReportNotFound) IsSuccess() bool
- func (o *GetKubernetesEfficiencyReportNotFound) String() string
- type GetKubernetesEfficiencyReportOK
- func (o *GetKubernetesEfficiencyReportOK) Code() int
- func (o *GetKubernetesEfficiencyReportOK) Error() string
- func (o *GetKubernetesEfficiencyReportOK) GetPayload() *models.KubernetesEfficiencyReport
- func (o *GetKubernetesEfficiencyReportOK) IsClientError() bool
- func (o *GetKubernetesEfficiencyReportOK) IsCode(code int) bool
- func (o *GetKubernetesEfficiencyReportOK) IsRedirect() bool
- func (o *GetKubernetesEfficiencyReportOK) IsServerError() bool
- func (o *GetKubernetesEfficiencyReportOK) IsSuccess() bool
- func (o *GetKubernetesEfficiencyReportOK) String() string
- type GetKubernetesEfficiencyReportParams
- func NewGetKubernetesEfficiencyReportParams() *GetKubernetesEfficiencyReportParams
- func NewGetKubernetesEfficiencyReportParamsWithContext(ctx context.Context) *GetKubernetesEfficiencyReportParams
- func NewGetKubernetesEfficiencyReportParamsWithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportParams
- func NewGetKubernetesEfficiencyReportParamsWithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) SetContext(ctx context.Context)
- func (o *GetKubernetesEfficiencyReportParams) SetDefaults()
- func (o *GetKubernetesEfficiencyReportParams) SetHTTPClient(client *http.Client)
- func (o *GetKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string)
- func (o *GetKubernetesEfficiencyReportParams) SetTimeout(timeout time.Duration)
- func (o *GetKubernetesEfficiencyReportParams) WithContext(ctx context.Context) *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) WithDefaults() *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) WithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string) *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) WithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportParams
- func (o *GetKubernetesEfficiencyReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubernetesEfficiencyReportReader
- type GetKubernetesEfficiencyReportsOK
- func (o *GetKubernetesEfficiencyReportsOK) Code() int
- func (o *GetKubernetesEfficiencyReportsOK) Error() string
- func (o *GetKubernetesEfficiencyReportsOK) GetPayload() *models.KubernetesEfficiencyReports
- func (o *GetKubernetesEfficiencyReportsOK) IsClientError() bool
- func (o *GetKubernetesEfficiencyReportsOK) IsCode(code int) bool
- func (o *GetKubernetesEfficiencyReportsOK) IsRedirect() bool
- func (o *GetKubernetesEfficiencyReportsOK) IsServerError() bool
- func (o *GetKubernetesEfficiencyReportsOK) IsSuccess() bool
- func (o *GetKubernetesEfficiencyReportsOK) String() string
- type GetKubernetesEfficiencyReportsParams
- func NewGetKubernetesEfficiencyReportsParams() *GetKubernetesEfficiencyReportsParams
- func NewGetKubernetesEfficiencyReportsParamsWithContext(ctx context.Context) *GetKubernetesEfficiencyReportsParams
- func NewGetKubernetesEfficiencyReportsParamsWithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportsParams
- func NewGetKubernetesEfficiencyReportsParamsWithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) SetContext(ctx context.Context)
- func (o *GetKubernetesEfficiencyReportsParams) SetDefaults()
- func (o *GetKubernetesEfficiencyReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetKubernetesEfficiencyReportsParams) SetLimit(limit *int32)
- func (o *GetKubernetesEfficiencyReportsParams) SetPage(page *int32)
- func (o *GetKubernetesEfficiencyReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetKubernetesEfficiencyReportsParams) WithContext(ctx context.Context) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WithDefaults() *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WithLimit(limit *int32) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WithPage(page *int32) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportsParams
- func (o *GetKubernetesEfficiencyReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubernetesEfficiencyReportsReader
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 kubernetes efficiency reports API
func (*Client) DeleteKubernetesEfficiencyReport ¶
func (a *Client) DeleteKubernetesEfficiencyReport(params *DeleteKubernetesEfficiencyReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKubernetesEfficiencyReportNoContent, error)
DeleteKubernetesEfficiencyReport Delete a KubernetesEfficiencyReport.
func (*Client) GetKubernetesEfficiencyReport ¶
func (a *Client) GetKubernetesEfficiencyReport(params *GetKubernetesEfficiencyReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubernetesEfficiencyReportOK, error)
GetKubernetesEfficiencyReport Return a KubernetesEfficiencyReport.
func (*Client) GetKubernetesEfficiencyReports ¶
func (a *Client) GetKubernetesEfficiencyReports(params *GetKubernetesEfficiencyReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubernetesEfficiencyReportsOK, error)
GetKubernetesEfficiencyReports Return all KubernetesEfficiencyReports.
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 { DeleteKubernetesEfficiencyReport(params *DeleteKubernetesEfficiencyReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKubernetesEfficiencyReportNoContent, error) GetKubernetesEfficiencyReport(params *GetKubernetesEfficiencyReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubernetesEfficiencyReportOK, error) GetKubernetesEfficiencyReports(params *GetKubernetesEfficiencyReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubernetesEfficiencyReportsOK, 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 kubernetes efficiency reports API client.
type DeleteKubernetesEfficiencyReportNoContent ¶
type DeleteKubernetesEfficiencyReportNoContent struct {
Payload *models.KubernetesEfficiencyReport
}
DeleteKubernetesEfficiencyReportNoContent describes a response with status code 204, with default header values.
DeleteKubernetesEfficiencyReportNoContent delete kubernetes efficiency report no content
func NewDeleteKubernetesEfficiencyReportNoContent ¶
func NewDeleteKubernetesEfficiencyReportNoContent() *DeleteKubernetesEfficiencyReportNoContent
NewDeleteKubernetesEfficiencyReportNoContent creates a DeleteKubernetesEfficiencyReportNoContent with default headers values
func (*DeleteKubernetesEfficiencyReportNoContent) Code ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) Code() int
Code gets the status code for the delete kubernetes efficiency report no content response
func (*DeleteKubernetesEfficiencyReportNoContent) Error ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) Error() string
func (*DeleteKubernetesEfficiencyReportNoContent) GetPayload ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) GetPayload() *models.KubernetesEfficiencyReport
func (*DeleteKubernetesEfficiencyReportNoContent) IsClientError ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) IsClientError() bool
IsClientError returns true when this delete kubernetes efficiency report no content response has a 4xx status code
func (*DeleteKubernetesEfficiencyReportNoContent) IsCode ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) IsCode(code int) bool
IsCode returns true when this delete kubernetes efficiency report no content response a status code equal to that given
func (*DeleteKubernetesEfficiencyReportNoContent) IsRedirect ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) IsRedirect() bool
IsRedirect returns true when this delete kubernetes efficiency report no content response has a 3xx status code
func (*DeleteKubernetesEfficiencyReportNoContent) IsServerError ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) IsServerError() bool
IsServerError returns true when this delete kubernetes efficiency report no content response has a 5xx status code
func (*DeleteKubernetesEfficiencyReportNoContent) IsSuccess ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) IsSuccess() bool
IsSuccess returns true when this delete kubernetes efficiency report no content response has a 2xx status code
func (*DeleteKubernetesEfficiencyReportNoContent) String ¶
func (o *DeleteKubernetesEfficiencyReportNoContent) String() string
type DeleteKubernetesEfficiencyReportNotFound ¶
DeleteKubernetesEfficiencyReportNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteKubernetesEfficiencyReportNotFound ¶
func NewDeleteKubernetesEfficiencyReportNotFound() *DeleteKubernetesEfficiencyReportNotFound
NewDeleteKubernetesEfficiencyReportNotFound creates a DeleteKubernetesEfficiencyReportNotFound with default headers values
func (*DeleteKubernetesEfficiencyReportNotFound) Code ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) Code() int
Code gets the status code for the delete kubernetes efficiency report not found response
func (*DeleteKubernetesEfficiencyReportNotFound) Error ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) Error() string
func (*DeleteKubernetesEfficiencyReportNotFound) GetPayload ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) GetPayload() *models.Errors
func (*DeleteKubernetesEfficiencyReportNotFound) IsClientError ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) IsClientError() bool
IsClientError returns true when this delete kubernetes efficiency report not found response has a 4xx status code
func (*DeleteKubernetesEfficiencyReportNotFound) IsCode ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) IsCode(code int) bool
IsCode returns true when this delete kubernetes efficiency report not found response a status code equal to that given
func (*DeleteKubernetesEfficiencyReportNotFound) IsRedirect ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) IsRedirect() bool
IsRedirect returns true when this delete kubernetes efficiency report not found response has a 3xx status code
func (*DeleteKubernetesEfficiencyReportNotFound) IsServerError ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) IsServerError() bool
IsServerError returns true when this delete kubernetes efficiency report not found response has a 5xx status code
func (*DeleteKubernetesEfficiencyReportNotFound) IsSuccess ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) IsSuccess() bool
IsSuccess returns true when this delete kubernetes efficiency report not found response has a 2xx status code
func (*DeleteKubernetesEfficiencyReportNotFound) String ¶
func (o *DeleteKubernetesEfficiencyReportNotFound) String() string
type DeleteKubernetesEfficiencyReportParams ¶
type DeleteKubernetesEfficiencyReportParams struct { // KubernetesEfficiencyReportToken. KubernetesEfficiencyReportToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteKubernetesEfficiencyReportParams contains all the parameters to send to the API endpoint
for the delete kubernetes efficiency report operation. Typically these are written to a http.Request.
func NewDeleteKubernetesEfficiencyReportParams ¶
func NewDeleteKubernetesEfficiencyReportParams() *DeleteKubernetesEfficiencyReportParams
NewDeleteKubernetesEfficiencyReportParams creates a new DeleteKubernetesEfficiencyReportParams 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 NewDeleteKubernetesEfficiencyReportParamsWithContext ¶
func NewDeleteKubernetesEfficiencyReportParamsWithContext(ctx context.Context) *DeleteKubernetesEfficiencyReportParams
NewDeleteKubernetesEfficiencyReportParamsWithContext creates a new DeleteKubernetesEfficiencyReportParams object with the ability to set a context for a request.
func NewDeleteKubernetesEfficiencyReportParamsWithHTTPClient ¶
func NewDeleteKubernetesEfficiencyReportParamsWithHTTPClient(client *http.Client) *DeleteKubernetesEfficiencyReportParams
NewDeleteKubernetesEfficiencyReportParamsWithHTTPClient creates a new DeleteKubernetesEfficiencyReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteKubernetesEfficiencyReportParamsWithTimeout ¶
func NewDeleteKubernetesEfficiencyReportParamsWithTimeout(timeout time.Duration) *DeleteKubernetesEfficiencyReportParams
NewDeleteKubernetesEfficiencyReportParamsWithTimeout creates a new DeleteKubernetesEfficiencyReportParams object with the ability to set a timeout on a request.
func (*DeleteKubernetesEfficiencyReportParams) SetContext ¶
func (o *DeleteKubernetesEfficiencyReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) SetDefaults ¶
func (o *DeleteKubernetesEfficiencyReportParams) SetDefaults()
SetDefaults hydrates default values in the delete kubernetes efficiency report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKubernetesEfficiencyReportParams) SetHTTPClient ¶
func (o *DeleteKubernetesEfficiencyReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken ¶
func (o *DeleteKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string)
SetKubernetesEfficiencyReportToken adds the kubernetesEfficiencyReportToken to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) SetTimeout ¶
func (o *DeleteKubernetesEfficiencyReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) WithContext ¶
func (o *DeleteKubernetesEfficiencyReportParams) WithContext(ctx context.Context) *DeleteKubernetesEfficiencyReportParams
WithContext adds the context to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) WithDefaults ¶
func (o *DeleteKubernetesEfficiencyReportParams) WithDefaults() *DeleteKubernetesEfficiencyReportParams
WithDefaults hydrates default values in the delete kubernetes efficiency report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKubernetesEfficiencyReportParams) WithHTTPClient ¶
func (o *DeleteKubernetesEfficiencyReportParams) WithHTTPClient(client *http.Client) *DeleteKubernetesEfficiencyReportParams
WithHTTPClient adds the HTTPClient to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken ¶
func (o *DeleteKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string) *DeleteKubernetesEfficiencyReportParams
WithKubernetesEfficiencyReportToken adds the kubernetesEfficiencyReportToken to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) WithTimeout ¶
func (o *DeleteKubernetesEfficiencyReportParams) WithTimeout(timeout time.Duration) *DeleteKubernetesEfficiencyReportParams
WithTimeout adds the timeout to the delete kubernetes efficiency report params
func (*DeleteKubernetesEfficiencyReportParams) WriteToRequest ¶
func (o *DeleteKubernetesEfficiencyReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteKubernetesEfficiencyReportReader ¶
type DeleteKubernetesEfficiencyReportReader struct {
// contains filtered or unexported fields
}
DeleteKubernetesEfficiencyReportReader is a Reader for the DeleteKubernetesEfficiencyReport structure.
func (*DeleteKubernetesEfficiencyReportReader) ReadResponse ¶
func (o *DeleteKubernetesEfficiencyReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKubernetesEfficiencyReportNotFound ¶
GetKubernetesEfficiencyReportNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetKubernetesEfficiencyReportNotFound ¶
func NewGetKubernetesEfficiencyReportNotFound() *GetKubernetesEfficiencyReportNotFound
NewGetKubernetesEfficiencyReportNotFound creates a GetKubernetesEfficiencyReportNotFound with default headers values
func (*GetKubernetesEfficiencyReportNotFound) Code ¶
func (o *GetKubernetesEfficiencyReportNotFound) Code() int
Code gets the status code for the get kubernetes efficiency report not found response
func (*GetKubernetesEfficiencyReportNotFound) Error ¶
func (o *GetKubernetesEfficiencyReportNotFound) Error() string
func (*GetKubernetesEfficiencyReportNotFound) GetPayload ¶
func (o *GetKubernetesEfficiencyReportNotFound) GetPayload() *models.Errors
func (*GetKubernetesEfficiencyReportNotFound) IsClientError ¶
func (o *GetKubernetesEfficiencyReportNotFound) IsClientError() bool
IsClientError returns true when this get kubernetes efficiency report not found response has a 4xx status code
func (*GetKubernetesEfficiencyReportNotFound) IsCode ¶
func (o *GetKubernetesEfficiencyReportNotFound) IsCode(code int) bool
IsCode returns true when this get kubernetes efficiency report not found response a status code equal to that given
func (*GetKubernetesEfficiencyReportNotFound) IsRedirect ¶
func (o *GetKubernetesEfficiencyReportNotFound) IsRedirect() bool
IsRedirect returns true when this get kubernetes efficiency report not found response has a 3xx status code
func (*GetKubernetesEfficiencyReportNotFound) IsServerError ¶
func (o *GetKubernetesEfficiencyReportNotFound) IsServerError() bool
IsServerError returns true when this get kubernetes efficiency report not found response has a 5xx status code
func (*GetKubernetesEfficiencyReportNotFound) IsSuccess ¶
func (o *GetKubernetesEfficiencyReportNotFound) IsSuccess() bool
IsSuccess returns true when this get kubernetes efficiency report not found response has a 2xx status code
func (*GetKubernetesEfficiencyReportNotFound) String ¶
func (o *GetKubernetesEfficiencyReportNotFound) String() string
type GetKubernetesEfficiencyReportOK ¶
type GetKubernetesEfficiencyReportOK struct {
Payload *models.KubernetesEfficiencyReport
}
GetKubernetesEfficiencyReportOK describes a response with status code 200, with default header values.
GetKubernetesEfficiencyReportOK get kubernetes efficiency report o k
func NewGetKubernetesEfficiencyReportOK ¶
func NewGetKubernetesEfficiencyReportOK() *GetKubernetesEfficiencyReportOK
NewGetKubernetesEfficiencyReportOK creates a GetKubernetesEfficiencyReportOK with default headers values
func (*GetKubernetesEfficiencyReportOK) Code ¶
func (o *GetKubernetesEfficiencyReportOK) Code() int
Code gets the status code for the get kubernetes efficiency report o k response
func (*GetKubernetesEfficiencyReportOK) Error ¶
func (o *GetKubernetesEfficiencyReportOK) Error() string
func (*GetKubernetesEfficiencyReportOK) GetPayload ¶
func (o *GetKubernetesEfficiencyReportOK) GetPayload() *models.KubernetesEfficiencyReport
func (*GetKubernetesEfficiencyReportOK) IsClientError ¶
func (o *GetKubernetesEfficiencyReportOK) IsClientError() bool
IsClientError returns true when this get kubernetes efficiency report o k response has a 4xx status code
func (*GetKubernetesEfficiencyReportOK) IsCode ¶
func (o *GetKubernetesEfficiencyReportOK) IsCode(code int) bool
IsCode returns true when this get kubernetes efficiency report o k response a status code equal to that given
func (*GetKubernetesEfficiencyReportOK) IsRedirect ¶
func (o *GetKubernetesEfficiencyReportOK) IsRedirect() bool
IsRedirect returns true when this get kubernetes efficiency report o k response has a 3xx status code
func (*GetKubernetesEfficiencyReportOK) IsServerError ¶
func (o *GetKubernetesEfficiencyReportOK) IsServerError() bool
IsServerError returns true when this get kubernetes efficiency report o k response has a 5xx status code
func (*GetKubernetesEfficiencyReportOK) IsSuccess ¶
func (o *GetKubernetesEfficiencyReportOK) IsSuccess() bool
IsSuccess returns true when this get kubernetes efficiency report o k response has a 2xx status code
func (*GetKubernetesEfficiencyReportOK) String ¶
func (o *GetKubernetesEfficiencyReportOK) String() string
type GetKubernetesEfficiencyReportParams ¶
type GetKubernetesEfficiencyReportParams struct { // KubernetesEfficiencyReportToken. KubernetesEfficiencyReportToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubernetesEfficiencyReportParams contains all the parameters to send to the API endpoint
for the get kubernetes efficiency report operation. Typically these are written to a http.Request.
func NewGetKubernetesEfficiencyReportParams ¶
func NewGetKubernetesEfficiencyReportParams() *GetKubernetesEfficiencyReportParams
NewGetKubernetesEfficiencyReportParams creates a new GetKubernetesEfficiencyReportParams 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 NewGetKubernetesEfficiencyReportParamsWithContext ¶
func NewGetKubernetesEfficiencyReportParamsWithContext(ctx context.Context) *GetKubernetesEfficiencyReportParams
NewGetKubernetesEfficiencyReportParamsWithContext creates a new GetKubernetesEfficiencyReportParams object with the ability to set a context for a request.
func NewGetKubernetesEfficiencyReportParamsWithHTTPClient ¶
func NewGetKubernetesEfficiencyReportParamsWithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportParams
NewGetKubernetesEfficiencyReportParamsWithHTTPClient creates a new GetKubernetesEfficiencyReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetKubernetesEfficiencyReportParamsWithTimeout ¶
func NewGetKubernetesEfficiencyReportParamsWithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportParams
NewGetKubernetesEfficiencyReportParamsWithTimeout creates a new GetKubernetesEfficiencyReportParams object with the ability to set a timeout on a request.
func (*GetKubernetesEfficiencyReportParams) SetContext ¶
func (o *GetKubernetesEfficiencyReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) SetDefaults ¶
func (o *GetKubernetesEfficiencyReportParams) SetDefaults()
SetDefaults hydrates default values in the get kubernetes efficiency report params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesEfficiencyReportParams) SetHTTPClient ¶
func (o *GetKubernetesEfficiencyReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken ¶
func (o *GetKubernetesEfficiencyReportParams) SetKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string)
SetKubernetesEfficiencyReportToken adds the kubernetesEfficiencyReportToken to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) SetTimeout ¶
func (o *GetKubernetesEfficiencyReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) WithContext ¶
func (o *GetKubernetesEfficiencyReportParams) WithContext(ctx context.Context) *GetKubernetesEfficiencyReportParams
WithContext adds the context to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) WithDefaults ¶
func (o *GetKubernetesEfficiencyReportParams) WithDefaults() *GetKubernetesEfficiencyReportParams
WithDefaults hydrates default values in the get kubernetes efficiency report params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesEfficiencyReportParams) WithHTTPClient ¶
func (o *GetKubernetesEfficiencyReportParams) WithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportParams
WithHTTPClient adds the HTTPClient to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken ¶
func (o *GetKubernetesEfficiencyReportParams) WithKubernetesEfficiencyReportToken(kubernetesEfficiencyReportToken string) *GetKubernetesEfficiencyReportParams
WithKubernetesEfficiencyReportToken adds the kubernetesEfficiencyReportToken to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) WithTimeout ¶
func (o *GetKubernetesEfficiencyReportParams) WithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportParams
WithTimeout adds the timeout to the get kubernetes efficiency report params
func (*GetKubernetesEfficiencyReportParams) WriteToRequest ¶
func (o *GetKubernetesEfficiencyReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubernetesEfficiencyReportReader ¶
type GetKubernetesEfficiencyReportReader struct {
// contains filtered or unexported fields
}
GetKubernetesEfficiencyReportReader is a Reader for the GetKubernetesEfficiencyReport structure.
func (*GetKubernetesEfficiencyReportReader) ReadResponse ¶
func (o *GetKubernetesEfficiencyReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKubernetesEfficiencyReportsOK ¶
type GetKubernetesEfficiencyReportsOK struct {
Payload *models.KubernetesEfficiencyReports
}
GetKubernetesEfficiencyReportsOK describes a response with status code 200, with default header values.
GetKubernetesEfficiencyReportsOK get kubernetes efficiency reports o k
func NewGetKubernetesEfficiencyReportsOK ¶
func NewGetKubernetesEfficiencyReportsOK() *GetKubernetesEfficiencyReportsOK
NewGetKubernetesEfficiencyReportsOK creates a GetKubernetesEfficiencyReportsOK with default headers values
func (*GetKubernetesEfficiencyReportsOK) Code ¶
func (o *GetKubernetesEfficiencyReportsOK) Code() int
Code gets the status code for the get kubernetes efficiency reports o k response
func (*GetKubernetesEfficiencyReportsOK) Error ¶
func (o *GetKubernetesEfficiencyReportsOK) Error() string
func (*GetKubernetesEfficiencyReportsOK) GetPayload ¶
func (o *GetKubernetesEfficiencyReportsOK) GetPayload() *models.KubernetesEfficiencyReports
func (*GetKubernetesEfficiencyReportsOK) IsClientError ¶
func (o *GetKubernetesEfficiencyReportsOK) IsClientError() bool
IsClientError returns true when this get kubernetes efficiency reports o k response has a 4xx status code
func (*GetKubernetesEfficiencyReportsOK) IsCode ¶
func (o *GetKubernetesEfficiencyReportsOK) IsCode(code int) bool
IsCode returns true when this get kubernetes efficiency reports o k response a status code equal to that given
func (*GetKubernetesEfficiencyReportsOK) IsRedirect ¶
func (o *GetKubernetesEfficiencyReportsOK) IsRedirect() bool
IsRedirect returns true when this get kubernetes efficiency reports o k response has a 3xx status code
func (*GetKubernetesEfficiencyReportsOK) IsServerError ¶
func (o *GetKubernetesEfficiencyReportsOK) IsServerError() bool
IsServerError returns true when this get kubernetes efficiency reports o k response has a 5xx status code
func (*GetKubernetesEfficiencyReportsOK) IsSuccess ¶
func (o *GetKubernetesEfficiencyReportsOK) IsSuccess() bool
IsSuccess returns true when this get kubernetes efficiency reports o k response has a 2xx status code
func (*GetKubernetesEfficiencyReportsOK) String ¶
func (o *GetKubernetesEfficiencyReportsOK) String() string
type GetKubernetesEfficiencyReportsParams ¶
type GetKubernetesEfficiencyReportsParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubernetesEfficiencyReportsParams contains all the parameters to send to the API endpoint
for the get kubernetes efficiency reports operation. Typically these are written to a http.Request.
func NewGetKubernetesEfficiencyReportsParams ¶
func NewGetKubernetesEfficiencyReportsParams() *GetKubernetesEfficiencyReportsParams
NewGetKubernetesEfficiencyReportsParams creates a new GetKubernetesEfficiencyReportsParams 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 NewGetKubernetesEfficiencyReportsParamsWithContext ¶
func NewGetKubernetesEfficiencyReportsParamsWithContext(ctx context.Context) *GetKubernetesEfficiencyReportsParams
NewGetKubernetesEfficiencyReportsParamsWithContext creates a new GetKubernetesEfficiencyReportsParams object with the ability to set a context for a request.
func NewGetKubernetesEfficiencyReportsParamsWithHTTPClient ¶
func NewGetKubernetesEfficiencyReportsParamsWithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportsParams
NewGetKubernetesEfficiencyReportsParamsWithHTTPClient creates a new GetKubernetesEfficiencyReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetKubernetesEfficiencyReportsParamsWithTimeout ¶
func NewGetKubernetesEfficiencyReportsParamsWithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportsParams
NewGetKubernetesEfficiencyReportsParamsWithTimeout creates a new GetKubernetesEfficiencyReportsParams object with the ability to set a timeout on a request.
func (*GetKubernetesEfficiencyReportsParams) SetContext ¶
func (o *GetKubernetesEfficiencyReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) SetDefaults ¶
func (o *GetKubernetesEfficiencyReportsParams) SetDefaults()
SetDefaults hydrates default values in the get kubernetes efficiency reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesEfficiencyReportsParams) SetHTTPClient ¶
func (o *GetKubernetesEfficiencyReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) SetLimit ¶
func (o *GetKubernetesEfficiencyReportsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) SetPage ¶
func (o *GetKubernetesEfficiencyReportsParams) SetPage(page *int32)
SetPage adds the page to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) SetTimeout ¶
func (o *GetKubernetesEfficiencyReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WithContext ¶
func (o *GetKubernetesEfficiencyReportsParams) WithContext(ctx context.Context) *GetKubernetesEfficiencyReportsParams
WithContext adds the context to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WithDefaults ¶
func (o *GetKubernetesEfficiencyReportsParams) WithDefaults() *GetKubernetesEfficiencyReportsParams
WithDefaults hydrates default values in the get kubernetes efficiency reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesEfficiencyReportsParams) WithHTTPClient ¶
func (o *GetKubernetesEfficiencyReportsParams) WithHTTPClient(client *http.Client) *GetKubernetesEfficiencyReportsParams
WithHTTPClient adds the HTTPClient to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WithLimit ¶
func (o *GetKubernetesEfficiencyReportsParams) WithLimit(limit *int32) *GetKubernetesEfficiencyReportsParams
WithLimit adds the limit to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WithPage ¶
func (o *GetKubernetesEfficiencyReportsParams) WithPage(page *int32) *GetKubernetesEfficiencyReportsParams
WithPage adds the page to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WithTimeout ¶
func (o *GetKubernetesEfficiencyReportsParams) WithTimeout(timeout time.Duration) *GetKubernetesEfficiencyReportsParams
WithTimeout adds the timeout to the get kubernetes efficiency reports params
func (*GetKubernetesEfficiencyReportsParams) WriteToRequest ¶
func (o *GetKubernetesEfficiencyReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubernetesEfficiencyReportsReader ¶
type GetKubernetesEfficiencyReportsReader struct {
// contains filtered or unexported fields
}
GetKubernetesEfficiencyReportsReader is a Reader for the GetKubernetesEfficiencyReports structure.
func (*GetKubernetesEfficiencyReportsReader) ReadResponse ¶
func (o *GetKubernetesEfficiencyReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_kubernetes_efficiency_report_parameters.go
- delete_kubernetes_efficiency_report_responses.go
- get_kubernetes_efficiency_report_parameters.go
- get_kubernetes_efficiency_report_responses.go
- get_kubernetes_efficiency_reports_parameters.go
- get_kubernetes_efficiency_reports_responses.go
- kubernetes_efficiency_reports_client.go