Documentation ¶
Index ¶
- type Client
- func (a *Client) ClusterUsage(params *ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ClusterUsageOK, error)
- func (a *Client) ClusterUsageCSV(params *ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ClusterUsageCSVOK, error)
- func (a *Client) ContainerUsage(params *ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContainerUsageOK, error)
- func (a *Client) ContainerUsageCSV(params *ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContainerUsageCSVOK, error)
- func (a *Client) IPUsage(params *IPUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IPUsageOK, error)
- func (a *Client) IPUsageCSV(params *IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IPUsageCSVOK, error)
- func (a *Client) NetworkUsage(params *NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*NetworkUsageOK, error)
- func (a *Client) NetworkUsageCSV(params *NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*NetworkUsageCSVOK, error)
- func (a *Client) PostgresUsage(params *PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostgresUsageOK, error)
- func (a *Client) PostgresUsageCSV(params *PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostgresUsageCSVOK, error)
- func (a *Client) Projects(params *ProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsOK, error)
- func (a *Client) S3Usage(params *S3UsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*S3UsageOK, error)
- func (a *Client) S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*S3UsageCSVOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VolumeUsage(params *VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VolumeUsageOK, error)
- func (a *Client) VolumeUsageCSV(params *VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VolumeUsageCSVOK, error)
- type ClientOption
- type ClientService
- type ClusterUsageCSVDefault
- func (o *ClusterUsageCSVDefault) Code() int
- func (o *ClusterUsageCSVDefault) Error() string
- func (o *ClusterUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ClusterUsageCSVDefault) IsClientError() bool
- func (o *ClusterUsageCSVDefault) IsCode(code int) bool
- func (o *ClusterUsageCSVDefault) IsRedirect() bool
- func (o *ClusterUsageCSVDefault) IsServerError() bool
- func (o *ClusterUsageCSVDefault) IsSuccess() bool
- func (o *ClusterUsageCSVDefault) String() string
- type ClusterUsageCSVOK
- func (o *ClusterUsageCSVOK) Error() string
- func (o *ClusterUsageCSVOK) GetPayload() string
- func (o *ClusterUsageCSVOK) IsClientError() bool
- func (o *ClusterUsageCSVOK) IsCode(code int) bool
- func (o *ClusterUsageCSVOK) IsRedirect() bool
- func (o *ClusterUsageCSVOK) IsServerError() bool
- func (o *ClusterUsageCSVOK) IsSuccess() bool
- func (o *ClusterUsageCSVOK) String() string
- type ClusterUsageCSVParams
- func NewClusterUsageCSVParams() *ClusterUsageCSVParams
- func NewClusterUsageCSVParamsWithContext(ctx context.Context) *ClusterUsageCSVParams
- func NewClusterUsageCSVParamsWithHTTPClient(client *http.Client) *ClusterUsageCSVParams
- func NewClusterUsageCSVParamsWithTimeout(timeout time.Duration) *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) SetBody(body *models.V1ClusterUsageRequest)
- func (o *ClusterUsageCSVParams) SetContext(ctx context.Context)
- func (o *ClusterUsageCSVParams) SetDefaults()
- func (o *ClusterUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *ClusterUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *ClusterUsageCSVParams) WithBody(body *models.V1ClusterUsageRequest) *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) WithContext(ctx context.Context) *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) WithDefaults() *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) WithHTTPClient(client *http.Client) *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) WithTimeout(timeout time.Duration) *ClusterUsageCSVParams
- func (o *ClusterUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterUsageCSVReader
- type ClusterUsageDefault
- func (o *ClusterUsageDefault) Code() int
- func (o *ClusterUsageDefault) Error() string
- func (o *ClusterUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ClusterUsageDefault) IsClientError() bool
- func (o *ClusterUsageDefault) IsCode(code int) bool
- func (o *ClusterUsageDefault) IsRedirect() bool
- func (o *ClusterUsageDefault) IsServerError() bool
- func (o *ClusterUsageDefault) IsSuccess() bool
- func (o *ClusterUsageDefault) String() string
- type ClusterUsageOK
- func (o *ClusterUsageOK) Error() string
- func (o *ClusterUsageOK) GetPayload() *models.V1ClusterUsageResponse
- func (o *ClusterUsageOK) IsClientError() bool
- func (o *ClusterUsageOK) IsCode(code int) bool
- func (o *ClusterUsageOK) IsRedirect() bool
- func (o *ClusterUsageOK) IsServerError() bool
- func (o *ClusterUsageOK) IsSuccess() bool
- func (o *ClusterUsageOK) String() string
- type ClusterUsageParams
- func (o *ClusterUsageParams) SetBody(body *models.V1ClusterUsageRequest)
- func (o *ClusterUsageParams) SetContext(ctx context.Context)
- func (o *ClusterUsageParams) SetDefaults()
- func (o *ClusterUsageParams) SetHTTPClient(client *http.Client)
- func (o *ClusterUsageParams) SetTimeout(timeout time.Duration)
- func (o *ClusterUsageParams) WithBody(body *models.V1ClusterUsageRequest) *ClusterUsageParams
- func (o *ClusterUsageParams) WithContext(ctx context.Context) *ClusterUsageParams
- func (o *ClusterUsageParams) WithDefaults() *ClusterUsageParams
- func (o *ClusterUsageParams) WithHTTPClient(client *http.Client) *ClusterUsageParams
- func (o *ClusterUsageParams) WithTimeout(timeout time.Duration) *ClusterUsageParams
- func (o *ClusterUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterUsageReader
- type ContainerUsageCSVDefault
- func (o *ContainerUsageCSVDefault) Code() int
- func (o *ContainerUsageCSVDefault) Error() string
- func (o *ContainerUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ContainerUsageCSVDefault) IsClientError() bool
- func (o *ContainerUsageCSVDefault) IsCode(code int) bool
- func (o *ContainerUsageCSVDefault) IsRedirect() bool
- func (o *ContainerUsageCSVDefault) IsServerError() bool
- func (o *ContainerUsageCSVDefault) IsSuccess() bool
- func (o *ContainerUsageCSVDefault) String() string
- type ContainerUsageCSVOK
- func (o *ContainerUsageCSVOK) Error() string
- func (o *ContainerUsageCSVOK) GetPayload() string
- func (o *ContainerUsageCSVOK) IsClientError() bool
- func (o *ContainerUsageCSVOK) IsCode(code int) bool
- func (o *ContainerUsageCSVOK) IsRedirect() bool
- func (o *ContainerUsageCSVOK) IsServerError() bool
- func (o *ContainerUsageCSVOK) IsSuccess() bool
- func (o *ContainerUsageCSVOK) String() string
- type ContainerUsageCSVParams
- func NewContainerUsageCSVParams() *ContainerUsageCSVParams
- func NewContainerUsageCSVParamsWithContext(ctx context.Context) *ContainerUsageCSVParams
- func NewContainerUsageCSVParamsWithHTTPClient(client *http.Client) *ContainerUsageCSVParams
- func NewContainerUsageCSVParamsWithTimeout(timeout time.Duration) *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) SetBody(body *models.V1ContainerUsageRequest)
- func (o *ContainerUsageCSVParams) SetContext(ctx context.Context)
- func (o *ContainerUsageCSVParams) SetDefaults()
- func (o *ContainerUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *ContainerUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *ContainerUsageCSVParams) WithBody(body *models.V1ContainerUsageRequest) *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) WithContext(ctx context.Context) *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) WithDefaults() *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) WithHTTPClient(client *http.Client) *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) WithTimeout(timeout time.Duration) *ContainerUsageCSVParams
- func (o *ContainerUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerUsageCSVReader
- type ContainerUsageDefault
- func (o *ContainerUsageDefault) Code() int
- func (o *ContainerUsageDefault) Error() string
- func (o *ContainerUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ContainerUsageDefault) IsClientError() bool
- func (o *ContainerUsageDefault) IsCode(code int) bool
- func (o *ContainerUsageDefault) IsRedirect() bool
- func (o *ContainerUsageDefault) IsServerError() bool
- func (o *ContainerUsageDefault) IsSuccess() bool
- func (o *ContainerUsageDefault) String() string
- type ContainerUsageOK
- func (o *ContainerUsageOK) Error() string
- func (o *ContainerUsageOK) GetPayload() *models.V1ContainerUsageResponse
- func (o *ContainerUsageOK) IsClientError() bool
- func (o *ContainerUsageOK) IsCode(code int) bool
- func (o *ContainerUsageOK) IsRedirect() bool
- func (o *ContainerUsageOK) IsServerError() bool
- func (o *ContainerUsageOK) IsSuccess() bool
- func (o *ContainerUsageOK) String() string
- type ContainerUsageParams
- func NewContainerUsageParams() *ContainerUsageParams
- func NewContainerUsageParamsWithContext(ctx context.Context) *ContainerUsageParams
- func NewContainerUsageParamsWithHTTPClient(client *http.Client) *ContainerUsageParams
- func NewContainerUsageParamsWithTimeout(timeout time.Duration) *ContainerUsageParams
- func (o *ContainerUsageParams) SetBody(body *models.V1ContainerUsageRequest)
- func (o *ContainerUsageParams) SetContext(ctx context.Context)
- func (o *ContainerUsageParams) SetDefaults()
- func (o *ContainerUsageParams) SetHTTPClient(client *http.Client)
- func (o *ContainerUsageParams) SetTimeout(timeout time.Duration)
- func (o *ContainerUsageParams) WithBody(body *models.V1ContainerUsageRequest) *ContainerUsageParams
- func (o *ContainerUsageParams) WithContext(ctx context.Context) *ContainerUsageParams
- func (o *ContainerUsageParams) WithDefaults() *ContainerUsageParams
- func (o *ContainerUsageParams) WithHTTPClient(client *http.Client) *ContainerUsageParams
- func (o *ContainerUsageParams) WithTimeout(timeout time.Duration) *ContainerUsageParams
- func (o *ContainerUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerUsageReader
- type IPUsageCSVDefault
- func (o *IPUsageCSVDefault) Code() int
- func (o *IPUsageCSVDefault) Error() string
- func (o *IPUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *IPUsageCSVDefault) IsClientError() bool
- func (o *IPUsageCSVDefault) IsCode(code int) bool
- func (o *IPUsageCSVDefault) IsRedirect() bool
- func (o *IPUsageCSVDefault) IsServerError() bool
- func (o *IPUsageCSVDefault) IsSuccess() bool
- func (o *IPUsageCSVDefault) String() string
- type IPUsageCSVOK
- func (o *IPUsageCSVOK) Error() string
- func (o *IPUsageCSVOK) GetPayload() string
- func (o *IPUsageCSVOK) IsClientError() bool
- func (o *IPUsageCSVOK) IsCode(code int) bool
- func (o *IPUsageCSVOK) IsRedirect() bool
- func (o *IPUsageCSVOK) IsServerError() bool
- func (o *IPUsageCSVOK) IsSuccess() bool
- func (o *IPUsageCSVOK) String() string
- type IPUsageCSVParams
- func (o *IPUsageCSVParams) SetBody(body *models.V1IPUsageRequest)
- func (o *IPUsageCSVParams) SetContext(ctx context.Context)
- func (o *IPUsageCSVParams) SetDefaults()
- func (o *IPUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *IPUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *IPUsageCSVParams) WithBody(body *models.V1IPUsageRequest) *IPUsageCSVParams
- func (o *IPUsageCSVParams) WithContext(ctx context.Context) *IPUsageCSVParams
- func (o *IPUsageCSVParams) WithDefaults() *IPUsageCSVParams
- func (o *IPUsageCSVParams) WithHTTPClient(client *http.Client) *IPUsageCSVParams
- func (o *IPUsageCSVParams) WithTimeout(timeout time.Duration) *IPUsageCSVParams
- func (o *IPUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IPUsageCSVReader
- type IPUsageDefault
- func (o *IPUsageDefault) Code() int
- func (o *IPUsageDefault) Error() string
- func (o *IPUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *IPUsageDefault) IsClientError() bool
- func (o *IPUsageDefault) IsCode(code int) bool
- func (o *IPUsageDefault) IsRedirect() bool
- func (o *IPUsageDefault) IsServerError() bool
- func (o *IPUsageDefault) IsSuccess() bool
- func (o *IPUsageDefault) String() string
- type IPUsageOK
- func (o *IPUsageOK) Error() string
- func (o *IPUsageOK) GetPayload() *models.V1IPUsageResponse
- func (o *IPUsageOK) IsClientError() bool
- func (o *IPUsageOK) IsCode(code int) bool
- func (o *IPUsageOK) IsRedirect() bool
- func (o *IPUsageOK) IsServerError() bool
- func (o *IPUsageOK) IsSuccess() bool
- func (o *IPUsageOK) String() string
- type IPUsageParams
- func (o *IPUsageParams) SetBody(body *models.V1IPUsageRequest)
- func (o *IPUsageParams) SetContext(ctx context.Context)
- func (o *IPUsageParams) SetDefaults()
- func (o *IPUsageParams) SetHTTPClient(client *http.Client)
- func (o *IPUsageParams) SetTimeout(timeout time.Duration)
- func (o *IPUsageParams) WithBody(body *models.V1IPUsageRequest) *IPUsageParams
- func (o *IPUsageParams) WithContext(ctx context.Context) *IPUsageParams
- func (o *IPUsageParams) WithDefaults() *IPUsageParams
- func (o *IPUsageParams) WithHTTPClient(client *http.Client) *IPUsageParams
- func (o *IPUsageParams) WithTimeout(timeout time.Duration) *IPUsageParams
- func (o *IPUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IPUsageReader
- type NetworkUsageCSVDefault
- func (o *NetworkUsageCSVDefault) Code() int
- func (o *NetworkUsageCSVDefault) Error() string
- func (o *NetworkUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *NetworkUsageCSVDefault) IsClientError() bool
- func (o *NetworkUsageCSVDefault) IsCode(code int) bool
- func (o *NetworkUsageCSVDefault) IsRedirect() bool
- func (o *NetworkUsageCSVDefault) IsServerError() bool
- func (o *NetworkUsageCSVDefault) IsSuccess() bool
- func (o *NetworkUsageCSVDefault) String() string
- type NetworkUsageCSVOK
- func (o *NetworkUsageCSVOK) Error() string
- func (o *NetworkUsageCSVOK) GetPayload() string
- func (o *NetworkUsageCSVOK) IsClientError() bool
- func (o *NetworkUsageCSVOK) IsCode(code int) bool
- func (o *NetworkUsageCSVOK) IsRedirect() bool
- func (o *NetworkUsageCSVOK) IsServerError() bool
- func (o *NetworkUsageCSVOK) IsSuccess() bool
- func (o *NetworkUsageCSVOK) String() string
- type NetworkUsageCSVParams
- func NewNetworkUsageCSVParams() *NetworkUsageCSVParams
- func NewNetworkUsageCSVParamsWithContext(ctx context.Context) *NetworkUsageCSVParams
- func NewNetworkUsageCSVParamsWithHTTPClient(client *http.Client) *NetworkUsageCSVParams
- func NewNetworkUsageCSVParamsWithTimeout(timeout time.Duration) *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) SetBody(body *models.V1NetworkUsageRequest)
- func (o *NetworkUsageCSVParams) SetContext(ctx context.Context)
- func (o *NetworkUsageCSVParams) SetDefaults()
- func (o *NetworkUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *NetworkUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *NetworkUsageCSVParams) WithBody(body *models.V1NetworkUsageRequest) *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) WithContext(ctx context.Context) *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) WithDefaults() *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) WithHTTPClient(client *http.Client) *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) WithTimeout(timeout time.Duration) *NetworkUsageCSVParams
- func (o *NetworkUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkUsageCSVReader
- type NetworkUsageDefault
- func (o *NetworkUsageDefault) Code() int
- func (o *NetworkUsageDefault) Error() string
- func (o *NetworkUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *NetworkUsageDefault) IsClientError() bool
- func (o *NetworkUsageDefault) IsCode(code int) bool
- func (o *NetworkUsageDefault) IsRedirect() bool
- func (o *NetworkUsageDefault) IsServerError() bool
- func (o *NetworkUsageDefault) IsSuccess() bool
- func (o *NetworkUsageDefault) String() string
- type NetworkUsageOK
- func (o *NetworkUsageOK) Error() string
- func (o *NetworkUsageOK) GetPayload() *models.V1NetworkUsageResponse
- func (o *NetworkUsageOK) IsClientError() bool
- func (o *NetworkUsageOK) IsCode(code int) bool
- func (o *NetworkUsageOK) IsRedirect() bool
- func (o *NetworkUsageOK) IsServerError() bool
- func (o *NetworkUsageOK) IsSuccess() bool
- func (o *NetworkUsageOK) String() string
- type NetworkUsageParams
- func (o *NetworkUsageParams) SetBody(body *models.V1NetworkUsageRequest)
- func (o *NetworkUsageParams) SetContext(ctx context.Context)
- func (o *NetworkUsageParams) SetDefaults()
- func (o *NetworkUsageParams) SetHTTPClient(client *http.Client)
- func (o *NetworkUsageParams) SetTimeout(timeout time.Duration)
- func (o *NetworkUsageParams) WithBody(body *models.V1NetworkUsageRequest) *NetworkUsageParams
- func (o *NetworkUsageParams) WithContext(ctx context.Context) *NetworkUsageParams
- func (o *NetworkUsageParams) WithDefaults() *NetworkUsageParams
- func (o *NetworkUsageParams) WithHTTPClient(client *http.Client) *NetworkUsageParams
- func (o *NetworkUsageParams) WithTimeout(timeout time.Duration) *NetworkUsageParams
- func (o *NetworkUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NetworkUsageReader
- type PostgresUsageCSVDefault
- func (o *PostgresUsageCSVDefault) Code() int
- func (o *PostgresUsageCSVDefault) Error() string
- func (o *PostgresUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *PostgresUsageCSVDefault) IsClientError() bool
- func (o *PostgresUsageCSVDefault) IsCode(code int) bool
- func (o *PostgresUsageCSVDefault) IsRedirect() bool
- func (o *PostgresUsageCSVDefault) IsServerError() bool
- func (o *PostgresUsageCSVDefault) IsSuccess() bool
- func (o *PostgresUsageCSVDefault) String() string
- type PostgresUsageCSVOK
- func (o *PostgresUsageCSVOK) Error() string
- func (o *PostgresUsageCSVOK) GetPayload() string
- func (o *PostgresUsageCSVOK) IsClientError() bool
- func (o *PostgresUsageCSVOK) IsCode(code int) bool
- func (o *PostgresUsageCSVOK) IsRedirect() bool
- func (o *PostgresUsageCSVOK) IsServerError() bool
- func (o *PostgresUsageCSVOK) IsSuccess() bool
- func (o *PostgresUsageCSVOK) String() string
- type PostgresUsageCSVParams
- func NewPostgresUsageCSVParams() *PostgresUsageCSVParams
- func NewPostgresUsageCSVParamsWithContext(ctx context.Context) *PostgresUsageCSVParams
- func NewPostgresUsageCSVParamsWithHTTPClient(client *http.Client) *PostgresUsageCSVParams
- func NewPostgresUsageCSVParamsWithTimeout(timeout time.Duration) *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) SetBody(body *models.V1PostgresUsageRequest)
- func (o *PostgresUsageCSVParams) SetContext(ctx context.Context)
- func (o *PostgresUsageCSVParams) SetDefaults()
- func (o *PostgresUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *PostgresUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *PostgresUsageCSVParams) WithBody(body *models.V1PostgresUsageRequest) *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) WithContext(ctx context.Context) *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) WithDefaults() *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) WithHTTPClient(client *http.Client) *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) WithTimeout(timeout time.Duration) *PostgresUsageCSVParams
- func (o *PostgresUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostgresUsageCSVReader
- type PostgresUsageDefault
- func (o *PostgresUsageDefault) Code() int
- func (o *PostgresUsageDefault) Error() string
- func (o *PostgresUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *PostgresUsageDefault) IsClientError() bool
- func (o *PostgresUsageDefault) IsCode(code int) bool
- func (o *PostgresUsageDefault) IsRedirect() bool
- func (o *PostgresUsageDefault) IsServerError() bool
- func (o *PostgresUsageDefault) IsSuccess() bool
- func (o *PostgresUsageDefault) String() string
- type PostgresUsageOK
- func (o *PostgresUsageOK) Error() string
- func (o *PostgresUsageOK) GetPayload() *models.V1PostgresUsageResponse
- func (o *PostgresUsageOK) IsClientError() bool
- func (o *PostgresUsageOK) IsCode(code int) bool
- func (o *PostgresUsageOK) IsRedirect() bool
- func (o *PostgresUsageOK) IsServerError() bool
- func (o *PostgresUsageOK) IsSuccess() bool
- func (o *PostgresUsageOK) String() string
- type PostgresUsageParams
- func (o *PostgresUsageParams) SetBody(body *models.V1PostgresUsageRequest)
- func (o *PostgresUsageParams) SetContext(ctx context.Context)
- func (o *PostgresUsageParams) SetDefaults()
- func (o *PostgresUsageParams) SetHTTPClient(client *http.Client)
- func (o *PostgresUsageParams) SetTimeout(timeout time.Duration)
- func (o *PostgresUsageParams) WithBody(body *models.V1PostgresUsageRequest) *PostgresUsageParams
- func (o *PostgresUsageParams) WithContext(ctx context.Context) *PostgresUsageParams
- func (o *PostgresUsageParams) WithDefaults() *PostgresUsageParams
- func (o *PostgresUsageParams) WithHTTPClient(client *http.Client) *PostgresUsageParams
- func (o *PostgresUsageParams) WithTimeout(timeout time.Duration) *PostgresUsageParams
- func (o *PostgresUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostgresUsageReader
- type ProjectsDefault
- func (o *ProjectsDefault) Code() int
- func (o *ProjectsDefault) Error() string
- func (o *ProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ProjectsDefault) IsClientError() bool
- func (o *ProjectsDefault) IsCode(code int) bool
- func (o *ProjectsDefault) IsRedirect() bool
- func (o *ProjectsDefault) IsServerError() bool
- func (o *ProjectsDefault) IsSuccess() bool
- func (o *ProjectsDefault) String() string
- type ProjectsOK
- func (o *ProjectsOK) Error() string
- func (o *ProjectsOK) GetPayload() []*models.V1ProjectInfoResponse
- func (o *ProjectsOK) IsClientError() bool
- func (o *ProjectsOK) IsCode(code int) bool
- func (o *ProjectsOK) IsRedirect() bool
- func (o *ProjectsOK) IsServerError() bool
- func (o *ProjectsOK) IsSuccess() bool
- func (o *ProjectsOK) String() string
- type ProjectsParams
- func (o *ProjectsParams) SetBody(body *models.V1ProjectInfoRequest)
- func (o *ProjectsParams) SetContext(ctx context.Context)
- func (o *ProjectsParams) SetDefaults()
- func (o *ProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsParams) WithBody(body *models.V1ProjectInfoRequest) *ProjectsParams
- func (o *ProjectsParams) WithContext(ctx context.Context) *ProjectsParams
- func (o *ProjectsParams) WithDefaults() *ProjectsParams
- func (o *ProjectsParams) WithHTTPClient(client *http.Client) *ProjectsParams
- func (o *ProjectsParams) WithTimeout(timeout time.Duration) *ProjectsParams
- func (o *ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsReader
- type S3UsageCSVDefault
- func (o *S3UsageCSVDefault) Code() int
- func (o *S3UsageCSVDefault) Error() string
- func (o *S3UsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *S3UsageCSVDefault) IsClientError() bool
- func (o *S3UsageCSVDefault) IsCode(code int) bool
- func (o *S3UsageCSVDefault) IsRedirect() bool
- func (o *S3UsageCSVDefault) IsServerError() bool
- func (o *S3UsageCSVDefault) IsSuccess() bool
- func (o *S3UsageCSVDefault) String() string
- type S3UsageCSVOK
- func (o *S3UsageCSVOK) Error() string
- func (o *S3UsageCSVOK) GetPayload() string
- func (o *S3UsageCSVOK) IsClientError() bool
- func (o *S3UsageCSVOK) IsCode(code int) bool
- func (o *S3UsageCSVOK) IsRedirect() bool
- func (o *S3UsageCSVOK) IsServerError() bool
- func (o *S3UsageCSVOK) IsSuccess() bool
- func (o *S3UsageCSVOK) String() string
- type S3UsageCSVParams
- func (o *S3UsageCSVParams) SetBody(body *models.V1S3UsageRequest)
- func (o *S3UsageCSVParams) SetContext(ctx context.Context)
- func (o *S3UsageCSVParams) SetDefaults()
- func (o *S3UsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *S3UsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *S3UsageCSVParams) WithBody(body *models.V1S3UsageRequest) *S3UsageCSVParams
- func (o *S3UsageCSVParams) WithContext(ctx context.Context) *S3UsageCSVParams
- func (o *S3UsageCSVParams) WithDefaults() *S3UsageCSVParams
- func (o *S3UsageCSVParams) WithHTTPClient(client *http.Client) *S3UsageCSVParams
- func (o *S3UsageCSVParams) WithTimeout(timeout time.Duration) *S3UsageCSVParams
- func (o *S3UsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type S3UsageCSVReader
- type S3UsageDefault
- func (o *S3UsageDefault) Code() int
- func (o *S3UsageDefault) Error() string
- func (o *S3UsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *S3UsageDefault) IsClientError() bool
- func (o *S3UsageDefault) IsCode(code int) bool
- func (o *S3UsageDefault) IsRedirect() bool
- func (o *S3UsageDefault) IsServerError() bool
- func (o *S3UsageDefault) IsSuccess() bool
- func (o *S3UsageDefault) String() string
- type S3UsageOK
- func (o *S3UsageOK) Error() string
- func (o *S3UsageOK) GetPayload() *models.V1S3UsageResponse
- func (o *S3UsageOK) IsClientError() bool
- func (o *S3UsageOK) IsCode(code int) bool
- func (o *S3UsageOK) IsRedirect() bool
- func (o *S3UsageOK) IsServerError() bool
- func (o *S3UsageOK) IsSuccess() bool
- func (o *S3UsageOK) String() string
- type S3UsageParams
- func (o *S3UsageParams) SetBody(body *models.V1S3UsageRequest)
- func (o *S3UsageParams) SetContext(ctx context.Context)
- func (o *S3UsageParams) SetDefaults()
- func (o *S3UsageParams) SetHTTPClient(client *http.Client)
- func (o *S3UsageParams) SetTimeout(timeout time.Duration)
- func (o *S3UsageParams) WithBody(body *models.V1S3UsageRequest) *S3UsageParams
- func (o *S3UsageParams) WithContext(ctx context.Context) *S3UsageParams
- func (o *S3UsageParams) WithDefaults() *S3UsageParams
- func (o *S3UsageParams) WithHTTPClient(client *http.Client) *S3UsageParams
- func (o *S3UsageParams) WithTimeout(timeout time.Duration) *S3UsageParams
- func (o *S3UsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type S3UsageReader
- type VolumeUsageCSVDefault
- func (o *VolumeUsageCSVDefault) Code() int
- func (o *VolumeUsageCSVDefault) Error() string
- func (o *VolumeUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *VolumeUsageCSVDefault) IsClientError() bool
- func (o *VolumeUsageCSVDefault) IsCode(code int) bool
- func (o *VolumeUsageCSVDefault) IsRedirect() bool
- func (o *VolumeUsageCSVDefault) IsServerError() bool
- func (o *VolumeUsageCSVDefault) IsSuccess() bool
- func (o *VolumeUsageCSVDefault) String() string
- type VolumeUsageCSVOK
- func (o *VolumeUsageCSVOK) Error() string
- func (o *VolumeUsageCSVOK) GetPayload() string
- func (o *VolumeUsageCSVOK) IsClientError() bool
- func (o *VolumeUsageCSVOK) IsCode(code int) bool
- func (o *VolumeUsageCSVOK) IsRedirect() bool
- func (o *VolumeUsageCSVOK) IsServerError() bool
- func (o *VolumeUsageCSVOK) IsSuccess() bool
- func (o *VolumeUsageCSVOK) String() string
- type VolumeUsageCSVParams
- func NewVolumeUsageCSVParams() *VolumeUsageCSVParams
- func NewVolumeUsageCSVParamsWithContext(ctx context.Context) *VolumeUsageCSVParams
- func NewVolumeUsageCSVParamsWithHTTPClient(client *http.Client) *VolumeUsageCSVParams
- func NewVolumeUsageCSVParamsWithTimeout(timeout time.Duration) *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) SetBody(body *models.V1VolumeUsageRequest)
- func (o *VolumeUsageCSVParams) SetContext(ctx context.Context)
- func (o *VolumeUsageCSVParams) SetDefaults()
- func (o *VolumeUsageCSVParams) SetHTTPClient(client *http.Client)
- func (o *VolumeUsageCSVParams) SetTimeout(timeout time.Duration)
- func (o *VolumeUsageCSVParams) WithBody(body *models.V1VolumeUsageRequest) *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) WithContext(ctx context.Context) *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) WithDefaults() *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) WithHTTPClient(client *http.Client) *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) WithTimeout(timeout time.Duration) *VolumeUsageCSVParams
- func (o *VolumeUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeUsageCSVReader
- type VolumeUsageDefault
- func (o *VolumeUsageDefault) Code() int
- func (o *VolumeUsageDefault) Error() string
- func (o *VolumeUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *VolumeUsageDefault) IsClientError() bool
- func (o *VolumeUsageDefault) IsCode(code int) bool
- func (o *VolumeUsageDefault) IsRedirect() bool
- func (o *VolumeUsageDefault) IsServerError() bool
- func (o *VolumeUsageDefault) IsSuccess() bool
- func (o *VolumeUsageDefault) String() string
- type VolumeUsageOK
- func (o *VolumeUsageOK) Error() string
- func (o *VolumeUsageOK) GetPayload() *models.V1VolumeUsageResponse
- func (o *VolumeUsageOK) IsClientError() bool
- func (o *VolumeUsageOK) IsCode(code int) bool
- func (o *VolumeUsageOK) IsRedirect() bool
- func (o *VolumeUsageOK) IsServerError() bool
- func (o *VolumeUsageOK) IsSuccess() bool
- func (o *VolumeUsageOK) String() string
- type VolumeUsageParams
- func (o *VolumeUsageParams) SetBody(body *models.V1VolumeUsageRequest)
- func (o *VolumeUsageParams) SetContext(ctx context.Context)
- func (o *VolumeUsageParams) SetDefaults()
- func (o *VolumeUsageParams) SetHTTPClient(client *http.Client)
- func (o *VolumeUsageParams) SetTimeout(timeout time.Duration)
- func (o *VolumeUsageParams) WithBody(body *models.V1VolumeUsageRequest) *VolumeUsageParams
- func (o *VolumeUsageParams) WithContext(ctx context.Context) *VolumeUsageParams
- func (o *VolumeUsageParams) WithDefaults() *VolumeUsageParams
- func (o *VolumeUsageParams) WithHTTPClient(client *http.Client) *VolumeUsageParams
- func (o *VolumeUsageParams) WithTimeout(timeout time.Duration) *VolumeUsageParams
- func (o *VolumeUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeUsageReader
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 accounting API
func (*Client) ClusterUsage ¶
func (a *Client) ClusterUsage(params *ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageOK, error)
ClusterUsage finds cluster usage for given accounting query
func (*Client) ClusterUsageCSV ¶
func (a *Client) ClusterUsageCSV(params *ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageCSVOK, error)
ClusterUsageCSV finds cluster usage for given accounting query
func (*Client) ContainerUsage ¶
func (a *Client) ContainerUsage(params *ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageOK, error)
ContainerUsage finds container usage for given accounting query
func (*Client) ContainerUsageCSV ¶
func (a *Client) ContainerUsageCSV(params *ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageCSVOK, error)
ContainerUsageCSV finds container usage for given accounting query
func (*Client) IPUsage ¶
func (a *Client) IPUsage(params *IPUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageOK, error)
IPUsage finds ip usage for given accounting query
func (*Client) IPUsageCSV ¶
func (a *Client) IPUsageCSV(params *IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageCSVOK, error)
IPUsageCSV finds ip usage for given accounting query
func (*Client) NetworkUsage ¶
func (a *Client) NetworkUsage(params *NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageOK, error)
NetworkUsage finds network usage for given accounting query
func (*Client) NetworkUsageCSV ¶
func (a *Client) NetworkUsageCSV(params *NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageCSVOK, error)
NetworkUsageCSV finds network usage for given accounting query
func (*Client) PostgresUsage ¶ added in v0.17.4
func (a *Client) PostgresUsage(params *PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageOK, error)
PostgresUsage finds postgres usage for given accounting query
func (*Client) PostgresUsageCSV ¶ added in v0.17.4
func (a *Client) PostgresUsageCSV(params *PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageCSVOK, error)
PostgresUsageCSV finds postgres usage for given accounting query
func (*Client) Projects ¶ added in v0.18.20
func (a *Client) Projects(params *ProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsOK, error)
Projects discovers accounted projects witihin a given time period
func (*Client) S3Usage ¶
func (a *Client) S3Usage(params *S3UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageOK, error)
S3Usage finds s3 bucket usage for given accounting query
func (*Client) S3UsageCSV ¶
func (a *Client) S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageCSVOK, error)
S3UsageCSV finds s3 bucket usage for given accounting query
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VolumeUsage ¶
func (a *Client) VolumeUsage(params *VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageOK, error)
VolumeUsage finds volume usage for given accounting query
func (*Client) VolumeUsageCSV ¶
func (a *Client) VolumeUsageCSV(params *VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageCSVOK, error)
VolumeUsageCSV finds volume usage for given accounting query
type ClientOption ¶ added in v0.15.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.9.1
type ClientService interface { ClusterUsage(params *ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageOK, error) ClusterUsageCSV(params *ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageCSVOK, error) ContainerUsage(params *ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageOK, error) ContainerUsageCSV(params *ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageCSVOK, error) IPUsage(params *IPUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageOK, error) IPUsageCSV(params *IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageCSVOK, error) NetworkUsage(params *NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageOK, error) NetworkUsageCSV(params *NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageCSVOK, error) PostgresUsage(params *PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageOK, error) PostgresUsageCSV(params *PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageCSVOK, error) Projects(params *ProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsOK, error) S3Usage(params *S3UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageOK, error) S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageCSVOK, error) VolumeUsage(params *VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageOK, error) VolumeUsageCSV(params *VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageCSVOK, 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 accounting API client.
type ClusterUsageCSVDefault ¶
type ClusterUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ClusterUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewClusterUsageCSVDefault ¶
func NewClusterUsageCSVDefault(code int) *ClusterUsageCSVDefault
NewClusterUsageCSVDefault creates a ClusterUsageCSVDefault with default headers values
func (*ClusterUsageCSVDefault) Code ¶
func (o *ClusterUsageCSVDefault) Code() int
Code gets the status code for the cluster usage c s v default response
func (*ClusterUsageCSVDefault) Error ¶
func (o *ClusterUsageCSVDefault) Error() string
func (*ClusterUsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *ClusterUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ClusterUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) IsClientError() bool
IsClientError returns true when this cluster usage c s v default response has a 4xx status code
func (*ClusterUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this cluster usage c s v default response a status code equal to that given
func (*ClusterUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this cluster usage c s v default response has a 3xx status code
func (*ClusterUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) IsServerError() bool
IsServerError returns true when this cluster usage c s v default response has a 5xx status code
func (*ClusterUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this cluster usage c s v default response has a 2xx status code
func (*ClusterUsageCSVDefault) String ¶ added in v0.19.0
func (o *ClusterUsageCSVDefault) String() string
type ClusterUsageCSVOK ¶
type ClusterUsageCSVOK struct {
Payload string
}
ClusterUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewClusterUsageCSVOK ¶
func NewClusterUsageCSVOK() *ClusterUsageCSVOK
NewClusterUsageCSVOK creates a ClusterUsageCSVOK with default headers values
func (*ClusterUsageCSVOK) Error ¶
func (o *ClusterUsageCSVOK) Error() string
func (*ClusterUsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *ClusterUsageCSVOK) GetPayload() string
func (*ClusterUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) IsClientError() bool
IsClientError returns true when this cluster usage c s v o k response has a 4xx status code
func (*ClusterUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) IsCode(code int) bool
IsCode returns true when this cluster usage c s v o k response a status code equal to that given
func (*ClusterUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this cluster usage c s v o k response has a 3xx status code
func (*ClusterUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) IsServerError() bool
IsServerError returns true when this cluster usage c s v o k response has a 5xx status code
func (*ClusterUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this cluster usage c s v o k response has a 2xx status code
func (*ClusterUsageCSVOK) String ¶ added in v0.19.0
func (o *ClusterUsageCSVOK) String() string
type ClusterUsageCSVParams ¶
type ClusterUsageCSVParams struct { // Body. Body *models.V1ClusterUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterUsageCSVParams contains all the parameters to send to the API endpoint
for the cluster usage c s v operation. Typically these are written to a http.Request.
func NewClusterUsageCSVParams ¶
func NewClusterUsageCSVParams() *ClusterUsageCSVParams
NewClusterUsageCSVParams creates a new ClusterUsageCSVParams 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 NewClusterUsageCSVParamsWithContext ¶
func NewClusterUsageCSVParamsWithContext(ctx context.Context) *ClusterUsageCSVParams
NewClusterUsageCSVParamsWithContext creates a new ClusterUsageCSVParams object with the ability to set a context for a request.
func NewClusterUsageCSVParamsWithHTTPClient ¶
func NewClusterUsageCSVParamsWithHTTPClient(client *http.Client) *ClusterUsageCSVParams
NewClusterUsageCSVParamsWithHTTPClient creates a new ClusterUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewClusterUsageCSVParamsWithTimeout ¶
func NewClusterUsageCSVParamsWithTimeout(timeout time.Duration) *ClusterUsageCSVParams
NewClusterUsageCSVParamsWithTimeout creates a new ClusterUsageCSVParams object with the ability to set a timeout on a request.
func (*ClusterUsageCSVParams) SetBody ¶
func (o *ClusterUsageCSVParams) SetBody(body *models.V1ClusterUsageRequest)
SetBody adds the body to the cluster usage c s v params
func (*ClusterUsageCSVParams) SetContext ¶
func (o *ClusterUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster usage c s v params
func (*ClusterUsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *ClusterUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the cluster usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterUsageCSVParams) SetHTTPClient ¶
func (o *ClusterUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster usage c s v params
func (*ClusterUsageCSVParams) SetTimeout ¶
func (o *ClusterUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster usage c s v params
func (*ClusterUsageCSVParams) WithBody ¶
func (o *ClusterUsageCSVParams) WithBody(body *models.V1ClusterUsageRequest) *ClusterUsageCSVParams
WithBody adds the body to the cluster usage c s v params
func (*ClusterUsageCSVParams) WithContext ¶
func (o *ClusterUsageCSVParams) WithContext(ctx context.Context) *ClusterUsageCSVParams
WithContext adds the context to the cluster usage c s v params
func (*ClusterUsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *ClusterUsageCSVParams) WithDefaults() *ClusterUsageCSVParams
WithDefaults hydrates default values in the cluster usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterUsageCSVParams) WithHTTPClient ¶
func (o *ClusterUsageCSVParams) WithHTTPClient(client *http.Client) *ClusterUsageCSVParams
WithHTTPClient adds the HTTPClient to the cluster usage c s v params
func (*ClusterUsageCSVParams) WithTimeout ¶
func (o *ClusterUsageCSVParams) WithTimeout(timeout time.Duration) *ClusterUsageCSVParams
WithTimeout adds the timeout to the cluster usage c s v params
func (*ClusterUsageCSVParams) WriteToRequest ¶
func (o *ClusterUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterUsageCSVReader ¶
type ClusterUsageCSVReader struct {
// contains filtered or unexported fields
}
ClusterUsageCSVReader is a Reader for the ClusterUsageCSV structure.
func (*ClusterUsageCSVReader) ReadResponse ¶
func (o *ClusterUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterUsageDefault ¶
type ClusterUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ClusterUsageDefault describes a response with status code -1, with default header values.
Error
func NewClusterUsageDefault ¶
func NewClusterUsageDefault(code int) *ClusterUsageDefault
NewClusterUsageDefault creates a ClusterUsageDefault with default headers values
func (*ClusterUsageDefault) Code ¶
func (o *ClusterUsageDefault) Code() int
Code gets the status code for the cluster usage default response
func (*ClusterUsageDefault) Error ¶
func (o *ClusterUsageDefault) Error() string
func (*ClusterUsageDefault) GetPayload ¶ added in v0.9.1
func (o *ClusterUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ClusterUsageDefault) IsClientError ¶ added in v0.19.0
func (o *ClusterUsageDefault) IsClientError() bool
IsClientError returns true when this cluster usage default response has a 4xx status code
func (*ClusterUsageDefault) IsCode ¶ added in v0.19.0
func (o *ClusterUsageDefault) IsCode(code int) bool
IsCode returns true when this cluster usage default response a status code equal to that given
func (*ClusterUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *ClusterUsageDefault) IsRedirect() bool
IsRedirect returns true when this cluster usage default response has a 3xx status code
func (*ClusterUsageDefault) IsServerError ¶ added in v0.19.0
func (o *ClusterUsageDefault) IsServerError() bool
IsServerError returns true when this cluster usage default response has a 5xx status code
func (*ClusterUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *ClusterUsageDefault) IsSuccess() bool
IsSuccess returns true when this cluster usage default response has a 2xx status code
func (*ClusterUsageDefault) String ¶ added in v0.19.0
func (o *ClusterUsageDefault) String() string
type ClusterUsageOK ¶
type ClusterUsageOK struct {
Payload *models.V1ClusterUsageResponse
}
ClusterUsageOK describes a response with status code 200, with default header values.
OK
func NewClusterUsageOK ¶
func NewClusterUsageOK() *ClusterUsageOK
NewClusterUsageOK creates a ClusterUsageOK with default headers values
func (*ClusterUsageOK) Error ¶
func (o *ClusterUsageOK) Error() string
func (*ClusterUsageOK) GetPayload ¶ added in v0.9.1
func (o *ClusterUsageOK) GetPayload() *models.V1ClusterUsageResponse
func (*ClusterUsageOK) IsClientError ¶ added in v0.19.0
func (o *ClusterUsageOK) IsClientError() bool
IsClientError returns true when this cluster usage o k response has a 4xx status code
func (*ClusterUsageOK) IsCode ¶ added in v0.19.0
func (o *ClusterUsageOK) IsCode(code int) bool
IsCode returns true when this cluster usage o k response a status code equal to that given
func (*ClusterUsageOK) IsRedirect ¶ added in v0.19.0
func (o *ClusterUsageOK) IsRedirect() bool
IsRedirect returns true when this cluster usage o k response has a 3xx status code
func (*ClusterUsageOK) IsServerError ¶ added in v0.19.0
func (o *ClusterUsageOK) IsServerError() bool
IsServerError returns true when this cluster usage o k response has a 5xx status code
func (*ClusterUsageOK) IsSuccess ¶ added in v0.19.0
func (o *ClusterUsageOK) IsSuccess() bool
IsSuccess returns true when this cluster usage o k response has a 2xx status code
func (*ClusterUsageOK) String ¶ added in v0.19.0
func (o *ClusterUsageOK) String() string
type ClusterUsageParams ¶
type ClusterUsageParams struct { // Body. Body *models.V1ClusterUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterUsageParams contains all the parameters to send to the API endpoint
for the cluster usage operation. Typically these are written to a http.Request.
func NewClusterUsageParams ¶
func NewClusterUsageParams() *ClusterUsageParams
NewClusterUsageParams creates a new ClusterUsageParams 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 NewClusterUsageParamsWithContext ¶
func NewClusterUsageParamsWithContext(ctx context.Context) *ClusterUsageParams
NewClusterUsageParamsWithContext creates a new ClusterUsageParams object with the ability to set a context for a request.
func NewClusterUsageParamsWithHTTPClient ¶
func NewClusterUsageParamsWithHTTPClient(client *http.Client) *ClusterUsageParams
NewClusterUsageParamsWithHTTPClient creates a new ClusterUsageParams object with the ability to set a custom HTTPClient for a request.
func NewClusterUsageParamsWithTimeout ¶
func NewClusterUsageParamsWithTimeout(timeout time.Duration) *ClusterUsageParams
NewClusterUsageParamsWithTimeout creates a new ClusterUsageParams object with the ability to set a timeout on a request.
func (*ClusterUsageParams) SetBody ¶
func (o *ClusterUsageParams) SetBody(body *models.V1ClusterUsageRequest)
SetBody adds the body to the cluster usage params
func (*ClusterUsageParams) SetContext ¶
func (o *ClusterUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster usage params
func (*ClusterUsageParams) SetDefaults ¶ added in v0.12.0
func (o *ClusterUsageParams) SetDefaults()
SetDefaults hydrates default values in the cluster usage params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterUsageParams) SetHTTPClient ¶
func (o *ClusterUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster usage params
func (*ClusterUsageParams) SetTimeout ¶
func (o *ClusterUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster usage params
func (*ClusterUsageParams) WithBody ¶
func (o *ClusterUsageParams) WithBody(body *models.V1ClusterUsageRequest) *ClusterUsageParams
WithBody adds the body to the cluster usage params
func (*ClusterUsageParams) WithContext ¶
func (o *ClusterUsageParams) WithContext(ctx context.Context) *ClusterUsageParams
WithContext adds the context to the cluster usage params
func (*ClusterUsageParams) WithDefaults ¶ added in v0.12.0
func (o *ClusterUsageParams) WithDefaults() *ClusterUsageParams
WithDefaults hydrates default values in the cluster usage params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterUsageParams) WithHTTPClient ¶
func (o *ClusterUsageParams) WithHTTPClient(client *http.Client) *ClusterUsageParams
WithHTTPClient adds the HTTPClient to the cluster usage params
func (*ClusterUsageParams) WithTimeout ¶
func (o *ClusterUsageParams) WithTimeout(timeout time.Duration) *ClusterUsageParams
WithTimeout adds the timeout to the cluster usage params
func (*ClusterUsageParams) WriteToRequest ¶
func (o *ClusterUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterUsageReader ¶
type ClusterUsageReader struct {
// contains filtered or unexported fields
}
ClusterUsageReader is a Reader for the ClusterUsage structure.
func (*ClusterUsageReader) ReadResponse ¶
func (o *ClusterUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerUsageCSVDefault ¶
type ContainerUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ContainerUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewContainerUsageCSVDefault ¶
func NewContainerUsageCSVDefault(code int) *ContainerUsageCSVDefault
NewContainerUsageCSVDefault creates a ContainerUsageCSVDefault with default headers values
func (*ContainerUsageCSVDefault) Code ¶
func (o *ContainerUsageCSVDefault) Code() int
Code gets the status code for the container usage c s v default response
func (*ContainerUsageCSVDefault) Error ¶
func (o *ContainerUsageCSVDefault) Error() string
func (*ContainerUsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *ContainerUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ContainerUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) IsClientError() bool
IsClientError returns true when this container usage c s v default response has a 4xx status code
func (*ContainerUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this container usage c s v default response a status code equal to that given
func (*ContainerUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this container usage c s v default response has a 3xx status code
func (*ContainerUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) IsServerError() bool
IsServerError returns true when this container usage c s v default response has a 5xx status code
func (*ContainerUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this container usage c s v default response has a 2xx status code
func (*ContainerUsageCSVDefault) String ¶ added in v0.19.0
func (o *ContainerUsageCSVDefault) String() string
type ContainerUsageCSVOK ¶
type ContainerUsageCSVOK struct {
Payload string
}
ContainerUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewContainerUsageCSVOK ¶
func NewContainerUsageCSVOK() *ContainerUsageCSVOK
NewContainerUsageCSVOK creates a ContainerUsageCSVOK with default headers values
func (*ContainerUsageCSVOK) Error ¶
func (o *ContainerUsageCSVOK) Error() string
func (*ContainerUsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *ContainerUsageCSVOK) GetPayload() string
func (*ContainerUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) IsClientError() bool
IsClientError returns true when this container usage c s v o k response has a 4xx status code
func (*ContainerUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) IsCode(code int) bool
IsCode returns true when this container usage c s v o k response a status code equal to that given
func (*ContainerUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this container usage c s v o k response has a 3xx status code
func (*ContainerUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) IsServerError() bool
IsServerError returns true when this container usage c s v o k response has a 5xx status code
func (*ContainerUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this container usage c s v o k response has a 2xx status code
func (*ContainerUsageCSVOK) String ¶ added in v0.19.0
func (o *ContainerUsageCSVOK) String() string
type ContainerUsageCSVParams ¶
type ContainerUsageCSVParams struct { // Body. Body *models.V1ContainerUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerUsageCSVParams contains all the parameters to send to the API endpoint
for the container usage c s v operation. Typically these are written to a http.Request.
func NewContainerUsageCSVParams ¶
func NewContainerUsageCSVParams() *ContainerUsageCSVParams
NewContainerUsageCSVParams creates a new ContainerUsageCSVParams 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 NewContainerUsageCSVParamsWithContext ¶
func NewContainerUsageCSVParamsWithContext(ctx context.Context) *ContainerUsageCSVParams
NewContainerUsageCSVParamsWithContext creates a new ContainerUsageCSVParams object with the ability to set a context for a request.
func NewContainerUsageCSVParamsWithHTTPClient ¶
func NewContainerUsageCSVParamsWithHTTPClient(client *http.Client) *ContainerUsageCSVParams
NewContainerUsageCSVParamsWithHTTPClient creates a new ContainerUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewContainerUsageCSVParamsWithTimeout ¶
func NewContainerUsageCSVParamsWithTimeout(timeout time.Duration) *ContainerUsageCSVParams
NewContainerUsageCSVParamsWithTimeout creates a new ContainerUsageCSVParams object with the ability to set a timeout on a request.
func (*ContainerUsageCSVParams) SetBody ¶
func (o *ContainerUsageCSVParams) SetBody(body *models.V1ContainerUsageRequest)
SetBody adds the body to the container usage c s v params
func (*ContainerUsageCSVParams) SetContext ¶
func (o *ContainerUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the container usage c s v params
func (*ContainerUsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *ContainerUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the container usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUsageCSVParams) SetHTTPClient ¶
func (o *ContainerUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container usage c s v params
func (*ContainerUsageCSVParams) SetTimeout ¶
func (o *ContainerUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container usage c s v params
func (*ContainerUsageCSVParams) WithBody ¶
func (o *ContainerUsageCSVParams) WithBody(body *models.V1ContainerUsageRequest) *ContainerUsageCSVParams
WithBody adds the body to the container usage c s v params
func (*ContainerUsageCSVParams) WithContext ¶
func (o *ContainerUsageCSVParams) WithContext(ctx context.Context) *ContainerUsageCSVParams
WithContext adds the context to the container usage c s v params
func (*ContainerUsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *ContainerUsageCSVParams) WithDefaults() *ContainerUsageCSVParams
WithDefaults hydrates default values in the container usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUsageCSVParams) WithHTTPClient ¶
func (o *ContainerUsageCSVParams) WithHTTPClient(client *http.Client) *ContainerUsageCSVParams
WithHTTPClient adds the HTTPClient to the container usage c s v params
func (*ContainerUsageCSVParams) WithTimeout ¶
func (o *ContainerUsageCSVParams) WithTimeout(timeout time.Duration) *ContainerUsageCSVParams
WithTimeout adds the timeout to the container usage c s v params
func (*ContainerUsageCSVParams) WriteToRequest ¶
func (o *ContainerUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerUsageCSVReader ¶
type ContainerUsageCSVReader struct {
// contains filtered or unexported fields
}
ContainerUsageCSVReader is a Reader for the ContainerUsageCSV structure.
func (*ContainerUsageCSVReader) ReadResponse ¶
func (o *ContainerUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerUsageDefault ¶
type ContainerUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ContainerUsageDefault describes a response with status code -1, with default header values.
Error
func NewContainerUsageDefault ¶
func NewContainerUsageDefault(code int) *ContainerUsageDefault
NewContainerUsageDefault creates a ContainerUsageDefault with default headers values
func (*ContainerUsageDefault) Code ¶
func (o *ContainerUsageDefault) Code() int
Code gets the status code for the container usage default response
func (*ContainerUsageDefault) Error ¶
func (o *ContainerUsageDefault) Error() string
func (*ContainerUsageDefault) GetPayload ¶ added in v0.9.1
func (o *ContainerUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ContainerUsageDefault) IsClientError ¶ added in v0.19.0
func (o *ContainerUsageDefault) IsClientError() bool
IsClientError returns true when this container usage default response has a 4xx status code
func (*ContainerUsageDefault) IsCode ¶ added in v0.19.0
func (o *ContainerUsageDefault) IsCode(code int) bool
IsCode returns true when this container usage default response a status code equal to that given
func (*ContainerUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *ContainerUsageDefault) IsRedirect() bool
IsRedirect returns true when this container usage default response has a 3xx status code
func (*ContainerUsageDefault) IsServerError ¶ added in v0.19.0
func (o *ContainerUsageDefault) IsServerError() bool
IsServerError returns true when this container usage default response has a 5xx status code
func (*ContainerUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *ContainerUsageDefault) IsSuccess() bool
IsSuccess returns true when this container usage default response has a 2xx status code
func (*ContainerUsageDefault) String ¶ added in v0.19.0
func (o *ContainerUsageDefault) String() string
type ContainerUsageOK ¶
type ContainerUsageOK struct {
Payload *models.V1ContainerUsageResponse
}
ContainerUsageOK describes a response with status code 200, with default header values.
OK
func NewContainerUsageOK ¶
func NewContainerUsageOK() *ContainerUsageOK
NewContainerUsageOK creates a ContainerUsageOK with default headers values
func (*ContainerUsageOK) Error ¶
func (o *ContainerUsageOK) Error() string
func (*ContainerUsageOK) GetPayload ¶ added in v0.9.1
func (o *ContainerUsageOK) GetPayload() *models.V1ContainerUsageResponse
func (*ContainerUsageOK) IsClientError ¶ added in v0.19.0
func (o *ContainerUsageOK) IsClientError() bool
IsClientError returns true when this container usage o k response has a 4xx status code
func (*ContainerUsageOK) IsCode ¶ added in v0.19.0
func (o *ContainerUsageOK) IsCode(code int) bool
IsCode returns true when this container usage o k response a status code equal to that given
func (*ContainerUsageOK) IsRedirect ¶ added in v0.19.0
func (o *ContainerUsageOK) IsRedirect() bool
IsRedirect returns true when this container usage o k response has a 3xx status code
func (*ContainerUsageOK) IsServerError ¶ added in v0.19.0
func (o *ContainerUsageOK) IsServerError() bool
IsServerError returns true when this container usage o k response has a 5xx status code
func (*ContainerUsageOK) IsSuccess ¶ added in v0.19.0
func (o *ContainerUsageOK) IsSuccess() bool
IsSuccess returns true when this container usage o k response has a 2xx status code
func (*ContainerUsageOK) String ¶ added in v0.19.0
func (o *ContainerUsageOK) String() string
type ContainerUsageParams ¶
type ContainerUsageParams struct { // Body. Body *models.V1ContainerUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerUsageParams contains all the parameters to send to the API endpoint
for the container usage operation. Typically these are written to a http.Request.
func NewContainerUsageParams ¶
func NewContainerUsageParams() *ContainerUsageParams
NewContainerUsageParams creates a new ContainerUsageParams 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 NewContainerUsageParamsWithContext ¶
func NewContainerUsageParamsWithContext(ctx context.Context) *ContainerUsageParams
NewContainerUsageParamsWithContext creates a new ContainerUsageParams object with the ability to set a context for a request.
func NewContainerUsageParamsWithHTTPClient ¶
func NewContainerUsageParamsWithHTTPClient(client *http.Client) *ContainerUsageParams
NewContainerUsageParamsWithHTTPClient creates a new ContainerUsageParams object with the ability to set a custom HTTPClient for a request.
func NewContainerUsageParamsWithTimeout ¶
func NewContainerUsageParamsWithTimeout(timeout time.Duration) *ContainerUsageParams
NewContainerUsageParamsWithTimeout creates a new ContainerUsageParams object with the ability to set a timeout on a request.
func (*ContainerUsageParams) SetBody ¶
func (o *ContainerUsageParams) SetBody(body *models.V1ContainerUsageRequest)
SetBody adds the body to the container usage params
func (*ContainerUsageParams) SetContext ¶
func (o *ContainerUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the container usage params
func (*ContainerUsageParams) SetDefaults ¶ added in v0.12.0
func (o *ContainerUsageParams) SetDefaults()
SetDefaults hydrates default values in the container usage params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUsageParams) SetHTTPClient ¶
func (o *ContainerUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container usage params
func (*ContainerUsageParams) SetTimeout ¶
func (o *ContainerUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container usage params
func (*ContainerUsageParams) WithBody ¶
func (o *ContainerUsageParams) WithBody(body *models.V1ContainerUsageRequest) *ContainerUsageParams
WithBody adds the body to the container usage params
func (*ContainerUsageParams) WithContext ¶
func (o *ContainerUsageParams) WithContext(ctx context.Context) *ContainerUsageParams
WithContext adds the context to the container usage params
func (*ContainerUsageParams) WithDefaults ¶ added in v0.12.0
func (o *ContainerUsageParams) WithDefaults() *ContainerUsageParams
WithDefaults hydrates default values in the container usage params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUsageParams) WithHTTPClient ¶
func (o *ContainerUsageParams) WithHTTPClient(client *http.Client) *ContainerUsageParams
WithHTTPClient adds the HTTPClient to the container usage params
func (*ContainerUsageParams) WithTimeout ¶
func (o *ContainerUsageParams) WithTimeout(timeout time.Duration) *ContainerUsageParams
WithTimeout adds the timeout to the container usage params
func (*ContainerUsageParams) WriteToRequest ¶
func (o *ContainerUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerUsageReader ¶
type ContainerUsageReader struct {
// contains filtered or unexported fields
}
ContainerUsageReader is a Reader for the ContainerUsage structure.
func (*ContainerUsageReader) ReadResponse ¶
func (o *ContainerUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IPUsageCSVDefault ¶
type IPUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
IPUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewIPUsageCSVDefault ¶
func NewIPUsageCSVDefault(code int) *IPUsageCSVDefault
NewIPUsageCSVDefault creates a IPUsageCSVDefault with default headers values
func (*IPUsageCSVDefault) Code ¶
func (o *IPUsageCSVDefault) Code() int
Code gets the status code for the ip usage c s v default response
func (*IPUsageCSVDefault) Error ¶
func (o *IPUsageCSVDefault) Error() string
func (*IPUsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *IPUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*IPUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *IPUsageCSVDefault) IsClientError() bool
IsClientError returns true when this ip usage c s v default response has a 4xx status code
func (*IPUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *IPUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this ip usage c s v default response a status code equal to that given
func (*IPUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *IPUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this ip usage c s v default response has a 3xx status code
func (*IPUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *IPUsageCSVDefault) IsServerError() bool
IsServerError returns true when this ip usage c s v default response has a 5xx status code
func (*IPUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *IPUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this ip usage c s v default response has a 2xx status code
func (*IPUsageCSVDefault) String ¶ added in v0.19.0
func (o *IPUsageCSVDefault) String() string
type IPUsageCSVOK ¶
type IPUsageCSVOK struct {
Payload string
}
IPUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewIPUsageCSVOK ¶
func NewIPUsageCSVOK() *IPUsageCSVOK
NewIPUsageCSVOK creates a IPUsageCSVOK with default headers values
func (*IPUsageCSVOK) Error ¶
func (o *IPUsageCSVOK) Error() string
func (*IPUsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *IPUsageCSVOK) GetPayload() string
func (*IPUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *IPUsageCSVOK) IsClientError() bool
IsClientError returns true when this ip usage c s v o k response has a 4xx status code
func (*IPUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *IPUsageCSVOK) IsCode(code int) bool
IsCode returns true when this ip usage c s v o k response a status code equal to that given
func (*IPUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *IPUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this ip usage c s v o k response has a 3xx status code
func (*IPUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *IPUsageCSVOK) IsServerError() bool
IsServerError returns true when this ip usage c s v o k response has a 5xx status code
func (*IPUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *IPUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this ip usage c s v o k response has a 2xx status code
func (*IPUsageCSVOK) String ¶ added in v0.19.0
func (o *IPUsageCSVOK) String() string
type IPUsageCSVParams ¶
type IPUsageCSVParams struct { // Body. Body *models.V1IPUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IPUsageCSVParams contains all the parameters to send to the API endpoint
for the ip usage c s v operation. Typically these are written to a http.Request.
func NewIPUsageCSVParams ¶
func NewIPUsageCSVParams() *IPUsageCSVParams
NewIPUsageCSVParams creates a new IPUsageCSVParams 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 NewIPUsageCSVParamsWithContext ¶
func NewIPUsageCSVParamsWithContext(ctx context.Context) *IPUsageCSVParams
NewIPUsageCSVParamsWithContext creates a new IPUsageCSVParams object with the ability to set a context for a request.
func NewIPUsageCSVParamsWithHTTPClient ¶
func NewIPUsageCSVParamsWithHTTPClient(client *http.Client) *IPUsageCSVParams
NewIPUsageCSVParamsWithHTTPClient creates a new IPUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewIPUsageCSVParamsWithTimeout ¶
func NewIPUsageCSVParamsWithTimeout(timeout time.Duration) *IPUsageCSVParams
NewIPUsageCSVParamsWithTimeout creates a new IPUsageCSVParams object with the ability to set a timeout on a request.
func (*IPUsageCSVParams) SetBody ¶
func (o *IPUsageCSVParams) SetBody(body *models.V1IPUsageRequest)
SetBody adds the body to the ip usage c s v params
func (*IPUsageCSVParams) SetContext ¶
func (o *IPUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the ip usage c s v params
func (*IPUsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *IPUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the ip usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*IPUsageCSVParams) SetHTTPClient ¶
func (o *IPUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ip usage c s v params
func (*IPUsageCSVParams) SetTimeout ¶
func (o *IPUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ip usage c s v params
func (*IPUsageCSVParams) WithBody ¶
func (o *IPUsageCSVParams) WithBody(body *models.V1IPUsageRequest) *IPUsageCSVParams
WithBody adds the body to the ip usage c s v params
func (*IPUsageCSVParams) WithContext ¶
func (o *IPUsageCSVParams) WithContext(ctx context.Context) *IPUsageCSVParams
WithContext adds the context to the ip usage c s v params
func (*IPUsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *IPUsageCSVParams) WithDefaults() *IPUsageCSVParams
WithDefaults hydrates default values in the ip usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*IPUsageCSVParams) WithHTTPClient ¶
func (o *IPUsageCSVParams) WithHTTPClient(client *http.Client) *IPUsageCSVParams
WithHTTPClient adds the HTTPClient to the ip usage c s v params
func (*IPUsageCSVParams) WithTimeout ¶
func (o *IPUsageCSVParams) WithTimeout(timeout time.Duration) *IPUsageCSVParams
WithTimeout adds the timeout to the ip usage c s v params
func (*IPUsageCSVParams) WriteToRequest ¶
func (o *IPUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IPUsageCSVReader ¶
type IPUsageCSVReader struct {
// contains filtered or unexported fields
}
IPUsageCSVReader is a Reader for the IPUsageCSV structure.
func (*IPUsageCSVReader) ReadResponse ¶
func (o *IPUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IPUsageDefault ¶
type IPUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
IPUsageDefault describes a response with status code -1, with default header values.
Error
func NewIPUsageDefault ¶
func NewIPUsageDefault(code int) *IPUsageDefault
NewIPUsageDefault creates a IPUsageDefault with default headers values
func (*IPUsageDefault) Code ¶
func (o *IPUsageDefault) Code() int
Code gets the status code for the ip usage default response
func (*IPUsageDefault) Error ¶
func (o *IPUsageDefault) Error() string
func (*IPUsageDefault) GetPayload ¶ added in v0.9.1
func (o *IPUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*IPUsageDefault) IsClientError ¶ added in v0.19.0
func (o *IPUsageDefault) IsClientError() bool
IsClientError returns true when this ip usage default response has a 4xx status code
func (*IPUsageDefault) IsCode ¶ added in v0.19.0
func (o *IPUsageDefault) IsCode(code int) bool
IsCode returns true when this ip usage default response a status code equal to that given
func (*IPUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *IPUsageDefault) IsRedirect() bool
IsRedirect returns true when this ip usage default response has a 3xx status code
func (*IPUsageDefault) IsServerError ¶ added in v0.19.0
func (o *IPUsageDefault) IsServerError() bool
IsServerError returns true when this ip usage default response has a 5xx status code
func (*IPUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *IPUsageDefault) IsSuccess() bool
IsSuccess returns true when this ip usage default response has a 2xx status code
func (*IPUsageDefault) String ¶ added in v0.19.0
func (o *IPUsageDefault) String() string
type IPUsageOK ¶
type IPUsageOK struct {
Payload *models.V1IPUsageResponse
}
IPUsageOK describes a response with status code 200, with default header values.
OK
func NewIPUsageOK ¶
func NewIPUsageOK() *IPUsageOK
NewIPUsageOK creates a IPUsageOK with default headers values
func (*IPUsageOK) GetPayload ¶ added in v0.9.1
func (o *IPUsageOK) GetPayload() *models.V1IPUsageResponse
func (*IPUsageOK) IsClientError ¶ added in v0.19.0
IsClientError returns true when this ip usage o k response has a 4xx status code
func (*IPUsageOK) IsCode ¶ added in v0.19.0
IsCode returns true when this ip usage o k response a status code equal to that given
func (*IPUsageOK) IsRedirect ¶ added in v0.19.0
IsRedirect returns true when this ip usage o k response has a 3xx status code
func (*IPUsageOK) IsServerError ¶ added in v0.19.0
IsServerError returns true when this ip usage o k response has a 5xx status code
type IPUsageParams ¶
type IPUsageParams struct { // Body. Body *models.V1IPUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IPUsageParams contains all the parameters to send to the API endpoint
for the ip usage operation. Typically these are written to a http.Request.
func NewIPUsageParams ¶
func NewIPUsageParams() *IPUsageParams
NewIPUsageParams creates a new IPUsageParams 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 NewIPUsageParamsWithContext ¶
func NewIPUsageParamsWithContext(ctx context.Context) *IPUsageParams
NewIPUsageParamsWithContext creates a new IPUsageParams object with the ability to set a context for a request.
func NewIPUsageParamsWithHTTPClient ¶
func NewIPUsageParamsWithHTTPClient(client *http.Client) *IPUsageParams
NewIPUsageParamsWithHTTPClient creates a new IPUsageParams object with the ability to set a custom HTTPClient for a request.
func NewIPUsageParamsWithTimeout ¶
func NewIPUsageParamsWithTimeout(timeout time.Duration) *IPUsageParams
NewIPUsageParamsWithTimeout creates a new IPUsageParams object with the ability to set a timeout on a request.
func (*IPUsageParams) SetBody ¶
func (o *IPUsageParams) SetBody(body *models.V1IPUsageRequest)
SetBody adds the body to the ip usage params
func (*IPUsageParams) SetContext ¶
func (o *IPUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the ip usage params
func (*IPUsageParams) SetDefaults ¶ added in v0.12.0
func (o *IPUsageParams) SetDefaults()
SetDefaults hydrates default values in the ip usage params (not the query body).
All values with no default are reset to their zero value.
func (*IPUsageParams) SetHTTPClient ¶
func (o *IPUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ip usage params
func (*IPUsageParams) SetTimeout ¶
func (o *IPUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ip usage params
func (*IPUsageParams) WithBody ¶
func (o *IPUsageParams) WithBody(body *models.V1IPUsageRequest) *IPUsageParams
WithBody adds the body to the ip usage params
func (*IPUsageParams) WithContext ¶
func (o *IPUsageParams) WithContext(ctx context.Context) *IPUsageParams
WithContext adds the context to the ip usage params
func (*IPUsageParams) WithDefaults ¶ added in v0.12.0
func (o *IPUsageParams) WithDefaults() *IPUsageParams
WithDefaults hydrates default values in the ip usage params (not the query body).
All values with no default are reset to their zero value.
func (*IPUsageParams) WithHTTPClient ¶
func (o *IPUsageParams) WithHTTPClient(client *http.Client) *IPUsageParams
WithHTTPClient adds the HTTPClient to the ip usage params
func (*IPUsageParams) WithTimeout ¶
func (o *IPUsageParams) WithTimeout(timeout time.Duration) *IPUsageParams
WithTimeout adds the timeout to the ip usage params
func (*IPUsageParams) WriteToRequest ¶
func (o *IPUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IPUsageReader ¶
type IPUsageReader struct {
// contains filtered or unexported fields
}
IPUsageReader is a Reader for the IPUsage structure.
func (*IPUsageReader) ReadResponse ¶
func (o *IPUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkUsageCSVDefault ¶
type NetworkUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
NetworkUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewNetworkUsageCSVDefault ¶
func NewNetworkUsageCSVDefault(code int) *NetworkUsageCSVDefault
NewNetworkUsageCSVDefault creates a NetworkUsageCSVDefault with default headers values
func (*NetworkUsageCSVDefault) Code ¶
func (o *NetworkUsageCSVDefault) Code() int
Code gets the status code for the network usage c s v default response
func (*NetworkUsageCSVDefault) Error ¶
func (o *NetworkUsageCSVDefault) Error() string
func (*NetworkUsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *NetworkUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*NetworkUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) IsClientError() bool
IsClientError returns true when this network usage c s v default response has a 4xx status code
func (*NetworkUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this network usage c s v default response a status code equal to that given
func (*NetworkUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this network usage c s v default response has a 3xx status code
func (*NetworkUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) IsServerError() bool
IsServerError returns true when this network usage c s v default response has a 5xx status code
func (*NetworkUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this network usage c s v default response has a 2xx status code
func (*NetworkUsageCSVDefault) String ¶ added in v0.19.0
func (o *NetworkUsageCSVDefault) String() string
type NetworkUsageCSVOK ¶
type NetworkUsageCSVOK struct {
Payload string
}
NetworkUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewNetworkUsageCSVOK ¶
func NewNetworkUsageCSVOK() *NetworkUsageCSVOK
NewNetworkUsageCSVOK creates a NetworkUsageCSVOK with default headers values
func (*NetworkUsageCSVOK) Error ¶
func (o *NetworkUsageCSVOK) Error() string
func (*NetworkUsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *NetworkUsageCSVOK) GetPayload() string
func (*NetworkUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) IsClientError() bool
IsClientError returns true when this network usage c s v o k response has a 4xx status code
func (*NetworkUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) IsCode(code int) bool
IsCode returns true when this network usage c s v o k response a status code equal to that given
func (*NetworkUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this network usage c s v o k response has a 3xx status code
func (*NetworkUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) IsServerError() bool
IsServerError returns true when this network usage c s v o k response has a 5xx status code
func (*NetworkUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this network usage c s v o k response has a 2xx status code
func (*NetworkUsageCSVOK) String ¶ added in v0.19.0
func (o *NetworkUsageCSVOK) String() string
type NetworkUsageCSVParams ¶
type NetworkUsageCSVParams struct { // Body. Body *models.V1NetworkUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NetworkUsageCSVParams contains all the parameters to send to the API endpoint
for the network usage c s v operation. Typically these are written to a http.Request.
func NewNetworkUsageCSVParams ¶
func NewNetworkUsageCSVParams() *NetworkUsageCSVParams
NewNetworkUsageCSVParams creates a new NetworkUsageCSVParams 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 NewNetworkUsageCSVParamsWithContext ¶
func NewNetworkUsageCSVParamsWithContext(ctx context.Context) *NetworkUsageCSVParams
NewNetworkUsageCSVParamsWithContext creates a new NetworkUsageCSVParams object with the ability to set a context for a request.
func NewNetworkUsageCSVParamsWithHTTPClient ¶
func NewNetworkUsageCSVParamsWithHTTPClient(client *http.Client) *NetworkUsageCSVParams
NewNetworkUsageCSVParamsWithHTTPClient creates a new NetworkUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkUsageCSVParamsWithTimeout ¶
func NewNetworkUsageCSVParamsWithTimeout(timeout time.Duration) *NetworkUsageCSVParams
NewNetworkUsageCSVParamsWithTimeout creates a new NetworkUsageCSVParams object with the ability to set a timeout on a request.
func (*NetworkUsageCSVParams) SetBody ¶
func (o *NetworkUsageCSVParams) SetBody(body *models.V1NetworkUsageRequest)
SetBody adds the body to the network usage c s v params
func (*NetworkUsageCSVParams) SetContext ¶
func (o *NetworkUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the network usage c s v params
func (*NetworkUsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *NetworkUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the network usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUsageCSVParams) SetHTTPClient ¶
func (o *NetworkUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network usage c s v params
func (*NetworkUsageCSVParams) SetTimeout ¶
func (o *NetworkUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network usage c s v params
func (*NetworkUsageCSVParams) WithBody ¶
func (o *NetworkUsageCSVParams) WithBody(body *models.V1NetworkUsageRequest) *NetworkUsageCSVParams
WithBody adds the body to the network usage c s v params
func (*NetworkUsageCSVParams) WithContext ¶
func (o *NetworkUsageCSVParams) WithContext(ctx context.Context) *NetworkUsageCSVParams
WithContext adds the context to the network usage c s v params
func (*NetworkUsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *NetworkUsageCSVParams) WithDefaults() *NetworkUsageCSVParams
WithDefaults hydrates default values in the network usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUsageCSVParams) WithHTTPClient ¶
func (o *NetworkUsageCSVParams) WithHTTPClient(client *http.Client) *NetworkUsageCSVParams
WithHTTPClient adds the HTTPClient to the network usage c s v params
func (*NetworkUsageCSVParams) WithTimeout ¶
func (o *NetworkUsageCSVParams) WithTimeout(timeout time.Duration) *NetworkUsageCSVParams
WithTimeout adds the timeout to the network usage c s v params
func (*NetworkUsageCSVParams) WriteToRequest ¶
func (o *NetworkUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NetworkUsageCSVReader ¶
type NetworkUsageCSVReader struct {
// contains filtered or unexported fields
}
NetworkUsageCSVReader is a Reader for the NetworkUsageCSV structure.
func (*NetworkUsageCSVReader) ReadResponse ¶
func (o *NetworkUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NetworkUsageDefault ¶
type NetworkUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
NetworkUsageDefault describes a response with status code -1, with default header values.
Error
func NewNetworkUsageDefault ¶
func NewNetworkUsageDefault(code int) *NetworkUsageDefault
NewNetworkUsageDefault creates a NetworkUsageDefault with default headers values
func (*NetworkUsageDefault) Code ¶
func (o *NetworkUsageDefault) Code() int
Code gets the status code for the network usage default response
func (*NetworkUsageDefault) Error ¶
func (o *NetworkUsageDefault) Error() string
func (*NetworkUsageDefault) GetPayload ¶ added in v0.9.1
func (o *NetworkUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*NetworkUsageDefault) IsClientError ¶ added in v0.19.0
func (o *NetworkUsageDefault) IsClientError() bool
IsClientError returns true when this network usage default response has a 4xx status code
func (*NetworkUsageDefault) IsCode ¶ added in v0.19.0
func (o *NetworkUsageDefault) IsCode(code int) bool
IsCode returns true when this network usage default response a status code equal to that given
func (*NetworkUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *NetworkUsageDefault) IsRedirect() bool
IsRedirect returns true when this network usage default response has a 3xx status code
func (*NetworkUsageDefault) IsServerError ¶ added in v0.19.0
func (o *NetworkUsageDefault) IsServerError() bool
IsServerError returns true when this network usage default response has a 5xx status code
func (*NetworkUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *NetworkUsageDefault) IsSuccess() bool
IsSuccess returns true when this network usage default response has a 2xx status code
func (*NetworkUsageDefault) String ¶ added in v0.19.0
func (o *NetworkUsageDefault) String() string
type NetworkUsageOK ¶
type NetworkUsageOK struct {
Payload *models.V1NetworkUsageResponse
}
NetworkUsageOK describes a response with status code 200, with default header values.
OK
func NewNetworkUsageOK ¶
func NewNetworkUsageOK() *NetworkUsageOK
NewNetworkUsageOK creates a NetworkUsageOK with default headers values
func (*NetworkUsageOK) Error ¶
func (o *NetworkUsageOK) Error() string
func (*NetworkUsageOK) GetPayload ¶ added in v0.9.1
func (o *NetworkUsageOK) GetPayload() *models.V1NetworkUsageResponse
func (*NetworkUsageOK) IsClientError ¶ added in v0.19.0
func (o *NetworkUsageOK) IsClientError() bool
IsClientError returns true when this network usage o k response has a 4xx status code
func (*NetworkUsageOK) IsCode ¶ added in v0.19.0
func (o *NetworkUsageOK) IsCode(code int) bool
IsCode returns true when this network usage o k response a status code equal to that given
func (*NetworkUsageOK) IsRedirect ¶ added in v0.19.0
func (o *NetworkUsageOK) IsRedirect() bool
IsRedirect returns true when this network usage o k response has a 3xx status code
func (*NetworkUsageOK) IsServerError ¶ added in v0.19.0
func (o *NetworkUsageOK) IsServerError() bool
IsServerError returns true when this network usage o k response has a 5xx status code
func (*NetworkUsageOK) IsSuccess ¶ added in v0.19.0
func (o *NetworkUsageOK) IsSuccess() bool
IsSuccess returns true when this network usage o k response has a 2xx status code
func (*NetworkUsageOK) String ¶ added in v0.19.0
func (o *NetworkUsageOK) String() string
type NetworkUsageParams ¶
type NetworkUsageParams struct { // Body. Body *models.V1NetworkUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NetworkUsageParams contains all the parameters to send to the API endpoint
for the network usage operation. Typically these are written to a http.Request.
func NewNetworkUsageParams ¶
func NewNetworkUsageParams() *NetworkUsageParams
NewNetworkUsageParams creates a new NetworkUsageParams 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 NewNetworkUsageParamsWithContext ¶
func NewNetworkUsageParamsWithContext(ctx context.Context) *NetworkUsageParams
NewNetworkUsageParamsWithContext creates a new NetworkUsageParams object with the ability to set a context for a request.
func NewNetworkUsageParamsWithHTTPClient ¶
func NewNetworkUsageParamsWithHTTPClient(client *http.Client) *NetworkUsageParams
NewNetworkUsageParamsWithHTTPClient creates a new NetworkUsageParams object with the ability to set a custom HTTPClient for a request.
func NewNetworkUsageParamsWithTimeout ¶
func NewNetworkUsageParamsWithTimeout(timeout time.Duration) *NetworkUsageParams
NewNetworkUsageParamsWithTimeout creates a new NetworkUsageParams object with the ability to set a timeout on a request.
func (*NetworkUsageParams) SetBody ¶
func (o *NetworkUsageParams) SetBody(body *models.V1NetworkUsageRequest)
SetBody adds the body to the network usage params
func (*NetworkUsageParams) SetContext ¶
func (o *NetworkUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the network usage params
func (*NetworkUsageParams) SetDefaults ¶ added in v0.12.0
func (o *NetworkUsageParams) SetDefaults()
SetDefaults hydrates default values in the network usage params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUsageParams) SetHTTPClient ¶
func (o *NetworkUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the network usage params
func (*NetworkUsageParams) SetTimeout ¶
func (o *NetworkUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the network usage params
func (*NetworkUsageParams) WithBody ¶
func (o *NetworkUsageParams) WithBody(body *models.V1NetworkUsageRequest) *NetworkUsageParams
WithBody adds the body to the network usage params
func (*NetworkUsageParams) WithContext ¶
func (o *NetworkUsageParams) WithContext(ctx context.Context) *NetworkUsageParams
WithContext adds the context to the network usage params
func (*NetworkUsageParams) WithDefaults ¶ added in v0.12.0
func (o *NetworkUsageParams) WithDefaults() *NetworkUsageParams
WithDefaults hydrates default values in the network usage params (not the query body).
All values with no default are reset to their zero value.
func (*NetworkUsageParams) WithHTTPClient ¶
func (o *NetworkUsageParams) WithHTTPClient(client *http.Client) *NetworkUsageParams
WithHTTPClient adds the HTTPClient to the network usage params
func (*NetworkUsageParams) WithTimeout ¶
func (o *NetworkUsageParams) WithTimeout(timeout time.Duration) *NetworkUsageParams
WithTimeout adds the timeout to the network usage params
func (*NetworkUsageParams) WriteToRequest ¶
func (o *NetworkUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NetworkUsageReader ¶
type NetworkUsageReader struct {
// contains filtered or unexported fields
}
NetworkUsageReader is a Reader for the NetworkUsage structure.
func (*NetworkUsageReader) ReadResponse ¶
func (o *NetworkUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostgresUsageCSVDefault ¶ added in v0.17.4
type PostgresUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
PostgresUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewPostgresUsageCSVDefault ¶ added in v0.17.4
func NewPostgresUsageCSVDefault(code int) *PostgresUsageCSVDefault
NewPostgresUsageCSVDefault creates a PostgresUsageCSVDefault with default headers values
func (*PostgresUsageCSVDefault) Code ¶ added in v0.17.4
func (o *PostgresUsageCSVDefault) Code() int
Code gets the status code for the postgres usage c s v default response
func (*PostgresUsageCSVDefault) Error ¶ added in v0.17.4
func (o *PostgresUsageCSVDefault) Error() string
func (*PostgresUsageCSVDefault) GetPayload ¶ added in v0.17.4
func (o *PostgresUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*PostgresUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) IsClientError() bool
IsClientError returns true when this postgres usage c s v default response has a 4xx status code
func (*PostgresUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this postgres usage c s v default response a status code equal to that given
func (*PostgresUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this postgres usage c s v default response has a 3xx status code
func (*PostgresUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) IsServerError() bool
IsServerError returns true when this postgres usage c s v default response has a 5xx status code
func (*PostgresUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this postgres usage c s v default response has a 2xx status code
func (*PostgresUsageCSVDefault) String ¶ added in v0.19.0
func (o *PostgresUsageCSVDefault) String() string
type PostgresUsageCSVOK ¶ added in v0.17.4
type PostgresUsageCSVOK struct {
Payload string
}
PostgresUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewPostgresUsageCSVOK ¶ added in v0.17.4
func NewPostgresUsageCSVOK() *PostgresUsageCSVOK
NewPostgresUsageCSVOK creates a PostgresUsageCSVOK with default headers values
func (*PostgresUsageCSVOK) Error ¶ added in v0.17.4
func (o *PostgresUsageCSVOK) Error() string
func (*PostgresUsageCSVOK) GetPayload ¶ added in v0.17.4
func (o *PostgresUsageCSVOK) GetPayload() string
func (*PostgresUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) IsClientError() bool
IsClientError returns true when this postgres usage c s v o k response has a 4xx status code
func (*PostgresUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) IsCode(code int) bool
IsCode returns true when this postgres usage c s v o k response a status code equal to that given
func (*PostgresUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this postgres usage c s v o k response has a 3xx status code
func (*PostgresUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) IsServerError() bool
IsServerError returns true when this postgres usage c s v o k response has a 5xx status code
func (*PostgresUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this postgres usage c s v o k response has a 2xx status code
func (*PostgresUsageCSVOK) String ¶ added in v0.19.0
func (o *PostgresUsageCSVOK) String() string
type PostgresUsageCSVParams ¶ added in v0.17.4
type PostgresUsageCSVParams struct { // Body. Body *models.V1PostgresUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostgresUsageCSVParams contains all the parameters to send to the API endpoint
for the postgres usage c s v operation. Typically these are written to a http.Request.
func NewPostgresUsageCSVParams ¶ added in v0.17.4
func NewPostgresUsageCSVParams() *PostgresUsageCSVParams
NewPostgresUsageCSVParams creates a new PostgresUsageCSVParams 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 NewPostgresUsageCSVParamsWithContext ¶ added in v0.17.4
func NewPostgresUsageCSVParamsWithContext(ctx context.Context) *PostgresUsageCSVParams
NewPostgresUsageCSVParamsWithContext creates a new PostgresUsageCSVParams object with the ability to set a context for a request.
func NewPostgresUsageCSVParamsWithHTTPClient ¶ added in v0.17.4
func NewPostgresUsageCSVParamsWithHTTPClient(client *http.Client) *PostgresUsageCSVParams
NewPostgresUsageCSVParamsWithHTTPClient creates a new PostgresUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewPostgresUsageCSVParamsWithTimeout ¶ added in v0.17.4
func NewPostgresUsageCSVParamsWithTimeout(timeout time.Duration) *PostgresUsageCSVParams
NewPostgresUsageCSVParamsWithTimeout creates a new PostgresUsageCSVParams object with the ability to set a timeout on a request.
func (*PostgresUsageCSVParams) SetBody ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) SetBody(body *models.V1PostgresUsageRequest)
SetBody adds the body to the postgres usage c s v params
func (*PostgresUsageCSVParams) SetContext ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the postgres usage c s v params
func (*PostgresUsageCSVParams) SetDefaults ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the postgres usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*PostgresUsageCSVParams) SetHTTPClient ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the postgres usage c s v params
func (*PostgresUsageCSVParams) SetTimeout ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the postgres usage c s v params
func (*PostgresUsageCSVParams) WithBody ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WithBody(body *models.V1PostgresUsageRequest) *PostgresUsageCSVParams
WithBody adds the body to the postgres usage c s v params
func (*PostgresUsageCSVParams) WithContext ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WithContext(ctx context.Context) *PostgresUsageCSVParams
WithContext adds the context to the postgres usage c s v params
func (*PostgresUsageCSVParams) WithDefaults ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WithDefaults() *PostgresUsageCSVParams
WithDefaults hydrates default values in the postgres usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*PostgresUsageCSVParams) WithHTTPClient ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WithHTTPClient(client *http.Client) *PostgresUsageCSVParams
WithHTTPClient adds the HTTPClient to the postgres usage c s v params
func (*PostgresUsageCSVParams) WithTimeout ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WithTimeout(timeout time.Duration) *PostgresUsageCSVParams
WithTimeout adds the timeout to the postgres usage c s v params
func (*PostgresUsageCSVParams) WriteToRequest ¶ added in v0.17.4
func (o *PostgresUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostgresUsageCSVReader ¶ added in v0.17.4
type PostgresUsageCSVReader struct {
// contains filtered or unexported fields
}
PostgresUsageCSVReader is a Reader for the PostgresUsageCSV structure.
func (*PostgresUsageCSVReader) ReadResponse ¶ added in v0.17.4
func (o *PostgresUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostgresUsageDefault ¶ added in v0.17.4
type PostgresUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
PostgresUsageDefault describes a response with status code -1, with default header values.
Error
func NewPostgresUsageDefault ¶ added in v0.17.4
func NewPostgresUsageDefault(code int) *PostgresUsageDefault
NewPostgresUsageDefault creates a PostgresUsageDefault with default headers values
func (*PostgresUsageDefault) Code ¶ added in v0.17.4
func (o *PostgresUsageDefault) Code() int
Code gets the status code for the postgres usage default response
func (*PostgresUsageDefault) Error ¶ added in v0.17.4
func (o *PostgresUsageDefault) Error() string
func (*PostgresUsageDefault) GetPayload ¶ added in v0.17.4
func (o *PostgresUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*PostgresUsageDefault) IsClientError ¶ added in v0.19.0
func (o *PostgresUsageDefault) IsClientError() bool
IsClientError returns true when this postgres usage default response has a 4xx status code
func (*PostgresUsageDefault) IsCode ¶ added in v0.19.0
func (o *PostgresUsageDefault) IsCode(code int) bool
IsCode returns true when this postgres usage default response a status code equal to that given
func (*PostgresUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *PostgresUsageDefault) IsRedirect() bool
IsRedirect returns true when this postgres usage default response has a 3xx status code
func (*PostgresUsageDefault) IsServerError ¶ added in v0.19.0
func (o *PostgresUsageDefault) IsServerError() bool
IsServerError returns true when this postgres usage default response has a 5xx status code
func (*PostgresUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *PostgresUsageDefault) IsSuccess() bool
IsSuccess returns true when this postgres usage default response has a 2xx status code
func (*PostgresUsageDefault) String ¶ added in v0.19.0
func (o *PostgresUsageDefault) String() string
type PostgresUsageOK ¶ added in v0.17.4
type PostgresUsageOK struct {
Payload *models.V1PostgresUsageResponse
}
PostgresUsageOK describes a response with status code 200, with default header values.
OK
func NewPostgresUsageOK ¶ added in v0.17.4
func NewPostgresUsageOK() *PostgresUsageOK
NewPostgresUsageOK creates a PostgresUsageOK with default headers values
func (*PostgresUsageOK) Error ¶ added in v0.17.4
func (o *PostgresUsageOK) Error() string
func (*PostgresUsageOK) GetPayload ¶ added in v0.17.4
func (o *PostgresUsageOK) GetPayload() *models.V1PostgresUsageResponse
func (*PostgresUsageOK) IsClientError ¶ added in v0.19.0
func (o *PostgresUsageOK) IsClientError() bool
IsClientError returns true when this postgres usage o k response has a 4xx status code
func (*PostgresUsageOK) IsCode ¶ added in v0.19.0
func (o *PostgresUsageOK) IsCode(code int) bool
IsCode returns true when this postgres usage o k response a status code equal to that given
func (*PostgresUsageOK) IsRedirect ¶ added in v0.19.0
func (o *PostgresUsageOK) IsRedirect() bool
IsRedirect returns true when this postgres usage o k response has a 3xx status code
func (*PostgresUsageOK) IsServerError ¶ added in v0.19.0
func (o *PostgresUsageOK) IsServerError() bool
IsServerError returns true when this postgres usage o k response has a 5xx status code
func (*PostgresUsageOK) IsSuccess ¶ added in v0.19.0
func (o *PostgresUsageOK) IsSuccess() bool
IsSuccess returns true when this postgres usage o k response has a 2xx status code
func (*PostgresUsageOK) String ¶ added in v0.19.0
func (o *PostgresUsageOK) String() string
type PostgresUsageParams ¶ added in v0.17.4
type PostgresUsageParams struct { // Body. Body *models.V1PostgresUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostgresUsageParams contains all the parameters to send to the API endpoint
for the postgres usage operation. Typically these are written to a http.Request.
func NewPostgresUsageParams ¶ added in v0.17.4
func NewPostgresUsageParams() *PostgresUsageParams
NewPostgresUsageParams creates a new PostgresUsageParams 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 NewPostgresUsageParamsWithContext ¶ added in v0.17.4
func NewPostgresUsageParamsWithContext(ctx context.Context) *PostgresUsageParams
NewPostgresUsageParamsWithContext creates a new PostgresUsageParams object with the ability to set a context for a request.
func NewPostgresUsageParamsWithHTTPClient ¶ added in v0.17.4
func NewPostgresUsageParamsWithHTTPClient(client *http.Client) *PostgresUsageParams
NewPostgresUsageParamsWithHTTPClient creates a new PostgresUsageParams object with the ability to set a custom HTTPClient for a request.
func NewPostgresUsageParamsWithTimeout ¶ added in v0.17.4
func NewPostgresUsageParamsWithTimeout(timeout time.Duration) *PostgresUsageParams
NewPostgresUsageParamsWithTimeout creates a new PostgresUsageParams object with the ability to set a timeout on a request.
func (*PostgresUsageParams) SetBody ¶ added in v0.17.4
func (o *PostgresUsageParams) SetBody(body *models.V1PostgresUsageRequest)
SetBody adds the body to the postgres usage params
func (*PostgresUsageParams) SetContext ¶ added in v0.17.4
func (o *PostgresUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the postgres usage params
func (*PostgresUsageParams) SetDefaults ¶ added in v0.17.4
func (o *PostgresUsageParams) SetDefaults()
SetDefaults hydrates default values in the postgres usage params (not the query body).
All values with no default are reset to their zero value.
func (*PostgresUsageParams) SetHTTPClient ¶ added in v0.17.4
func (o *PostgresUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the postgres usage params
func (*PostgresUsageParams) SetTimeout ¶ added in v0.17.4
func (o *PostgresUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the postgres usage params
func (*PostgresUsageParams) WithBody ¶ added in v0.17.4
func (o *PostgresUsageParams) WithBody(body *models.V1PostgresUsageRequest) *PostgresUsageParams
WithBody adds the body to the postgres usage params
func (*PostgresUsageParams) WithContext ¶ added in v0.17.4
func (o *PostgresUsageParams) WithContext(ctx context.Context) *PostgresUsageParams
WithContext adds the context to the postgres usage params
func (*PostgresUsageParams) WithDefaults ¶ added in v0.17.4
func (o *PostgresUsageParams) WithDefaults() *PostgresUsageParams
WithDefaults hydrates default values in the postgres usage params (not the query body).
All values with no default are reset to their zero value.
func (*PostgresUsageParams) WithHTTPClient ¶ added in v0.17.4
func (o *PostgresUsageParams) WithHTTPClient(client *http.Client) *PostgresUsageParams
WithHTTPClient adds the HTTPClient to the postgres usage params
func (*PostgresUsageParams) WithTimeout ¶ added in v0.17.4
func (o *PostgresUsageParams) WithTimeout(timeout time.Duration) *PostgresUsageParams
WithTimeout adds the timeout to the postgres usage params
func (*PostgresUsageParams) WriteToRequest ¶ added in v0.17.4
func (o *PostgresUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostgresUsageReader ¶ added in v0.17.4
type PostgresUsageReader struct {
// contains filtered or unexported fields
}
PostgresUsageReader is a Reader for the PostgresUsage structure.
func (*PostgresUsageReader) ReadResponse ¶ added in v0.17.4
func (o *PostgresUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsDefault ¶ added in v0.18.20
type ProjectsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ProjectsDefault describes a response with status code -1, with default header values.
Error
func NewProjectsDefault ¶ added in v0.18.20
func NewProjectsDefault(code int) *ProjectsDefault
NewProjectsDefault creates a ProjectsDefault with default headers values
func (*ProjectsDefault) Code ¶ added in v0.18.20
func (o *ProjectsDefault) Code() int
Code gets the status code for the projects default response
func (*ProjectsDefault) Error ¶ added in v0.18.20
func (o *ProjectsDefault) Error() string
func (*ProjectsDefault) GetPayload ¶ added in v0.18.20
func (o *ProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ProjectsDefault) IsClientError ¶ added in v0.19.0
func (o *ProjectsDefault) IsClientError() bool
IsClientError returns true when this projects default response has a 4xx status code
func (*ProjectsDefault) IsCode ¶ added in v0.19.0
func (o *ProjectsDefault) IsCode(code int) bool
IsCode returns true when this projects default response a status code equal to that given
func (*ProjectsDefault) IsRedirect ¶ added in v0.19.0
func (o *ProjectsDefault) IsRedirect() bool
IsRedirect returns true when this projects default response has a 3xx status code
func (*ProjectsDefault) IsServerError ¶ added in v0.19.0
func (o *ProjectsDefault) IsServerError() bool
IsServerError returns true when this projects default response has a 5xx status code
func (*ProjectsDefault) IsSuccess ¶ added in v0.19.0
func (o *ProjectsDefault) IsSuccess() bool
IsSuccess returns true when this projects default response has a 2xx status code
func (*ProjectsDefault) String ¶ added in v0.19.0
func (o *ProjectsDefault) String() string
type ProjectsOK ¶ added in v0.18.20
type ProjectsOK struct {
Payload []*models.V1ProjectInfoResponse
}
ProjectsOK describes a response with status code 200, with default header values.
OK
func NewProjectsOK ¶ added in v0.18.20
func NewProjectsOK() *ProjectsOK
NewProjectsOK creates a ProjectsOK with default headers values
func (*ProjectsOK) Error ¶ added in v0.18.20
func (o *ProjectsOK) Error() string
func (*ProjectsOK) GetPayload ¶ added in v0.18.20
func (o *ProjectsOK) GetPayload() []*models.V1ProjectInfoResponse
func (*ProjectsOK) IsClientError ¶ added in v0.19.0
func (o *ProjectsOK) IsClientError() bool
IsClientError returns true when this projects o k response has a 4xx status code
func (*ProjectsOK) IsCode ¶ added in v0.19.0
func (o *ProjectsOK) IsCode(code int) bool
IsCode returns true when this projects o k response a status code equal to that given
func (*ProjectsOK) IsRedirect ¶ added in v0.19.0
func (o *ProjectsOK) IsRedirect() bool
IsRedirect returns true when this projects o k response has a 3xx status code
func (*ProjectsOK) IsServerError ¶ added in v0.19.0
func (o *ProjectsOK) IsServerError() bool
IsServerError returns true when this projects o k response has a 5xx status code
func (*ProjectsOK) IsSuccess ¶ added in v0.19.0
func (o *ProjectsOK) IsSuccess() bool
IsSuccess returns true when this projects o k response has a 2xx status code
func (*ProjectsOK) String ¶ added in v0.19.0
func (o *ProjectsOK) String() string
type ProjectsParams ¶ added in v0.18.20
type ProjectsParams struct { // Body. Body *models.V1ProjectInfoRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsParams contains all the parameters to send to the API endpoint
for the projects operation. Typically these are written to a http.Request.
func NewProjectsParams ¶ added in v0.18.20
func NewProjectsParams() *ProjectsParams
NewProjectsParams creates a new ProjectsParams 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 NewProjectsParamsWithContext ¶ added in v0.18.20
func NewProjectsParamsWithContext(ctx context.Context) *ProjectsParams
NewProjectsParamsWithContext creates a new ProjectsParams object with the ability to set a context for a request.
func NewProjectsParamsWithHTTPClient ¶ added in v0.18.20
func NewProjectsParamsWithHTTPClient(client *http.Client) *ProjectsParams
NewProjectsParamsWithHTTPClient creates a new ProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsParamsWithTimeout ¶ added in v0.18.20
func NewProjectsParamsWithTimeout(timeout time.Duration) *ProjectsParams
NewProjectsParamsWithTimeout creates a new ProjectsParams object with the ability to set a timeout on a request.
func (*ProjectsParams) SetBody ¶ added in v0.18.20
func (o *ProjectsParams) SetBody(body *models.V1ProjectInfoRequest)
SetBody adds the body to the projects params
func (*ProjectsParams) SetContext ¶ added in v0.18.20
func (o *ProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the projects params
func (*ProjectsParams) SetDefaults ¶ added in v0.18.20
func (o *ProjectsParams) SetDefaults()
SetDefaults hydrates default values in the projects params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsParams) SetHTTPClient ¶ added in v0.18.20
func (o *ProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects params
func (*ProjectsParams) SetTimeout ¶ added in v0.18.20
func (o *ProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects params
func (*ProjectsParams) WithBody ¶ added in v0.18.20
func (o *ProjectsParams) WithBody(body *models.V1ProjectInfoRequest) *ProjectsParams
WithBody adds the body to the projects params
func (*ProjectsParams) WithContext ¶ added in v0.18.20
func (o *ProjectsParams) WithContext(ctx context.Context) *ProjectsParams
WithContext adds the context to the projects params
func (*ProjectsParams) WithDefaults ¶ added in v0.18.20
func (o *ProjectsParams) WithDefaults() *ProjectsParams
WithDefaults hydrates default values in the projects params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsParams) WithHTTPClient ¶ added in v0.18.20
func (o *ProjectsParams) WithHTTPClient(client *http.Client) *ProjectsParams
WithHTTPClient adds the HTTPClient to the projects params
func (*ProjectsParams) WithTimeout ¶ added in v0.18.20
func (o *ProjectsParams) WithTimeout(timeout time.Duration) *ProjectsParams
WithTimeout adds the timeout to the projects params
func (*ProjectsParams) WriteToRequest ¶ added in v0.18.20
func (o *ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsReader ¶ added in v0.18.20
type ProjectsReader struct {
// contains filtered or unexported fields
}
ProjectsReader is a Reader for the Projects structure.
func (*ProjectsReader) ReadResponse ¶ added in v0.18.20
func (o *ProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type S3UsageCSVDefault ¶
type S3UsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
S3UsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewS3UsageCSVDefault ¶
func NewS3UsageCSVDefault(code int) *S3UsageCSVDefault
NewS3UsageCSVDefault creates a S3UsageCSVDefault with default headers values
func (*S3UsageCSVDefault) Code ¶
func (o *S3UsageCSVDefault) Code() int
Code gets the status code for the s3 usage c s v default response
func (*S3UsageCSVDefault) Error ¶
func (o *S3UsageCSVDefault) Error() string
func (*S3UsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *S3UsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*S3UsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *S3UsageCSVDefault) IsClientError() bool
IsClientError returns true when this s3 usage c s v default response has a 4xx status code
func (*S3UsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *S3UsageCSVDefault) IsCode(code int) bool
IsCode returns true when this s3 usage c s v default response a status code equal to that given
func (*S3UsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *S3UsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this s3 usage c s v default response has a 3xx status code
func (*S3UsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *S3UsageCSVDefault) IsServerError() bool
IsServerError returns true when this s3 usage c s v default response has a 5xx status code
func (*S3UsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *S3UsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this s3 usage c s v default response has a 2xx status code
func (*S3UsageCSVDefault) String ¶ added in v0.19.0
func (o *S3UsageCSVDefault) String() string
type S3UsageCSVOK ¶
type S3UsageCSVOK struct {
Payload string
}
S3UsageCSVOK describes a response with status code 200, with default header values.
OK
func NewS3UsageCSVOK ¶
func NewS3UsageCSVOK() *S3UsageCSVOK
NewS3UsageCSVOK creates a S3UsageCSVOK with default headers values
func (*S3UsageCSVOK) Error ¶
func (o *S3UsageCSVOK) Error() string
func (*S3UsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *S3UsageCSVOK) GetPayload() string
func (*S3UsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *S3UsageCSVOK) IsClientError() bool
IsClientError returns true when this s3 usage c s v o k response has a 4xx status code
func (*S3UsageCSVOK) IsCode ¶ added in v0.19.0
func (o *S3UsageCSVOK) IsCode(code int) bool
IsCode returns true when this s3 usage c s v o k response a status code equal to that given
func (*S3UsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *S3UsageCSVOK) IsRedirect() bool
IsRedirect returns true when this s3 usage c s v o k response has a 3xx status code
func (*S3UsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *S3UsageCSVOK) IsServerError() bool
IsServerError returns true when this s3 usage c s v o k response has a 5xx status code
func (*S3UsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *S3UsageCSVOK) IsSuccess() bool
IsSuccess returns true when this s3 usage c s v o k response has a 2xx status code
func (*S3UsageCSVOK) String ¶ added in v0.19.0
func (o *S3UsageCSVOK) String() string
type S3UsageCSVParams ¶
type S3UsageCSVParams struct { // Body. Body *models.V1S3UsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
S3UsageCSVParams contains all the parameters to send to the API endpoint
for the s3 usage c s v operation. Typically these are written to a http.Request.
func NewS3UsageCSVParams ¶
func NewS3UsageCSVParams() *S3UsageCSVParams
NewS3UsageCSVParams creates a new S3UsageCSVParams 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 NewS3UsageCSVParamsWithContext ¶
func NewS3UsageCSVParamsWithContext(ctx context.Context) *S3UsageCSVParams
NewS3UsageCSVParamsWithContext creates a new S3UsageCSVParams object with the ability to set a context for a request.
func NewS3UsageCSVParamsWithHTTPClient ¶
func NewS3UsageCSVParamsWithHTTPClient(client *http.Client) *S3UsageCSVParams
NewS3UsageCSVParamsWithHTTPClient creates a new S3UsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewS3UsageCSVParamsWithTimeout ¶
func NewS3UsageCSVParamsWithTimeout(timeout time.Duration) *S3UsageCSVParams
NewS3UsageCSVParamsWithTimeout creates a new S3UsageCSVParams object with the ability to set a timeout on a request.
func (*S3UsageCSVParams) SetBody ¶
func (o *S3UsageCSVParams) SetBody(body *models.V1S3UsageRequest)
SetBody adds the body to the s3 usage c s v params
func (*S3UsageCSVParams) SetContext ¶
func (o *S3UsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the s3 usage c s v params
func (*S3UsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *S3UsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the s3 usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*S3UsageCSVParams) SetHTTPClient ¶
func (o *S3UsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the s3 usage c s v params
func (*S3UsageCSVParams) SetTimeout ¶
func (o *S3UsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the s3 usage c s v params
func (*S3UsageCSVParams) WithBody ¶
func (o *S3UsageCSVParams) WithBody(body *models.V1S3UsageRequest) *S3UsageCSVParams
WithBody adds the body to the s3 usage c s v params
func (*S3UsageCSVParams) WithContext ¶
func (o *S3UsageCSVParams) WithContext(ctx context.Context) *S3UsageCSVParams
WithContext adds the context to the s3 usage c s v params
func (*S3UsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *S3UsageCSVParams) WithDefaults() *S3UsageCSVParams
WithDefaults hydrates default values in the s3 usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*S3UsageCSVParams) WithHTTPClient ¶
func (o *S3UsageCSVParams) WithHTTPClient(client *http.Client) *S3UsageCSVParams
WithHTTPClient adds the HTTPClient to the s3 usage c s v params
func (*S3UsageCSVParams) WithTimeout ¶
func (o *S3UsageCSVParams) WithTimeout(timeout time.Duration) *S3UsageCSVParams
WithTimeout adds the timeout to the s3 usage c s v params
func (*S3UsageCSVParams) WriteToRequest ¶
func (o *S3UsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type S3UsageCSVReader ¶
type S3UsageCSVReader struct {
// contains filtered or unexported fields
}
S3UsageCSVReader is a Reader for the S3UsageCSV structure.
func (*S3UsageCSVReader) ReadResponse ¶
func (o *S3UsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type S3UsageDefault ¶
type S3UsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
S3UsageDefault describes a response with status code -1, with default header values.
Error
func NewS3UsageDefault ¶
func NewS3UsageDefault(code int) *S3UsageDefault
NewS3UsageDefault creates a S3UsageDefault with default headers values
func (*S3UsageDefault) Code ¶
func (o *S3UsageDefault) Code() int
Code gets the status code for the s3 usage default response
func (*S3UsageDefault) Error ¶
func (o *S3UsageDefault) Error() string
func (*S3UsageDefault) GetPayload ¶ added in v0.9.1
func (o *S3UsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*S3UsageDefault) IsClientError ¶ added in v0.19.0
func (o *S3UsageDefault) IsClientError() bool
IsClientError returns true when this s3 usage default response has a 4xx status code
func (*S3UsageDefault) IsCode ¶ added in v0.19.0
func (o *S3UsageDefault) IsCode(code int) bool
IsCode returns true when this s3 usage default response a status code equal to that given
func (*S3UsageDefault) IsRedirect ¶ added in v0.19.0
func (o *S3UsageDefault) IsRedirect() bool
IsRedirect returns true when this s3 usage default response has a 3xx status code
func (*S3UsageDefault) IsServerError ¶ added in v0.19.0
func (o *S3UsageDefault) IsServerError() bool
IsServerError returns true when this s3 usage default response has a 5xx status code
func (*S3UsageDefault) IsSuccess ¶ added in v0.19.0
func (o *S3UsageDefault) IsSuccess() bool
IsSuccess returns true when this s3 usage default response has a 2xx status code
func (*S3UsageDefault) String ¶ added in v0.19.0
func (o *S3UsageDefault) String() string
type S3UsageOK ¶
type S3UsageOK struct {
Payload *models.V1S3UsageResponse
}
S3UsageOK describes a response with status code 200, with default header values.
OK
func NewS3UsageOK ¶
func NewS3UsageOK() *S3UsageOK
NewS3UsageOK creates a S3UsageOK with default headers values
func (*S3UsageOK) GetPayload ¶ added in v0.9.1
func (o *S3UsageOK) GetPayload() *models.V1S3UsageResponse
func (*S3UsageOK) IsClientError ¶ added in v0.19.0
IsClientError returns true when this s3 usage o k response has a 4xx status code
func (*S3UsageOK) IsCode ¶ added in v0.19.0
IsCode returns true when this s3 usage o k response a status code equal to that given
func (*S3UsageOK) IsRedirect ¶ added in v0.19.0
IsRedirect returns true when this s3 usage o k response has a 3xx status code
func (*S3UsageOK) IsServerError ¶ added in v0.19.0
IsServerError returns true when this s3 usage o k response has a 5xx status code
type S3UsageParams ¶
type S3UsageParams struct { // Body. Body *models.V1S3UsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
S3UsageParams contains all the parameters to send to the API endpoint
for the s3 usage operation. Typically these are written to a http.Request.
func NewS3UsageParams ¶
func NewS3UsageParams() *S3UsageParams
NewS3UsageParams creates a new S3UsageParams 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 NewS3UsageParamsWithContext ¶
func NewS3UsageParamsWithContext(ctx context.Context) *S3UsageParams
NewS3UsageParamsWithContext creates a new S3UsageParams object with the ability to set a context for a request.
func NewS3UsageParamsWithHTTPClient ¶
func NewS3UsageParamsWithHTTPClient(client *http.Client) *S3UsageParams
NewS3UsageParamsWithHTTPClient creates a new S3UsageParams object with the ability to set a custom HTTPClient for a request.
func NewS3UsageParamsWithTimeout ¶
func NewS3UsageParamsWithTimeout(timeout time.Duration) *S3UsageParams
NewS3UsageParamsWithTimeout creates a new S3UsageParams object with the ability to set a timeout on a request.
func (*S3UsageParams) SetBody ¶
func (o *S3UsageParams) SetBody(body *models.V1S3UsageRequest)
SetBody adds the body to the s3 usage params
func (*S3UsageParams) SetContext ¶
func (o *S3UsageParams) SetContext(ctx context.Context)
SetContext adds the context to the s3 usage params
func (*S3UsageParams) SetDefaults ¶ added in v0.12.0
func (o *S3UsageParams) SetDefaults()
SetDefaults hydrates default values in the s3 usage params (not the query body).
All values with no default are reset to their zero value.
func (*S3UsageParams) SetHTTPClient ¶
func (o *S3UsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the s3 usage params
func (*S3UsageParams) SetTimeout ¶
func (o *S3UsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the s3 usage params
func (*S3UsageParams) WithBody ¶
func (o *S3UsageParams) WithBody(body *models.V1S3UsageRequest) *S3UsageParams
WithBody adds the body to the s3 usage params
func (*S3UsageParams) WithContext ¶
func (o *S3UsageParams) WithContext(ctx context.Context) *S3UsageParams
WithContext adds the context to the s3 usage params
func (*S3UsageParams) WithDefaults ¶ added in v0.12.0
func (o *S3UsageParams) WithDefaults() *S3UsageParams
WithDefaults hydrates default values in the s3 usage params (not the query body).
All values with no default are reset to their zero value.
func (*S3UsageParams) WithHTTPClient ¶
func (o *S3UsageParams) WithHTTPClient(client *http.Client) *S3UsageParams
WithHTTPClient adds the HTTPClient to the s3 usage params
func (*S3UsageParams) WithTimeout ¶
func (o *S3UsageParams) WithTimeout(timeout time.Duration) *S3UsageParams
WithTimeout adds the timeout to the s3 usage params
func (*S3UsageParams) WriteToRequest ¶
func (o *S3UsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type S3UsageReader ¶
type S3UsageReader struct {
// contains filtered or unexported fields
}
S3UsageReader is a Reader for the S3Usage structure.
func (*S3UsageReader) ReadResponse ¶
func (o *S3UsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumeUsageCSVDefault ¶
type VolumeUsageCSVDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
VolumeUsageCSVDefault describes a response with status code -1, with default header values.
Error
func NewVolumeUsageCSVDefault ¶
func NewVolumeUsageCSVDefault(code int) *VolumeUsageCSVDefault
NewVolumeUsageCSVDefault creates a VolumeUsageCSVDefault with default headers values
func (*VolumeUsageCSVDefault) Code ¶
func (o *VolumeUsageCSVDefault) Code() int
Code gets the status code for the volume usage c s v default response
func (*VolumeUsageCSVDefault) Error ¶
func (o *VolumeUsageCSVDefault) Error() string
func (*VolumeUsageCSVDefault) GetPayload ¶ added in v0.9.1
func (o *VolumeUsageCSVDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*VolumeUsageCSVDefault) IsClientError ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) IsClientError() bool
IsClientError returns true when this volume usage c s v default response has a 4xx status code
func (*VolumeUsageCSVDefault) IsCode ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) IsCode(code int) bool
IsCode returns true when this volume usage c s v default response a status code equal to that given
func (*VolumeUsageCSVDefault) IsRedirect ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) IsRedirect() bool
IsRedirect returns true when this volume usage c s v default response has a 3xx status code
func (*VolumeUsageCSVDefault) IsServerError ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) IsServerError() bool
IsServerError returns true when this volume usage c s v default response has a 5xx status code
func (*VolumeUsageCSVDefault) IsSuccess ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) IsSuccess() bool
IsSuccess returns true when this volume usage c s v default response has a 2xx status code
func (*VolumeUsageCSVDefault) String ¶ added in v0.19.0
func (o *VolumeUsageCSVDefault) String() string
type VolumeUsageCSVOK ¶
type VolumeUsageCSVOK struct {
Payload string
}
VolumeUsageCSVOK describes a response with status code 200, with default header values.
OK
func NewVolumeUsageCSVOK ¶
func NewVolumeUsageCSVOK() *VolumeUsageCSVOK
NewVolumeUsageCSVOK creates a VolumeUsageCSVOK with default headers values
func (*VolumeUsageCSVOK) Error ¶
func (o *VolumeUsageCSVOK) Error() string
func (*VolumeUsageCSVOK) GetPayload ¶ added in v0.9.1
func (o *VolumeUsageCSVOK) GetPayload() string
func (*VolumeUsageCSVOK) IsClientError ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) IsClientError() bool
IsClientError returns true when this volume usage c s v o k response has a 4xx status code
func (*VolumeUsageCSVOK) IsCode ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) IsCode(code int) bool
IsCode returns true when this volume usage c s v o k response a status code equal to that given
func (*VolumeUsageCSVOK) IsRedirect ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) IsRedirect() bool
IsRedirect returns true when this volume usage c s v o k response has a 3xx status code
func (*VolumeUsageCSVOK) IsServerError ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) IsServerError() bool
IsServerError returns true when this volume usage c s v o k response has a 5xx status code
func (*VolumeUsageCSVOK) IsSuccess ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) IsSuccess() bool
IsSuccess returns true when this volume usage c s v o k response has a 2xx status code
func (*VolumeUsageCSVOK) String ¶ added in v0.19.0
func (o *VolumeUsageCSVOK) String() string
type VolumeUsageCSVParams ¶
type VolumeUsageCSVParams struct { // Body. Body *models.V1VolumeUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VolumeUsageCSVParams contains all the parameters to send to the API endpoint
for the volume usage c s v operation. Typically these are written to a http.Request.
func NewVolumeUsageCSVParams ¶
func NewVolumeUsageCSVParams() *VolumeUsageCSVParams
NewVolumeUsageCSVParams creates a new VolumeUsageCSVParams 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 NewVolumeUsageCSVParamsWithContext ¶
func NewVolumeUsageCSVParamsWithContext(ctx context.Context) *VolumeUsageCSVParams
NewVolumeUsageCSVParamsWithContext creates a new VolumeUsageCSVParams object with the ability to set a context for a request.
func NewVolumeUsageCSVParamsWithHTTPClient ¶
func NewVolumeUsageCSVParamsWithHTTPClient(client *http.Client) *VolumeUsageCSVParams
NewVolumeUsageCSVParamsWithHTTPClient creates a new VolumeUsageCSVParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeUsageCSVParamsWithTimeout ¶
func NewVolumeUsageCSVParamsWithTimeout(timeout time.Duration) *VolumeUsageCSVParams
NewVolumeUsageCSVParamsWithTimeout creates a new VolumeUsageCSVParams object with the ability to set a timeout on a request.
func (*VolumeUsageCSVParams) SetBody ¶
func (o *VolumeUsageCSVParams) SetBody(body *models.V1VolumeUsageRequest)
SetBody adds the body to the volume usage c s v params
func (*VolumeUsageCSVParams) SetContext ¶
func (o *VolumeUsageCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the volume usage c s v params
func (*VolumeUsageCSVParams) SetDefaults ¶ added in v0.12.0
func (o *VolumeUsageCSVParams) SetDefaults()
SetDefaults hydrates default values in the volume usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeUsageCSVParams) SetHTTPClient ¶
func (o *VolumeUsageCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume usage c s v params
func (*VolumeUsageCSVParams) SetTimeout ¶
func (o *VolumeUsageCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume usage c s v params
func (*VolumeUsageCSVParams) WithBody ¶
func (o *VolumeUsageCSVParams) WithBody(body *models.V1VolumeUsageRequest) *VolumeUsageCSVParams
WithBody adds the body to the volume usage c s v params
func (*VolumeUsageCSVParams) WithContext ¶
func (o *VolumeUsageCSVParams) WithContext(ctx context.Context) *VolumeUsageCSVParams
WithContext adds the context to the volume usage c s v params
func (*VolumeUsageCSVParams) WithDefaults ¶ added in v0.12.0
func (o *VolumeUsageCSVParams) WithDefaults() *VolumeUsageCSVParams
WithDefaults hydrates default values in the volume usage c s v params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeUsageCSVParams) WithHTTPClient ¶
func (o *VolumeUsageCSVParams) WithHTTPClient(client *http.Client) *VolumeUsageCSVParams
WithHTTPClient adds the HTTPClient to the volume usage c s v params
func (*VolumeUsageCSVParams) WithTimeout ¶
func (o *VolumeUsageCSVParams) WithTimeout(timeout time.Duration) *VolumeUsageCSVParams
WithTimeout adds the timeout to the volume usage c s v params
func (*VolumeUsageCSVParams) WriteToRequest ¶
func (o *VolumeUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VolumeUsageCSVReader ¶
type VolumeUsageCSVReader struct {
// contains filtered or unexported fields
}
VolumeUsageCSVReader is a Reader for the VolumeUsageCSV structure.
func (*VolumeUsageCSVReader) ReadResponse ¶
func (o *VolumeUsageCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumeUsageDefault ¶
type VolumeUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
VolumeUsageDefault describes a response with status code -1, with default header values.
Error
func NewVolumeUsageDefault ¶
func NewVolumeUsageDefault(code int) *VolumeUsageDefault
NewVolumeUsageDefault creates a VolumeUsageDefault with default headers values
func (*VolumeUsageDefault) Code ¶
func (o *VolumeUsageDefault) Code() int
Code gets the status code for the volume usage default response
func (*VolumeUsageDefault) Error ¶
func (o *VolumeUsageDefault) Error() string
func (*VolumeUsageDefault) GetPayload ¶ added in v0.9.1
func (o *VolumeUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*VolumeUsageDefault) IsClientError ¶ added in v0.19.0
func (o *VolumeUsageDefault) IsClientError() bool
IsClientError returns true when this volume usage default response has a 4xx status code
func (*VolumeUsageDefault) IsCode ¶ added in v0.19.0
func (o *VolumeUsageDefault) IsCode(code int) bool
IsCode returns true when this volume usage default response a status code equal to that given
func (*VolumeUsageDefault) IsRedirect ¶ added in v0.19.0
func (o *VolumeUsageDefault) IsRedirect() bool
IsRedirect returns true when this volume usage default response has a 3xx status code
func (*VolumeUsageDefault) IsServerError ¶ added in v0.19.0
func (o *VolumeUsageDefault) IsServerError() bool
IsServerError returns true when this volume usage default response has a 5xx status code
func (*VolumeUsageDefault) IsSuccess ¶ added in v0.19.0
func (o *VolumeUsageDefault) IsSuccess() bool
IsSuccess returns true when this volume usage default response has a 2xx status code
func (*VolumeUsageDefault) String ¶ added in v0.19.0
func (o *VolumeUsageDefault) String() string
type VolumeUsageOK ¶
type VolumeUsageOK struct {
Payload *models.V1VolumeUsageResponse
}
VolumeUsageOK describes a response with status code 200, with default header values.
OK
func NewVolumeUsageOK ¶
func NewVolumeUsageOK() *VolumeUsageOK
NewVolumeUsageOK creates a VolumeUsageOK with default headers values
func (*VolumeUsageOK) Error ¶
func (o *VolumeUsageOK) Error() string
func (*VolumeUsageOK) GetPayload ¶ added in v0.9.1
func (o *VolumeUsageOK) GetPayload() *models.V1VolumeUsageResponse
func (*VolumeUsageOK) IsClientError ¶ added in v0.19.0
func (o *VolumeUsageOK) IsClientError() bool
IsClientError returns true when this volume usage o k response has a 4xx status code
func (*VolumeUsageOK) IsCode ¶ added in v0.19.0
func (o *VolumeUsageOK) IsCode(code int) bool
IsCode returns true when this volume usage o k response a status code equal to that given
func (*VolumeUsageOK) IsRedirect ¶ added in v0.19.0
func (o *VolumeUsageOK) IsRedirect() bool
IsRedirect returns true when this volume usage o k response has a 3xx status code
func (*VolumeUsageOK) IsServerError ¶ added in v0.19.0
func (o *VolumeUsageOK) IsServerError() bool
IsServerError returns true when this volume usage o k response has a 5xx status code
func (*VolumeUsageOK) IsSuccess ¶ added in v0.19.0
func (o *VolumeUsageOK) IsSuccess() bool
IsSuccess returns true when this volume usage o k response has a 2xx status code
func (*VolumeUsageOK) String ¶ added in v0.19.0
func (o *VolumeUsageOK) String() string
type VolumeUsageParams ¶
type VolumeUsageParams struct { // Body. Body *models.V1VolumeUsageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VolumeUsageParams contains all the parameters to send to the API endpoint
for the volume usage operation. Typically these are written to a http.Request.
func NewVolumeUsageParams ¶
func NewVolumeUsageParams() *VolumeUsageParams
NewVolumeUsageParams creates a new VolumeUsageParams 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 NewVolumeUsageParamsWithContext ¶
func NewVolumeUsageParamsWithContext(ctx context.Context) *VolumeUsageParams
NewVolumeUsageParamsWithContext creates a new VolumeUsageParams object with the ability to set a context for a request.
func NewVolumeUsageParamsWithHTTPClient ¶
func NewVolumeUsageParamsWithHTTPClient(client *http.Client) *VolumeUsageParams
NewVolumeUsageParamsWithHTTPClient creates a new VolumeUsageParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeUsageParamsWithTimeout ¶
func NewVolumeUsageParamsWithTimeout(timeout time.Duration) *VolumeUsageParams
NewVolumeUsageParamsWithTimeout creates a new VolumeUsageParams object with the ability to set a timeout on a request.
func (*VolumeUsageParams) SetBody ¶
func (o *VolumeUsageParams) SetBody(body *models.V1VolumeUsageRequest)
SetBody adds the body to the volume usage params
func (*VolumeUsageParams) SetContext ¶
func (o *VolumeUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the volume usage params
func (*VolumeUsageParams) SetDefaults ¶ added in v0.12.0
func (o *VolumeUsageParams) SetDefaults()
SetDefaults hydrates default values in the volume usage params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeUsageParams) SetHTTPClient ¶
func (o *VolumeUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume usage params
func (*VolumeUsageParams) SetTimeout ¶
func (o *VolumeUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume usage params
func (*VolumeUsageParams) WithBody ¶
func (o *VolumeUsageParams) WithBody(body *models.V1VolumeUsageRequest) *VolumeUsageParams
WithBody adds the body to the volume usage params
func (*VolumeUsageParams) WithContext ¶
func (o *VolumeUsageParams) WithContext(ctx context.Context) *VolumeUsageParams
WithContext adds the context to the volume usage params
func (*VolumeUsageParams) WithDefaults ¶ added in v0.12.0
func (o *VolumeUsageParams) WithDefaults() *VolumeUsageParams
WithDefaults hydrates default values in the volume usage params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeUsageParams) WithHTTPClient ¶
func (o *VolumeUsageParams) WithHTTPClient(client *http.Client) *VolumeUsageParams
WithHTTPClient adds the HTTPClient to the volume usage params
func (*VolumeUsageParams) WithTimeout ¶
func (o *VolumeUsageParams) WithTimeout(timeout time.Duration) *VolumeUsageParams
WithTimeout adds the timeout to the volume usage params
func (*VolumeUsageParams) WriteToRequest ¶
func (o *VolumeUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VolumeUsageReader ¶
type VolumeUsageReader struct {
// contains filtered or unexported fields
}
VolumeUsageReader is a Reader for the VolumeUsage structure.
func (*VolumeUsageReader) ReadResponse ¶
func (o *VolumeUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- accounting_client.go
- cluster_usage_c_s_v_parameters.go
- cluster_usage_c_s_v_responses.go
- cluster_usage_parameters.go
- cluster_usage_responses.go
- container_usage_c_s_v_parameters.go
- container_usage_c_s_v_responses.go
- container_usage_parameters.go
- container_usage_responses.go
- ip_usage_c_s_v_parameters.go
- ip_usage_c_s_v_responses.go
- ip_usage_parameters.go
- ip_usage_responses.go
- network_usage_c_s_v_parameters.go
- network_usage_c_s_v_responses.go
- network_usage_parameters.go
- network_usage_responses.go
- postgres_usage_c_s_v_parameters.go
- postgres_usage_c_s_v_responses.go
- postgres_usage_parameters.go
- postgres_usage_responses.go
- projects_parameters.go
- projects_responses.go
- s3_usage_c_s_v_parameters.go
- s3_usage_c_s_v_responses.go
- s3_usage_parameters.go
- s3_usage_responses.go
- volume_usage_c_s_v_parameters.go
- volume_usage_c_s_v_responses.go
- volume_usage_parameters.go
- volume_usage_responses.go