Documentation ¶
Index ¶
- type AgentTelemetryConfigDefault
- func (o *AgentTelemetryConfigDefault) Code() int
- func (o *AgentTelemetryConfigDefault) Error() string
- func (o *AgentTelemetryConfigDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *AgentTelemetryConfigDefault) IsClientError() bool
- func (o *AgentTelemetryConfigDefault) IsCode(code int) bool
- func (o *AgentTelemetryConfigDefault) IsRedirect() bool
- func (o *AgentTelemetryConfigDefault) IsServerError() bool
- func (o *AgentTelemetryConfigDefault) IsSuccess() bool
- func (o *AgentTelemetryConfigDefault) String() string
- type AgentTelemetryConfigOK
- func (o *AgentTelemetryConfigOK) Error() string
- func (o *AgentTelemetryConfigOK) GetPayload() ...
- func (o *AgentTelemetryConfigOK) IsClientError() bool
- func (o *AgentTelemetryConfigOK) IsCode(code int) bool
- func (o *AgentTelemetryConfigOK) IsRedirect() bool
- func (o *AgentTelemetryConfigOK) IsServerError() bool
- func (o *AgentTelemetryConfigOK) IsSuccess() bool
- func (o *AgentTelemetryConfigOK) String() string
- type AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParams() *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithContext(ctx context.Context) *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
- func NewAgentTelemetryConfigParamsWithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) SetClusterID(clusterID string)
- func (o *AgentTelemetryConfigParams) SetContext(ctx context.Context)
- func (o *AgentTelemetryConfigParams) SetDefaults()
- func (o *AgentTelemetryConfigParams) SetHTTPClient(client *http.Client)
- func (o *AgentTelemetryConfigParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *AgentTelemetryConfigParams) SetLocationProjectID(locationProjectID string)
- func (o *AgentTelemetryConfigParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *AgentTelemetryConfigParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *AgentTelemetryConfigParams) SetTimeout(timeout time.Duration)
- func (o *AgentTelemetryConfigParams) WithClusterID(clusterID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithContext(ctx context.Context) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithDefaults() *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationProjectID(locationProjectID string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationRegionProvider(locationRegionProvider *string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithLocationRegionRegion(locationRegionRegion *string) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
- func (o *AgentTelemetryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AgentTelemetryConfigReader
- type Client
- type ClientOption
- type ClientService
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 (o *AgentTelemetryConfigDefault) Error() string
func (*AgentTelemetryConfigDefault) GetPayload ¶
func (o *AgentTelemetryConfigDefault) GetPayload() *cloud.GoogleRPCStatus
func (*AgentTelemetryConfigDefault) IsClientError ¶
func (o *AgentTelemetryConfigDefault) IsClientError() bool
IsClientError returns true when this agent telemetry config default response has a 4xx status code
func (*AgentTelemetryConfigDefault) IsCode ¶
func (o *AgentTelemetryConfigDefault) IsCode(code int) bool
IsCode returns true when this agent telemetry config default response a status code equal to that given
func (*AgentTelemetryConfigDefault) IsRedirect ¶
func (o *AgentTelemetryConfigDefault) IsRedirect() bool
IsRedirect returns true when this agent telemetry config default response has a 3xx status code
func (*AgentTelemetryConfigDefault) IsServerError ¶
func (o *AgentTelemetryConfigDefault) IsServerError() bool
IsServerError returns true when this agent telemetry config default response has a 5xx status code
func (*AgentTelemetryConfigDefault) IsSuccess ¶
func (o *AgentTelemetryConfigDefault) IsSuccess() bool
IsSuccess returns true when this agent telemetry config default response has a 2xx status code
func (*AgentTelemetryConfigDefault) String ¶
func (o *AgentTelemetryConfigDefault) String() string
type AgentTelemetryConfigOK ¶
type AgentTelemetryConfigOK struct {
Payload *models.HashicorpCloudGlobalNetworkManager20220215ObservabilityAgentTelemetryConfigResponse
}
AgentTelemetryConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewAgentTelemetryConfigOK ¶
func NewAgentTelemetryConfigOK() *AgentTelemetryConfigOK
NewAgentTelemetryConfigOK creates a AgentTelemetryConfigOK with default headers values
func (*AgentTelemetryConfigOK) Error ¶
func (o *AgentTelemetryConfigOK) Error() string
func (*AgentTelemetryConfigOK) GetPayload ¶
func (*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 ¶
func (o *AgentTelemetryConfigParams) WithContext(ctx context.Context) *AgentTelemetryConfigParams
WithContext adds the context to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithDefaults ¶
func (o *AgentTelemetryConfigParams) WithDefaults() *AgentTelemetryConfigParams
WithDefaults hydrates default values in the agent telemetry config params (not the query body).
All values with no default are reset to their zero value.
func (*AgentTelemetryConfigParams) WithHTTPClient ¶
func (o *AgentTelemetryConfigParams) WithHTTPClient(client *http.Client) *AgentTelemetryConfigParams
WithHTTPClient adds the HTTPClient to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithLocationOrganizationID ¶
func (o *AgentTelemetryConfigParams) WithLocationOrganizationID(locationOrganizationID string) *AgentTelemetryConfigParams
WithLocationOrganizationID adds the locationOrganizationID to the agent telemetry config params
func (*AgentTelemetryConfigParams) WithLocationProjectID ¶
func (o *AgentTelemetryConfigParams) WithLocationProjectID(locationProjectID string) *AgentTelemetryConfigParams
WithLocationProjectID adds the locationProjectID to the agent telemetry config params
func (*AgentTelemetryConfigParams) 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 ¶
func (o *AgentTelemetryConfigParams) WithTimeout(timeout time.Duration) *AgentTelemetryConfigParams
WithTimeout adds the timeout to the agent telemetry config params
func (*AgentTelemetryConfigParams) WriteToRequest ¶
func (o *AgentTelemetryConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type 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.