Documentation ¶
Index ¶
- type Client
- func (a *Client) ListMetricUsagesByLabelName(params *ListMetricUsagesByLabelNameParams, opts ...ClientOption) (*ListMetricUsagesByLabelNameOK, error)
- func (a *Client) ListMetricUsagesByMetricName(params *ListMetricUsagesByMetricNameParams, opts ...ClientOption) (*ListMetricUsagesByMetricNameOK, error)
- func (a *Client) ListRuleEvaluations(params *ListRuleEvaluationsParams, opts ...ClientOption) (*ListRuleEvaluationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListMetricUsagesByLabelNameDefault
- func (o *ListMetricUsagesByLabelNameDefault) Code() int
- func (o *ListMetricUsagesByLabelNameDefault) Error() string
- func (o *ListMetricUsagesByLabelNameDefault) GetPayload() *models.APIError
- func (o *ListMetricUsagesByLabelNameDefault) IsClientError() bool
- func (o *ListMetricUsagesByLabelNameDefault) IsCode(code int) bool
- func (o *ListMetricUsagesByLabelNameDefault) IsRedirect() bool
- func (o *ListMetricUsagesByLabelNameDefault) IsServerError() bool
- func (o *ListMetricUsagesByLabelNameDefault) IsSuccess() bool
- func (o *ListMetricUsagesByLabelNameDefault) String() string
- type ListMetricUsagesByLabelNameOK
- func (o *ListMetricUsagesByLabelNameOK) Code() int
- func (o *ListMetricUsagesByLabelNameOK) Error() string
- func (o *ListMetricUsagesByLabelNameOK) GetPayload() *models.Statev1ListMetricUsagesByLabelNameResponse
- func (o *ListMetricUsagesByLabelNameOK) IsClientError() bool
- func (o *ListMetricUsagesByLabelNameOK) IsCode(code int) bool
- func (o *ListMetricUsagesByLabelNameOK) IsRedirect() bool
- func (o *ListMetricUsagesByLabelNameOK) IsServerError() bool
- func (o *ListMetricUsagesByLabelNameOK) IsSuccess() bool
- func (o *ListMetricUsagesByLabelNameOK) String() string
- type ListMetricUsagesByLabelNameParams
- func NewListMetricUsagesByLabelNameParams() *ListMetricUsagesByLabelNameParams
- func NewListMetricUsagesByLabelNameParamsWithContext(ctx context.Context) *ListMetricUsagesByLabelNameParams
- func NewListMetricUsagesByLabelNameParamsWithHTTPClient(client *http.Client) *ListMetricUsagesByLabelNameParams
- func NewListMetricUsagesByLabelNameParamsWithTimeout(timeout time.Duration) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) SetContext(ctx context.Context)
- func (o *ListMetricUsagesByLabelNameParams) SetDefaults()
- func (o *ListMetricUsagesByLabelNameParams) SetHTTPClient(client *http.Client)
- func (o *ListMetricUsagesByLabelNameParams) SetIncludeCountsByType(includeCountsByType *bool)
- func (o *ListMetricUsagesByLabelNameParams) SetLabelNameGlob(labelNameGlob *string)
- func (o *ListMetricUsagesByLabelNameParams) SetLookbackSecs(lookbackSecs *int32)
- func (o *ListMetricUsagesByLabelNameParams) SetOrderAscending(orderAscending *bool)
- func (o *ListMetricUsagesByLabelNameParams) SetOrderBy(orderBy *string)
- func (o *ListMetricUsagesByLabelNameParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListMetricUsagesByLabelNameParams) SetPageToken(pageToken *string)
- func (o *ListMetricUsagesByLabelNameParams) SetTimeout(timeout time.Duration)
- func (o *ListMetricUsagesByLabelNameParams) WithContext(ctx context.Context) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithDefaults() *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithHTTPClient(client *http.Client) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithIncludeCountsByType(includeCountsByType *bool) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithLabelNameGlob(labelNameGlob *string) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithLookbackSecs(lookbackSecs *int32) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithOrderAscending(orderAscending *bool) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithOrderBy(orderBy *string) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithPageMaxSize(pageMaxSize *int64) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithPageToken(pageToken *string) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WithTimeout(timeout time.Duration) *ListMetricUsagesByLabelNameParams
- func (o *ListMetricUsagesByLabelNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMetricUsagesByLabelNameReader
- type ListMetricUsagesByMetricNameDefault
- func (o *ListMetricUsagesByMetricNameDefault) Code() int
- func (o *ListMetricUsagesByMetricNameDefault) Error() string
- func (o *ListMetricUsagesByMetricNameDefault) GetPayload() *models.APIError
- func (o *ListMetricUsagesByMetricNameDefault) IsClientError() bool
- func (o *ListMetricUsagesByMetricNameDefault) IsCode(code int) bool
- func (o *ListMetricUsagesByMetricNameDefault) IsRedirect() bool
- func (o *ListMetricUsagesByMetricNameDefault) IsServerError() bool
- func (o *ListMetricUsagesByMetricNameDefault) IsSuccess() bool
- func (o *ListMetricUsagesByMetricNameDefault) String() string
- type ListMetricUsagesByMetricNameOK
- func (o *ListMetricUsagesByMetricNameOK) Code() int
- func (o *ListMetricUsagesByMetricNameOK) Error() string
- func (o *ListMetricUsagesByMetricNameOK) GetPayload() *models.Statev1ListMetricUsagesByMetricNameResponse
- func (o *ListMetricUsagesByMetricNameOK) IsClientError() bool
- func (o *ListMetricUsagesByMetricNameOK) IsCode(code int) bool
- func (o *ListMetricUsagesByMetricNameOK) IsRedirect() bool
- func (o *ListMetricUsagesByMetricNameOK) IsServerError() bool
- func (o *ListMetricUsagesByMetricNameOK) IsSuccess() bool
- func (o *ListMetricUsagesByMetricNameOK) String() string
- type ListMetricUsagesByMetricNameParams
- func NewListMetricUsagesByMetricNameParams() *ListMetricUsagesByMetricNameParams
- func NewListMetricUsagesByMetricNameParamsWithContext(ctx context.Context) *ListMetricUsagesByMetricNameParams
- func NewListMetricUsagesByMetricNameParamsWithHTTPClient(client *http.Client) *ListMetricUsagesByMetricNameParams
- func NewListMetricUsagesByMetricNameParamsWithTimeout(timeout time.Duration) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) SetContext(ctx context.Context)
- func (o *ListMetricUsagesByMetricNameParams) SetDefaults()
- func (o *ListMetricUsagesByMetricNameParams) SetHTTPClient(client *http.Client)
- func (o *ListMetricUsagesByMetricNameParams) SetIncludeCountsByType(includeCountsByType *bool)
- func (o *ListMetricUsagesByMetricNameParams) SetLookbackSecs(lookbackSecs *int32)
- func (o *ListMetricUsagesByMetricNameParams) SetMetricNameGlob(metricNameGlob *string)
- func (o *ListMetricUsagesByMetricNameParams) SetOrderAscending(orderAscending *bool)
- func (o *ListMetricUsagesByMetricNameParams) SetOrderBy(orderBy *string)
- func (o *ListMetricUsagesByMetricNameParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListMetricUsagesByMetricNameParams) SetPageToken(pageToken *string)
- func (o *ListMetricUsagesByMetricNameParams) SetTimeout(timeout time.Duration)
- func (o *ListMetricUsagesByMetricNameParams) WithContext(ctx context.Context) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithDefaults() *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithHTTPClient(client *http.Client) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithIncludeCountsByType(includeCountsByType *bool) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithLookbackSecs(lookbackSecs *int32) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithMetricNameGlob(metricNameGlob *string) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithOrderAscending(orderAscending *bool) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithOrderBy(orderBy *string) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithPageMaxSize(pageMaxSize *int64) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithPageToken(pageToken *string) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WithTimeout(timeout time.Duration) *ListMetricUsagesByMetricNameParams
- func (o *ListMetricUsagesByMetricNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMetricUsagesByMetricNameReader
- type ListRuleEvaluationsDefault
- func (o *ListRuleEvaluationsDefault) Code() int
- func (o *ListRuleEvaluationsDefault) Error() string
- func (o *ListRuleEvaluationsDefault) GetPayload() *models.APIError
- func (o *ListRuleEvaluationsDefault) IsClientError() bool
- func (o *ListRuleEvaluationsDefault) IsCode(code int) bool
- func (o *ListRuleEvaluationsDefault) IsRedirect() bool
- func (o *ListRuleEvaluationsDefault) IsServerError() bool
- func (o *ListRuleEvaluationsDefault) IsSuccess() bool
- func (o *ListRuleEvaluationsDefault) String() string
- type ListRuleEvaluationsOK
- func (o *ListRuleEvaluationsOK) Code() int
- func (o *ListRuleEvaluationsOK) Error() string
- func (o *ListRuleEvaluationsOK) GetPayload() *models.Statev1ListRuleEvaluationsResponse
- func (o *ListRuleEvaluationsOK) IsClientError() bool
- func (o *ListRuleEvaluationsOK) IsCode(code int) bool
- func (o *ListRuleEvaluationsOK) IsRedirect() bool
- func (o *ListRuleEvaluationsOK) IsServerError() bool
- func (o *ListRuleEvaluationsOK) IsSuccess() bool
- func (o *ListRuleEvaluationsOK) String() string
- type ListRuleEvaluationsParams
- func NewListRuleEvaluationsParams() *ListRuleEvaluationsParams
- func NewListRuleEvaluationsParamsWithContext(ctx context.Context) *ListRuleEvaluationsParams
- func NewListRuleEvaluationsParamsWithHTTPClient(client *http.Client) *ListRuleEvaluationsParams
- func NewListRuleEvaluationsParamsWithTimeout(timeout time.Duration) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) SetContext(ctx context.Context)
- func (o *ListRuleEvaluationsParams) SetDefaults()
- func (o *ListRuleEvaluationsParams) SetHTTPClient(client *http.Client)
- func (o *ListRuleEvaluationsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListRuleEvaluationsParams) SetPageToken(pageToken *string)
- func (o *ListRuleEvaluationsParams) SetTimeout(timeout time.Duration)
- func (o *ListRuleEvaluationsParams) WithContext(ctx context.Context) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WithDefaults() *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WithHTTPClient(client *http.Client) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WithPageMaxSize(pageMaxSize *int64) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WithPageToken(pageToken *string) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WithTimeout(timeout time.Duration) *ListRuleEvaluationsParams
- func (o *ListRuleEvaluationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRuleEvaluationsReader
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 operations API
func (*Client) ListMetricUsagesByLabelName ¶ added in v1.10.0
func (a *Client) ListMetricUsagesByLabelName(params *ListMetricUsagesByLabelNameParams, opts ...ClientOption) (*ListMetricUsagesByLabelNameOK, error)
ListMetricUsagesByLabelName list metric usages by label name API
func (*Client) ListMetricUsagesByMetricName ¶ added in v1.10.0
func (a *Client) ListMetricUsagesByMetricName(params *ListMetricUsagesByMetricNameParams, opts ...ClientOption) (*ListMetricUsagesByMetricNameOK, error)
ListMetricUsagesByMetricName list metric usages by metric name API
func (*Client) ListRuleEvaluations ¶
func (a *Client) ListRuleEvaluations(params *ListRuleEvaluationsParams, opts ...ClientOption) (*ListRuleEvaluationsOK, error)
ListRuleEvaluations list rule evaluations API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListMetricUsagesByLabelName(params *ListMetricUsagesByLabelNameParams, opts ...ClientOption) (*ListMetricUsagesByLabelNameOK, error) ListMetricUsagesByMetricName(params *ListMetricUsagesByMetricNameParams, opts ...ClientOption) (*ListMetricUsagesByMetricNameOK, error) ListRuleEvaluations(params *ListRuleEvaluationsParams, opts ...ClientOption) (*ListRuleEvaluationsOK, 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 operations API client.
type ListMetricUsagesByLabelNameDefault ¶ added in v1.10.0
type ListMetricUsagesByLabelNameDefault struct { Payload *models.APIError // contains filtered or unexported fields }
ListMetricUsagesByLabelNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListMetricUsagesByLabelNameDefault ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameDefault(code int) *ListMetricUsagesByLabelNameDefault
NewListMetricUsagesByLabelNameDefault creates a ListMetricUsagesByLabelNameDefault with default headers values
func (*ListMetricUsagesByLabelNameDefault) Code ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) Code() int
Code gets the status code for the list metric usages by label name default response
func (*ListMetricUsagesByLabelNameDefault) Error ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) Error() string
func (*ListMetricUsagesByLabelNameDefault) GetPayload ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) GetPayload() *models.APIError
func (*ListMetricUsagesByLabelNameDefault) IsClientError ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) IsClientError() bool
IsClientError returns true when this list metric usages by label name default response has a 4xx status code
func (*ListMetricUsagesByLabelNameDefault) IsCode ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) IsCode(code int) bool
IsCode returns true when this list metric usages by label name default response a status code equal to that given
func (*ListMetricUsagesByLabelNameDefault) IsRedirect ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) IsRedirect() bool
IsRedirect returns true when this list metric usages by label name default response has a 3xx status code
func (*ListMetricUsagesByLabelNameDefault) IsServerError ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) IsServerError() bool
IsServerError returns true when this list metric usages by label name default response has a 5xx status code
func (*ListMetricUsagesByLabelNameDefault) IsSuccess ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) IsSuccess() bool
IsSuccess returns true when this list metric usages by label name default response has a 2xx status code
func (*ListMetricUsagesByLabelNameDefault) String ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameDefault) String() string
type ListMetricUsagesByLabelNameOK ¶ added in v1.10.0
type ListMetricUsagesByLabelNameOK struct {
Payload *models.Statev1ListMetricUsagesByLabelNameResponse
}
ListMetricUsagesByLabelNameOK describes a response with status code 200, with default header values.
A successful response.
func NewListMetricUsagesByLabelNameOK ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameOK() *ListMetricUsagesByLabelNameOK
NewListMetricUsagesByLabelNameOK creates a ListMetricUsagesByLabelNameOK with default headers values
func (*ListMetricUsagesByLabelNameOK) Code ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) Code() int
Code gets the status code for the list metric usages by label name o k response
func (*ListMetricUsagesByLabelNameOK) Error ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) Error() string
func (*ListMetricUsagesByLabelNameOK) GetPayload ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) GetPayload() *models.Statev1ListMetricUsagesByLabelNameResponse
func (*ListMetricUsagesByLabelNameOK) IsClientError ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) IsClientError() bool
IsClientError returns true when this list metric usages by label name o k response has a 4xx status code
func (*ListMetricUsagesByLabelNameOK) IsCode ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) IsCode(code int) bool
IsCode returns true when this list metric usages by label name o k response a status code equal to that given
func (*ListMetricUsagesByLabelNameOK) IsRedirect ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) IsRedirect() bool
IsRedirect returns true when this list metric usages by label name o k response has a 3xx status code
func (*ListMetricUsagesByLabelNameOK) IsServerError ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) IsServerError() bool
IsServerError returns true when this list metric usages by label name o k response has a 5xx status code
func (*ListMetricUsagesByLabelNameOK) IsSuccess ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) IsSuccess() bool
IsSuccess returns true when this list metric usages by label name o k response has a 2xx status code
func (*ListMetricUsagesByLabelNameOK) String ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameOK) String() string
type ListMetricUsagesByLabelNameParams ¶ added in v1.10.0
type ListMetricUsagesByLabelNameParams struct { /* IncludeCountsByType. If `true`, responses include the fields `reference_counts_by_type` and `query_execution_counts_by_type`. If `false`, these fields are returned empty. */ IncludeCountsByType *bool /* LabelNameGlob. Glob match string for filtering results by label name. */ LabelNameGlob *string /* LookbackSecs. Controls the time range over which query executions are included in usages. Defaults to `2592000` (30 days). Format: int32 */ LookbackSecs *int32 // OrderAscending. OrderAscending *bool // OrderBy. OrderBy *string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMetricUsagesByLabelNameParams contains all the parameters to send to the API endpoint
for the list metric usages by label name operation. Typically these are written to a http.Request.
func NewListMetricUsagesByLabelNameParams ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameParams() *ListMetricUsagesByLabelNameParams
NewListMetricUsagesByLabelNameParams creates a new ListMetricUsagesByLabelNameParams 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 NewListMetricUsagesByLabelNameParamsWithContext ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameParamsWithContext(ctx context.Context) *ListMetricUsagesByLabelNameParams
NewListMetricUsagesByLabelNameParamsWithContext creates a new ListMetricUsagesByLabelNameParams object with the ability to set a context for a request.
func NewListMetricUsagesByLabelNameParamsWithHTTPClient ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameParamsWithHTTPClient(client *http.Client) *ListMetricUsagesByLabelNameParams
NewListMetricUsagesByLabelNameParamsWithHTTPClient creates a new ListMetricUsagesByLabelNameParams object with the ability to set a custom HTTPClient for a request.
func NewListMetricUsagesByLabelNameParamsWithTimeout ¶ added in v1.10.0
func NewListMetricUsagesByLabelNameParamsWithTimeout(timeout time.Duration) *ListMetricUsagesByLabelNameParams
NewListMetricUsagesByLabelNameParamsWithTimeout creates a new ListMetricUsagesByLabelNameParams object with the ability to set a timeout on a request.
func (*ListMetricUsagesByLabelNameParams) SetContext ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetContext(ctx context.Context)
SetContext adds the context to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetDefaults ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetDefaults()
SetDefaults hydrates default values in the list metric usages by label name params (not the query body).
All values with no default are reset to their zero value.
func (*ListMetricUsagesByLabelNameParams) SetHTTPClient ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetIncludeCountsByType ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetIncludeCountsByType(includeCountsByType *bool)
SetIncludeCountsByType adds the includeCountsByType to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetLabelNameGlob ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetLabelNameGlob(labelNameGlob *string)
SetLabelNameGlob adds the labelNameGlob to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetLookbackSecs ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetLookbackSecs(lookbackSecs *int32)
SetLookbackSecs adds the lookbackSecs to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetOrderAscending ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetOrderAscending(orderAscending *bool)
SetOrderAscending adds the orderAscending to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetOrderBy ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetPageMaxSize ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetPageToken ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) SetTimeout ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithContext ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithContext(ctx context.Context) *ListMetricUsagesByLabelNameParams
WithContext adds the context to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithDefaults ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithDefaults() *ListMetricUsagesByLabelNameParams
WithDefaults hydrates default values in the list metric usages by label name params (not the query body).
All values with no default are reset to their zero value.
func (*ListMetricUsagesByLabelNameParams) WithHTTPClient ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithHTTPClient(client *http.Client) *ListMetricUsagesByLabelNameParams
WithHTTPClient adds the HTTPClient to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithIncludeCountsByType ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithIncludeCountsByType(includeCountsByType *bool) *ListMetricUsagesByLabelNameParams
WithIncludeCountsByType adds the includeCountsByType to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithLabelNameGlob ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithLabelNameGlob(labelNameGlob *string) *ListMetricUsagesByLabelNameParams
WithLabelNameGlob adds the labelNameGlob to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithLookbackSecs ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithLookbackSecs(lookbackSecs *int32) *ListMetricUsagesByLabelNameParams
WithLookbackSecs adds the lookbackSecs to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithOrderAscending ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithOrderAscending(orderAscending *bool) *ListMetricUsagesByLabelNameParams
WithOrderAscending adds the orderAscending to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithOrderBy ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithOrderBy(orderBy *string) *ListMetricUsagesByLabelNameParams
WithOrderBy adds the orderBy to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithPageMaxSize ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithPageMaxSize(pageMaxSize *int64) *ListMetricUsagesByLabelNameParams
WithPageMaxSize adds the pageMaxSize to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithPageToken ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithPageToken(pageToken *string) *ListMetricUsagesByLabelNameParams
WithPageToken adds the pageToken to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WithTimeout ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WithTimeout(timeout time.Duration) *ListMetricUsagesByLabelNameParams
WithTimeout adds the timeout to the list metric usages by label name params
func (*ListMetricUsagesByLabelNameParams) WriteToRequest ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMetricUsagesByLabelNameReader ¶ added in v1.10.0
type ListMetricUsagesByLabelNameReader struct {
// contains filtered or unexported fields
}
ListMetricUsagesByLabelNameReader is a Reader for the ListMetricUsagesByLabelName structure.
func (*ListMetricUsagesByLabelNameReader) ReadResponse ¶ added in v1.10.0
func (o *ListMetricUsagesByLabelNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMetricUsagesByMetricNameDefault ¶ added in v1.10.0
type ListMetricUsagesByMetricNameDefault struct { Payload *models.APIError // contains filtered or unexported fields }
ListMetricUsagesByMetricNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListMetricUsagesByMetricNameDefault ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameDefault(code int) *ListMetricUsagesByMetricNameDefault
NewListMetricUsagesByMetricNameDefault creates a ListMetricUsagesByMetricNameDefault with default headers values
func (*ListMetricUsagesByMetricNameDefault) Code ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) Code() int
Code gets the status code for the list metric usages by metric name default response
func (*ListMetricUsagesByMetricNameDefault) Error ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) Error() string
func (*ListMetricUsagesByMetricNameDefault) GetPayload ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) GetPayload() *models.APIError
func (*ListMetricUsagesByMetricNameDefault) IsClientError ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) IsClientError() bool
IsClientError returns true when this list metric usages by metric name default response has a 4xx status code
func (*ListMetricUsagesByMetricNameDefault) IsCode ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) IsCode(code int) bool
IsCode returns true when this list metric usages by metric name default response a status code equal to that given
func (*ListMetricUsagesByMetricNameDefault) IsRedirect ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) IsRedirect() bool
IsRedirect returns true when this list metric usages by metric name default response has a 3xx status code
func (*ListMetricUsagesByMetricNameDefault) IsServerError ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) IsServerError() bool
IsServerError returns true when this list metric usages by metric name default response has a 5xx status code
func (*ListMetricUsagesByMetricNameDefault) IsSuccess ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) IsSuccess() bool
IsSuccess returns true when this list metric usages by metric name default response has a 2xx status code
func (*ListMetricUsagesByMetricNameDefault) String ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameDefault) String() string
type ListMetricUsagesByMetricNameOK ¶ added in v1.10.0
type ListMetricUsagesByMetricNameOK struct {
Payload *models.Statev1ListMetricUsagesByMetricNameResponse
}
ListMetricUsagesByMetricNameOK describes a response with status code 200, with default header values.
A successful response.
func NewListMetricUsagesByMetricNameOK ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameOK() *ListMetricUsagesByMetricNameOK
NewListMetricUsagesByMetricNameOK creates a ListMetricUsagesByMetricNameOK with default headers values
func (*ListMetricUsagesByMetricNameOK) Code ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) Code() int
Code gets the status code for the list metric usages by metric name o k response
func (*ListMetricUsagesByMetricNameOK) Error ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) Error() string
func (*ListMetricUsagesByMetricNameOK) GetPayload ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) GetPayload() *models.Statev1ListMetricUsagesByMetricNameResponse
func (*ListMetricUsagesByMetricNameOK) IsClientError ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) IsClientError() bool
IsClientError returns true when this list metric usages by metric name o k response has a 4xx status code
func (*ListMetricUsagesByMetricNameOK) IsCode ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) IsCode(code int) bool
IsCode returns true when this list metric usages by metric name o k response a status code equal to that given
func (*ListMetricUsagesByMetricNameOK) IsRedirect ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) IsRedirect() bool
IsRedirect returns true when this list metric usages by metric name o k response has a 3xx status code
func (*ListMetricUsagesByMetricNameOK) IsServerError ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) IsServerError() bool
IsServerError returns true when this list metric usages by metric name o k response has a 5xx status code
func (*ListMetricUsagesByMetricNameOK) IsSuccess ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) IsSuccess() bool
IsSuccess returns true when this list metric usages by metric name o k response has a 2xx status code
func (*ListMetricUsagesByMetricNameOK) String ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameOK) String() string
type ListMetricUsagesByMetricNameParams ¶ added in v1.10.0
type ListMetricUsagesByMetricNameParams struct { /* IncludeCountsByType. If `true`, responses include the fields `reference_counts_by_type` and `query_execution_counts_by_type`. If `false`, these fields are returned empty. */ IncludeCountsByType *bool /* LookbackSecs. Controls the time range over which query executions are included in usages. Defaults to `2592000` (30 days). Format: int32 */ LookbackSecs *int32 /* MetricNameGlob. Glob match string for filtering results by metric name. */ MetricNameGlob *string // OrderAscending. OrderAscending *bool // OrderBy. OrderBy *string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMetricUsagesByMetricNameParams contains all the parameters to send to the API endpoint
for the list metric usages by metric name operation. Typically these are written to a http.Request.
func NewListMetricUsagesByMetricNameParams ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameParams() *ListMetricUsagesByMetricNameParams
NewListMetricUsagesByMetricNameParams creates a new ListMetricUsagesByMetricNameParams 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 NewListMetricUsagesByMetricNameParamsWithContext ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameParamsWithContext(ctx context.Context) *ListMetricUsagesByMetricNameParams
NewListMetricUsagesByMetricNameParamsWithContext creates a new ListMetricUsagesByMetricNameParams object with the ability to set a context for a request.
func NewListMetricUsagesByMetricNameParamsWithHTTPClient ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameParamsWithHTTPClient(client *http.Client) *ListMetricUsagesByMetricNameParams
NewListMetricUsagesByMetricNameParamsWithHTTPClient creates a new ListMetricUsagesByMetricNameParams object with the ability to set a custom HTTPClient for a request.
func NewListMetricUsagesByMetricNameParamsWithTimeout ¶ added in v1.10.0
func NewListMetricUsagesByMetricNameParamsWithTimeout(timeout time.Duration) *ListMetricUsagesByMetricNameParams
NewListMetricUsagesByMetricNameParamsWithTimeout creates a new ListMetricUsagesByMetricNameParams object with the ability to set a timeout on a request.
func (*ListMetricUsagesByMetricNameParams) SetContext ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetContext(ctx context.Context)
SetContext adds the context to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetDefaults ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetDefaults()
SetDefaults hydrates default values in the list metric usages by metric name params (not the query body).
All values with no default are reset to their zero value.
func (*ListMetricUsagesByMetricNameParams) SetHTTPClient ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetIncludeCountsByType ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetIncludeCountsByType(includeCountsByType *bool)
SetIncludeCountsByType adds the includeCountsByType to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetLookbackSecs ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetLookbackSecs(lookbackSecs *int32)
SetLookbackSecs adds the lookbackSecs to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetMetricNameGlob ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetMetricNameGlob(metricNameGlob *string)
SetMetricNameGlob adds the metricNameGlob to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetOrderAscending ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetOrderAscending(orderAscending *bool)
SetOrderAscending adds the orderAscending to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetOrderBy ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetPageMaxSize ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetPageToken ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) SetTimeout ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithContext ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithContext(ctx context.Context) *ListMetricUsagesByMetricNameParams
WithContext adds the context to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithDefaults ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithDefaults() *ListMetricUsagesByMetricNameParams
WithDefaults hydrates default values in the list metric usages by metric name params (not the query body).
All values with no default are reset to their zero value.
func (*ListMetricUsagesByMetricNameParams) WithHTTPClient ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithHTTPClient(client *http.Client) *ListMetricUsagesByMetricNameParams
WithHTTPClient adds the HTTPClient to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithIncludeCountsByType ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithIncludeCountsByType(includeCountsByType *bool) *ListMetricUsagesByMetricNameParams
WithIncludeCountsByType adds the includeCountsByType to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithLookbackSecs ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithLookbackSecs(lookbackSecs *int32) *ListMetricUsagesByMetricNameParams
WithLookbackSecs adds the lookbackSecs to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithMetricNameGlob ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithMetricNameGlob(metricNameGlob *string) *ListMetricUsagesByMetricNameParams
WithMetricNameGlob adds the metricNameGlob to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithOrderAscending ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithOrderAscending(orderAscending *bool) *ListMetricUsagesByMetricNameParams
WithOrderAscending adds the orderAscending to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithOrderBy ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithOrderBy(orderBy *string) *ListMetricUsagesByMetricNameParams
WithOrderBy adds the orderBy to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithPageMaxSize ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithPageMaxSize(pageMaxSize *int64) *ListMetricUsagesByMetricNameParams
WithPageMaxSize adds the pageMaxSize to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithPageToken ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithPageToken(pageToken *string) *ListMetricUsagesByMetricNameParams
WithPageToken adds the pageToken to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WithTimeout ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WithTimeout(timeout time.Duration) *ListMetricUsagesByMetricNameParams
WithTimeout adds the timeout to the list metric usages by metric name params
func (*ListMetricUsagesByMetricNameParams) WriteToRequest ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMetricUsagesByMetricNameReader ¶ added in v1.10.0
type ListMetricUsagesByMetricNameReader struct {
// contains filtered or unexported fields
}
ListMetricUsagesByMetricNameReader is a Reader for the ListMetricUsagesByMetricName structure.
func (*ListMetricUsagesByMetricNameReader) ReadResponse ¶ added in v1.10.0
func (o *ListMetricUsagesByMetricNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRuleEvaluationsDefault ¶
type ListRuleEvaluationsDefault struct { Payload *models.APIError // contains filtered or unexported fields }
ListRuleEvaluationsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListRuleEvaluationsDefault ¶
func NewListRuleEvaluationsDefault(code int) *ListRuleEvaluationsDefault
NewListRuleEvaluationsDefault creates a ListRuleEvaluationsDefault with default headers values
func (*ListRuleEvaluationsDefault) Code ¶
func (o *ListRuleEvaluationsDefault) Code() int
Code gets the status code for the list rule evaluations default response
func (*ListRuleEvaluationsDefault) Error ¶
func (o *ListRuleEvaluationsDefault) Error() string
func (*ListRuleEvaluationsDefault) GetPayload ¶
func (o *ListRuleEvaluationsDefault) GetPayload() *models.APIError
func (*ListRuleEvaluationsDefault) IsClientError ¶
func (o *ListRuleEvaluationsDefault) IsClientError() bool
IsClientError returns true when this list rule evaluations default response has a 4xx status code
func (*ListRuleEvaluationsDefault) IsCode ¶
func (o *ListRuleEvaluationsDefault) IsCode(code int) bool
IsCode returns true when this list rule evaluations default response a status code equal to that given
func (*ListRuleEvaluationsDefault) IsRedirect ¶
func (o *ListRuleEvaluationsDefault) IsRedirect() bool
IsRedirect returns true when this list rule evaluations default response has a 3xx status code
func (*ListRuleEvaluationsDefault) IsServerError ¶
func (o *ListRuleEvaluationsDefault) IsServerError() bool
IsServerError returns true when this list rule evaluations default response has a 5xx status code
func (*ListRuleEvaluationsDefault) IsSuccess ¶
func (o *ListRuleEvaluationsDefault) IsSuccess() bool
IsSuccess returns true when this list rule evaluations default response has a 2xx status code
func (*ListRuleEvaluationsDefault) String ¶
func (o *ListRuleEvaluationsDefault) String() string
type ListRuleEvaluationsOK ¶
type ListRuleEvaluationsOK struct {
Payload *models.Statev1ListRuleEvaluationsResponse
}
ListRuleEvaluationsOK describes a response with status code 200, with default header values.
A successful response.
func NewListRuleEvaluationsOK ¶
func NewListRuleEvaluationsOK() *ListRuleEvaluationsOK
NewListRuleEvaluationsOK creates a ListRuleEvaluationsOK with default headers values
func (*ListRuleEvaluationsOK) Code ¶
func (o *ListRuleEvaluationsOK) Code() int
Code gets the status code for the list rule evaluations o k response
func (*ListRuleEvaluationsOK) Error ¶
func (o *ListRuleEvaluationsOK) Error() string
func (*ListRuleEvaluationsOK) GetPayload ¶
func (o *ListRuleEvaluationsOK) GetPayload() *models.Statev1ListRuleEvaluationsResponse
func (*ListRuleEvaluationsOK) IsClientError ¶
func (o *ListRuleEvaluationsOK) IsClientError() bool
IsClientError returns true when this list rule evaluations o k response has a 4xx status code
func (*ListRuleEvaluationsOK) IsCode ¶
func (o *ListRuleEvaluationsOK) IsCode(code int) bool
IsCode returns true when this list rule evaluations o k response a status code equal to that given
func (*ListRuleEvaluationsOK) IsRedirect ¶
func (o *ListRuleEvaluationsOK) IsRedirect() bool
IsRedirect returns true when this list rule evaluations o k response has a 3xx status code
func (*ListRuleEvaluationsOK) IsServerError ¶
func (o *ListRuleEvaluationsOK) IsServerError() bool
IsServerError returns true when this list rule evaluations o k response has a 5xx status code
func (*ListRuleEvaluationsOK) IsSuccess ¶
func (o *ListRuleEvaluationsOK) IsSuccess() bool
IsSuccess returns true when this list rule evaluations o k response has a 2xx status code
func (*ListRuleEvaluationsOK) String ¶
func (o *ListRuleEvaluationsOK) String() string
type ListRuleEvaluationsParams ¶
type ListRuleEvaluationsParams struct { /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRuleEvaluationsParams contains all the parameters to send to the API endpoint
for the list rule evaluations operation. Typically these are written to a http.Request.
func NewListRuleEvaluationsParams ¶
func NewListRuleEvaluationsParams() *ListRuleEvaluationsParams
NewListRuleEvaluationsParams creates a new ListRuleEvaluationsParams 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 NewListRuleEvaluationsParamsWithContext ¶
func NewListRuleEvaluationsParamsWithContext(ctx context.Context) *ListRuleEvaluationsParams
NewListRuleEvaluationsParamsWithContext creates a new ListRuleEvaluationsParams object with the ability to set a context for a request.
func NewListRuleEvaluationsParamsWithHTTPClient ¶
func NewListRuleEvaluationsParamsWithHTTPClient(client *http.Client) *ListRuleEvaluationsParams
NewListRuleEvaluationsParamsWithHTTPClient creates a new ListRuleEvaluationsParams object with the ability to set a custom HTTPClient for a request.
func NewListRuleEvaluationsParamsWithTimeout ¶
func NewListRuleEvaluationsParamsWithTimeout(timeout time.Duration) *ListRuleEvaluationsParams
NewListRuleEvaluationsParamsWithTimeout creates a new ListRuleEvaluationsParams object with the ability to set a timeout on a request.
func (*ListRuleEvaluationsParams) SetContext ¶
func (o *ListRuleEvaluationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list rule evaluations params
func (*ListRuleEvaluationsParams) SetDefaults ¶
func (o *ListRuleEvaluationsParams) SetDefaults()
SetDefaults hydrates default values in the list rule evaluations params (not the query body).
All values with no default are reset to their zero value.
func (*ListRuleEvaluationsParams) SetHTTPClient ¶
func (o *ListRuleEvaluationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list rule evaluations params
func (*ListRuleEvaluationsParams) SetPageMaxSize ¶
func (o *ListRuleEvaluationsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list rule evaluations params
func (*ListRuleEvaluationsParams) SetPageToken ¶
func (o *ListRuleEvaluationsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list rule evaluations params
func (*ListRuleEvaluationsParams) SetTimeout ¶
func (o *ListRuleEvaluationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list rule evaluations params
func (*ListRuleEvaluationsParams) WithContext ¶
func (o *ListRuleEvaluationsParams) WithContext(ctx context.Context) *ListRuleEvaluationsParams
WithContext adds the context to the list rule evaluations params
func (*ListRuleEvaluationsParams) WithDefaults ¶
func (o *ListRuleEvaluationsParams) WithDefaults() *ListRuleEvaluationsParams
WithDefaults hydrates default values in the list rule evaluations params (not the query body).
All values with no default are reset to their zero value.
func (*ListRuleEvaluationsParams) WithHTTPClient ¶
func (o *ListRuleEvaluationsParams) WithHTTPClient(client *http.Client) *ListRuleEvaluationsParams
WithHTTPClient adds the HTTPClient to the list rule evaluations params
func (*ListRuleEvaluationsParams) WithPageMaxSize ¶
func (o *ListRuleEvaluationsParams) WithPageMaxSize(pageMaxSize *int64) *ListRuleEvaluationsParams
WithPageMaxSize adds the pageMaxSize to the list rule evaluations params
func (*ListRuleEvaluationsParams) WithPageToken ¶
func (o *ListRuleEvaluationsParams) WithPageToken(pageToken *string) *ListRuleEvaluationsParams
WithPageToken adds the pageToken to the list rule evaluations params
func (*ListRuleEvaluationsParams) WithTimeout ¶
func (o *ListRuleEvaluationsParams) WithTimeout(timeout time.Duration) *ListRuleEvaluationsParams
WithTimeout adds the timeout to the list rule evaluations params
func (*ListRuleEvaluationsParams) WriteToRequest ¶
func (o *ListRuleEvaluationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRuleEvaluationsReader ¶
type ListRuleEvaluationsReader struct {
// contains filtered or unexported fields
}
ListRuleEvaluationsReader is a Reader for the ListRuleEvaluations structure.
func (*ListRuleEvaluationsReader) ReadResponse ¶
func (o *ListRuleEvaluationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.