Documentation ¶
Index ¶
- type AgentTelemetryConfigBody
- func (o *AgentTelemetryConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AgentTelemetryConfigBody) MarshalBinary() ([]byte, error)
- func (o *AgentTelemetryConfigBody) UnmarshalBinary(b []byte) error
- func (o *AgentTelemetryConfigBody) Validate(formats strfmt.Registry) error
- type AgentTelemetryConfigDefault
- func (o *AgentTelemetryConfigDefault) Code() int
- func (o *AgentTelemetryConfigDefault) Error() string
- func (o *AgentTelemetryConfigDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *AgentTelemetryConfigDefault) IsClientError() bool
- func (o *AgentTelemetryConfigDefault) IsCode(code int) bool
- func (o *AgentTelemetryConfigDefault) IsRedirect() bool
- func (o *AgentTelemetryConfigDefault) IsServerError() bool
- func (o *AgentTelemetryConfigDefault) IsSuccess() bool
- func (o *AgentTelemetryConfigDefault) String() string
- type AgentTelemetryConfigOK
- func (o *AgentTelemetryConfigOK) Error() string
- func (o *AgentTelemetryConfigOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414AgentTelemetryConfigResponse
- func (o *AgentTelemetryConfigOK) IsClientError() bool
- func (o *AgentTelemetryConfigOK) IsCode(code int) bool
- func (o *AgentTelemetryConfigOK) IsRedirect() bool
- func (o *AgentTelemetryConfigOK) IsServerError() bool
- func (o *AgentTelemetryConfigOK) IsSuccess() bool
- func (o *AgentTelemetryConfigOK) String() string
- type AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParams() *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithContext(ctx context.Context) *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) SetBody(body AgentTelemetryConfigBody)
- func (o *AgentTelemetryConfigParams) SetClusterID(clusterID string)
- func (o *AgentTelemetryConfigParams) SetContext(ctx context.Context)
- func (o *AgentTelemetryConfigParams) SetDefaults()
- func (o *AgentTelemetryConfigParams) SetHTTPClient(client *http.Client)
- func (o *AgentTelemetryConfigParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AgentTelemetryConfigParams) SetLocationProjectID(locationProjectID string)
- func (o *AgentTelemetryConfigParams) SetTimeout(timeout time.Duration)
- func (o *AgentTelemetryConfigParams) WithBody(body AgentTelemetryConfigBody) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithClusterID(clusterID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithContext(ctx context.Context) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithDefaults() *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationProjectID(locationProjectID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AgentTelemetryConfigParamsBodyLocation
- func (o *AgentTelemetryConfigParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AgentTelemetryConfigParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *AgentTelemetryConfigParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *AgentTelemetryConfigParamsBodyLocation) Validate(formats strfmt.Registry) error
- type AgentTelemetryConfigReader
- type Client
- func (a *Client) AgentTelemetryConfig(params *AgentTelemetryConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AgentTelemetryConfigOK, error)
- func (a *Client) GetLabelValues(params *GetLabelValuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLabelValuesOK, error)
- func (a *Client) QueryRangeBatch(params *QueryRangeBatchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryRangeBatchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLabelValuesBody
- type GetLabelValuesDefault
- func (o *GetLabelValuesDefault) Code() int
- func (o *GetLabelValuesDefault) Error() string
- func (o *GetLabelValuesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetLabelValuesDefault) IsClientError() bool
- func (o *GetLabelValuesDefault) IsCode(code int) bool
- func (o *GetLabelValuesDefault) IsRedirect() bool
- func (o *GetLabelValuesDefault) IsServerError() bool
- func (o *GetLabelValuesDefault) IsSuccess() bool
- func (o *GetLabelValuesDefault) String() string
- type GetLabelValuesOK
- func (o *GetLabelValuesOK) Error() string
- func (o *GetLabelValuesOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414GetLabelValuesResponse
- func (o *GetLabelValuesOK) IsClientError() bool
- func (o *GetLabelValuesOK) IsCode(code int) bool
- func (o *GetLabelValuesOK) IsRedirect() bool
- func (o *GetLabelValuesOK) IsServerError() bool
- func (o *GetLabelValuesOK) IsSuccess() bool
- func (o *GetLabelValuesOK) String() string
- type GetLabelValuesParams
- func NewGetLabelValuesParams() *GetLabelValuesParams
- func NewGetLabelValuesParamsWithContext(ctx context.Context) *GetLabelValuesParams
- func NewGetLabelValuesParamsWithHTTPClient(client *http.Client) *GetLabelValuesParams
- func NewGetLabelValuesParamsWithTimeout(timeout time.Duration) *GetLabelValuesParams
- func (o *GetLabelValuesParams) SetBody(body GetLabelValuesBody)
- func (o *GetLabelValuesParams) SetClusterID(clusterID string)
- func (o *GetLabelValuesParams) SetContext(ctx context.Context)
- func (o *GetLabelValuesParams) SetDefaults()
- func (o *GetLabelValuesParams) SetHTTPClient(client *http.Client)
- func (o *GetLabelValuesParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetLabelValuesParams) SetLocationProjectID(locationProjectID string)
- func (o *GetLabelValuesParams) SetTimeout(timeout time.Duration)
- func (o *GetLabelValuesParams) WithBody(body GetLabelValuesBody) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithClusterID(clusterID string) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithContext(ctx context.Context) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithDefaults() *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithHTTPClient(client *http.Client) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithLocationOrganizationID(locationOrganizationID string) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithLocationProjectID(locationProjectID string) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WithTimeout(timeout time.Duration) *GetLabelValuesParams
- func (o *GetLabelValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLabelValuesParamsBodyLocation
- func (o *GetLabelValuesParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetLabelValuesParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *GetLabelValuesParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *GetLabelValuesParamsBodyLocation) Validate(formats strfmt.Registry) error
- type GetLabelValuesReader
- type QueryRangeBatchBody
- type QueryRangeBatchDefault
- func (o *QueryRangeBatchDefault) Code() int
- func (o *QueryRangeBatchDefault) Error() string
- func (o *QueryRangeBatchDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *QueryRangeBatchDefault) IsClientError() bool
- func (o *QueryRangeBatchDefault) IsCode(code int) bool
- func (o *QueryRangeBatchDefault) IsRedirect() bool
- func (o *QueryRangeBatchDefault) IsServerError() bool
- func (o *QueryRangeBatchDefault) IsSuccess() bool
- func (o *QueryRangeBatchDefault) String() string
- type QueryRangeBatchOK
- func (o *QueryRangeBatchOK) Error() string
- func (o *QueryRangeBatchOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414QueryRangeBatchResponse
- func (o *QueryRangeBatchOK) IsClientError() bool
- func (o *QueryRangeBatchOK) IsCode(code int) bool
- func (o *QueryRangeBatchOK) IsRedirect() bool
- func (o *QueryRangeBatchOK) IsServerError() bool
- func (o *QueryRangeBatchOK) IsSuccess() bool
- func (o *QueryRangeBatchOK) String() string
- type QueryRangeBatchParams
- func NewQueryRangeBatchParams() *QueryRangeBatchParams
- func NewQueryRangeBatchParamsWithContext(ctx context.Context) *QueryRangeBatchParams
- func NewQueryRangeBatchParamsWithHTTPClient(client *http.Client) *QueryRangeBatchParams
- func NewQueryRangeBatchParamsWithTimeout(timeout time.Duration) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) SetBody(body QueryRangeBatchBody)
- func (o *QueryRangeBatchParams) SetClusterID(clusterID string)
- func (o *QueryRangeBatchParams) SetContext(ctx context.Context)
- func (o *QueryRangeBatchParams) SetDefaults()
- func (o *QueryRangeBatchParams) SetHTTPClient(client *http.Client)
- func (o *QueryRangeBatchParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *QueryRangeBatchParams) SetLocationProjectID(locationProjectID string)
- func (o *QueryRangeBatchParams) SetTimeout(timeout time.Duration)
- func (o *QueryRangeBatchParams) WithBody(body QueryRangeBatchBody) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithClusterID(clusterID string) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithContext(ctx context.Context) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithDefaults() *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithHTTPClient(client *http.Client) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithLocationOrganizationID(locationOrganizationID string) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithLocationProjectID(locationProjectID string) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WithTimeout(timeout time.Duration) *QueryRangeBatchParams
- func (o *QueryRangeBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryRangeBatchParamsBodyLocation
- func (o *QueryRangeBatchParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *QueryRangeBatchParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *QueryRangeBatchParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *QueryRangeBatchParamsBodyLocation) Validate(formats strfmt.Registry) error
- type QueryRangeBatchReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentTelemetryConfigBody ¶ added in v0.47.0
type AgentTelemetryConfigBody struct { // location Location *AgentTelemetryConfigParamsBodyLocation `json:"location,omitempty"` }
AgentTelemetryConfigBody agent telemetry config body swagger:model AgentTelemetryConfigBody
func (*AgentTelemetryConfigBody) ContextValidate ¶ added in v0.47.0
func (o *AgentTelemetryConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this agent telemetry config body based on the context it is used
func (*AgentTelemetryConfigBody) MarshalBinary ¶ added in v0.47.0
func (o *AgentTelemetryConfigBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentTelemetryConfigBody) UnmarshalBinary ¶ added in v0.47.0
func (o *AgentTelemetryConfigBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentTelemetryConfigDefault ¶
type AgentTelemetryConfigDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
AgentTelemetryConfigDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAgentTelemetryConfigDefault ¶
func NewAgentTelemetryConfigDefault(code int) *AgentTelemetryConfigDefault
NewAgentTelemetryConfigDefault creates a AgentTelemetryConfigDefault with default headers values
func (*AgentTelemetryConfigDefault) Code ¶
func (o *AgentTelemetryConfigDefault) Code() int
Code gets the status code for the agent telemetry config default response
func (*AgentTelemetryConfigDefault) Error ¶
func (o *AgentTelemetryConfigDefault) Error() string
func (*AgentTelemetryConfigDefault) GetPayload ¶
func (o *AgentTelemetryConfigDefault) GetPayload() *cloud.GoogleRPCStatus
func (*AgentTelemetryConfigDefault) IsClientError ¶
func (o *AgentTelemetryConfigDefault) IsClientError() bool
IsClientError returns true when this agent telemetry config default response has a 4xx status code
func (*AgentTelemetryConfigDefault) IsCode ¶
func (o *AgentTelemetryConfigDefault) IsCode(code int) bool
IsCode returns true when this agent telemetry config default response a status code equal to that given
func (*AgentTelemetryConfigDefault) IsRedirect ¶
func (o *AgentTelemetryConfigDefault) IsRedirect() bool
IsRedirect returns true when this agent telemetry config default response has a 3xx status code
func (*AgentTelemetryConfigDefault) IsServerError ¶
func (o *AgentTelemetryConfigDefault) IsServerError() bool
IsServerError returns true when this agent telemetry config default response has a 5xx status code
func (*AgentTelemetryConfigDefault) IsSuccess ¶
func (o *AgentTelemetryConfigDefault) IsSuccess() bool
IsSuccess returns true when this agent telemetry config default response has a 2xx status code
func (*AgentTelemetryConfigDefault) String ¶
func (o *AgentTelemetryConfigDefault) String() string
type AgentTelemetryConfigOK ¶
type AgentTelemetryConfigOK struct {
Payload *models.HashicorpCloudConsulTelemetry20230414AgentTelemetryConfigResponse
}
AgentTelemetryConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewAgentTelemetryConfigOK ¶
func NewAgentTelemetryConfigOK() *AgentTelemetryConfigOK
NewAgentTelemetryConfigOK creates a AgentTelemetryConfigOK with default headers values
func (*AgentTelemetryConfigOK) Error ¶
func (o *AgentTelemetryConfigOK) Error() string
func (*AgentTelemetryConfigOK) GetPayload ¶
func (o *AgentTelemetryConfigOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414AgentTelemetryConfigResponse
func (*AgentTelemetryConfigOK) IsClientError ¶
func (o *AgentTelemetryConfigOK) IsClientError() bool
IsClientError returns true when this agent telemetry config o k response has a 4xx status code
func (*AgentTelemetryConfigOK) IsCode ¶
func (o *AgentTelemetryConfigOK) IsCode(code int) bool
IsCode returns true when this agent telemetry config o k response a status code equal to that given
func (*AgentTelemetryConfigOK) IsRedirect ¶
func (o *AgentTelemetryConfigOK) IsRedirect() bool
IsRedirect returns true when this agent telemetry config o k response has a 3xx status code
func (*AgentTelemetryConfigOK) IsServerError ¶
func (o *AgentTelemetryConfigOK) IsServerError() bool
IsServerError returns true when this agent telemetry config o k response has a 5xx status code
func (*AgentTelemetryConfigOK) IsSuccess ¶
func (o *AgentTelemetryConfigOK) IsSuccess() bool
IsSuccess returns true when this agent telemetry config o k response has a 2xx status code
func (*AgentTelemetryConfigOK) String ¶
func (o *AgentTelemetryConfigOK) String() string
type AgentTelemetryConfigParams ¶
type AgentTelemetryConfigParams struct { // Body. Body AgentTelemetryConfigBody // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AgentTelemetryConfigParams contains all the parameters to send to the API endpoint
for the agent telemetry config operation. Typically these are written to a http.Request.
func NewAgentTelemetryConfigParams ¶
func NewAgentTelemetryConfigParams() *AgentTelemetryConfigParams
NewAgentTelemetryConfigParams creates a new AgentTelemetryConfigParams 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 NewAgentTelemetryConfigParamsWithContext ¶
func NewAgentTelemetryConfigParamsWithContext(ctx context.Context) *AgentTelemetryConfigParams
NewAgentTelemetryConfigParamsWithContext creates a new AgentTelemetryConfigParams object with the ability to set a context for a request.
func NewAgentTelemetryConfigParamsWithHTTPClient ¶
func NewAgentTelemetryConfigParamsWithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
NewAgentTelemetryConfigParamsWithHTTPClient creates a new AgentTelemetryConfigParams object with the ability to set a custom HTTPClient for a request.
func NewAgentTelemetryConfigParamsWithTimeout ¶
func NewAgentTelemetryConfigParamsWithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
NewAgentTelemetryConfigParamsWithTimeout creates a new AgentTelemetryConfigParams object with the ability to set a timeout on a request.
func (*AgentTelemetryConfigParams) SetBody ¶ added in v0.47.0
func (o *AgentTelemetryConfigParams) SetBody(body AgentTelemetryConfigBody)
SetBody adds the body to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetClusterID ¶
func (o *AgentTelemetryConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetContext ¶
func (o *AgentTelemetryConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetDefaults ¶
func (o *AgentTelemetryConfigParams) SetDefaults()
SetDefaults hydrates default values in the agent telemetry config params (not the query body).
All values with no default are reset to their zero value.
func (*AgentTelemetryConfigParams) SetHTTPClient ¶
func (o *AgentTelemetryConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetLocationOrganizationID ¶
func (o *AgentTelemetryConfigParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetLocationProjectID ¶
func (o *AgentTelemetryConfigParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the agent telemetry config params
func (*AgentTelemetryConfigParams) SetTimeout ¶
func (o *AgentTelemetryConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithBody ¶ added in v0.47.0
func (o *AgentTelemetryConfigParams) WithBody(body AgentTelemetryConfigBody) *AgentTelemetryConfigParams
WithBody adds the body to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithClusterID ¶
func (o *AgentTelemetryConfigParams) WithClusterID(clusterID string) *AgentTelemetryConfigParams
WithClusterID adds the clusterID to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithContext ¶
func (o *AgentTelemetryConfigParams) WithContext(ctx context.Context) *AgentTelemetryConfigParams
WithContext adds the context to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithDefaults ¶
func (o *AgentTelemetryConfigParams) WithDefaults() *AgentTelemetryConfigParams
WithDefaults hydrates default values in the agent telemetry config params (not the query body).
All values with no default are reset to their zero value.
func (*AgentTelemetryConfigParams) WithHTTPClient ¶
func (o *AgentTelemetryConfigParams) WithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
WithHTTPClient adds the HTTPClient to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithLocationOrganizationID ¶
func (o *AgentTelemetryConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentTelemetryConfigParams
WithLocationOrganizationID adds the locationOrganizationID to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithLocationProjectID ¶
func (o *AgentTelemetryConfigParams) WithLocationProjectID(locationProjectID string) *AgentTelemetryConfigParams
WithLocationProjectID adds the locationProjectID to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithTimeout ¶
func (o *AgentTelemetryConfigParams) WithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
WithTimeout adds the timeout to the agent telemetry config params
func (*AgentTelemetryConfigParams) WriteToRequest ¶
func (o *AgentTelemetryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AgentTelemetryConfigParamsBodyLocation ¶ added in v0.47.0
type AgentTelemetryConfigParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
AgentTelemetryConfigParamsBodyLocation Location represents a target for an operation in HCP. swagger:model AgentTelemetryConfigParamsBodyLocation
func (*AgentTelemetryConfigParamsBodyLocation) ContextValidate ¶ added in v0.47.0
func (o *AgentTelemetryConfigParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this agent telemetry config params body location based on the context it is used
func (*AgentTelemetryConfigParamsBodyLocation) MarshalBinary ¶ added in v0.47.0
func (o *AgentTelemetryConfigParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentTelemetryConfigParamsBodyLocation) UnmarshalBinary ¶ added in v0.47.0
func (o *AgentTelemetryConfigParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentTelemetryConfigReader ¶
type AgentTelemetryConfigReader struct {
// contains filtered or unexported fields
}
AgentTelemetryConfigReader is a Reader for the AgentTelemetryConfig structure.
func (*AgentTelemetryConfigReader) ReadResponse ¶
func (o *AgentTelemetryConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for consul telemetry service API
func (*Client) AgentTelemetryConfig ¶
func (a *Client) AgentTelemetryConfig(params *AgentTelemetryConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentTelemetryConfigOK, error)
AgentTelemetryConfig agent telemetry config API
func (*Client) GetLabelValues ¶ added in v0.47.0
func (a *Client) GetLabelValues(params *GetLabelValuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelValuesOK, error)
GetLabelValues returns the label values for a given cluster
func (*Client) QueryRangeBatch ¶ added in v0.47.0
func (a *Client) QueryRangeBatch(params *QueryRangeBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryRangeBatchOK, error)
QueryRangeBatch customs endpoints for observability that batches query range requests
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 { AgentTelemetryConfig(params *AgentTelemetryConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentTelemetryConfigOK, error) GetLabelValues(params *GetLabelValuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLabelValuesOK, error) QueryRangeBatch(params *QueryRangeBatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryRangeBatchOK, 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 consul telemetry service API client.
type GetLabelValuesBody ¶ added in v0.47.0
type GetLabelValuesBody struct { // cluster_internal_id is the internal UUID of the cluster. This is used, instead of the public id, // to separate metrics per cluster. There could be two clusters in the same organization with the same public id, // or a two clusters with the same name in the same project, one created after the other is deleted. In either // scenario, we do not want to show the other cluster's metrics. ClusterInternalID string `json:"cluster_internal_id,omitempty"` // end // Format: date-time End strfmt.DateTime `json:"end,omitempty"` // location Location *GetLabelValuesParamsBodyLocation `json:"location,omitempty"` // start // Format: date-time Start strfmt.DateTime `json:"start,omitempty"` // refs a metric that we allow frontend to query values for Type *models.HashicorpCloudConsulTelemetry20230414LVT `json:"type,omitempty"` }
GetLabelValuesBody GetLabelValuesRequest swagger:model GetLabelValuesBody
func (*GetLabelValuesBody) ContextValidate ¶ added in v0.47.0
ContextValidate validate this get label values body based on the context it is used
func (*GetLabelValuesBody) MarshalBinary ¶ added in v0.47.0
func (o *GetLabelValuesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLabelValuesBody) UnmarshalBinary ¶ added in v0.47.0
func (o *GetLabelValuesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLabelValuesDefault ¶ added in v0.47.0
type GetLabelValuesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetLabelValuesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetLabelValuesDefault ¶ added in v0.47.0
func NewGetLabelValuesDefault(code int) *GetLabelValuesDefault
NewGetLabelValuesDefault creates a GetLabelValuesDefault with default headers values
func (*GetLabelValuesDefault) Code ¶ added in v0.47.0
func (o *GetLabelValuesDefault) Code() int
Code gets the status code for the get label values default response
func (*GetLabelValuesDefault) Error ¶ added in v0.47.0
func (o *GetLabelValuesDefault) Error() string
func (*GetLabelValuesDefault) GetPayload ¶ added in v0.47.0
func (o *GetLabelValuesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetLabelValuesDefault) IsClientError ¶ added in v0.47.0
func (o *GetLabelValuesDefault) IsClientError() bool
IsClientError returns true when this get label values default response has a 4xx status code
func (*GetLabelValuesDefault) IsCode ¶ added in v0.47.0
func (o *GetLabelValuesDefault) IsCode(code int) bool
IsCode returns true when this get label values default response a status code equal to that given
func (*GetLabelValuesDefault) IsRedirect ¶ added in v0.47.0
func (o *GetLabelValuesDefault) IsRedirect() bool
IsRedirect returns true when this get label values default response has a 3xx status code
func (*GetLabelValuesDefault) IsServerError ¶ added in v0.47.0
func (o *GetLabelValuesDefault) IsServerError() bool
IsServerError returns true when this get label values default response has a 5xx status code
func (*GetLabelValuesDefault) IsSuccess ¶ added in v0.47.0
func (o *GetLabelValuesDefault) IsSuccess() bool
IsSuccess returns true when this get label values default response has a 2xx status code
func (*GetLabelValuesDefault) String ¶ added in v0.47.0
func (o *GetLabelValuesDefault) String() string
type GetLabelValuesOK ¶ added in v0.47.0
type GetLabelValuesOK struct {
Payload *models.HashicorpCloudConsulTelemetry20230414GetLabelValuesResponse
}
GetLabelValuesOK describes a response with status code 200, with default header values.
A successful response.
func NewGetLabelValuesOK ¶ added in v0.47.0
func NewGetLabelValuesOK() *GetLabelValuesOK
NewGetLabelValuesOK creates a GetLabelValuesOK with default headers values
func (*GetLabelValuesOK) Error ¶ added in v0.47.0
func (o *GetLabelValuesOK) Error() string
func (*GetLabelValuesOK) GetPayload ¶ added in v0.47.0
func (o *GetLabelValuesOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414GetLabelValuesResponse
func (*GetLabelValuesOK) IsClientError ¶ added in v0.47.0
func (o *GetLabelValuesOK) IsClientError() bool
IsClientError returns true when this get label values o k response has a 4xx status code
func (*GetLabelValuesOK) IsCode ¶ added in v0.47.0
func (o *GetLabelValuesOK) IsCode(code int) bool
IsCode returns true when this get label values o k response a status code equal to that given
func (*GetLabelValuesOK) IsRedirect ¶ added in v0.47.0
func (o *GetLabelValuesOK) IsRedirect() bool
IsRedirect returns true when this get label values o k response has a 3xx status code
func (*GetLabelValuesOK) IsServerError ¶ added in v0.47.0
func (o *GetLabelValuesOK) IsServerError() bool
IsServerError returns true when this get label values o k response has a 5xx status code
func (*GetLabelValuesOK) IsSuccess ¶ added in v0.47.0
func (o *GetLabelValuesOK) IsSuccess() bool
IsSuccess returns true when this get label values o k response has a 2xx status code
func (*GetLabelValuesOK) String ¶ added in v0.47.0
func (o *GetLabelValuesOK) String() string
type GetLabelValuesParams ¶ added in v0.47.0
type GetLabelValuesParams struct { // Body. Body GetLabelValuesBody // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLabelValuesParams contains all the parameters to send to the API endpoint
for the get label values operation. Typically these are written to a http.Request.
func NewGetLabelValuesParams ¶ added in v0.47.0
func NewGetLabelValuesParams() *GetLabelValuesParams
NewGetLabelValuesParams creates a new GetLabelValuesParams 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 NewGetLabelValuesParamsWithContext ¶ added in v0.47.0
func NewGetLabelValuesParamsWithContext(ctx context.Context) *GetLabelValuesParams
NewGetLabelValuesParamsWithContext creates a new GetLabelValuesParams object with the ability to set a context for a request.
func NewGetLabelValuesParamsWithHTTPClient ¶ added in v0.47.0
func NewGetLabelValuesParamsWithHTTPClient(client *http.Client) *GetLabelValuesParams
NewGetLabelValuesParamsWithHTTPClient creates a new GetLabelValuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetLabelValuesParamsWithTimeout ¶ added in v0.47.0
func NewGetLabelValuesParamsWithTimeout(timeout time.Duration) *GetLabelValuesParams
NewGetLabelValuesParamsWithTimeout creates a new GetLabelValuesParams object with the ability to set a timeout on a request.
func (*GetLabelValuesParams) SetBody ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetBody(body GetLabelValuesBody)
SetBody adds the body to the get label values params
func (*GetLabelValuesParams) SetClusterID ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get label values params
func (*GetLabelValuesParams) SetContext ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get label values params
func (*GetLabelValuesParams) SetDefaults ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetDefaults()
SetDefaults hydrates default values in the get label values params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelValuesParams) SetHTTPClient ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get label values params
func (*GetLabelValuesParams) SetLocationOrganizationID ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the get label values params
func (*GetLabelValuesParams) SetLocationProjectID ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the get label values params
func (*GetLabelValuesParams) SetTimeout ¶ added in v0.47.0
func (o *GetLabelValuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get label values params
func (*GetLabelValuesParams) WithBody ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithBody(body GetLabelValuesBody) *GetLabelValuesParams
WithBody adds the body to the get label values params
func (*GetLabelValuesParams) WithClusterID ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithClusterID(clusterID string) *GetLabelValuesParams
WithClusterID adds the clusterID to the get label values params
func (*GetLabelValuesParams) WithContext ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithContext(ctx context.Context) *GetLabelValuesParams
WithContext adds the context to the get label values params
func (*GetLabelValuesParams) WithDefaults ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithDefaults() *GetLabelValuesParams
WithDefaults hydrates default values in the get label values params (not the query body).
All values with no default are reset to their zero value.
func (*GetLabelValuesParams) WithHTTPClient ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithHTTPClient(client *http.Client) *GetLabelValuesParams
WithHTTPClient adds the HTTPClient to the get label values params
func (*GetLabelValuesParams) WithLocationOrganizationID ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithLocationOrganizationID(locationOrganizationID string) *GetLabelValuesParams
WithLocationOrganizationID adds the locationOrganizationID to the get label values params
func (*GetLabelValuesParams) WithLocationProjectID ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithLocationProjectID(locationProjectID string) *GetLabelValuesParams
WithLocationProjectID adds the locationProjectID to the get label values params
func (*GetLabelValuesParams) WithTimeout ¶ added in v0.47.0
func (o *GetLabelValuesParams) WithTimeout(timeout time.Duration) *GetLabelValuesParams
WithTimeout adds the timeout to the get label values params
func (*GetLabelValuesParams) WriteToRequest ¶ added in v0.47.0
func (o *GetLabelValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLabelValuesParamsBodyLocation ¶ added in v0.47.0
type GetLabelValuesParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
GetLabelValuesParamsBodyLocation Location represents a target for an operation in HCP. swagger:model GetLabelValuesParamsBodyLocation
func (*GetLabelValuesParamsBodyLocation) ContextValidate ¶ added in v0.47.0
func (o *GetLabelValuesParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get label values params body location based on the context it is used
func (*GetLabelValuesParamsBodyLocation) MarshalBinary ¶ added in v0.47.0
func (o *GetLabelValuesParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLabelValuesParamsBodyLocation) UnmarshalBinary ¶ added in v0.47.0
func (o *GetLabelValuesParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetLabelValuesReader ¶ added in v0.47.0
type GetLabelValuesReader struct {
// contains filtered or unexported fields
}
GetLabelValuesReader is a Reader for the GetLabelValues structure.
func (*GetLabelValuesReader) ReadResponse ¶ added in v0.47.0
func (o *GetLabelValuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryRangeBatchBody ¶ added in v0.47.0
type QueryRangeBatchBody struct { // cluster_internal_id is the internal UUID of the cluster. This is used, instead of the public id, // to separate metrics per cluster. There could be two clusters in the same organization with the same public id, // or a two clusters with the same name in the same project, one created after the other is deleted. In either // scenario, we do not want to show the other cluster's metrics. ClusterInternalID string `json:"cluster_internal_id,omitempty"` // end // Format: date-time End strfmt.DateTime `json:"end,omitempty"` // location Location *QueryRangeBatchParamsBodyLocation `json:"location,omitempty"` // query is the set of QueryRangeTypes (QRT) to query for. Between 1 and 10 queries can be issued in one batch. Query []*models.HashicorpCloudConsulTelemetry20230414QRT `json:"query"` // service_name is an optional filter for service-level queries. Required for service-specific queries. ServiceName string `json:"service_name,omitempty"` // service_namespace is an optional filter for service-level queries. Required for service-specific queries. ServiceNamespace string `json:"service_namespace,omitempty"` // service_partition is an optional filter for service-level queries. Required for service-specific queries. ServicePartition string `json:"service_partition,omitempty"` // start // Format: date-time Start strfmt.DateTime `json:"start,omitempty"` // step Step string `json:"step,omitempty"` }
QueryRangeBatchBody QueryRangeBatchRequest // // QueryRangeBatchRequest is a custom endpoint request to have multiple QueryRangeReuqests in a single endpoint that will multiple QueryRangeRequests in a single endpoint. Same // restricuts on the type and the response type are required and must return a map of <string(the QueryRangeType), MetricMatrix>. swagger:model QueryRangeBatchBody
func (*QueryRangeBatchBody) ContextValidate ¶ added in v0.47.0
ContextValidate validate this query range batch body based on the context it is used
func (*QueryRangeBatchBody) MarshalBinary ¶ added in v0.47.0
func (o *QueryRangeBatchBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryRangeBatchBody) UnmarshalBinary ¶ added in v0.47.0
func (o *QueryRangeBatchBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryRangeBatchDefault ¶ added in v0.47.0
type QueryRangeBatchDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
QueryRangeBatchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewQueryRangeBatchDefault ¶ added in v0.47.0
func NewQueryRangeBatchDefault(code int) *QueryRangeBatchDefault
NewQueryRangeBatchDefault creates a QueryRangeBatchDefault with default headers values
func (*QueryRangeBatchDefault) Code ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) Code() int
Code gets the status code for the query range batch default response
func (*QueryRangeBatchDefault) Error ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) Error() string
func (*QueryRangeBatchDefault) GetPayload ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) GetPayload() *cloud.GoogleRPCStatus
func (*QueryRangeBatchDefault) IsClientError ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) IsClientError() bool
IsClientError returns true when this query range batch default response has a 4xx status code
func (*QueryRangeBatchDefault) IsCode ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) IsCode(code int) bool
IsCode returns true when this query range batch default response a status code equal to that given
func (*QueryRangeBatchDefault) IsRedirect ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) IsRedirect() bool
IsRedirect returns true when this query range batch default response has a 3xx status code
func (*QueryRangeBatchDefault) IsServerError ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) IsServerError() bool
IsServerError returns true when this query range batch default response has a 5xx status code
func (*QueryRangeBatchDefault) IsSuccess ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) IsSuccess() bool
IsSuccess returns true when this query range batch default response has a 2xx status code
func (*QueryRangeBatchDefault) String ¶ added in v0.47.0
func (o *QueryRangeBatchDefault) String() string
type QueryRangeBatchOK ¶ added in v0.47.0
type QueryRangeBatchOK struct {
Payload *models.HashicorpCloudConsulTelemetry20230414QueryRangeBatchResponse
}
QueryRangeBatchOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryRangeBatchOK ¶ added in v0.47.0
func NewQueryRangeBatchOK() *QueryRangeBatchOK
NewQueryRangeBatchOK creates a QueryRangeBatchOK with default headers values
func (*QueryRangeBatchOK) Error ¶ added in v0.47.0
func (o *QueryRangeBatchOK) Error() string
func (*QueryRangeBatchOK) GetPayload ¶ added in v0.47.0
func (o *QueryRangeBatchOK) GetPayload() *models.HashicorpCloudConsulTelemetry20230414QueryRangeBatchResponse
func (*QueryRangeBatchOK) IsClientError ¶ added in v0.47.0
func (o *QueryRangeBatchOK) IsClientError() bool
IsClientError returns true when this query range batch o k response has a 4xx status code
func (*QueryRangeBatchOK) IsCode ¶ added in v0.47.0
func (o *QueryRangeBatchOK) IsCode(code int) bool
IsCode returns true when this query range batch o k response a status code equal to that given
func (*QueryRangeBatchOK) IsRedirect ¶ added in v0.47.0
func (o *QueryRangeBatchOK) IsRedirect() bool
IsRedirect returns true when this query range batch o k response has a 3xx status code
func (*QueryRangeBatchOK) IsServerError ¶ added in v0.47.0
func (o *QueryRangeBatchOK) IsServerError() bool
IsServerError returns true when this query range batch o k response has a 5xx status code
func (*QueryRangeBatchOK) IsSuccess ¶ added in v0.47.0
func (o *QueryRangeBatchOK) IsSuccess() bool
IsSuccess returns true when this query range batch o k response has a 2xx status code
func (*QueryRangeBatchOK) String ¶ added in v0.47.0
func (o *QueryRangeBatchOK) String() string
type QueryRangeBatchParams ¶ added in v0.47.0
type QueryRangeBatchParams struct { // Body. Body QueryRangeBatchBody // ClusterID. ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryRangeBatchParams contains all the parameters to send to the API endpoint
for the query range batch operation. Typically these are written to a http.Request.
func NewQueryRangeBatchParams ¶ added in v0.47.0
func NewQueryRangeBatchParams() *QueryRangeBatchParams
NewQueryRangeBatchParams creates a new QueryRangeBatchParams 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 NewQueryRangeBatchParamsWithContext ¶ added in v0.47.0
func NewQueryRangeBatchParamsWithContext(ctx context.Context) *QueryRangeBatchParams
NewQueryRangeBatchParamsWithContext creates a new QueryRangeBatchParams object with the ability to set a context for a request.
func NewQueryRangeBatchParamsWithHTTPClient ¶ added in v0.47.0
func NewQueryRangeBatchParamsWithHTTPClient(client *http.Client) *QueryRangeBatchParams
NewQueryRangeBatchParamsWithHTTPClient creates a new QueryRangeBatchParams object with the ability to set a custom HTTPClient for a request.
func NewQueryRangeBatchParamsWithTimeout ¶ added in v0.47.0
func NewQueryRangeBatchParamsWithTimeout(timeout time.Duration) *QueryRangeBatchParams
NewQueryRangeBatchParamsWithTimeout creates a new QueryRangeBatchParams object with the ability to set a timeout on a request.
func (*QueryRangeBatchParams) SetBody ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetBody(body QueryRangeBatchBody)
SetBody adds the body to the query range batch params
func (*QueryRangeBatchParams) SetClusterID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the query range batch params
func (*QueryRangeBatchParams) SetContext ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the query range batch params
func (*QueryRangeBatchParams) SetDefaults ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetDefaults()
SetDefaults hydrates default values in the query range batch params (not the query body).
All values with no default are reset to their zero value.
func (*QueryRangeBatchParams) SetHTTPClient ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query range batch params
func (*QueryRangeBatchParams) SetLocationOrganizationID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the query range batch params
func (*QueryRangeBatchParams) SetLocationProjectID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the query range batch params
func (*QueryRangeBatchParams) SetTimeout ¶ added in v0.47.0
func (o *QueryRangeBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query range batch params
func (*QueryRangeBatchParams) WithBody ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithBody(body QueryRangeBatchBody) *QueryRangeBatchParams
WithBody adds the body to the query range batch params
func (*QueryRangeBatchParams) WithClusterID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithClusterID(clusterID string) *QueryRangeBatchParams
WithClusterID adds the clusterID to the query range batch params
func (*QueryRangeBatchParams) WithContext ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithContext(ctx context.Context) *QueryRangeBatchParams
WithContext adds the context to the query range batch params
func (*QueryRangeBatchParams) WithDefaults ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithDefaults() *QueryRangeBatchParams
WithDefaults hydrates default values in the query range batch params (not the query body).
All values with no default are reset to their zero value.
func (*QueryRangeBatchParams) WithHTTPClient ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithHTTPClient(client *http.Client) *QueryRangeBatchParams
WithHTTPClient adds the HTTPClient to the query range batch params
func (*QueryRangeBatchParams) WithLocationOrganizationID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithLocationOrganizationID(locationOrganizationID string) *QueryRangeBatchParams
WithLocationOrganizationID adds the locationOrganizationID to the query range batch params
func (*QueryRangeBatchParams) WithLocationProjectID ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithLocationProjectID(locationProjectID string) *QueryRangeBatchParams
WithLocationProjectID adds the locationProjectID to the query range batch params
func (*QueryRangeBatchParams) WithTimeout ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WithTimeout(timeout time.Duration) *QueryRangeBatchParams
WithTimeout adds the timeout to the query range batch params
func (*QueryRangeBatchParams) WriteToRequest ¶ added in v0.47.0
func (o *QueryRangeBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryRangeBatchParamsBodyLocation ¶ added in v0.47.0
type QueryRangeBatchParamsBodyLocation struct { // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *cloud.HashicorpCloudLocationRegion `json:"region,omitempty"` }
QueryRangeBatchParamsBodyLocation Location represents a target for an operation in HCP. swagger:model QueryRangeBatchParamsBodyLocation
func (*QueryRangeBatchParamsBodyLocation) ContextValidate ¶ added in v0.47.0
func (o *QueryRangeBatchParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this query range batch params body location based on the context it is used
func (*QueryRangeBatchParamsBodyLocation) MarshalBinary ¶ added in v0.47.0
func (o *QueryRangeBatchParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryRangeBatchParamsBodyLocation) UnmarshalBinary ¶ added in v0.47.0
func (o *QueryRangeBatchParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryRangeBatchReader ¶ added in v0.47.0
type QueryRangeBatchReader struct {
// contains filtered or unexported fields
}
QueryRangeBatchReader is a Reader for the QueryRangeBatch structure.
func (*QueryRangeBatchReader) ReadResponse ¶ added in v0.47.0
func (o *QueryRangeBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.