trace_tail_sampling_rules

package
v1.0.0-pre.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

type CreateTraceTailSamplingRulesBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the create trace tail sampling rules bad request response

func (*CreateTraceTailSamplingRulesBadRequest) Error

func (*CreateTraceTailSamplingRulesBadRequest) GetPayload

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

IsCode returns true when this create trace tail sampling rules bad request response a status code equal to that given

func (*CreateTraceTailSamplingRulesBadRequest) IsRedirect

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

IsSuccess returns true when this create trace tail sampling rules bad request response has a 2xx status code

func (*CreateTraceTailSamplingRulesBadRequest) String

type CreateTraceTailSamplingRulesConflict

type CreateTraceTailSamplingRulesConflict struct {
	Payload *models.APIError
}

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

Code gets the status code for the create trace tail sampling rules conflict response

func (*CreateTraceTailSamplingRulesConflict) Error

func (*CreateTraceTailSamplingRulesConflict) GetPayload

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

IsCode returns true when this create trace tail sampling rules conflict response a status code equal to that given

func (*CreateTraceTailSamplingRulesConflict) IsRedirect

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

IsSuccess returns true when this create trace tail sampling rules conflict response has a 2xx status code

func (*CreateTraceTailSamplingRulesConflict) 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

Code gets the status code for the create trace tail sampling rules default response

func (*CreateTraceTailSamplingRulesDefault) Error

func (*CreateTraceTailSamplingRulesDefault) GetPayload

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

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

IsSuccess returns true when this create trace tail sampling rules default response has a 2xx status code

func (*CreateTraceTailSamplingRulesDefault) String

type CreateTraceTailSamplingRulesInternalServerError

type CreateTraceTailSamplingRulesInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the create trace tail sampling rules internal server error response

func (*CreateTraceTailSamplingRulesInternalServerError) Error

func (*CreateTraceTailSamplingRulesInternalServerError) GetPayload

func (*CreateTraceTailSamplingRulesInternalServerError) IsClientError

IsClientError returns true when this create trace tail sampling rules internal server error response has a 4xx status code

func (*CreateTraceTailSamplingRulesInternalServerError) IsCode

IsCode returns true when this create trace tail sampling rules internal server error response a status code equal to that given

func (*CreateTraceTailSamplingRulesInternalServerError) IsRedirect

IsRedirect returns true when this create trace tail sampling rules internal server error response has a 3xx status code

func (*CreateTraceTailSamplingRulesInternalServerError) IsServerError

IsServerError returns true when this create trace tail sampling rules internal server error response has a 5xx status code

func (*CreateTraceTailSamplingRulesInternalServerError) IsSuccess

IsSuccess returns true when this create trace tail sampling rules internal server error response has a 2xx status code

func (*CreateTraceTailSamplingRulesInternalServerError) String

type CreateTraceTailSamplingRulesOK

type CreateTraceTailSamplingRulesOK struct {
	Payload *models.Configv1CreateTraceTailSamplingRulesResponse
}

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

Code gets the status code for the create trace tail sampling rules o k response

func (*CreateTraceTailSamplingRulesOK) Error

func (*CreateTraceTailSamplingRulesOK) GetPayload

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

type CreateTraceTailSamplingRulesParams

