observability

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: ISC Imports: 10 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 observability API

func (*Client) DisassociateSystemServiceFromObsService

func (a *Client) DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, error)

DisassociateSystemServiceFromObsService disassociate system service from obs service API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DisassociateSystemServiceFromObsService(params *DisassociateSystemServiceFromObsServiceParams, opts ...ClientOption) (*DisassociateSystemServiceFromObsServiceOK, 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 observability API client.

type DisassociateSystemServiceFromObsServiceBadRequest

type DisassociateSystemServiceFromObsServiceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDisassociateSystemServiceFromObsServiceBadRequest

func NewDisassociateSystemServiceFromObsServiceBadRequest() *DisassociateSystemServiceFromObsServiceBadRequest

NewDisassociateSystemServiceFromObsServiceBadRequest creates a DisassociateSystemServiceFromObsServiceBadRequest with default headers values

func (*DisassociateSystemServiceFromObsServiceBadRequest) Error

func (*DisassociateSystemServiceFromObsServiceBadRequest) GetPayload

type DisassociateSystemServiceFromObsServiceInternalServerError

type DisassociateSystemServiceFromObsServiceInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDisassociateSystemServiceFromObsServiceInternalServerError

func NewDisassociateSystemServiceFromObsServiceInternalServerError() *DisassociateSystemServiceFromObsServiceInternalServerError

NewDisassociateSystemServiceFromObsServiceInternalServerError creates a DisassociateSystemServiceFromObsServiceInternalServerError with default headers values

func (*DisassociateSystemServiceFromObsServiceInternalServerError) Error

func (*DisassociateSystemServiceFromObsServiceInternalServerError) GetPayload

type DisassociateSystemServiceFromObsServiceNotFound

type DisassociateSystemServiceFromObsServiceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DisassociateSystemServiceFromObsServiceNotFound describes a response with status code 404, with default header values.

Not found

func NewDisassociateSystemServiceFromObsServiceNotFound

func NewDisassociateSystemServiceFromObsServiceNotFound() *DisassociateSystemServiceFromObsServiceNotFound

NewDisassociateSystemServiceFromObsServiceNotFound creates a DisassociateSystemServiceFromObsServiceNotFound with default headers values

func (*DisassociateSystemServiceFromObsServiceNotFound) Error

func (*DisassociateSystemServiceFromObsServiceNotFound) GetPayload

type DisassociateSystemServiceFromObsServiceOK

type DisassociateSystemServiceFromObsServiceOK struct {
	XTowerRequestID string

	Payload *models.WithTaskDisassociateSystemServiceFromObsServiceResult
}
DisassociateSystemServiceFromObsServiceOK describes a response with status code 200, with default header values.

DisassociateSystemServiceFromObsServiceOK disassociate system service from obs service o k

func NewDisassociateSystemServiceFromObsServiceOK

func NewDisassociateSystemServiceFromObsServiceOK() *DisassociateSystemServiceFromObsServiceOK

NewDisassociateSystemServiceFromObsServiceOK creates a DisassociateSystemServiceFromObsServiceOK with default headers values

func (*DisassociateSystemServiceFromObsServiceOK) Error

func (*DisassociateSystemServiceFromObsServiceOK) GetPayload

type DisassociateSystemServiceFromObsServiceParams

type DisassociateSystemServiceFromObsServiceParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.DisassociateSystemServiceFromObsServiceParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DisassociateSystemServiceFromObsServiceParams contains all the parameters to send to the API endpoint

for the disassociate system service from obs service operation.

Typically these are written to a http.Request.

func NewDisassociateSystemServiceFromObsServiceParams

func NewDisassociateSystemServiceFromObsServiceParams() *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParams creates a new DisassociateSystemServiceFromObsServiceParams 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 NewDisassociateSystemServiceFromObsServiceParamsWithContext

func NewDisassociateSystemServiceFromObsServiceParamsWithContext(ctx context.Context) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithContext creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a context for a request.

func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient

func NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient(client *http.Client) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithHTTPClient creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a custom HTTPClient for a request.

func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout

func NewDisassociateSystemServiceFromObsServiceParamsWithTimeout(timeout time.Duration) *DisassociateSystemServiceFromObsServiceParams

NewDisassociateSystemServiceFromObsServiceParamsWithTimeout creates a new DisassociateSystemServiceFromObsServiceParams object with the ability to set a timeout on a request.

func (*DisassociateSystemServiceFromObsServiceParams) SetContentLanguage

func (o *DisassociateSystemServiceFromObsServiceParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetContext

SetContext adds the context to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetDefaults

SetDefaults hydrates default values in the disassociate system service from obs service params (not the query body).

All values with no default are reset to their zero value.

func (*DisassociateSystemServiceFromObsServiceParams) SetHTTPClient

func (o *DisassociateSystemServiceFromObsServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetRequestBody

SetRequestBody adds the requestBody to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) SetTimeout

SetTimeout adds the timeout to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithContext

WithContext adds the context to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithDefaults

WithDefaults hydrates default values in the disassociate system service from obs service params (not the query body).

All values with no default are reset to their zero value.

func (*DisassociateSystemServiceFromObsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithRequestBody

WithRequestBody adds the requestBody to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WithTimeout

WithTimeout adds the timeout to the disassociate system service from obs service params

func (*DisassociateSystemServiceFromObsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisassociateSystemServiceFromObsServiceReader

type DisassociateSystemServiceFromObsServiceReader struct {
	// contains filtered or unexported fields
}

DisassociateSystemServiceFromObsServiceReader is a Reader for the DisassociateSystemServiceFromObsService structure.

func (*DisassociateSystemServiceFromObsServiceReader) ReadResponse

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