observability_service

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MPL-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 AgentTelemetryConfigDefault

type AgentTelemetryConfigDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

AgentTelemetryConfigDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewAgentTelemetryConfigDefault

func NewAgentTelemetryConfigDefault(code int) *AgentTelemetryConfigDefault

NewAgentTelemetryConfigDefault creates a AgentTelemetryConfigDefault with default headers values

func (*AgentTelemetryConfigDefault) Code

func (o *AgentTelemetryConfigDefault) Code() int

Code gets the status code for the agent telemetry config default response

func (*AgentTelemetryConfigDefault) Error

func (*AgentTelemetryConfigDefault) GetPayload

func (*AgentTelemetryConfigDefault) IsClientError

func (o *AgentTelemetryConfigDefault) IsClientError() bool

IsClientError returns true when this agent telemetry config default response has a 4xx status code

func (*AgentTelemetryConfigDefault) IsCode

func (o *AgentTelemetryConfigDefault) IsCode(code int) bool

IsCode returns true when this agent telemetry config default response a status code equal to that given

func (*AgentTelemetryConfigDefault) IsRedirect

func (o *AgentTelemetryConfigDefault) IsRedirect() bool

IsRedirect returns true when this agent telemetry config default response has a 3xx status code

func (*AgentTelemetryConfigDefault) IsServerError

func (o *AgentTelemetryConfigDefault) IsServerError() bool

IsServerError returns true when this agent telemetry config default response has a 5xx status code

func (*AgentTelemetryConfigDefault) IsSuccess

func (o *AgentTelemetryConfigDefault) IsSuccess() bool

IsSuccess returns true when this agent telemetry config default response has a 2xx status code

func (*AgentTelemetryConfigDefault) String

func (o *AgentTelemetryConfigDefault) String() string

type AgentTelemetryConfigOK

AgentTelemetryConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewAgentTelemetryConfigOK

func NewAgentTelemetryConfigOK() *AgentTelemetryConfigOK

NewAgentTelemetryConfigOK creates a AgentTelemetryConfigOK with default headers values

func (*AgentTelemetryConfigOK) Error

func (o *AgentTelemetryConfigOK) Error() string

func (*AgentTelemetryConfigOK) IsClientError

func (o *AgentTelemetryConfigOK) IsClientError() bool

IsClientError returns true when this agent telemetry config o k response has a 4xx status code

func (*AgentTelemetryConfigOK) IsCode

func (o *AgentTelemetryConfigOK) IsCode(code int) bool

IsCode returns true when this agent telemetry config o k response a status code equal to that given

func (*AgentTelemetryConfigOK) IsRedirect

func (o *AgentTelemetryConfigOK) IsRedirect() bool

IsRedirect returns true when this agent telemetry config o k response has a 3xx status code

func (*AgentTelemetryConfigOK) IsServerError

func (o *AgentTelemetryConfigOK) IsServerError() bool

IsServerError returns true when this agent telemetry config o k response has a 5xx status code

func (*AgentTelemetryConfigOK) IsSuccess

func (o *AgentTelemetryConfigOK) IsSuccess() bool

IsSuccess returns true when this agent telemetry config o k response has a 2xx status code

func (*AgentTelemetryConfigOK) String

func (o *AgentTelemetryConfigOK) String() string

type AgentTelemetryConfigParams

type AgentTelemetryConfigParams struct {

	// ClusterID.
	ClusterID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

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

AgentTelemetryConfigParams contains all the parameters to send to the API endpoint

for the agent telemetry config operation.

Typically these are written to a http.Request.

func NewAgentTelemetryConfigParams

func NewAgentTelemetryConfigParams() *AgentTelemetryConfigParams

NewAgentTelemetryConfigParams creates a new AgentTelemetryConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAgentTelemetryConfigParamsWithContext

func NewAgentTelemetryConfigParamsWithContext(ctx context.Context) *AgentTelemetryConfigParams

NewAgentTelemetryConfigParamsWithContext creates a new AgentTelemetryConfigParams object with the ability to set a context for a request.

func NewAgentTelemetryConfigParamsWithHTTPClient

func NewAgentTelemetryConfigParamsWithHTTPClient(client *http.Client) *AgentTelemetryConfigParams

NewAgentTelemetryConfigParamsWithHTTPClient creates a new AgentTelemetryConfigParams object with the ability to set a custom HTTPClient for a request.

func NewAgentTelemetryConfigParamsWithTimeout

func NewAgentTelemetryConfigParamsWithTimeout(timeout time.Duration) *AgentTelemetryConfigParams

NewAgentTelemetryConfigParamsWithTimeout creates a new AgentTelemetryConfigParams object with the ability to set a timeout on a request.

func (*AgentTelemetryConfigParams) SetClusterID

func (o *AgentTelemetryConfigParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetContext

func (o *AgentTelemetryConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetDefaults

func (o *AgentTelemetryConfigParams) SetDefaults()

SetDefaults hydrates default values in the agent telemetry config params (not the query body).

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

func (*AgentTelemetryConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetLocationOrganizationID

func (o *AgentTelemetryConfigParams) SetLocationOrganizationID(locationOrganizationID string)

SetLocationOrganizationID adds the locationOrganizationId to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetLocationProjectID

func (o *AgentTelemetryConfigParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetLocationRegionProvider

func (o *AgentTelemetryConfigParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetLocationRegionRegion

func (o *AgentTelemetryConfigParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the agent telemetry config params

func (*AgentTelemetryConfigParams) SetTimeout

func (o *AgentTelemetryConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithClusterID

func (o *AgentTelemetryConfigParams) WithClusterID(clusterID string) *AgentTelemetryConfigParams

WithClusterID adds the clusterID to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithContext

WithContext adds the context to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithDefaults

WithDefaults hydrates default values in the agent telemetry config params (not the query body).

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

func (*AgentTelemetryConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithLocationOrganizationID

func (o *AgentTelemetryConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentTelemetryConfigParams

WithLocationOrganizationID adds the locationOrganizationID to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithLocationProjectID

func (o *AgentTelemetryConfigParams) WithLocationProjectID(locationProjectID string) *AgentTelemetryConfigParams

WithLocationProjectID adds the locationProjectID to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithLocationRegionProvider

func (o *AgentTelemetryConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *AgentTelemetryConfigParams

WithLocationRegionProvider adds the locationRegionProvider to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithLocationRegionRegion

func (o *AgentTelemetryConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *AgentTelemetryConfigParams

WithLocationRegionRegion adds the locationRegionRegion to the agent telemetry config params

func (*AgentTelemetryConfigParams) WithTimeout

WithTimeout adds the timeout to the agent telemetry config params

func (*AgentTelemetryConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AgentTelemetryConfigReader

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

AgentTelemetryConfigReader is a Reader for the AgentTelemetryConfig structure.

func (*AgentTelemetryConfigReader) ReadResponse

func (o *AgentTelemetryConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for observability service API

func (*Client) AgentTelemetryConfig

func (a *Client) AgentTelemetryConfig(params *AgentTelemetryConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentTelemetryConfigOK, error)

AgentTelemetryConfig agent telemetry config API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AgentTelemetryConfig(params *AgentTelemetryConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AgentTelemetryConfigOK, error)

	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 service API client.

Jump to

Keyboard shortcuts

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