type CreateTraceTailSamplingRulesParams struct {

	// Body.
	Body *models.Configv1CreateTraceTailSamplingRulesRequest

	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

SetBody adds the body to the create trace tail sampling rules params

func (*CreateTraceTailSamplingRulesParams) SetContext

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

WithBody adds the body to the create trace tail sampling rules params

func (*CreateTraceTailSamplingRulesParams) WithContext

WithContext adds the context to the create trace tail sampling rules params

func (*CreateTraceTailSamplingRulesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create trace tail sampling rules params

func (*CreateTraceTailSamplingRulesParams) WithTimeout

WithTimeout adds the timeout to the create trace tail sampling rules params

func (*CreateTraceTailSamplingRulesParams) WriteToRequest

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

type DeleteTraceTailSamplingRulesBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete trace tail sampling rules bad request response

func (*DeleteTraceTailSamplingRulesBadRequest) Error

func (*DeleteTraceTailSamplingRulesBadRequest) GetPayload

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

IsCode returns true when this delete trace tail sampling rules bad request response a status code equal to that given

func (*DeleteTraceTailSamplingRulesBadRequest) IsRedirect

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

IsSuccess returns true when this delete trace tail sampling rules bad request response has a 2xx status code

func (*DeleteTraceTailSamplingRulesBadRequest) 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

Code gets the status code for the delete trace tail sampling rules default response

func (*DeleteTraceTailSamplingRulesDefault) Error

func (*DeleteTraceTailSamplingRulesDefault) GetPayload

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

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

IsSuccess returns true when this delete trace tail sampling rules default response has a 2xx status code

func (*DeleteTraceTailSamplingRulesDefault) String

type DeleteTraceTailSamplingRulesInternalServerError

type DeleteTraceTailSamplingRulesInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete trace tail sampling rules internal server error response

func (*DeleteTraceTailSamplingRulesInternalServerError) Error

func (*DeleteTraceTailSamplingRulesInternalServerError) GetPayload

func (*DeleteTraceTailSamplingRulesInternalServerError) IsClientError

IsClientError returns true when this delete trace tail sampling rules internal server error response has a 4xx status code

func (*DeleteTraceTailSamplingRulesInternalServerError) IsCode

IsCode returns true when this delete trace tail sampling rules internal server error response a status code equal to that given

func (*DeleteTraceTailSamplingRulesInternalServerError) IsRedirect

IsRedirect returns true when this delete trace tail sampling rules internal server error response has a 3xx status code

func (*DeleteTraceTailSamplingRulesInternalServerError) IsServerError

IsServerError returns true when this delete trace tail sampling rules internal server error response has a 5xx status code

func (*DeleteTraceTailSamplingRulesInternalServerError) IsSuccess

IsSuccess returns true when this delete trace tail sampling rules internal server error response has a 2xx status code

func (*DeleteTraceTailSamplingRulesInternalServerError) String

type DeleteTraceTailSamplingRulesNotFound

type DeleteTraceTailSamplingRulesNotFound struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete trace tail sampling rules not found response

func (*DeleteTraceTailSamplingRulesNotFound) Error

func (*DeleteTraceTailSamplingRulesNotFound) GetPayload

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

IsCode returns true when this delete trace tail sampling rules not found response a status code equal to that given

func (*DeleteTraceTailSamplingRulesNotFound) IsRedirect

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

IsSuccess returns true when this delete trace tail sampling rules not found response has a 2xx status code

func (*DeleteTraceTailSamplingRulesNotFound) String

type DeleteTraceTailSamplingRulesOK

type DeleteTraceTailSamplingRulesOK struct {
	Payload models.Configv1DeleteTraceTailSamplingRulesResponse
}

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

Code gets the status code for the delete trace tail sampling rules o k response

func (*DeleteTraceTailSamplingRulesOK) Error

func (*DeleteTraceTailSamplingRulesOK) GetPayload

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

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

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

WithContext adds the context to the delete trace tail sampling rules params

func (*DeleteTraceTailSamplingRulesParams) WithDefaults

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

WithDryRun adds the dryRun to the delete trace tail sampling rules params

func (*DeleteTraceTailSamplingRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete trace tail sampling rules params

func (*DeleteTraceTailSamplingRulesParams) WithTimeout

WithTimeout adds the timeout to the delete trace tail sampling rules params

func (*DeleteTraceTailSamplingRulesParams) WriteToRequest

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

Code gets the status code for the read trace tail sampling rules default response

func (*ReadTraceTailSamplingRulesDefault) Error

func (*ReadTraceTailSamplingRulesDefault) GetPayload

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

type ReadTraceTailSamplingRulesInternalServerError

type ReadTraceTailSamplingRulesInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the read trace tail sampling rules internal server error response

func (*ReadTraceTailSamplingRulesInternalServerError) Error

func (*ReadTraceTailSamplingRulesInternalServerError) GetPayload

func (*ReadTraceTailSamplingRulesInternalServerError) IsClientError

IsClientError returns true when this read trace tail sampling rules internal server error response has a 4xx status code

func (*ReadTraceTailSamplingRulesInternalServerError) IsCode

IsCode returns true when this read trace tail sampling rules internal server error response a status code equal to that given

func (*ReadTraceTailSamplingRulesInternalServerError) IsRedirect

IsRedirect returns true when this read trace tail sampling rules internal server error response has a 3xx status code

func (*ReadTraceTailSamplingRulesInternalServerError) IsServerError

IsServerError returns true when this read trace tail sampling rules internal server error response has a 5xx status code

func (*ReadTraceTailSamplingRulesInternalServerError) IsSuccess

IsSuccess returns true when this read trace tail sampling rules internal server error response has a 2xx status code

func (*ReadTraceTailSamplingRulesInternalServerError) String

type ReadTraceTailSamplingRulesNotFound

type ReadTraceTailSamplingRulesNotFound struct {
	Payload *models.APIError
}

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

Code gets the status code for the read trace tail sampling rules not found response

func (*ReadTraceTailSamplingRulesNotFound) Error

func (*ReadTraceTailSamplingRulesNotFound) GetPayload

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

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

IsSuccess returns true when this read trace tail sampling rules not found response has a 2xx status code

func (*ReadTraceTailSamplingRulesNotFound) String

type ReadTraceTailSamplingRulesOK

type ReadTraceTailSamplingRulesOK struct {
	Payload *models.Configv1ReadTraceTailSamplingRulesResponse
}

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

Code gets the status code for the read trace tail sampling rules o k response

func (*ReadTraceTailSamplingRulesOK) Error

func (*ReadTraceTailSamplingRulesOK) GetPayload

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

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

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

WithContext adds the context to the read trace tail sampling rules params

func (*ReadTraceTailSamplingRulesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the read trace tail sampling rules params

func (*ReadTraceTailSamplingRulesParams) WithTimeout

WithTimeout adds the timeout to the read trace tail sampling rules params

func (*ReadTraceTailSamplingRulesParams) WriteToRequest

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

type UpdateTraceTailSamplingRulesBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the update trace tail sampling rules bad request response

func (*UpdateTraceTailSamplingRulesBadRequest) Error

func (*UpdateTraceTailSamplingRulesBadRequest) GetPayload

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

IsCode returns true when this update trace tail sampling rules bad request response a status code equal to that given

func (*UpdateTraceTailSamplingRulesBadRequest) IsRedirect

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

IsSuccess returns true when this update trace tail sampling rules bad request response has a 2xx status code

func (*UpdateTraceTailSamplingRulesBadRequest) 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

Code gets the status code for the update trace tail sampling rules default response

func (*UpdateTraceTailSamplingRulesDefault) Error

func (*UpdateTraceTailSamplingRulesDefault) GetPayload

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

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

IsSuccess returns true when this update trace tail sampling rules default response has a 2xx status code

func (*UpdateTraceTailSamplingRulesDefault) String

type UpdateTraceTailSamplingRulesInternalServerError

type UpdateTraceTailSamplingRulesInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the update trace tail sampling rules internal server error response

func (*UpdateTraceTailSamplingRulesInternalServerError) Error

func (*UpdateTraceTailSamplingRulesInternalServerError) GetPayload

func (*UpdateTraceTailSamplingRulesInternalServerError) IsClientError

IsClientError returns true when this update trace tail sampling rules internal server error response has a 4xx status code

func (*UpdateTraceTailSamplingRulesInternalServerError) IsCode

IsCode returns true when this update trace tail sampling rules internal server error response a status code equal to that given

func (*UpdateTraceTailSamplingRulesInternalServerError) IsRedirect

IsRedirect returns true when this update trace tail sampling rules internal server error response has a 3xx status code

func (*UpdateTraceTailSamplingRulesInternalServerError) IsServerError

IsServerError returns true when this update trace tail sampling rules internal server error response has a 5xx status code

func (*UpdateTraceTailSamplingRulesInternalServerError) IsSuccess

IsSuccess returns true when this update trace tail sampling rules internal server error response has a 2xx status code

func (*UpdateTraceTailSamplingRulesInternalServerError) String

type UpdateTraceTailSamplingRulesNotFound

type UpdateTraceTailSamplingRulesNotFound struct {
	Payload *models.APIError
}

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

Code gets the status code for the update trace tail sampling rules not found response

func (*UpdateTraceTailSamplingRulesNotFound) Error

func (*UpdateTraceTailSamplingRulesNotFound) GetPayload

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

IsCode returns true when this update trace tail sampling rules not found response a status code equal to that given

func (*UpdateTraceTailSamplingRulesNotFound) IsRedirect

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

IsSuccess returns true when this update trace tail sampling rules not found response has a 2xx status code

func (*UpdateTraceTailSamplingRulesNotFound) String

type UpdateTraceTailSamplingRulesOK

type UpdateTraceTailSamplingRulesOK struct {
	Payload *models.Configv1UpdateTraceTailSamplingRulesResponse
}

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

Code gets the status code for the update trace tail sampling rules o k response

func (*UpdateTraceTailSamplingRulesOK) Error

func (*UpdateTraceTailSamplingRulesOK) GetPayload

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

type UpdateTraceTailSamplingRulesParams

type UpdateTraceTailSamplingRulesParams struct {

	// Body.
	Body *models.Configv1UpdateTraceTailSamplingRulesRequest

	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

SetBody adds the body to the update trace tail sampling rules params

func (*UpdateTraceTailSamplingRulesParams) SetContext

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

WithBody adds the body to the update trace tail sampling rules params

func (*UpdateTraceTailSamplingRulesParams) WithContext

WithContext adds the context to the update trace tail sampling rules params

func (*UpdateTraceTailSamplingRulesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update trace tail sampling rules params

func (*UpdateTraceTailSamplingRulesParams) WithTimeout

WithTimeout adds the timeout to the update trace tail sampling rules params

func (*UpdateTraceTailSamplingRulesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL