Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTraceTailSamplingRules(params *CreateTraceTailSamplingRulesParams, opts ...ClientOption) (*CreateTraceTailSamplingRulesOK, error)
- func (a *Client) DeleteTraceTailSamplingRules(params *DeleteTraceTailSamplingRulesParams, opts ...ClientOption) (*DeleteTraceTailSamplingRulesOK, error)
- func (a *Client) ReadTraceTailSamplingRules(params *ReadTraceTailSamplingRulesParams, opts ...ClientOption) (*ReadTraceTailSamplingRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTraceTailSamplingRules(params *UpdateTraceTailSamplingRulesParams, opts ...ClientOption) (*UpdateTraceTailSamplingRulesOK, error)
- type ClientOption
- type ClientService
- type CreateTraceTailSamplingRulesBadRequest
- func (o *CreateTraceTailSamplingRulesBadRequest) Code() int
- func (o *CreateTraceTailSamplingRulesBadRequest) Error() string
- func (o *CreateTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
- func (o *CreateTraceTailSamplingRulesBadRequest) IsClientError() bool
- func (o *CreateTraceTailSamplingRulesBadRequest) IsCode(code int) bool
- func (o *CreateTraceTailSamplingRulesBadRequest) IsRedirect() bool
- func (o *CreateTraceTailSamplingRulesBadRequest) IsServerError() bool
- func (o *CreateTraceTailSamplingRulesBadRequest) IsSuccess() bool
- func (o *CreateTraceTailSamplingRulesBadRequest) String() string
- type CreateTraceTailSamplingRulesConflict
- func (o *CreateTraceTailSamplingRulesConflict) Code() int
- func (o *CreateTraceTailSamplingRulesConflict) Error() string
- func (o *CreateTraceTailSamplingRulesConflict) GetPayload() *models.APIError
- func (o *CreateTraceTailSamplingRulesConflict) IsClientError() bool
- func (o *CreateTraceTailSamplingRulesConflict) IsCode(code int) bool
- func (o *CreateTraceTailSamplingRulesConflict) IsRedirect() bool
- func (o *CreateTraceTailSamplingRulesConflict) IsServerError() bool
- func (o *CreateTraceTailSamplingRulesConflict) IsSuccess() bool
- func (o *CreateTraceTailSamplingRulesConflict) String() string
- type CreateTraceTailSamplingRulesDefault
- func (o *CreateTraceTailSamplingRulesDefault) Code() int
- func (o *CreateTraceTailSamplingRulesDefault) Error() string
- func (o *CreateTraceTailSamplingRulesDefault) GetPayload() models.GenericError
- func (o *CreateTraceTailSamplingRulesDefault) IsClientError() bool
- func (o *CreateTraceTailSamplingRulesDefault) IsCode(code int) bool
- func (o *CreateTraceTailSamplingRulesDefault) IsRedirect() bool
- func (o *CreateTraceTailSamplingRulesDefault) IsServerError() bool
- func (o *CreateTraceTailSamplingRulesDefault) IsSuccess() bool
- func (o *CreateTraceTailSamplingRulesDefault) String() string
- type CreateTraceTailSamplingRulesInternalServerError
- func (o *CreateTraceTailSamplingRulesInternalServerError) Code() int
- func (o *CreateTraceTailSamplingRulesInternalServerError) Error() string
- func (o *CreateTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
- func (o *CreateTraceTailSamplingRulesInternalServerError) IsClientError() bool
- func (o *CreateTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
- func (o *CreateTraceTailSamplingRulesInternalServerError) IsRedirect() bool
- func (o *CreateTraceTailSamplingRulesInternalServerError) IsServerError() bool
- func (o *CreateTraceTailSamplingRulesInternalServerError) IsSuccess() bool
- func (o *CreateTraceTailSamplingRulesInternalServerError) String() string
- type CreateTraceTailSamplingRulesOK
- func (o *CreateTraceTailSamplingRulesOK) Code() int
- func (o *CreateTraceTailSamplingRulesOK) Error() string
- func (o *CreateTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableCreateTraceTailSamplingRulesResponse
- func (o *CreateTraceTailSamplingRulesOK) IsClientError() bool
- func (o *CreateTraceTailSamplingRulesOK) IsCode(code int) bool
- func (o *CreateTraceTailSamplingRulesOK) IsRedirect() bool
- func (o *CreateTraceTailSamplingRulesOK) IsServerError() bool
- func (o *CreateTraceTailSamplingRulesOK) IsSuccess() bool
- func (o *CreateTraceTailSamplingRulesOK) String() string
- type CreateTraceTailSamplingRulesParams
- func NewCreateTraceTailSamplingRulesParams() *CreateTraceTailSamplingRulesParams
- func NewCreateTraceTailSamplingRulesParamsWithContext(ctx context.Context) *CreateTraceTailSamplingRulesParams
- func NewCreateTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *CreateTraceTailSamplingRulesParams
- func NewCreateTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) SetBody(body *models.ConfigunstableCreateTraceTailSamplingRulesRequest)
- func (o *CreateTraceTailSamplingRulesParams) SetContext(ctx context.Context)
- func (o *CreateTraceTailSamplingRulesParams) SetDefaults()
- func (o *CreateTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
- func (o *CreateTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
- func (o *CreateTraceTailSamplingRulesParams) WithBody(body *models.ConfigunstableCreateTraceTailSamplingRulesRequest) *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) WithContext(ctx context.Context) *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) WithDefaults() *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *CreateTraceTailSamplingRulesParams
- func (o *CreateTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTraceTailSamplingRulesReader
- type DeleteTraceTailSamplingRulesBadRequest
- func (o *DeleteTraceTailSamplingRulesBadRequest) Code() int
- func (o *DeleteTraceTailSamplingRulesBadRequest) Error() string
- func (o *DeleteTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
- func (o *DeleteTraceTailSamplingRulesBadRequest) IsClientError() bool
- func (o *DeleteTraceTailSamplingRulesBadRequest) IsCode(code int) bool
- func (o *DeleteTraceTailSamplingRulesBadRequest) IsRedirect() bool
- func (o *DeleteTraceTailSamplingRulesBadRequest) IsServerError() bool
- func (o *DeleteTraceTailSamplingRulesBadRequest) IsSuccess() bool
- func (o *DeleteTraceTailSamplingRulesBadRequest) String() string
- type DeleteTraceTailSamplingRulesDefault
- func (o *DeleteTraceTailSamplingRulesDefault) Code() int
- func (o *DeleteTraceTailSamplingRulesDefault) Error() string
- func (o *DeleteTraceTailSamplingRulesDefault) GetPayload() models.GenericError
- func (o *DeleteTraceTailSamplingRulesDefault) IsClientError() bool
- func (o *DeleteTraceTailSamplingRulesDefault) IsCode(code int) bool
- func (o *DeleteTraceTailSamplingRulesDefault) IsRedirect() bool
- func (o *DeleteTraceTailSamplingRulesDefault) IsServerError() bool
- func (o *DeleteTraceTailSamplingRulesDefault) IsSuccess() bool
- func (o *DeleteTraceTailSamplingRulesDefault) String() string
- type DeleteTraceTailSamplingRulesInternalServerError
- func (o *DeleteTraceTailSamplingRulesInternalServerError) Code() int
- func (o *DeleteTraceTailSamplingRulesInternalServerError) Error() string
- func (o *DeleteTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
- func (o *DeleteTraceTailSamplingRulesInternalServerError) IsClientError() bool
- func (o *DeleteTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
- func (o *DeleteTraceTailSamplingRulesInternalServerError) IsRedirect() bool
- func (o *DeleteTraceTailSamplingRulesInternalServerError) IsServerError() bool
- func (o *DeleteTraceTailSamplingRulesInternalServerError) IsSuccess() bool
- func (o *DeleteTraceTailSamplingRulesInternalServerError) String() string
- type DeleteTraceTailSamplingRulesNotFound
- func (o *DeleteTraceTailSamplingRulesNotFound) Code() int
- func (o *DeleteTraceTailSamplingRulesNotFound) Error() string
- func (o *DeleteTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
- func (o *DeleteTraceTailSamplingRulesNotFound) IsClientError() bool
- func (o *DeleteTraceTailSamplingRulesNotFound) IsCode(code int) bool
- func (o *DeleteTraceTailSamplingRulesNotFound) IsRedirect() bool
- func (o *DeleteTraceTailSamplingRulesNotFound) IsServerError() bool
- func (o *DeleteTraceTailSamplingRulesNotFound) IsSuccess() bool
- func (o *DeleteTraceTailSamplingRulesNotFound) String() string
- type DeleteTraceTailSamplingRulesOK
- func (o *DeleteTraceTailSamplingRulesOK) Code() int
- func (o *DeleteTraceTailSamplingRulesOK) Error() string
- func (o *DeleteTraceTailSamplingRulesOK) GetPayload() models.ConfigunstableDeleteTraceTailSamplingRulesResponse
- func (o *DeleteTraceTailSamplingRulesOK) IsClientError() bool
- func (o *DeleteTraceTailSamplingRulesOK) IsCode(code int) bool
- func (o *DeleteTraceTailSamplingRulesOK) IsRedirect() bool
- func (o *DeleteTraceTailSamplingRulesOK) IsServerError() bool
- func (o *DeleteTraceTailSamplingRulesOK) IsSuccess() bool
- func (o *DeleteTraceTailSamplingRulesOK) String() string
- type DeleteTraceTailSamplingRulesParams
- func NewDeleteTraceTailSamplingRulesParams() *DeleteTraceTailSamplingRulesParams
- func NewDeleteTraceTailSamplingRulesParamsWithContext(ctx context.Context) *DeleteTraceTailSamplingRulesParams
- func NewDeleteTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *DeleteTraceTailSamplingRulesParams
- func NewDeleteTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) SetContext(ctx context.Context)
- func (o *DeleteTraceTailSamplingRulesParams) SetDefaults()
- func (o *DeleteTraceTailSamplingRulesParams) SetDryRun(dryRun *bool)
- func (o *DeleteTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTraceTailSamplingRulesParams) WithContext(ctx context.Context) *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) WithDefaults() *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) WithDryRun(dryRun *bool) *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *DeleteTraceTailSamplingRulesParams
- func (o *DeleteTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTraceTailSamplingRulesReader
- type ReadTraceTailSamplingRulesDefault
- func (o *ReadTraceTailSamplingRulesDefault) Code() int
- func (o *ReadTraceTailSamplingRulesDefault) Error() string
- func (o *ReadTraceTailSamplingRulesDefault) GetPayload() models.GenericError
- func (o *ReadTraceTailSamplingRulesDefault) IsClientError() bool
- func (o *ReadTraceTailSamplingRulesDefault) IsCode(code int) bool
- func (o *ReadTraceTailSamplingRulesDefault) IsRedirect() bool
- func (o *ReadTraceTailSamplingRulesDefault) IsServerError() bool
- func (o *ReadTraceTailSamplingRulesDefault) IsSuccess() bool
- func (o *ReadTraceTailSamplingRulesDefault) String() string
- type ReadTraceTailSamplingRulesInternalServerError
- func (o *ReadTraceTailSamplingRulesInternalServerError) Code() int
- func (o *ReadTraceTailSamplingRulesInternalServerError) Error() string
- func (o *ReadTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
- func (o *ReadTraceTailSamplingRulesInternalServerError) IsClientError() bool
- func (o *ReadTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
- func (o *ReadTraceTailSamplingRulesInternalServerError) IsRedirect() bool
- func (o *ReadTraceTailSamplingRulesInternalServerError) IsServerError() bool
- func (o *ReadTraceTailSamplingRulesInternalServerError) IsSuccess() bool
- func (o *ReadTraceTailSamplingRulesInternalServerError) String() string
- type ReadTraceTailSamplingRulesNotFound
- func (o *ReadTraceTailSamplingRulesNotFound) Code() int
- func (o *ReadTraceTailSamplingRulesNotFound) Error() string
- func (o *ReadTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
- func (o *ReadTraceTailSamplingRulesNotFound) IsClientError() bool
- func (o *ReadTraceTailSamplingRulesNotFound) IsCode(code int) bool
- func (o *ReadTraceTailSamplingRulesNotFound) IsRedirect() bool
- func (o *ReadTraceTailSamplingRulesNotFound) IsServerError() bool
- func (o *ReadTraceTailSamplingRulesNotFound) IsSuccess() bool
- func (o *ReadTraceTailSamplingRulesNotFound) String() string
- type ReadTraceTailSamplingRulesOK
- func (o *ReadTraceTailSamplingRulesOK) Code() int
- func (o *ReadTraceTailSamplingRulesOK) Error() string
- func (o *ReadTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableReadTraceTailSamplingRulesResponse
- func (o *ReadTraceTailSamplingRulesOK) IsClientError() bool
- func (o *ReadTraceTailSamplingRulesOK) IsCode(code int) bool
- func (o *ReadTraceTailSamplingRulesOK) IsRedirect() bool
- func (o *ReadTraceTailSamplingRulesOK) IsServerError() bool
- func (o *ReadTraceTailSamplingRulesOK) IsSuccess() bool
- func (o *ReadTraceTailSamplingRulesOK) String() string
- type ReadTraceTailSamplingRulesParams
- func NewReadTraceTailSamplingRulesParams() *ReadTraceTailSamplingRulesParams
- func NewReadTraceTailSamplingRulesParamsWithContext(ctx context.Context) *ReadTraceTailSamplingRulesParams
- func NewReadTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *ReadTraceTailSamplingRulesParams
- func NewReadTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *ReadTraceTailSamplingRulesParams
- func (o *ReadTraceTailSamplingRulesParams) SetContext(ctx context.Context)
- func (o *ReadTraceTailSamplingRulesParams) SetDefaults()
- func (o *ReadTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
- func (o *ReadTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
- func (o *ReadTraceTailSamplingRulesParams) WithContext(ctx context.Context) *ReadTraceTailSamplingRulesParams
- func (o *ReadTraceTailSamplingRulesParams) WithDefaults() *ReadTraceTailSamplingRulesParams
- func (o *ReadTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *ReadTraceTailSamplingRulesParams
- func (o *ReadTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *ReadTraceTailSamplingRulesParams
- func (o *ReadTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadTraceTailSamplingRulesReader
- type UpdateTraceTailSamplingRulesBadRequest
- func (o *UpdateTraceTailSamplingRulesBadRequest) Code() int
- func (o *UpdateTraceTailSamplingRulesBadRequest) Error() string
- func (o *UpdateTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
- func (o *UpdateTraceTailSamplingRulesBadRequest) IsClientError() bool
- func (o *UpdateTraceTailSamplingRulesBadRequest) IsCode(code int) bool
- func (o *UpdateTraceTailSamplingRulesBadRequest) IsRedirect() bool
- func (o *UpdateTraceTailSamplingRulesBadRequest) IsServerError() bool
- func (o *UpdateTraceTailSamplingRulesBadRequest) IsSuccess() bool
- func (o *UpdateTraceTailSamplingRulesBadRequest) String() string
- type UpdateTraceTailSamplingRulesDefault
- func (o *UpdateTraceTailSamplingRulesDefault) Code() int
- func (o *UpdateTraceTailSamplingRulesDefault) Error() string
- func (o *UpdateTraceTailSamplingRulesDefault) GetPayload() models.GenericError
- func (o *UpdateTraceTailSamplingRulesDefault) IsClientError() bool
- func (o *UpdateTraceTailSamplingRulesDefault) IsCode(code int) bool
- func (o *UpdateTraceTailSamplingRulesDefault) IsRedirect() bool
- func (o *UpdateTraceTailSamplingRulesDefault) IsServerError() bool
- func (o *UpdateTraceTailSamplingRulesDefault) IsSuccess() bool
- func (o *UpdateTraceTailSamplingRulesDefault) String() string
- type UpdateTraceTailSamplingRulesInternalServerError
- func (o *UpdateTraceTailSamplingRulesInternalServerError) Code() int
- func (o *UpdateTraceTailSamplingRulesInternalServerError) Error() string
- func (o *UpdateTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
- func (o *UpdateTraceTailSamplingRulesInternalServerError) IsClientError() bool
- func (o *UpdateTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
- func (o *UpdateTraceTailSamplingRulesInternalServerError) IsRedirect() bool
- func (o *UpdateTraceTailSamplingRulesInternalServerError) IsServerError() bool
- func (o *UpdateTraceTailSamplingRulesInternalServerError) IsSuccess() bool
- func (o *UpdateTraceTailSamplingRulesInternalServerError) String() string
- type UpdateTraceTailSamplingRulesNotFound
- func (o *UpdateTraceTailSamplingRulesNotFound) Code() int
- func (o *UpdateTraceTailSamplingRulesNotFound) Error() string
- func (o *UpdateTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
- func (o *UpdateTraceTailSamplingRulesNotFound) IsClientError() bool
- func (o *UpdateTraceTailSamplingRulesNotFound) IsCode(code int) bool
- func (o *UpdateTraceTailSamplingRulesNotFound) IsRedirect() bool
- func (o *UpdateTraceTailSamplingRulesNotFound) IsServerError() bool
- func (o *UpdateTraceTailSamplingRulesNotFound) IsSuccess() bool
- func (o *UpdateTraceTailSamplingRulesNotFound) String() string
- type UpdateTraceTailSamplingRulesOK
- func (o *UpdateTraceTailSamplingRulesOK) Code() int
- func (o *UpdateTraceTailSamplingRulesOK) Error() string
- func (o *UpdateTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableUpdateTraceTailSamplingRulesResponse
- func (o *UpdateTraceTailSamplingRulesOK) IsClientError() bool
- func (o *UpdateTraceTailSamplingRulesOK) IsCode(code int) bool
- func (o *UpdateTraceTailSamplingRulesOK) IsRedirect() bool
- func (o *UpdateTraceTailSamplingRulesOK) IsServerError() bool
- func (o *UpdateTraceTailSamplingRulesOK) IsSuccess() bool
- func (o *UpdateTraceTailSamplingRulesOK) String() string
- type UpdateTraceTailSamplingRulesParams
- func NewUpdateTraceTailSamplingRulesParams() *UpdateTraceTailSamplingRulesParams
- func NewUpdateTraceTailSamplingRulesParamsWithContext(ctx context.Context) *UpdateTraceTailSamplingRulesParams
- func NewUpdateTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *UpdateTraceTailSamplingRulesParams
- func NewUpdateTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) SetBody(body *models.ConfigunstableUpdateTraceTailSamplingRulesRequest)
- func (o *UpdateTraceTailSamplingRulesParams) SetContext(ctx context.Context)
- func (o *UpdateTraceTailSamplingRulesParams) SetDefaults()
- func (o *UpdateTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTraceTailSamplingRulesParams) WithBody(body *models.ConfigunstableUpdateTraceTailSamplingRulesRequest) *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) WithContext(ctx context.Context) *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) WithDefaults() *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *UpdateTraceTailSamplingRulesParams
- func (o *UpdateTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTraceTailSamplingRulesReader
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 trace tail sampling rules API
func (*Client) CreateTraceTailSamplingRules ¶
func (a *Client) CreateTraceTailSamplingRules(params *CreateTraceTailSamplingRulesParams, opts ...ClientOption) (*CreateTraceTailSamplingRulesOK, error)
CreateTraceTailSamplingRules TraceTailSamplingRules CRUD (subset for singleton objects)
func (*Client) DeleteTraceTailSamplingRules ¶
func (a *Client) DeleteTraceTailSamplingRules(params *DeleteTraceTailSamplingRulesParams, opts ...ClientOption) (*DeleteTraceTailSamplingRulesOK, error)
DeleteTraceTailSamplingRules delete trace tail sampling rules API
func (*Client) ReadTraceTailSamplingRules ¶
func (a *Client) ReadTraceTailSamplingRules(params *ReadTraceTailSamplingRulesParams, opts ...ClientOption) (*ReadTraceTailSamplingRulesOK, error)
ReadTraceTailSamplingRules read trace tail sampling rules API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTraceTailSamplingRules ¶
func (a *Client) UpdateTraceTailSamplingRules(params *UpdateTraceTailSamplingRulesParams, opts ...ClientOption) (*UpdateTraceTailSamplingRulesOK, error)
UpdateTraceTailSamplingRules update trace tail sampling rules API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateTraceTailSamplingRules(params *CreateTraceTailSamplingRulesParams, opts ...ClientOption) (*CreateTraceTailSamplingRulesOK, error) DeleteTraceTailSamplingRules(params *DeleteTraceTailSamplingRulesParams, opts ...ClientOption) (*DeleteTraceTailSamplingRulesOK, error) ReadTraceTailSamplingRules(params *ReadTraceTailSamplingRulesParams, opts ...ClientOption) (*ReadTraceTailSamplingRulesOK, error) UpdateTraceTailSamplingRules(params *UpdateTraceTailSamplingRulesParams, opts ...ClientOption) (*UpdateTraceTailSamplingRulesOK, 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 trace tail sampling rules API client.
type CreateTraceTailSamplingRulesBadRequest ¶
CreateTraceTailSamplingRulesBadRequest describes a response with status code 400, with default header values.
Cannot create the TraceTailSamplingRules because the request is invalid.
func NewCreateTraceTailSamplingRulesBadRequest ¶
func NewCreateTraceTailSamplingRulesBadRequest() *CreateTraceTailSamplingRulesBadRequest
NewCreateTraceTailSamplingRulesBadRequest creates a CreateTraceTailSamplingRulesBadRequest with default headers values
func (*CreateTraceTailSamplingRulesBadRequest) Code ¶
func (o *CreateTraceTailSamplingRulesBadRequest) Code() int
Code gets the status code for the create trace tail sampling rules bad request response
func (*CreateTraceTailSamplingRulesBadRequest) Error ¶
func (o *CreateTraceTailSamplingRulesBadRequest) Error() string
func (*CreateTraceTailSamplingRulesBadRequest) GetPayload ¶
func (o *CreateTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
func (*CreateTraceTailSamplingRulesBadRequest) IsClientError ¶
func (o *CreateTraceTailSamplingRulesBadRequest) IsClientError() bool
IsClientError returns true when this create trace tail sampling rules bad request response has a 4xx status code
func (*CreateTraceTailSamplingRulesBadRequest) IsCode ¶
func (o *CreateTraceTailSamplingRulesBadRequest) IsCode(code int) bool
IsCode returns true when this create trace tail sampling rules bad request response a status code equal to that given
func (*CreateTraceTailSamplingRulesBadRequest) IsRedirect ¶
func (o *CreateTraceTailSamplingRulesBadRequest) IsRedirect() bool
IsRedirect returns true when this create trace tail sampling rules bad request response has a 3xx status code
func (*CreateTraceTailSamplingRulesBadRequest) IsServerError ¶
func (o *CreateTraceTailSamplingRulesBadRequest) IsServerError() bool
IsServerError returns true when this create trace tail sampling rules bad request response has a 5xx status code
func (*CreateTraceTailSamplingRulesBadRequest) IsSuccess ¶
func (o *CreateTraceTailSamplingRulesBadRequest) IsSuccess() bool
IsSuccess returns true when this create trace tail sampling rules bad request response has a 2xx status code
func (*CreateTraceTailSamplingRulesBadRequest) String ¶
func (o *CreateTraceTailSamplingRulesBadRequest) String() string
type CreateTraceTailSamplingRulesConflict ¶
CreateTraceTailSamplingRulesConflict describes a response with status code 409, with default header values.
Cannot create the TraceTailSamplingRules because there is a conflict with an existing TraceTailSamplingRules.
func NewCreateTraceTailSamplingRulesConflict ¶
func NewCreateTraceTailSamplingRulesConflict() *CreateTraceTailSamplingRulesConflict
NewCreateTraceTailSamplingRulesConflict creates a CreateTraceTailSamplingRulesConflict with default headers values
func (*CreateTraceTailSamplingRulesConflict) Code ¶
func (o *CreateTraceTailSamplingRulesConflict) Code() int
Code gets the status code for the create trace tail sampling rules conflict response
func (*CreateTraceTailSamplingRulesConflict) Error ¶
func (o *CreateTraceTailSamplingRulesConflict) Error() string
func (*CreateTraceTailSamplingRulesConflict) GetPayload ¶
func (o *CreateTraceTailSamplingRulesConflict) GetPayload() *models.APIError
func (*CreateTraceTailSamplingRulesConflict) IsClientError ¶
func (o *CreateTraceTailSamplingRulesConflict) IsClientError() bool
IsClientError returns true when this create trace tail sampling rules conflict response has a 4xx status code
func (*CreateTraceTailSamplingRulesConflict) IsCode ¶
func (o *CreateTraceTailSamplingRulesConflict) IsCode(code int) bool
IsCode returns true when this create trace tail sampling rules conflict response a status code equal to that given
func (*CreateTraceTailSamplingRulesConflict) IsRedirect ¶
func (o *CreateTraceTailSamplingRulesConflict) IsRedirect() bool
IsRedirect returns true when this create trace tail sampling rules conflict response has a 3xx status code
func (*CreateTraceTailSamplingRulesConflict) IsServerError ¶
func (o *CreateTraceTailSamplingRulesConflict) IsServerError() bool
IsServerError returns true when this create trace tail sampling rules conflict response has a 5xx status code
func (*CreateTraceTailSamplingRulesConflict) IsSuccess ¶
func (o *CreateTraceTailSamplingRulesConflict) IsSuccess() bool
IsSuccess returns true when this create trace tail sampling rules conflict response has a 2xx status code
func (*CreateTraceTailSamplingRulesConflict) String ¶
func (o *CreateTraceTailSamplingRulesConflict) String() string
type CreateTraceTailSamplingRulesDefault ¶
type CreateTraceTailSamplingRulesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateTraceTailSamplingRulesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateTraceTailSamplingRulesDefault ¶
func NewCreateTraceTailSamplingRulesDefault(code int) *CreateTraceTailSamplingRulesDefault
NewCreateTraceTailSamplingRulesDefault creates a CreateTraceTailSamplingRulesDefault with default headers values
func (*CreateTraceTailSamplingRulesDefault) Code ¶
func (o *CreateTraceTailSamplingRulesDefault) Code() int
Code gets the status code for the create trace tail sampling rules default response
func (*CreateTraceTailSamplingRulesDefault) Error ¶
func (o *CreateTraceTailSamplingRulesDefault) Error() string
func (*CreateTraceTailSamplingRulesDefault) GetPayload ¶
func (o *CreateTraceTailSamplingRulesDefault) GetPayload() models.GenericError
func (*CreateTraceTailSamplingRulesDefault) IsClientError ¶
func (o *CreateTraceTailSamplingRulesDefault) IsClientError() bool
IsClientError returns true when this create trace tail sampling rules default response has a 4xx status code
func (*CreateTraceTailSamplingRulesDefault) IsCode ¶
func (o *CreateTraceTailSamplingRulesDefault) IsCode(code int) bool
IsCode returns true when this create trace tail sampling rules default response a status code equal to that given
func (*CreateTraceTailSamplingRulesDefault) IsRedirect ¶
func (o *CreateTraceTailSamplingRulesDefault) IsRedirect() bool
IsRedirect returns true when this create trace tail sampling rules default response has a 3xx status code
func (*CreateTraceTailSamplingRulesDefault) IsServerError ¶
func (o *CreateTraceTailSamplingRulesDefault) IsServerError() bool
IsServerError returns true when this create trace tail sampling rules default response has a 5xx status code
func (*CreateTraceTailSamplingRulesDefault) IsSuccess ¶
func (o *CreateTraceTailSamplingRulesDefault) IsSuccess() bool
IsSuccess returns true when this create trace tail sampling rules default response has a 2xx status code
func (*CreateTraceTailSamplingRulesDefault) String ¶
func (o *CreateTraceTailSamplingRulesDefault) String() string
type CreateTraceTailSamplingRulesInternalServerError ¶
CreateTraceTailSamplingRulesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateTraceTailSamplingRulesInternalServerError ¶
func NewCreateTraceTailSamplingRulesInternalServerError() *CreateTraceTailSamplingRulesInternalServerError
NewCreateTraceTailSamplingRulesInternalServerError creates a CreateTraceTailSamplingRulesInternalServerError with default headers values
func (*CreateTraceTailSamplingRulesInternalServerError) Code ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) Code() int
Code gets the status code for the create trace tail sampling rules internal server error response
func (*CreateTraceTailSamplingRulesInternalServerError) Error ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) Error() string
func (*CreateTraceTailSamplingRulesInternalServerError) GetPayload ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
func (*CreateTraceTailSamplingRulesInternalServerError) IsClientError ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this create trace tail sampling rules internal server error response has a 4xx status code
func (*CreateTraceTailSamplingRulesInternalServerError) IsCode ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this create trace tail sampling rules internal server error response a status code equal to that given
func (*CreateTraceTailSamplingRulesInternalServerError) IsRedirect ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this create trace tail sampling rules internal server error response has a 3xx status code
func (*CreateTraceTailSamplingRulesInternalServerError) IsServerError ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this create trace tail sampling rules internal server error response has a 5xx status code
func (*CreateTraceTailSamplingRulesInternalServerError) IsSuccess ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this create trace tail sampling rules internal server error response has a 2xx status code
func (*CreateTraceTailSamplingRulesInternalServerError) String ¶
func (o *CreateTraceTailSamplingRulesInternalServerError) String() string
type CreateTraceTailSamplingRulesOK ¶
type CreateTraceTailSamplingRulesOK struct {
Payload *models.ConfigunstableCreateTraceTailSamplingRulesResponse
}
CreateTraceTailSamplingRulesOK describes a response with status code 200, with default header values.
A successful response containing the created TraceTailSamplingRules.
func NewCreateTraceTailSamplingRulesOK ¶
func NewCreateTraceTailSamplingRulesOK() *CreateTraceTailSamplingRulesOK
NewCreateTraceTailSamplingRulesOK creates a CreateTraceTailSamplingRulesOK with default headers values
func (*CreateTraceTailSamplingRulesOK) Code ¶
func (o *CreateTraceTailSamplingRulesOK) Code() int
Code gets the status code for the create trace tail sampling rules o k response
func (*CreateTraceTailSamplingRulesOK) Error ¶
func (o *CreateTraceTailSamplingRulesOK) Error() string
func (*CreateTraceTailSamplingRulesOK) GetPayload ¶
func (o *CreateTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableCreateTraceTailSamplingRulesResponse
func (*CreateTraceTailSamplingRulesOK) IsClientError ¶
func (o *CreateTraceTailSamplingRulesOK) IsClientError() bool
IsClientError returns true when this create trace tail sampling rules o k response has a 4xx status code
func (*CreateTraceTailSamplingRulesOK) IsCode ¶
func (o *CreateTraceTailSamplingRulesOK) IsCode(code int) bool
IsCode returns true when this create trace tail sampling rules o k response a status code equal to that given
func (*CreateTraceTailSamplingRulesOK) IsRedirect ¶
func (o *CreateTraceTailSamplingRulesOK) IsRedirect() bool
IsRedirect returns true when this create trace tail sampling rules o k response has a 3xx status code
func (*CreateTraceTailSamplingRulesOK) IsServerError ¶
func (o *CreateTraceTailSamplingRulesOK) IsServerError() bool
IsServerError returns true when this create trace tail sampling rules o k response has a 5xx status code
func (*CreateTraceTailSamplingRulesOK) IsSuccess ¶
func (o *CreateTraceTailSamplingRulesOK) IsSuccess() bool
IsSuccess returns true when this create trace tail sampling rules o k response has a 2xx status code
func (*CreateTraceTailSamplingRulesOK) String ¶
func (o *CreateTraceTailSamplingRulesOK) String() string
type CreateTraceTailSamplingRulesParams ¶
type CreateTraceTailSamplingRulesParams struct { // Body. Body *models.ConfigunstableCreateTraceTailSamplingRulesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTraceTailSamplingRulesParams contains all the parameters to send to the API endpoint
for the create trace tail sampling rules operation. Typically these are written to a http.Request.
func NewCreateTraceTailSamplingRulesParams ¶
func NewCreateTraceTailSamplingRulesParams() *CreateTraceTailSamplingRulesParams
NewCreateTraceTailSamplingRulesParams creates a new CreateTraceTailSamplingRulesParams 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 NewCreateTraceTailSamplingRulesParamsWithContext ¶
func NewCreateTraceTailSamplingRulesParamsWithContext(ctx context.Context) *CreateTraceTailSamplingRulesParams
NewCreateTraceTailSamplingRulesParamsWithContext creates a new CreateTraceTailSamplingRulesParams object with the ability to set a context for a request.
func NewCreateTraceTailSamplingRulesParamsWithHTTPClient ¶
func NewCreateTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *CreateTraceTailSamplingRulesParams
NewCreateTraceTailSamplingRulesParamsWithHTTPClient creates a new CreateTraceTailSamplingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTraceTailSamplingRulesParamsWithTimeout ¶
func NewCreateTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *CreateTraceTailSamplingRulesParams
NewCreateTraceTailSamplingRulesParamsWithTimeout creates a new CreateTraceTailSamplingRulesParams object with the ability to set a timeout on a request.
func (*CreateTraceTailSamplingRulesParams) SetBody ¶
func (o *CreateTraceTailSamplingRulesParams) SetBody(body *models.ConfigunstableCreateTraceTailSamplingRulesRequest)
SetBody adds the body to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) SetContext ¶
func (o *CreateTraceTailSamplingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) SetDefaults ¶
func (o *CreateTraceTailSamplingRulesParams) SetDefaults()
SetDefaults hydrates default values in the create trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTraceTailSamplingRulesParams) SetHTTPClient ¶
func (o *CreateTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) SetTimeout ¶
func (o *CreateTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) WithBody ¶
func (o *CreateTraceTailSamplingRulesParams) WithBody(body *models.ConfigunstableCreateTraceTailSamplingRulesRequest) *CreateTraceTailSamplingRulesParams
WithBody adds the body to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) WithContext ¶
func (o *CreateTraceTailSamplingRulesParams) WithContext(ctx context.Context) *CreateTraceTailSamplingRulesParams
WithContext adds the context to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) WithDefaults ¶
func (o *CreateTraceTailSamplingRulesParams) WithDefaults() *CreateTraceTailSamplingRulesParams
WithDefaults hydrates default values in the create trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTraceTailSamplingRulesParams) WithHTTPClient ¶
func (o *CreateTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *CreateTraceTailSamplingRulesParams
WithHTTPClient adds the HTTPClient to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) WithTimeout ¶
func (o *CreateTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *CreateTraceTailSamplingRulesParams
WithTimeout adds the timeout to the create trace tail sampling rules params
func (*CreateTraceTailSamplingRulesParams) WriteToRequest ¶
func (o *CreateTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTraceTailSamplingRulesReader ¶
type CreateTraceTailSamplingRulesReader struct {
// contains filtered or unexported fields
}
CreateTraceTailSamplingRulesReader is a Reader for the CreateTraceTailSamplingRules structure.
func (*CreateTraceTailSamplingRulesReader) ReadResponse ¶
func (o *CreateTraceTailSamplingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTraceTailSamplingRulesBadRequest ¶
DeleteTraceTailSamplingRulesBadRequest describes a response with status code 400, with default header values.
Cannot delete the TraceTailSamplingRules because it is in use.
func NewDeleteTraceTailSamplingRulesBadRequest ¶
func NewDeleteTraceTailSamplingRulesBadRequest() *DeleteTraceTailSamplingRulesBadRequest
NewDeleteTraceTailSamplingRulesBadRequest creates a DeleteTraceTailSamplingRulesBadRequest with default headers values
func (*DeleteTraceTailSamplingRulesBadRequest) Code ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) Code() int
Code gets the status code for the delete trace tail sampling rules bad request response
func (*DeleteTraceTailSamplingRulesBadRequest) Error ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) Error() string
func (*DeleteTraceTailSamplingRulesBadRequest) GetPayload ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
func (*DeleteTraceTailSamplingRulesBadRequest) IsClientError ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) IsClientError() bool
IsClientError returns true when this delete trace tail sampling rules bad request response has a 4xx status code
func (*DeleteTraceTailSamplingRulesBadRequest) IsCode ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) IsCode(code int) bool
IsCode returns true when this delete trace tail sampling rules bad request response a status code equal to that given
func (*DeleteTraceTailSamplingRulesBadRequest) IsRedirect ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) IsRedirect() bool
IsRedirect returns true when this delete trace tail sampling rules bad request response has a 3xx status code
func (*DeleteTraceTailSamplingRulesBadRequest) IsServerError ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) IsServerError() bool
IsServerError returns true when this delete trace tail sampling rules bad request response has a 5xx status code
func (*DeleteTraceTailSamplingRulesBadRequest) IsSuccess ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) IsSuccess() bool
IsSuccess returns true when this delete trace tail sampling rules bad request response has a 2xx status code
func (*DeleteTraceTailSamplingRulesBadRequest) String ¶
func (o *DeleteTraceTailSamplingRulesBadRequest) String() string
type DeleteTraceTailSamplingRulesDefault ¶
type DeleteTraceTailSamplingRulesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteTraceTailSamplingRulesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteTraceTailSamplingRulesDefault ¶
func NewDeleteTraceTailSamplingRulesDefault(code int) *DeleteTraceTailSamplingRulesDefault
NewDeleteTraceTailSamplingRulesDefault creates a DeleteTraceTailSamplingRulesDefault with default headers values
func (*DeleteTraceTailSamplingRulesDefault) Code ¶
func (o *DeleteTraceTailSamplingRulesDefault) Code() int
Code gets the status code for the delete trace tail sampling rules default response
func (*DeleteTraceTailSamplingRulesDefault) Error ¶
func (o *DeleteTraceTailSamplingRulesDefault) Error() string
func (*DeleteTraceTailSamplingRulesDefault) GetPayload ¶
func (o *DeleteTraceTailSamplingRulesDefault) GetPayload() models.GenericError
func (*DeleteTraceTailSamplingRulesDefault) IsClientError ¶
func (o *DeleteTraceTailSamplingRulesDefault) IsClientError() bool
IsClientError returns true when this delete trace tail sampling rules default response has a 4xx status code
func (*DeleteTraceTailSamplingRulesDefault) IsCode ¶
func (o *DeleteTraceTailSamplingRulesDefault) IsCode(code int) bool
IsCode returns true when this delete trace tail sampling rules default response a status code equal to that given
func (*DeleteTraceTailSamplingRulesDefault) IsRedirect ¶
func (o *DeleteTraceTailSamplingRulesDefault) IsRedirect() bool
IsRedirect returns true when this delete trace tail sampling rules default response has a 3xx status code
func (*DeleteTraceTailSamplingRulesDefault) IsServerError ¶
func (o *DeleteTraceTailSamplingRulesDefault) IsServerError() bool
IsServerError returns true when this delete trace tail sampling rules default response has a 5xx status code
func (*DeleteTraceTailSamplingRulesDefault) IsSuccess ¶
func (o *DeleteTraceTailSamplingRulesDefault) IsSuccess() bool
IsSuccess returns true when this delete trace tail sampling rules default response has a 2xx status code
func (*DeleteTraceTailSamplingRulesDefault) String ¶
func (o *DeleteTraceTailSamplingRulesDefault) String() string
type DeleteTraceTailSamplingRulesInternalServerError ¶
DeleteTraceTailSamplingRulesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteTraceTailSamplingRulesInternalServerError ¶
func NewDeleteTraceTailSamplingRulesInternalServerError() *DeleteTraceTailSamplingRulesInternalServerError
NewDeleteTraceTailSamplingRulesInternalServerError creates a DeleteTraceTailSamplingRulesInternalServerError with default headers values
func (*DeleteTraceTailSamplingRulesInternalServerError) Code ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) Code() int
Code gets the status code for the delete trace tail sampling rules internal server error response
func (*DeleteTraceTailSamplingRulesInternalServerError) Error ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) Error() string
func (*DeleteTraceTailSamplingRulesInternalServerError) GetPayload ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
func (*DeleteTraceTailSamplingRulesInternalServerError) IsClientError ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this delete trace tail sampling rules internal server error response has a 4xx status code
func (*DeleteTraceTailSamplingRulesInternalServerError) IsCode ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this delete trace tail sampling rules internal server error response a status code equal to that given
func (*DeleteTraceTailSamplingRulesInternalServerError) IsRedirect ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete trace tail sampling rules internal server error response has a 3xx status code
func (*DeleteTraceTailSamplingRulesInternalServerError) IsServerError ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this delete trace tail sampling rules internal server error response has a 5xx status code
func (*DeleteTraceTailSamplingRulesInternalServerError) IsSuccess ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete trace tail sampling rules internal server error response has a 2xx status code
func (*DeleteTraceTailSamplingRulesInternalServerError) String ¶
func (o *DeleteTraceTailSamplingRulesInternalServerError) String() string
type DeleteTraceTailSamplingRulesNotFound ¶
DeleteTraceTailSamplingRulesNotFound describes a response with status code 404, with default header values.
Cannot delete the TraceTailSamplingRules because the slug does not exist.
func NewDeleteTraceTailSamplingRulesNotFound ¶
func NewDeleteTraceTailSamplingRulesNotFound() *DeleteTraceTailSamplingRulesNotFound
NewDeleteTraceTailSamplingRulesNotFound creates a DeleteTraceTailSamplingRulesNotFound with default headers values
func (*DeleteTraceTailSamplingRulesNotFound) Code ¶
func (o *DeleteTraceTailSamplingRulesNotFound) Code() int
Code gets the status code for the delete trace tail sampling rules not found response
func (*DeleteTraceTailSamplingRulesNotFound) Error ¶
func (o *DeleteTraceTailSamplingRulesNotFound) Error() string
func (*DeleteTraceTailSamplingRulesNotFound) GetPayload ¶
func (o *DeleteTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
func (*DeleteTraceTailSamplingRulesNotFound) IsClientError ¶
func (o *DeleteTraceTailSamplingRulesNotFound) IsClientError() bool
IsClientError returns true when this delete trace tail sampling rules not found response has a 4xx status code
func (*DeleteTraceTailSamplingRulesNotFound) IsCode ¶
func (o *DeleteTraceTailSamplingRulesNotFound) IsCode(code int) bool
IsCode returns true when this delete trace tail sampling rules not found response a status code equal to that given
func (*DeleteTraceTailSamplingRulesNotFound) IsRedirect ¶
func (o *DeleteTraceTailSamplingRulesNotFound) IsRedirect() bool
IsRedirect returns true when this delete trace tail sampling rules not found response has a 3xx status code
func (*DeleteTraceTailSamplingRulesNotFound) IsServerError ¶
func (o *DeleteTraceTailSamplingRulesNotFound) IsServerError() bool
IsServerError returns true when this delete trace tail sampling rules not found response has a 5xx status code
func (*DeleteTraceTailSamplingRulesNotFound) IsSuccess ¶
func (o *DeleteTraceTailSamplingRulesNotFound) IsSuccess() bool
IsSuccess returns true when this delete trace tail sampling rules not found response has a 2xx status code
func (*DeleteTraceTailSamplingRulesNotFound) String ¶
func (o *DeleteTraceTailSamplingRulesNotFound) String() string
type DeleteTraceTailSamplingRulesOK ¶
type DeleteTraceTailSamplingRulesOK struct {
Payload models.ConfigunstableDeleteTraceTailSamplingRulesResponse
}
DeleteTraceTailSamplingRulesOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteTraceTailSamplingRulesOK ¶
func NewDeleteTraceTailSamplingRulesOK() *DeleteTraceTailSamplingRulesOK
NewDeleteTraceTailSamplingRulesOK creates a DeleteTraceTailSamplingRulesOK with default headers values
func (*DeleteTraceTailSamplingRulesOK) Code ¶
func (o *DeleteTraceTailSamplingRulesOK) Code() int
Code gets the status code for the delete trace tail sampling rules o k response
func (*DeleteTraceTailSamplingRulesOK) Error ¶
func (o *DeleteTraceTailSamplingRulesOK) Error() string
func (*DeleteTraceTailSamplingRulesOK) GetPayload ¶
func (o *DeleteTraceTailSamplingRulesOK) GetPayload() models.ConfigunstableDeleteTraceTailSamplingRulesResponse
func (*DeleteTraceTailSamplingRulesOK) IsClientError ¶
func (o *DeleteTraceTailSamplingRulesOK) IsClientError() bool
IsClientError returns true when this delete trace tail sampling rules o k response has a 4xx status code
func (*DeleteTraceTailSamplingRulesOK) IsCode ¶
func (o *DeleteTraceTailSamplingRulesOK) IsCode(code int) bool
IsCode returns true when this delete trace tail sampling rules o k response a status code equal to that given
func (*DeleteTraceTailSamplingRulesOK) IsRedirect ¶
func (o *DeleteTraceTailSamplingRulesOK) IsRedirect() bool
IsRedirect returns true when this delete trace tail sampling rules o k response has a 3xx status code
func (*DeleteTraceTailSamplingRulesOK) IsServerError ¶
func (o *DeleteTraceTailSamplingRulesOK) IsServerError() bool
IsServerError returns true when this delete trace tail sampling rules o k response has a 5xx status code
func (*DeleteTraceTailSamplingRulesOK) IsSuccess ¶
func (o *DeleteTraceTailSamplingRulesOK) IsSuccess() bool
IsSuccess returns true when this delete trace tail sampling rules o k response has a 2xx status code
func (*DeleteTraceTailSamplingRulesOK) String ¶
func (o *DeleteTraceTailSamplingRulesOK) String() string
type DeleteTraceTailSamplingRulesParams ¶
type DeleteTraceTailSamplingRulesParams struct { // DryRun. DryRun *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTraceTailSamplingRulesParams contains all the parameters to send to the API endpoint
for the delete trace tail sampling rules operation. Typically these are written to a http.Request.
func NewDeleteTraceTailSamplingRulesParams ¶
func NewDeleteTraceTailSamplingRulesParams() *DeleteTraceTailSamplingRulesParams
NewDeleteTraceTailSamplingRulesParams creates a new DeleteTraceTailSamplingRulesParams 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 NewDeleteTraceTailSamplingRulesParamsWithContext ¶
func NewDeleteTraceTailSamplingRulesParamsWithContext(ctx context.Context) *DeleteTraceTailSamplingRulesParams
NewDeleteTraceTailSamplingRulesParamsWithContext creates a new DeleteTraceTailSamplingRulesParams object with the ability to set a context for a request.
func NewDeleteTraceTailSamplingRulesParamsWithHTTPClient ¶
func NewDeleteTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *DeleteTraceTailSamplingRulesParams
NewDeleteTraceTailSamplingRulesParamsWithHTTPClient creates a new DeleteTraceTailSamplingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTraceTailSamplingRulesParamsWithTimeout ¶
func NewDeleteTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *DeleteTraceTailSamplingRulesParams
NewDeleteTraceTailSamplingRulesParamsWithTimeout creates a new DeleteTraceTailSamplingRulesParams object with the ability to set a timeout on a request.
func (*DeleteTraceTailSamplingRulesParams) SetContext ¶
func (o *DeleteTraceTailSamplingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) SetDefaults ¶
func (o *DeleteTraceTailSamplingRulesParams) SetDefaults()
SetDefaults hydrates default values in the delete trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTraceTailSamplingRulesParams) SetDryRun ¶
func (o *DeleteTraceTailSamplingRulesParams) SetDryRun(dryRun *bool)
SetDryRun adds the dryRun to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) SetHTTPClient ¶
func (o *DeleteTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) SetTimeout ¶
func (o *DeleteTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) WithContext ¶
func (o *DeleteTraceTailSamplingRulesParams) WithContext(ctx context.Context) *DeleteTraceTailSamplingRulesParams
WithContext adds the context to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) WithDefaults ¶
func (o *DeleteTraceTailSamplingRulesParams) WithDefaults() *DeleteTraceTailSamplingRulesParams
WithDefaults hydrates default values in the delete trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTraceTailSamplingRulesParams) WithDryRun ¶
func (o *DeleteTraceTailSamplingRulesParams) WithDryRun(dryRun *bool) *DeleteTraceTailSamplingRulesParams
WithDryRun adds the dryRun to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) WithHTTPClient ¶
func (o *DeleteTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *DeleteTraceTailSamplingRulesParams
WithHTTPClient adds the HTTPClient to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) WithTimeout ¶
func (o *DeleteTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *DeleteTraceTailSamplingRulesParams
WithTimeout adds the timeout to the delete trace tail sampling rules params
func (*DeleteTraceTailSamplingRulesParams) WriteToRequest ¶
func (o *DeleteTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTraceTailSamplingRulesReader ¶
type DeleteTraceTailSamplingRulesReader struct {
// contains filtered or unexported fields
}
DeleteTraceTailSamplingRulesReader is a Reader for the DeleteTraceTailSamplingRules structure.
func (*DeleteTraceTailSamplingRulesReader) ReadResponse ¶
func (o *DeleteTraceTailSamplingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadTraceTailSamplingRulesDefault ¶
type ReadTraceTailSamplingRulesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadTraceTailSamplingRulesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadTraceTailSamplingRulesDefault ¶
func NewReadTraceTailSamplingRulesDefault(code int) *ReadTraceTailSamplingRulesDefault
NewReadTraceTailSamplingRulesDefault creates a ReadTraceTailSamplingRulesDefault with default headers values
func (*ReadTraceTailSamplingRulesDefault) Code ¶
func (o *ReadTraceTailSamplingRulesDefault) Code() int
Code gets the status code for the read trace tail sampling rules default response
func (*ReadTraceTailSamplingRulesDefault) Error ¶
func (o *ReadTraceTailSamplingRulesDefault) Error() string
func (*ReadTraceTailSamplingRulesDefault) GetPayload ¶
func (o *ReadTraceTailSamplingRulesDefault) GetPayload() models.GenericError
func (*ReadTraceTailSamplingRulesDefault) IsClientError ¶
func (o *ReadTraceTailSamplingRulesDefault) IsClientError() bool
IsClientError returns true when this read trace tail sampling rules default response has a 4xx status code
func (*ReadTraceTailSamplingRulesDefault) IsCode ¶
func (o *ReadTraceTailSamplingRulesDefault) IsCode(code int) bool
IsCode returns true when this read trace tail sampling rules default response a status code equal to that given
func (*ReadTraceTailSamplingRulesDefault) IsRedirect ¶
func (o *ReadTraceTailSamplingRulesDefault) IsRedirect() bool
IsRedirect returns true when this read trace tail sampling rules default response has a 3xx status code
func (*ReadTraceTailSamplingRulesDefault) IsServerError ¶
func (o *ReadTraceTailSamplingRulesDefault) IsServerError() bool
IsServerError returns true when this read trace tail sampling rules default response has a 5xx status code
func (*ReadTraceTailSamplingRulesDefault) IsSuccess ¶
func (o *ReadTraceTailSamplingRulesDefault) IsSuccess() bool
IsSuccess returns true when this read trace tail sampling rules default response has a 2xx status code
func (*ReadTraceTailSamplingRulesDefault) String ¶
func (o *ReadTraceTailSamplingRulesDefault) String() string
type ReadTraceTailSamplingRulesInternalServerError ¶
ReadTraceTailSamplingRulesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadTraceTailSamplingRulesInternalServerError ¶
func NewReadTraceTailSamplingRulesInternalServerError() *ReadTraceTailSamplingRulesInternalServerError
NewReadTraceTailSamplingRulesInternalServerError creates a ReadTraceTailSamplingRulesInternalServerError with default headers values
func (*ReadTraceTailSamplingRulesInternalServerError) Code ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) Code() int
Code gets the status code for the read trace tail sampling rules internal server error response
func (*ReadTraceTailSamplingRulesInternalServerError) Error ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) Error() string
func (*ReadTraceTailSamplingRulesInternalServerError) GetPayload ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
func (*ReadTraceTailSamplingRulesInternalServerError) IsClientError ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this read trace tail sampling rules internal server error response has a 4xx status code
func (*ReadTraceTailSamplingRulesInternalServerError) IsCode ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this read trace tail sampling rules internal server error response a status code equal to that given
func (*ReadTraceTailSamplingRulesInternalServerError) IsRedirect ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this read trace tail sampling rules internal server error response has a 3xx status code
func (*ReadTraceTailSamplingRulesInternalServerError) IsServerError ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this read trace tail sampling rules internal server error response has a 5xx status code
func (*ReadTraceTailSamplingRulesInternalServerError) IsSuccess ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this read trace tail sampling rules internal server error response has a 2xx status code
func (*ReadTraceTailSamplingRulesInternalServerError) String ¶
func (o *ReadTraceTailSamplingRulesInternalServerError) String() string
type ReadTraceTailSamplingRulesNotFound ¶
ReadTraceTailSamplingRulesNotFound describes a response with status code 404, with default header values.
Cannot read the TraceTailSamplingRules because TraceTailSamplingRules has not been created.
func NewReadTraceTailSamplingRulesNotFound ¶
func NewReadTraceTailSamplingRulesNotFound() *ReadTraceTailSamplingRulesNotFound
NewReadTraceTailSamplingRulesNotFound creates a ReadTraceTailSamplingRulesNotFound with default headers values
func (*ReadTraceTailSamplingRulesNotFound) Code ¶
func (o *ReadTraceTailSamplingRulesNotFound) Code() int
Code gets the status code for the read trace tail sampling rules not found response
func (*ReadTraceTailSamplingRulesNotFound) Error ¶
func (o *ReadTraceTailSamplingRulesNotFound) Error() string
func (*ReadTraceTailSamplingRulesNotFound) GetPayload ¶
func (o *ReadTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
func (*ReadTraceTailSamplingRulesNotFound) IsClientError ¶
func (o *ReadTraceTailSamplingRulesNotFound) IsClientError() bool
IsClientError returns true when this read trace tail sampling rules not found response has a 4xx status code
func (*ReadTraceTailSamplingRulesNotFound) IsCode ¶
func (o *ReadTraceTailSamplingRulesNotFound) IsCode(code int) bool
IsCode returns true when this read trace tail sampling rules not found response a status code equal to that given
func (*ReadTraceTailSamplingRulesNotFound) IsRedirect ¶
func (o *ReadTraceTailSamplingRulesNotFound) IsRedirect() bool
IsRedirect returns true when this read trace tail sampling rules not found response has a 3xx status code
func (*ReadTraceTailSamplingRulesNotFound) IsServerError ¶
func (o *ReadTraceTailSamplingRulesNotFound) IsServerError() bool
IsServerError returns true when this read trace tail sampling rules not found response has a 5xx status code
func (*ReadTraceTailSamplingRulesNotFound) IsSuccess ¶
func (o *ReadTraceTailSamplingRulesNotFound) IsSuccess() bool
IsSuccess returns true when this read trace tail sampling rules not found response has a 2xx status code
func (*ReadTraceTailSamplingRulesNotFound) String ¶
func (o *ReadTraceTailSamplingRulesNotFound) String() string
type ReadTraceTailSamplingRulesOK ¶
type ReadTraceTailSamplingRulesOK struct {
Payload *models.ConfigunstableReadTraceTailSamplingRulesResponse
}
ReadTraceTailSamplingRulesOK describes a response with status code 200, with default header values.
A successful response.
func NewReadTraceTailSamplingRulesOK ¶
func NewReadTraceTailSamplingRulesOK() *ReadTraceTailSamplingRulesOK
NewReadTraceTailSamplingRulesOK creates a ReadTraceTailSamplingRulesOK with default headers values
func (*ReadTraceTailSamplingRulesOK) Code ¶
func (o *ReadTraceTailSamplingRulesOK) Code() int
Code gets the status code for the read trace tail sampling rules o k response
func (*ReadTraceTailSamplingRulesOK) Error ¶
func (o *ReadTraceTailSamplingRulesOK) Error() string
func (*ReadTraceTailSamplingRulesOK) GetPayload ¶
func (o *ReadTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableReadTraceTailSamplingRulesResponse
func (*ReadTraceTailSamplingRulesOK) IsClientError ¶
func (o *ReadTraceTailSamplingRulesOK) IsClientError() bool
IsClientError returns true when this read trace tail sampling rules o k response has a 4xx status code
func (*ReadTraceTailSamplingRulesOK) IsCode ¶
func (o *ReadTraceTailSamplingRulesOK) IsCode(code int) bool
IsCode returns true when this read trace tail sampling rules o k response a status code equal to that given
func (*ReadTraceTailSamplingRulesOK) IsRedirect ¶
func (o *ReadTraceTailSamplingRulesOK) IsRedirect() bool
IsRedirect returns true when this read trace tail sampling rules o k response has a 3xx status code
func (*ReadTraceTailSamplingRulesOK) IsServerError ¶
func (o *ReadTraceTailSamplingRulesOK) IsServerError() bool
IsServerError returns true when this read trace tail sampling rules o k response has a 5xx status code
func (*ReadTraceTailSamplingRulesOK) IsSuccess ¶
func (o *ReadTraceTailSamplingRulesOK) IsSuccess() bool
IsSuccess returns true when this read trace tail sampling rules o k response has a 2xx status code
func (*ReadTraceTailSamplingRulesOK) String ¶
func (o *ReadTraceTailSamplingRulesOK) String() string
type ReadTraceTailSamplingRulesParams ¶
type ReadTraceTailSamplingRulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadTraceTailSamplingRulesParams contains all the parameters to send to the API endpoint
for the read trace tail sampling rules operation. Typically these are written to a http.Request.
func NewReadTraceTailSamplingRulesParams ¶
func NewReadTraceTailSamplingRulesParams() *ReadTraceTailSamplingRulesParams
NewReadTraceTailSamplingRulesParams creates a new ReadTraceTailSamplingRulesParams 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 NewReadTraceTailSamplingRulesParamsWithContext ¶
func NewReadTraceTailSamplingRulesParamsWithContext(ctx context.Context) *ReadTraceTailSamplingRulesParams
NewReadTraceTailSamplingRulesParamsWithContext creates a new ReadTraceTailSamplingRulesParams object with the ability to set a context for a request.
func NewReadTraceTailSamplingRulesParamsWithHTTPClient ¶
func NewReadTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *ReadTraceTailSamplingRulesParams
NewReadTraceTailSamplingRulesParamsWithHTTPClient creates a new ReadTraceTailSamplingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewReadTraceTailSamplingRulesParamsWithTimeout ¶
func NewReadTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *ReadTraceTailSamplingRulesParams
NewReadTraceTailSamplingRulesParamsWithTimeout creates a new ReadTraceTailSamplingRulesParams object with the ability to set a timeout on a request.
func (*ReadTraceTailSamplingRulesParams) SetContext ¶
func (o *ReadTraceTailSamplingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) SetDefaults ¶
func (o *ReadTraceTailSamplingRulesParams) SetDefaults()
SetDefaults hydrates default values in the read trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*ReadTraceTailSamplingRulesParams) SetHTTPClient ¶
func (o *ReadTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) SetTimeout ¶
func (o *ReadTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) WithContext ¶
func (o *ReadTraceTailSamplingRulesParams) WithContext(ctx context.Context) *ReadTraceTailSamplingRulesParams
WithContext adds the context to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) WithDefaults ¶
func (o *ReadTraceTailSamplingRulesParams) WithDefaults() *ReadTraceTailSamplingRulesParams
WithDefaults hydrates default values in the read trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*ReadTraceTailSamplingRulesParams) WithHTTPClient ¶
func (o *ReadTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *ReadTraceTailSamplingRulesParams
WithHTTPClient adds the HTTPClient to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) WithTimeout ¶
func (o *ReadTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *ReadTraceTailSamplingRulesParams
WithTimeout adds the timeout to the read trace tail sampling rules params
func (*ReadTraceTailSamplingRulesParams) WriteToRequest ¶
func (o *ReadTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadTraceTailSamplingRulesReader ¶
type ReadTraceTailSamplingRulesReader struct {
// contains filtered or unexported fields
}
ReadTraceTailSamplingRulesReader is a Reader for the ReadTraceTailSamplingRules structure.
func (*ReadTraceTailSamplingRulesReader) ReadResponse ¶
func (o *ReadTraceTailSamplingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTraceTailSamplingRulesBadRequest ¶
UpdateTraceTailSamplingRulesBadRequest describes a response with status code 400, with default header values.
Cannot update the TraceTailSamplingRules because the request is invalid.
func NewUpdateTraceTailSamplingRulesBadRequest ¶
func NewUpdateTraceTailSamplingRulesBadRequest() *UpdateTraceTailSamplingRulesBadRequest
NewUpdateTraceTailSamplingRulesBadRequest creates a UpdateTraceTailSamplingRulesBadRequest with default headers values
func (*UpdateTraceTailSamplingRulesBadRequest) Code ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) Code() int
Code gets the status code for the update trace tail sampling rules bad request response
func (*UpdateTraceTailSamplingRulesBadRequest) Error ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) Error() string
func (*UpdateTraceTailSamplingRulesBadRequest) GetPayload ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) GetPayload() *models.APIError
func (*UpdateTraceTailSamplingRulesBadRequest) IsClientError ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) IsClientError() bool
IsClientError returns true when this update trace tail sampling rules bad request response has a 4xx status code
func (*UpdateTraceTailSamplingRulesBadRequest) IsCode ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) IsCode(code int) bool
IsCode returns true when this update trace tail sampling rules bad request response a status code equal to that given
func (*UpdateTraceTailSamplingRulesBadRequest) IsRedirect ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) IsRedirect() bool
IsRedirect returns true when this update trace tail sampling rules bad request response has a 3xx status code
func (*UpdateTraceTailSamplingRulesBadRequest) IsServerError ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) IsServerError() bool
IsServerError returns true when this update trace tail sampling rules bad request response has a 5xx status code
func (*UpdateTraceTailSamplingRulesBadRequest) IsSuccess ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) IsSuccess() bool
IsSuccess returns true when this update trace tail sampling rules bad request response has a 2xx status code
func (*UpdateTraceTailSamplingRulesBadRequest) String ¶
func (o *UpdateTraceTailSamplingRulesBadRequest) String() string
type UpdateTraceTailSamplingRulesDefault ¶
type UpdateTraceTailSamplingRulesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateTraceTailSamplingRulesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateTraceTailSamplingRulesDefault ¶
func NewUpdateTraceTailSamplingRulesDefault(code int) *UpdateTraceTailSamplingRulesDefault
NewUpdateTraceTailSamplingRulesDefault creates a UpdateTraceTailSamplingRulesDefault with default headers values
func (*UpdateTraceTailSamplingRulesDefault) Code ¶
func (o *UpdateTraceTailSamplingRulesDefault) Code() int
Code gets the status code for the update trace tail sampling rules default response
func (*UpdateTraceTailSamplingRulesDefault) Error ¶
func (o *UpdateTraceTailSamplingRulesDefault) Error() string
func (*UpdateTraceTailSamplingRulesDefault) GetPayload ¶
func (o *UpdateTraceTailSamplingRulesDefault) GetPayload() models.GenericError
func (*UpdateTraceTailSamplingRulesDefault) IsClientError ¶
func (o *UpdateTraceTailSamplingRulesDefault) IsClientError() bool
IsClientError returns true when this update trace tail sampling rules default response has a 4xx status code
func (*UpdateTraceTailSamplingRulesDefault) IsCode ¶
func (o *UpdateTraceTailSamplingRulesDefault) IsCode(code int) bool
IsCode returns true when this update trace tail sampling rules default response a status code equal to that given
func (*UpdateTraceTailSamplingRulesDefault) IsRedirect ¶
func (o *UpdateTraceTailSamplingRulesDefault) IsRedirect() bool
IsRedirect returns true when this update trace tail sampling rules default response has a 3xx status code
func (*UpdateTraceTailSamplingRulesDefault) IsServerError ¶
func (o *UpdateTraceTailSamplingRulesDefault) IsServerError() bool
IsServerError returns true when this update trace tail sampling rules default response has a 5xx status code
func (*UpdateTraceTailSamplingRulesDefault) IsSuccess ¶
func (o *UpdateTraceTailSamplingRulesDefault) IsSuccess() bool
IsSuccess returns true when this update trace tail sampling rules default response has a 2xx status code
func (*UpdateTraceTailSamplingRulesDefault) String ¶
func (o *UpdateTraceTailSamplingRulesDefault) String() string
type UpdateTraceTailSamplingRulesInternalServerError ¶
UpdateTraceTailSamplingRulesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateTraceTailSamplingRulesInternalServerError ¶
func NewUpdateTraceTailSamplingRulesInternalServerError() *UpdateTraceTailSamplingRulesInternalServerError
NewUpdateTraceTailSamplingRulesInternalServerError creates a UpdateTraceTailSamplingRulesInternalServerError with default headers values
func (*UpdateTraceTailSamplingRulesInternalServerError) Code ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) Code() int
Code gets the status code for the update trace tail sampling rules internal server error response
func (*UpdateTraceTailSamplingRulesInternalServerError) Error ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) Error() string
func (*UpdateTraceTailSamplingRulesInternalServerError) GetPayload ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) GetPayload() *models.APIError
func (*UpdateTraceTailSamplingRulesInternalServerError) IsClientError ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this update trace tail sampling rules internal server error response has a 4xx status code
func (*UpdateTraceTailSamplingRulesInternalServerError) IsCode ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this update trace tail sampling rules internal server error response a status code equal to that given
func (*UpdateTraceTailSamplingRulesInternalServerError) IsRedirect ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this update trace tail sampling rules internal server error response has a 3xx status code
func (*UpdateTraceTailSamplingRulesInternalServerError) IsServerError ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this update trace tail sampling rules internal server error response has a 5xx status code
func (*UpdateTraceTailSamplingRulesInternalServerError) IsSuccess ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this update trace tail sampling rules internal server error response has a 2xx status code
func (*UpdateTraceTailSamplingRulesInternalServerError) String ¶
func (o *UpdateTraceTailSamplingRulesInternalServerError) String() string
type UpdateTraceTailSamplingRulesNotFound ¶
UpdateTraceTailSamplingRulesNotFound describes a response with status code 404, with default header values.
Cannot update the TraceTailSamplingRules because TraceTailSamplingRules has not been created.
func NewUpdateTraceTailSamplingRulesNotFound ¶
func NewUpdateTraceTailSamplingRulesNotFound() *UpdateTraceTailSamplingRulesNotFound
NewUpdateTraceTailSamplingRulesNotFound creates a UpdateTraceTailSamplingRulesNotFound with default headers values
func (*UpdateTraceTailSamplingRulesNotFound) Code ¶
func (o *UpdateTraceTailSamplingRulesNotFound) Code() int
Code gets the status code for the update trace tail sampling rules not found response
func (*UpdateTraceTailSamplingRulesNotFound) Error ¶
func (o *UpdateTraceTailSamplingRulesNotFound) Error() string
func (*UpdateTraceTailSamplingRulesNotFound) GetPayload ¶
func (o *UpdateTraceTailSamplingRulesNotFound) GetPayload() *models.APIError
func (*UpdateTraceTailSamplingRulesNotFound) IsClientError ¶
func (o *UpdateTraceTailSamplingRulesNotFound) IsClientError() bool
IsClientError returns true when this update trace tail sampling rules not found response has a 4xx status code
func (*UpdateTraceTailSamplingRulesNotFound) IsCode ¶
func (o *UpdateTraceTailSamplingRulesNotFound) IsCode(code int) bool
IsCode returns true when this update trace tail sampling rules not found response a status code equal to that given
func (*UpdateTraceTailSamplingRulesNotFound) IsRedirect ¶
func (o *UpdateTraceTailSamplingRulesNotFound) IsRedirect() bool
IsRedirect returns true when this update trace tail sampling rules not found response has a 3xx status code
func (*UpdateTraceTailSamplingRulesNotFound) IsServerError ¶
func (o *UpdateTraceTailSamplingRulesNotFound) IsServerError() bool
IsServerError returns true when this update trace tail sampling rules not found response has a 5xx status code
func (*UpdateTraceTailSamplingRulesNotFound) IsSuccess ¶
func (o *UpdateTraceTailSamplingRulesNotFound) IsSuccess() bool
IsSuccess returns true when this update trace tail sampling rules not found response has a 2xx status code
func (*UpdateTraceTailSamplingRulesNotFound) String ¶
func (o *UpdateTraceTailSamplingRulesNotFound) String() string
type UpdateTraceTailSamplingRulesOK ¶
type UpdateTraceTailSamplingRulesOK struct {
Payload *models.ConfigunstableUpdateTraceTailSamplingRulesResponse
}
UpdateTraceTailSamplingRulesOK describes a response with status code 200, with default header values.
A successful response containing the updated TraceTailSamplingRules.
func NewUpdateTraceTailSamplingRulesOK ¶
func NewUpdateTraceTailSamplingRulesOK() *UpdateTraceTailSamplingRulesOK
NewUpdateTraceTailSamplingRulesOK creates a UpdateTraceTailSamplingRulesOK with default headers values
func (*UpdateTraceTailSamplingRulesOK) Code ¶
func (o *UpdateTraceTailSamplingRulesOK) Code() int
Code gets the status code for the update trace tail sampling rules o k response
func (*UpdateTraceTailSamplingRulesOK) Error ¶
func (o *UpdateTraceTailSamplingRulesOK) Error() string
func (*UpdateTraceTailSamplingRulesOK) GetPayload ¶
func (o *UpdateTraceTailSamplingRulesOK) GetPayload() *models.ConfigunstableUpdateTraceTailSamplingRulesResponse
func (*UpdateTraceTailSamplingRulesOK) IsClientError ¶
func (o *UpdateTraceTailSamplingRulesOK) IsClientError() bool
IsClientError returns true when this update trace tail sampling rules o k response has a 4xx status code
func (*UpdateTraceTailSamplingRulesOK) IsCode ¶
func (o *UpdateTraceTailSamplingRulesOK) IsCode(code int) bool
IsCode returns true when this update trace tail sampling rules o k response a status code equal to that given
func (*UpdateTraceTailSamplingRulesOK) IsRedirect ¶
func (o *UpdateTraceTailSamplingRulesOK) IsRedirect() bool
IsRedirect returns true when this update trace tail sampling rules o k response has a 3xx status code
func (*UpdateTraceTailSamplingRulesOK) IsServerError ¶
func (o *UpdateTraceTailSamplingRulesOK) IsServerError() bool
IsServerError returns true when this update trace tail sampling rules o k response has a 5xx status code
func (*UpdateTraceTailSamplingRulesOK) IsSuccess ¶
func (o *UpdateTraceTailSamplingRulesOK) IsSuccess() bool
IsSuccess returns true when this update trace tail sampling rules o k response has a 2xx status code
func (*UpdateTraceTailSamplingRulesOK) String ¶
func (o *UpdateTraceTailSamplingRulesOK) String() string
type UpdateTraceTailSamplingRulesParams ¶
type UpdateTraceTailSamplingRulesParams struct { // Body. Body *models.ConfigunstableUpdateTraceTailSamplingRulesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTraceTailSamplingRulesParams contains all the parameters to send to the API endpoint
for the update trace tail sampling rules operation. Typically these are written to a http.Request.
func NewUpdateTraceTailSamplingRulesParams ¶
func NewUpdateTraceTailSamplingRulesParams() *UpdateTraceTailSamplingRulesParams
NewUpdateTraceTailSamplingRulesParams creates a new UpdateTraceTailSamplingRulesParams 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 NewUpdateTraceTailSamplingRulesParamsWithContext ¶
func NewUpdateTraceTailSamplingRulesParamsWithContext(ctx context.Context) *UpdateTraceTailSamplingRulesParams
NewUpdateTraceTailSamplingRulesParamsWithContext creates a new UpdateTraceTailSamplingRulesParams object with the ability to set a context for a request.
func NewUpdateTraceTailSamplingRulesParamsWithHTTPClient ¶
func NewUpdateTraceTailSamplingRulesParamsWithHTTPClient(client *http.Client) *UpdateTraceTailSamplingRulesParams
NewUpdateTraceTailSamplingRulesParamsWithHTTPClient creates a new UpdateTraceTailSamplingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTraceTailSamplingRulesParamsWithTimeout ¶
func NewUpdateTraceTailSamplingRulesParamsWithTimeout(timeout time.Duration) *UpdateTraceTailSamplingRulesParams
NewUpdateTraceTailSamplingRulesParamsWithTimeout creates a new UpdateTraceTailSamplingRulesParams object with the ability to set a timeout on a request.
func (*UpdateTraceTailSamplingRulesParams) SetBody ¶
func (o *UpdateTraceTailSamplingRulesParams) SetBody(body *models.ConfigunstableUpdateTraceTailSamplingRulesRequest)
SetBody adds the body to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) SetContext ¶
func (o *UpdateTraceTailSamplingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) SetDefaults ¶
func (o *UpdateTraceTailSamplingRulesParams) SetDefaults()
SetDefaults hydrates default values in the update trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTraceTailSamplingRulesParams) SetHTTPClient ¶
func (o *UpdateTraceTailSamplingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) SetTimeout ¶
func (o *UpdateTraceTailSamplingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) WithBody ¶
func (o *UpdateTraceTailSamplingRulesParams) WithBody(body *models.ConfigunstableUpdateTraceTailSamplingRulesRequest) *UpdateTraceTailSamplingRulesParams
WithBody adds the body to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) WithContext ¶
func (o *UpdateTraceTailSamplingRulesParams) WithContext(ctx context.Context) *UpdateTraceTailSamplingRulesParams
WithContext adds the context to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) WithDefaults ¶
func (o *UpdateTraceTailSamplingRulesParams) WithDefaults() *UpdateTraceTailSamplingRulesParams
WithDefaults hydrates default values in the update trace tail sampling rules params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTraceTailSamplingRulesParams) WithHTTPClient ¶
func (o *UpdateTraceTailSamplingRulesParams) WithHTTPClient(client *http.Client) *UpdateTraceTailSamplingRulesParams
WithHTTPClient adds the HTTPClient to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) WithTimeout ¶
func (o *UpdateTraceTailSamplingRulesParams) WithTimeout(timeout time.Duration) *UpdateTraceTailSamplingRulesParams
WithTimeout adds the timeout to the update trace tail sampling rules params
func (*UpdateTraceTailSamplingRulesParams) WriteToRequest ¶
func (o *UpdateTraceTailSamplingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTraceTailSamplingRulesReader ¶
type UpdateTraceTailSamplingRulesReader struct {
// contains filtered or unexported fields
}
UpdateTraceTailSamplingRulesReader is a Reader for the UpdateTraceTailSamplingRules structure.
func (*UpdateTraceTailSamplingRulesReader) ReadResponse ¶
func (o *UpdateTraceTailSamplingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_trace_tail_sampling_rules_parameters.go
- create_trace_tail_sampling_rules_responses.go
- delete_trace_tail_sampling_rules_parameters.go
- delete_trace_tail_sampling_rules_responses.go
- read_trace_tail_sampling_rules_parameters.go
- read_trace_tail_sampling_rules_responses.go
- trace_tail_sampling_rules_client.go
- update_trace_tail_sampling_rules_parameters.go
- update_trace_tail_sampling_rules_responses.go