fleetapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fleetapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteV1AlertMuteRulesRequest added in v1.0.0

func NewDeleteV1AlertMuteRulesRequest(server string, body DeleteV1AlertMuteRulesJSONRequestBody) (*http.Request, error)

NewDeleteV1AlertMuteRulesRequest calls the generic DeleteV1AlertMuteRules builder with application/json body

func NewDeleteV1AlertMuteRulesRequestWithBody added in v1.0.0

func NewDeleteV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteV1AlertMuteRulesRequestWithBody generates requests for DeleteV1AlertMuteRules with any type of body

func NewDeleteV1NodesNodeUuidRequest

func NewDeleteV1NodesNodeUuidRequest(server string, nodeUUID string) (*http.Request, error)

NewDeleteV1NodesNodeUuidRequest generates requests for DeleteV1NodesNodeUuid

func NewDeleteV1NodesRequest

func NewDeleteV1NodesRequest(server string, body DeleteV1NodesJSONRequestBody) (*http.Request, error)

NewDeleteV1NodesRequest calls the generic DeleteV1Nodes builder with application/json body

func NewDeleteV1NodesRequestWithBody

func NewDeleteV1NodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteV1NodesRequestWithBody generates requests for DeleteV1Nodes with any type of body

func NewDeleteV1NotificationPreferenceByIDRequest added in v1.0.0

func NewDeleteV1NotificationPreferenceByIDRequest(server string, id string) (*http.Request, error)

NewDeleteV1NotificationPreferenceByIDRequest generates requests for DeleteV1NotificationPreferenceByID

func NewGetV1AlertMuteRulesRequest added in v1.0.0

func NewGetV1AlertMuteRulesRequest(server string) (*http.Request, error)

NewGetV1AlertMuteRulesRequest generates requests for GetV1AlertMuteRules

func NewGetV1AlertTimelineFilterOptionsRequest added in v1.0.0

func NewGetV1AlertTimelineFilterOptionsRequest(server string, params *GetV1AlertTimelineFilterOptionsParams) (*http.Request, error)

NewGetV1AlertTimelineFilterOptionsRequest generates requests for GetV1AlertTimelineFilterOptions

func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest

func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest(server string, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams) (*http.Request, error)

NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest generates requests for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid

func NewGetV1AlertTimelineNodesNodeUuidAlertsRequest

func NewGetV1AlertTimelineNodesNodeUuidAlertsRequest(server string, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams) (*http.Request, error)

NewGetV1AlertTimelineNodesNodeUuidAlertsRequest generates requests for GetV1AlertTimelineNodesNodeUuidAlerts

func NewGetV1AlertTimelineNodesRequest

func NewGetV1AlertTimelineNodesRequest(server string, params *GetV1AlertTimelineNodesParams) (*http.Request, error)

NewGetV1AlertTimelineNodesRequest generates requests for GetV1AlertTimelineNodes

func NewGetV1AlertsNodeUuidRequest

func NewGetV1AlertsNodeUuidRequest(server string, nodeUUID string, params *GetV1AlertsNodeUuidParams) (*http.Request, error)

NewGetV1AlertsNodeUuidRequest generates requests for GetV1AlertsNodeUuid

func NewGetV1AlertsRequest

func NewGetV1AlertsRequest(server string, params *GetV1AlertsParams) (*http.Request, error)

NewGetV1AlertsRequest generates requests for GetV1Alerts

func NewGetV1AuthStatusRequest added in v1.0.0

func NewGetV1AuthStatusRequest(server string) (*http.Request, error)

NewGetV1AuthStatusRequest generates requests for GetV1AuthStatus

func NewGetV1ComputezonesRequest

func NewGetV1ComputezonesRequest(server string, params *GetV1ComputezonesParams) (*http.Request, error)

NewGetV1ComputezonesRequest generates requests for GetV1Computezones

func NewGetV1EventsBucketsRequest added in v1.0.0

func NewGetV1EventsBucketsRequest(server string, params *GetV1EventsBucketsParams) (*http.Request, error)

NewGetV1EventsBucketsRequest generates requests for GetV1EventsBuckets

func NewGetV1EventsRequest added in v1.0.0

func NewGetV1EventsRequest(server string, params *GetV1EventsParams) (*http.Request, error)

NewGetV1EventsRequest generates requests for GetV1Events

func NewGetV1InfoRequest added in v1.0.0

func NewGetV1InfoRequest(server string) (*http.Request, error)

NewGetV1InfoRequest generates requests for GetV1Info

func NewGetV1MetricsQueryRangeRequest added in v1.0.0

func NewGetV1MetricsQueryRangeRequest(server string, params *GetV1MetricsQueryRangeParams) (*http.Request, error)

NewGetV1MetricsQueryRangeRequest generates requests for GetV1MetricsQueryRange

func NewGetV1MetricsRequest added in v1.0.0

func NewGetV1MetricsRequest(server string, params *GetV1MetricsParams) (*http.Request, error)

NewGetV1MetricsRequest generates requests for GetV1Metrics

func NewGetV1NodeGroupMembershipsRequest added in v1.0.0

func NewGetV1NodeGroupMembershipsRequest(server string, params *GetV1NodeGroupMembershipsParams) (*http.Request, error)

NewGetV1NodeGroupMembershipsRequest generates requests for GetV1NodeGroupMemberships

func NewGetV1NodeRemovalPolicyRequest added in v1.0.0

func NewGetV1NodeRemovalPolicyRequest(server string) (*http.Request, error)

NewGetV1NodeRemovalPolicyRequest generates requests for GetV1NodeRemovalPolicy

func NewGetV1NodegroupsOptionsRequest

func NewGetV1NodegroupsOptionsRequest(server string) (*http.Request, error)

NewGetV1NodegroupsOptionsRequest generates requests for GetV1NodegroupsOptions

func NewGetV1NodegroupsRequest

func NewGetV1NodegroupsRequest(server string, params *GetV1NodegroupsParams) (*http.Request, error)

NewGetV1NodegroupsRequest generates requests for GetV1Nodegroups

func NewGetV1NodesHistoryRequest added in v1.0.0

func NewGetV1NodesHistoryRequest(server string, params *GetV1NodesHistoryParams) (*http.Request, error)

NewGetV1NodesHistoryRequest generates requests for GetV1NodesHistory

func NewGetV1NodesNodeUuidHealthHistoryRequest

func NewGetV1NodesNodeUuidHealthHistoryRequest(server string, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams) (*http.Request, error)

NewGetV1NodesNodeUuidHealthHistoryRequest generates requests for GetV1NodesNodeUuidHealthHistory

func NewGetV1NodesNodeUuidRequest

func NewGetV1NodesNodeUuidRequest(server string, nodeUUID string) (*http.Request, error)

NewGetV1NodesNodeUuidRequest generates requests for GetV1NodesNodeUuid

func NewGetV1NodesOptionsRequest

func NewGetV1NodesOptionsRequest(server string) (*http.Request, error)

NewGetV1NodesOptionsRequest generates requests for GetV1NodesOptions

func NewGetV1NodesRequest

func NewGetV1NodesRequest(server string, params *GetV1NodesParams) (*http.Request, error)

NewGetV1NodesRequest generates requests for GetV1Nodes

func NewGetV1NotificationDeliveryLogRequest added in v1.0.0

func NewGetV1NotificationDeliveryLogRequest(server string, params *GetV1NotificationDeliveryLogParams) (*http.Request, error)

NewGetV1NotificationDeliveryLogRequest generates requests for GetV1NotificationDeliveryLog

func NewGetV1NotificationPreferenceByIDRequest added in v1.0.0

func NewGetV1NotificationPreferenceByIDRequest(server string, id string) (*http.Request, error)

NewGetV1NotificationPreferenceByIDRequest generates requests for GetV1NotificationPreferenceByID

func NewGetV1NotificationPreferencesRequest added in v1.0.0

func NewGetV1NotificationPreferencesRequest(server string) (*http.Request, error)

NewGetV1NotificationPreferencesRequest generates requests for GetV1NotificationPreferences

func NewGetV1OverviewRequest added in v1.0.0

func NewGetV1OverviewRequest(server string, params *GetV1OverviewParams) (*http.Request, error)

NewGetV1OverviewRequest generates requests for GetV1Overview

func NewGetV1ReportsErrorRequest

func NewGetV1ReportsErrorRequest(server string, params *GetV1ReportsErrorParams) (*http.Request, error)

NewGetV1ReportsErrorRequest generates requests for GetV1ReportsError

func NewGetV1ReportsInventoryRequest

func NewGetV1ReportsInventoryRequest(server string, params *GetV1ReportsInventoryParams) (*http.Request, error)

NewGetV1ReportsInventoryRequest generates requests for GetV1ReportsInventory

func NewGetV1RetentionPolicyRequest added in v1.0.0

func NewGetV1RetentionPolicyRequest(server string) (*http.Request, error)

NewGetV1RetentionPolicyRequest generates requests for GetV1RetentionPolicy

func NewGetV1TagsRequest added in v1.0.0

func NewGetV1TagsRequest(server string, params *GetV1TagsParams) (*http.Request, error)

NewGetV1TagsRequest generates requests for GetV1Tags

func NewGetV2CommandsRequest added in v1.0.0

func NewGetV2CommandsRequest(server string) (*http.Request, error)

NewGetV2CommandsRequest generates requests for GetV2Commands

func NewGetV2MetricsRequest added in v1.0.0

func NewGetV2MetricsRequest(server string, params *GetV2MetricsParams) (*http.Request, error)

NewGetV2MetricsRequest generates requests for GetV2Metrics

func NewGetWellKnownSigningKeyPubRequest added in v1.0.0

func NewGetWellKnownSigningKeyPubRequest(server string) (*http.Request, error)

NewGetWellKnownSigningKeyPubRequest generates requests for GetWellKnownSigningKeyPub

func NewPatchV1TagsRequest added in v1.0.0

func NewPatchV1TagsRequest(server string, body PatchV1TagsJSONRequestBody) (*http.Request, error)

NewPatchV1TagsRequest calls the generic PatchV1Tags builder with application/json body

func NewPatchV1TagsRequestWithBody added in v1.0.0

func NewPatchV1TagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV1TagsRequestWithBody generates requests for PatchV1Tags with any type of body

func NewPostV1NotificationPreferencesRequest added in v1.0.0

func NewPostV1NotificationPreferencesRequest(server string, body PostV1NotificationPreferencesJSONRequestBody) (*http.Request, error)

NewPostV1NotificationPreferencesRequest calls the generic PostV1NotificationPreferences builder with application/json body

func NewPostV1NotificationPreferencesRequestWithBody added in v1.0.0

func NewPostV1NotificationPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1NotificationPreferencesRequestWithBody generates requests for PostV1NotificationPreferences with any type of body

func NewPutV1AlertMuteRulesRequest added in v1.0.0

func NewPutV1AlertMuteRulesRequest(server string, body PutV1AlertMuteRulesJSONRequestBody) (*http.Request, error)

NewPutV1AlertMuteRulesRequest calls the generic PutV1AlertMuteRules builder with application/json body

func NewPutV1AlertMuteRulesRequestWithBody added in v1.0.0

func NewPutV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1AlertMuteRulesRequestWithBody generates requests for PutV1AlertMuteRules with any type of body

func NewPutV1ComputezonesRequest

func NewPutV1ComputezonesRequest(server string, body PutV1ComputezonesJSONRequestBody) (*http.Request, error)

NewPutV1ComputezonesRequest calls the generic PutV1Computezones builder with application/json body

func NewPutV1ComputezonesRequestWithBody

func NewPutV1ComputezonesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1ComputezonesRequestWithBody generates requests for PutV1Computezones with any type of body

func NewPutV1NodeRemovalPolicyRequest added in v1.0.0

func NewPutV1NodeRemovalPolicyRequest(server string, body PutV1NodeRemovalPolicyJSONRequestBody) (*http.Request, error)

NewPutV1NodeRemovalPolicyRequest calls the generic PutV1NodeRemovalPolicy builder with application/json body

func NewPutV1NodeRemovalPolicyRequestWithBody added in v1.0.0

func NewPutV1NodeRemovalPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1NodeRemovalPolicyRequestWithBody generates requests for PutV1NodeRemovalPolicy with any type of body

func NewPutV1NodesNodeUuidTagsRequest

func NewPutV1NodesNodeUuidTagsRequest(server string, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody) (*http.Request, error)

NewPutV1NodesNodeUuidTagsRequest calls the generic PutV1NodesNodeUuidTags builder with application/json body

func NewPutV1NodesNodeUuidTagsRequestWithBody

func NewPutV1NodesNodeUuidTagsRequestWithBody(server string, nodeUUID string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1NodesNodeUuidTagsRequestWithBody generates requests for PutV1NodesNodeUuidTags with any type of body

func NewPutV1NotificationPreferenceByIDRequest added in v1.0.0

func NewPutV1NotificationPreferenceByIDRequest(server string, id string, body PutV1NotificationPreferenceByIDJSONRequestBody) (*http.Request, error)

NewPutV1NotificationPreferenceByIDRequest calls the generic PutV1NotificationPreferenceByID builder with application/json body

func NewPutV1NotificationPreferenceByIDRequestWithBody added in v1.0.0

func NewPutV1NotificationPreferenceByIDRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1NotificationPreferenceByIDRequestWithBody generates requests for PutV1NotificationPreferenceByID with any type of body

func NewPutV1RetentionPolicyRequest added in v1.0.0

func NewPutV1RetentionPolicyRequest(server string, body PutV1RetentionPolicyJSONRequestBody) (*http.Request, error)

NewPutV1RetentionPolicyRequest calls the generic PutV1RetentionPolicy builder with application/json body

func NewPutV1RetentionPolicyRequestWithBody added in v1.0.0

func NewPutV1RetentionPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutV1RetentionPolicyRequestWithBody generates requests for PutV1RetentionPolicy with any type of body

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeleteV1AlertMuteRules added in v1.0.0

func (c *Client) DeleteV1AlertMuteRules(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1AlertMuteRulesWithBody added in v1.0.0

func (c *Client) DeleteV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1Nodes

func (c *Client) DeleteV1Nodes(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1NodesNodeUuid

func (c *Client) DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1NodesWithBody

func (c *Client) DeleteV1NodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1NotificationPreferenceByID added in v1.0.0

func (c *Client) DeleteV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertMuteRules added in v1.0.0

func (c *Client) GetV1AlertMuteRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertTimelineFilterOptions added in v1.0.0

func (c *Client) GetV1AlertTimelineFilterOptions(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertTimelineNodes

func (c *Client) GetV1AlertTimelineNodes(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertTimelineNodesNodeUuidAlerts

func (c *Client) GetV1AlertTimelineNodesNodeUuidAlerts(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid

func (c *Client) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Alerts

func (c *Client) GetV1Alerts(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AlertsNodeUuid

func (c *Client) GetV1AlertsNodeUuid(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AuthStatus added in v1.0.0

func (c *Client) GetV1AuthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Computezones

func (c *Client) GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Events added in v1.0.0

func (c *Client) GetV1Events(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1EventsBuckets added in v1.0.0

func (c *Client) GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Info added in v1.0.0

func (c *Client) GetV1Info(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Metrics added in v1.0.0

func (c *Client) GetV1Metrics(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MetricsQueryRange added in v1.0.0

func (c *Client) GetV1MetricsQueryRange(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodeGroupMemberships added in v1.0.0

func (c *Client) GetV1NodeGroupMemberships(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodeRemovalPolicy added in v1.0.0

func (c *Client) GetV1NodeRemovalPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Nodegroups

func (c *Client) GetV1Nodegroups(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodegroupsOptions

func (c *Client) GetV1NodegroupsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Nodes

func (c *Client) GetV1Nodes(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodesHistory added in v1.0.0

func (c *Client) GetV1NodesHistory(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodesNodeUuid

func (c *Client) GetV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodesNodeUuidHealthHistory

func (c *Client) GetV1NodesNodeUuidHealthHistory(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NodesOptions

func (c *Client) GetV1NodesOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NotificationDeliveryLog added in v1.0.0

func (c *Client) GetV1NotificationDeliveryLog(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NotificationPreferenceByID added in v1.0.0

func (c *Client) GetV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1NotificationPreferences added in v1.0.0

func (c *Client) GetV1NotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Overview added in v1.0.0

func (c *Client) GetV1Overview(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ReportsError

func (c *Client) GetV1ReportsError(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ReportsInventory

func (c *Client) GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1RetentionPolicy added in v1.0.0

func (c *Client) GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Tags added in v1.0.0

func (c *Client) GetV1Tags(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Commands added in v1.0.0

func (c *Client) GetV2Commands(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV2Metrics added in v1.0.0

func (c *Client) GetV2Metrics(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWellKnownSigningKeyPub added in v1.0.0

func (c *Client) GetWellKnownSigningKeyPub(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1Tags added in v1.0.0

func (c *Client) PatchV1Tags(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1TagsWithBody added in v1.0.0

func (c *Client) PatchV1TagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1NotificationPreferences added in v1.0.0

func (c *Client) PostV1NotificationPreferences(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1NotificationPreferencesWithBody added in v1.0.0

func (c *Client) PostV1NotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1AlertMuteRules added in v1.0.0

func (c *Client) PutV1AlertMuteRules(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1AlertMuteRulesWithBody added in v1.0.0

func (c *Client) PutV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1Computezones

func (c *Client) PutV1Computezones(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1ComputezonesWithBody

func (c *Client) PutV1ComputezonesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NodeRemovalPolicy added in v1.0.0

func (c *Client) PutV1NodeRemovalPolicy(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NodeRemovalPolicyWithBody added in v1.0.0

func (c *Client) PutV1NodeRemovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NodesNodeUuidTags

func (c *Client) PutV1NodesNodeUuidTags(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NodesNodeUuidTagsWithBody

func (c *Client) PutV1NodesNodeUuidTagsWithBody(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NotificationPreferenceByID added in v1.0.0

func (c *Client) PutV1NotificationPreferenceByID(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1NotificationPreferenceByIDWithBody added in v1.0.0

func (c *Client) PutV1NotificationPreferenceByIDWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1RetentionPolicy added in v1.0.0

func (c *Client) PutV1RetentionPolicy(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutV1RetentionPolicyWithBody added in v1.0.0

func (c *Client) PutV1RetentionPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetWellKnownSigningKeyPub request
	GetWellKnownSigningKeyPub(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1AlertMuteRulesWithBody request with any body
	DeleteV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteV1AlertMuteRules(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertMuteRules request
	GetV1AlertMuteRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1AlertMuteRulesWithBody request with any body
	PutV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1AlertMuteRules(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertTimelineFilterOptions request
	GetV1AlertTimelineFilterOptions(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertTimelineNodes request
	GetV1AlertTimelineNodes(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertTimelineNodesNodeUuidAlerts request
	GetV1AlertTimelineNodesNodeUuidAlerts(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid request
	GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Alerts request
	GetV1Alerts(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AlertsNodeUuid request
	GetV1AlertsNodeUuid(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AuthStatus request
	GetV1AuthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Computezones request
	GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1ComputezonesWithBody request with any body
	PutV1ComputezonesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1Computezones(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Events request
	GetV1Events(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1EventsBuckets request
	GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Info request
	GetV1Info(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Metrics request
	GetV1Metrics(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MetricsQueryRange request
	GetV1MetricsQueryRange(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodeGroupMemberships request
	GetV1NodeGroupMemberships(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodeRemovalPolicy request
	GetV1NodeRemovalPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1NodeRemovalPolicyWithBody request with any body
	PutV1NodeRemovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1NodeRemovalPolicy(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Nodegroups request
	GetV1Nodegroups(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodegroupsOptions request
	GetV1NodegroupsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1NodesWithBody request with any body
	DeleteV1NodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteV1Nodes(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Nodes request
	GetV1Nodes(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodesHistory request
	GetV1NodesHistory(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodesOptions request
	GetV1NodesOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1NodesNodeUuid request
	DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodesNodeUuid request
	GetV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NodesNodeUuidHealthHistory request
	GetV1NodesNodeUuidHealthHistory(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1NodesNodeUuidTagsWithBody request with any body
	PutV1NodesNodeUuidTagsWithBody(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1NodesNodeUuidTags(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NotificationDeliveryLog request
	GetV1NotificationDeliveryLog(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NotificationPreferences request
	GetV1NotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1NotificationPreferencesWithBody request with any body
	PostV1NotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1NotificationPreferences(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1NotificationPreferenceByID request
	DeleteV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1NotificationPreferenceByID request
	GetV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1NotificationPreferenceByIDWithBody request with any body
	PutV1NotificationPreferenceByIDWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1NotificationPreferenceByID(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Overview request
	GetV1Overview(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ReportsError request
	GetV1ReportsError(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ReportsInventory request
	GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1RetentionPolicy request
	GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV1RetentionPolicyWithBody request with any body
	PutV1RetentionPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutV1RetentionPolicy(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Tags request
	GetV1Tags(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV1TagsWithBody request with any body
	PatchV1TagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV1Tags(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Commands request
	GetV2Commands(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Metrics request
	GetV2Metrics(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeleteV1AlertMuteRulesWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)

DeleteV1AlertMuteRulesWithBodyWithResponse request with arbitrary body returning *DeleteV1AlertMuteRulesResponse

func (*ClientWithResponses) DeleteV1AlertMuteRulesWithResponse added in v1.0.0

func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithResponse(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)

func (*ClientWithResponses) DeleteV1NodesNodeUuidWithResponse

func (c *ClientWithResponses) DeleteV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)

DeleteV1NodesNodeUuidWithResponse request returning *DeleteV1NodesNodeUuidResponse

func (*ClientWithResponses) DeleteV1NodesWithBodyWithResponse

func (c *ClientWithResponses) DeleteV1NodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)

DeleteV1NodesWithBodyWithResponse request with arbitrary body returning *DeleteV1NodesResponse

func (*ClientWithResponses) DeleteV1NodesWithResponse

func (c *ClientWithResponses) DeleteV1NodesWithResponse(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)

func (*ClientWithResponses) DeleteV1NotificationPreferenceByIDWithResponse added in v1.0.0

func (c *ClientWithResponses) DeleteV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1NotificationPreferenceByIDResponse, error)

DeleteV1NotificationPreferenceByIDWithResponse request returning *DeleteV1NotificationPreferenceByIDResponse

func (*ClientWithResponses) GetV1AlertMuteRulesWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1AlertMuteRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AlertMuteRulesResponse, error)

GetV1AlertMuteRulesWithResponse request returning *GetV1AlertMuteRulesResponse

func (*ClientWithResponses) GetV1AlertTimelineFilterOptionsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1AlertTimelineFilterOptionsWithResponse(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineFilterOptionsResponse, error)

GetV1AlertTimelineFilterOptionsWithResponse request returning *GetV1AlertTimelineFilterOptionsResponse

func (*ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse

func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)

GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse request returning *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse

func (*ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsWithResponse

func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)

GetV1AlertTimelineNodesNodeUuidAlertsWithResponse request returning *GetV1AlertTimelineNodesNodeUuidAlertsResponse

func (*ClientWithResponses) GetV1AlertTimelineNodesWithResponse

func (c *ClientWithResponses) GetV1AlertTimelineNodesWithResponse(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesResponse, error)

GetV1AlertTimelineNodesWithResponse request returning *GetV1AlertTimelineNodesResponse

func (*ClientWithResponses) GetV1AlertsNodeUuidWithResponse

func (c *ClientWithResponses) GetV1AlertsNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertsNodeUuidResponse, error)

GetV1AlertsNodeUuidWithResponse request returning *GetV1AlertsNodeUuidResponse

func (*ClientWithResponses) GetV1AlertsWithResponse

func (c *ClientWithResponses) GetV1AlertsWithResponse(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertsResponse, error)

GetV1AlertsWithResponse request returning *GetV1AlertsResponse

func (*ClientWithResponses) GetV1AuthStatusWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1AuthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AuthStatusResponse, error)

GetV1AuthStatusWithResponse request returning *GetV1AuthStatusResponse

func (*ClientWithResponses) GetV1ComputezonesWithResponse

func (c *ClientWithResponses) GetV1ComputezonesWithResponse(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*GetV1ComputezonesResponse, error)

GetV1ComputezonesWithResponse request returning *GetV1ComputezonesResponse

func (*ClientWithResponses) GetV1EventsBucketsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1EventsBucketsWithResponse(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*GetV1EventsBucketsResponse, error)

GetV1EventsBucketsWithResponse request returning *GetV1EventsBucketsResponse

func (*ClientWithResponses) GetV1EventsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1EventsWithResponse(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*GetV1EventsResponse, error)

GetV1EventsWithResponse request returning *GetV1EventsResponse

func (*ClientWithResponses) GetV1InfoWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1InfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1InfoResponse, error)

GetV1InfoWithResponse request returning *GetV1InfoResponse

func (*ClientWithResponses) GetV1MetricsQueryRangeWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1MetricsQueryRangeWithResponse(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*GetV1MetricsQueryRangeResponse, error)

GetV1MetricsQueryRangeWithResponse request returning *GetV1MetricsQueryRangeResponse

func (*ClientWithResponses) GetV1MetricsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1MetricsWithResponse(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*GetV1MetricsResponse, error)

GetV1MetricsWithResponse request returning *GetV1MetricsResponse

func (*ClientWithResponses) GetV1NodeGroupMembershipsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NodeGroupMembershipsWithResponse(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*GetV1NodeGroupMembershipsResponse, error)

GetV1NodeGroupMembershipsWithResponse request returning *GetV1NodeGroupMembershipsResponse

func (*ClientWithResponses) GetV1NodeRemovalPolicyWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NodeRemovalPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodeRemovalPolicyResponse, error)

GetV1NodeRemovalPolicyWithResponse request returning *GetV1NodeRemovalPolicyResponse

func (*ClientWithResponses) GetV1NodegroupsOptionsWithResponse

func (c *ClientWithResponses) GetV1NodegroupsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodegroupsOptionsResponse, error)

GetV1NodegroupsOptionsWithResponse request returning *GetV1NodegroupsOptionsResponse

func (*ClientWithResponses) GetV1NodegroupsWithResponse

func (c *ClientWithResponses) GetV1NodegroupsWithResponse(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*GetV1NodegroupsResponse, error)

GetV1NodegroupsWithResponse request returning *GetV1NodegroupsResponse

func (*ClientWithResponses) GetV1NodesHistoryWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NodesHistoryWithResponse(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesHistoryResponse, error)

GetV1NodesHistoryWithResponse request returning *GetV1NodesHistoryResponse

func (*ClientWithResponses) GetV1NodesNodeUuidHealthHistoryWithResponse

func (c *ClientWithResponses) GetV1NodesNodeUuidHealthHistoryWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidHealthHistoryResponse, error)

GetV1NodesNodeUuidHealthHistoryWithResponse request returning *GetV1NodesNodeUuidHealthHistoryResponse

func (*ClientWithResponses) GetV1NodesNodeUuidWithResponse

func (c *ClientWithResponses) GetV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidResponse, error)

GetV1NodesNodeUuidWithResponse request returning *GetV1NodesNodeUuidResponse

func (*ClientWithResponses) GetV1NodesOptionsWithResponse

func (c *ClientWithResponses) GetV1NodesOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodesOptionsResponse, error)

GetV1NodesOptionsWithResponse request returning *GetV1NodesOptionsResponse

func (*ClientWithResponses) GetV1NodesWithResponse

func (c *ClientWithResponses) GetV1NodesWithResponse(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*GetV1NodesResponse, error)

GetV1NodesWithResponse request returning *GetV1NodesResponse

func (*ClientWithResponses) GetV1NotificationDeliveryLogWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NotificationDeliveryLogWithResponse(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*GetV1NotificationDeliveryLogResponse, error)

GetV1NotificationDeliveryLogWithResponse request returning *GetV1NotificationDeliveryLogResponse

func (*ClientWithResponses) GetV1NotificationPreferenceByIDWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferenceByIDResponse, error)

GetV1NotificationPreferenceByIDWithResponse request returning *GetV1NotificationPreferenceByIDResponse

func (*ClientWithResponses) GetV1NotificationPreferencesWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1NotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferencesResponse, error)

GetV1NotificationPreferencesWithResponse request returning *GetV1NotificationPreferencesResponse

func (*ClientWithResponses) GetV1OverviewWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1OverviewWithResponse(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*GetV1OverviewResponse, error)

GetV1OverviewWithResponse request returning *GetV1OverviewResponse

func (*ClientWithResponses) GetV1ReportsErrorWithResponse

func (c *ClientWithResponses) GetV1ReportsErrorWithResponse(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*GetV1ReportsErrorResponse, error)

GetV1ReportsErrorWithResponse request returning *GetV1ReportsErrorResponse

func (*ClientWithResponses) GetV1ReportsInventoryWithResponse

func (c *ClientWithResponses) GetV1ReportsInventoryWithResponse(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*GetV1ReportsInventoryResponse, error)

GetV1ReportsInventoryWithResponse request returning *GetV1ReportsInventoryResponse

func (*ClientWithResponses) GetV1RetentionPolicyWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)

GetV1RetentionPolicyWithResponse request returning *GetV1RetentionPolicyResponse

func (*ClientWithResponses) GetV1TagsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV1TagsWithResponse(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*GetV1TagsResponse, error)

GetV1TagsWithResponse request returning *GetV1TagsResponse

func (*ClientWithResponses) GetV2CommandsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV2CommandsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2CommandsResponse, error)

GetV2CommandsWithResponse request returning *GetV2CommandsResponse

func (*ClientWithResponses) GetV2MetricsWithResponse added in v1.0.0

func (c *ClientWithResponses) GetV2MetricsWithResponse(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*GetV2MetricsResponse, error)

GetV2MetricsWithResponse request returning *GetV2MetricsResponse

func (*ClientWithResponses) GetWellKnownSigningKeyPubWithResponse added in v1.0.0

func (c *ClientWithResponses) GetWellKnownSigningKeyPubWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownSigningKeyPubResponse, error)

GetWellKnownSigningKeyPubWithResponse request returning *GetWellKnownSigningKeyPubResponse

func (*ClientWithResponses) PatchV1TagsWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PatchV1TagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)

PatchV1TagsWithBodyWithResponse request with arbitrary body returning *PatchV1TagsResponse

func (*ClientWithResponses) PatchV1TagsWithResponse added in v1.0.0

func (c *ClientWithResponses) PatchV1TagsWithResponse(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)

func (*ClientWithResponses) PostV1NotificationPreferencesWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PostV1NotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)

PostV1NotificationPreferencesWithBodyWithResponse request with arbitrary body returning *PostV1NotificationPreferencesResponse

func (*ClientWithResponses) PostV1NotificationPreferencesWithResponse added in v1.0.0

func (c *ClientWithResponses) PostV1NotificationPreferencesWithResponse(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)

func (*ClientWithResponses) PutV1AlertMuteRulesWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)

PutV1AlertMuteRulesWithBodyWithResponse request with arbitrary body returning *PutV1AlertMuteRulesResponse

func (*ClientWithResponses) PutV1AlertMuteRulesWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1AlertMuteRulesWithResponse(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)

func (*ClientWithResponses) PutV1ComputezonesWithBodyWithResponse

func (c *ClientWithResponses) PutV1ComputezonesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)

PutV1ComputezonesWithBodyWithResponse request with arbitrary body returning *PutV1ComputezonesResponse

func (*ClientWithResponses) PutV1ComputezonesWithResponse

func (c *ClientWithResponses) PutV1ComputezonesWithResponse(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)

func (*ClientWithResponses) PutV1NodeRemovalPolicyWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)

PutV1NodeRemovalPolicyWithBodyWithResponse request with arbitrary body returning *PutV1NodeRemovalPolicyResponse

func (*ClientWithResponses) PutV1NodeRemovalPolicyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithResponse(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)

func (*ClientWithResponses) PutV1NodesNodeUuidTagsWithBodyWithResponse

func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithBodyWithResponse(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)

PutV1NodesNodeUuidTagsWithBodyWithResponse request with arbitrary body returning *PutV1NodesNodeUuidTagsResponse

func (*ClientWithResponses) PutV1NodesNodeUuidTagsWithResponse

func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithResponse(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)

func (*ClientWithResponses) PutV1NotificationPreferenceByIDWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)

PutV1NotificationPreferenceByIDWithBodyWithResponse request with arbitrary body returning *PutV1NotificationPreferenceByIDResponse

func (*ClientWithResponses) PutV1NotificationPreferenceByIDWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)

func (*ClientWithResponses) PutV1RetentionPolicyWithBodyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1RetentionPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)

PutV1RetentionPolicyWithBodyWithResponse request with arbitrary body returning *PutV1RetentionPolicyResponse

func (*ClientWithResponses) PutV1RetentionPolicyWithResponse added in v1.0.0

func (c *ClientWithResponses) PutV1RetentionPolicyWithResponse(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetWellKnownSigningKeyPubWithResponse request
	GetWellKnownSigningKeyPubWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownSigningKeyPubResponse, error)

	// DeleteV1AlertMuteRulesWithBodyWithResponse request with any body
	DeleteV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)

	DeleteV1AlertMuteRulesWithResponse(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)

	// GetV1AlertMuteRulesWithResponse request
	GetV1AlertMuteRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AlertMuteRulesResponse, error)

	// PutV1AlertMuteRulesWithBodyWithResponse request with any body
	PutV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)

	PutV1AlertMuteRulesWithResponse(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)

	// GetV1AlertTimelineFilterOptionsWithResponse request
	GetV1AlertTimelineFilterOptionsWithResponse(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineFilterOptionsResponse, error)

	// GetV1AlertTimelineNodesWithResponse request
	GetV1AlertTimelineNodesWithResponse(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesResponse, error)

	// GetV1AlertTimelineNodesNodeUuidAlertsWithResponse request
	GetV1AlertTimelineNodesNodeUuidAlertsWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)

	// GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse request
	GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)

	// GetV1AlertsWithResponse request
	GetV1AlertsWithResponse(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertsResponse, error)

	// GetV1AlertsNodeUuidWithResponse request
	GetV1AlertsNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertsNodeUuidResponse, error)

	// GetV1AuthStatusWithResponse request
	GetV1AuthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AuthStatusResponse, error)

	// GetV1ComputezonesWithResponse request
	GetV1ComputezonesWithResponse(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*GetV1ComputezonesResponse, error)

	// PutV1ComputezonesWithBodyWithResponse request with any body
	PutV1ComputezonesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)

	PutV1ComputezonesWithResponse(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)

	// GetV1EventsWithResponse request
	GetV1EventsWithResponse(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*GetV1EventsResponse, error)

	// GetV1EventsBucketsWithResponse request
	GetV1EventsBucketsWithResponse(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*GetV1EventsBucketsResponse, error)

	// GetV1InfoWithResponse request
	GetV1InfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1InfoResponse, error)

	// GetV1MetricsWithResponse request
	GetV1MetricsWithResponse(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*GetV1MetricsResponse, error)

	// GetV1MetricsQueryRangeWithResponse request
	GetV1MetricsQueryRangeWithResponse(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*GetV1MetricsQueryRangeResponse, error)

	// GetV1NodeGroupMembershipsWithResponse request
	GetV1NodeGroupMembershipsWithResponse(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*GetV1NodeGroupMembershipsResponse, error)

	// GetV1NodeRemovalPolicyWithResponse request
	GetV1NodeRemovalPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodeRemovalPolicyResponse, error)

	// PutV1NodeRemovalPolicyWithBodyWithResponse request with any body
	PutV1NodeRemovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)

	PutV1NodeRemovalPolicyWithResponse(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)

	// GetV1NodegroupsWithResponse request
	GetV1NodegroupsWithResponse(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*GetV1NodegroupsResponse, error)

	// GetV1NodegroupsOptionsWithResponse request
	GetV1NodegroupsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodegroupsOptionsResponse, error)

	// DeleteV1NodesWithBodyWithResponse request with any body
	DeleteV1NodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)

	DeleteV1NodesWithResponse(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)

	// GetV1NodesWithResponse request
	GetV1NodesWithResponse(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*GetV1NodesResponse, error)

	// GetV1NodesHistoryWithResponse request
	GetV1NodesHistoryWithResponse(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesHistoryResponse, error)

	// GetV1NodesOptionsWithResponse request
	GetV1NodesOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodesOptionsResponse, error)

	// DeleteV1NodesNodeUuidWithResponse request
	DeleteV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)

	// GetV1NodesNodeUuidWithResponse request
	GetV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidResponse, error)

	// GetV1NodesNodeUuidHealthHistoryWithResponse request
	GetV1NodesNodeUuidHealthHistoryWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidHealthHistoryResponse, error)

	// PutV1NodesNodeUuidTagsWithBodyWithResponse request with any body
	PutV1NodesNodeUuidTagsWithBodyWithResponse(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)

	PutV1NodesNodeUuidTagsWithResponse(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)

	// GetV1NotificationDeliveryLogWithResponse request
	GetV1NotificationDeliveryLogWithResponse(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*GetV1NotificationDeliveryLogResponse, error)

	// GetV1NotificationPreferencesWithResponse request
	GetV1NotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferencesResponse, error)

	// PostV1NotificationPreferencesWithBodyWithResponse request with any body
	PostV1NotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)

	PostV1NotificationPreferencesWithResponse(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)

	// DeleteV1NotificationPreferenceByIDWithResponse request
	DeleteV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1NotificationPreferenceByIDResponse, error)

	// GetV1NotificationPreferenceByIDWithResponse request
	GetV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferenceByIDResponse, error)

	// PutV1NotificationPreferenceByIDWithBodyWithResponse request with any body
	PutV1NotificationPreferenceByIDWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)

	PutV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)

	// GetV1OverviewWithResponse request
	GetV1OverviewWithResponse(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*GetV1OverviewResponse, error)

	// GetV1ReportsErrorWithResponse request
	GetV1ReportsErrorWithResponse(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*GetV1ReportsErrorResponse, error)

	// GetV1ReportsInventoryWithResponse request
	GetV1ReportsInventoryWithResponse(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*GetV1ReportsInventoryResponse, error)

	// GetV1RetentionPolicyWithResponse request
	GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)

	// PutV1RetentionPolicyWithBodyWithResponse request with any body
	PutV1RetentionPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)

	PutV1RetentionPolicyWithResponse(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)

	// GetV1TagsWithResponse request
	GetV1TagsWithResponse(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*GetV1TagsResponse, error)

	// PatchV1TagsWithBodyWithResponse request with any body
	PatchV1TagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)

	PatchV1TagsWithResponse(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)

	// GetV2CommandsWithResponse request
	GetV2CommandsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2CommandsResponse, error)

	// GetV2MetricsWithResponse request
	GetV2MetricsWithResponse(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*GetV2MetricsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type DeleteV1AlertMuteRulesJSONRequestBody added in v1.0.0

type DeleteV1AlertMuteRulesJSONRequestBody = ModelsDeleteMuteRulesRequest

DeleteV1AlertMuteRulesJSONRequestBody defines body for DeleteV1AlertMuteRules for application/json ContentType.

type DeleteV1AlertMuteRulesResponse added in v1.0.0

type DeleteV1AlertMuteRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseDeleteV1AlertMuteRulesResponse added in v1.0.0

func ParseDeleteV1AlertMuteRulesResponse(rsp *http.Response) (*DeleteV1AlertMuteRulesResponse, error)

ParseDeleteV1AlertMuteRulesResponse parses an HTTP response from a DeleteV1AlertMuteRulesWithResponse call

func (DeleteV1AlertMuteRulesResponse) ContentType added in v1.0.0

func (r DeleteV1AlertMuteRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV1AlertMuteRulesResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (DeleteV1AlertMuteRulesResponse) StatusCode added in v1.0.0

func (r DeleteV1AlertMuteRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV1NodesJSONRequestBody

type DeleteV1NodesJSONRequestBody = ModelsDeleteNodesRequest

DeleteV1NodesJSONRequestBody defines body for DeleteV1Nodes for application/json ContentType.

type DeleteV1NodesNodeUuidResponse

type DeleteV1NodesNodeUuidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseDeleteV1NodesNodeUuidResponse

func ParseDeleteV1NodesNodeUuidResponse(rsp *http.Response) (*DeleteV1NodesNodeUuidResponse, error)

ParseDeleteV1NodesNodeUuidResponse parses an HTTP response from a DeleteV1NodesNodeUuidWithResponse call

func (DeleteV1NodesNodeUuidResponse) ContentType

func (r DeleteV1NodesNodeUuidResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV1NodesNodeUuidResponse) Status

Status returns HTTPResponse.Status

func (DeleteV1NodesNodeUuidResponse) StatusCode

func (r DeleteV1NodesNodeUuidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV1NodesResponse

type DeleteV1NodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseDeleteV1NodesResponse

func ParseDeleteV1NodesResponse(rsp *http.Response) (*DeleteV1NodesResponse, error)

ParseDeleteV1NodesResponse parses an HTTP response from a DeleteV1NodesWithResponse call

func (DeleteV1NodesResponse) ContentType

func (r DeleteV1NodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV1NodesResponse) Status

func (r DeleteV1NodesResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteV1NodesResponse) StatusCode

func (r DeleteV1NodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV1NotificationPreferenceByIDResponse added in v1.0.0

type DeleteV1NotificationPreferenceByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseDeleteV1NotificationPreferenceByIDResponse added in v1.0.0

func ParseDeleteV1NotificationPreferenceByIDResponse(rsp *http.Response) (*DeleteV1NotificationPreferenceByIDResponse, error)

ParseDeleteV1NotificationPreferenceByIDResponse parses an HTTP response from a DeleteV1NotificationPreferenceByIDWithResponse call

func (DeleteV1NotificationPreferenceByIDResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV1NotificationPreferenceByIDResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (DeleteV1NotificationPreferenceByIDResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertMuteRulesResponse added in v1.0.0

type GetV1AlertMuteRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsListMuteRulesResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertMuteRulesResponse added in v1.0.0

func ParseGetV1AlertMuteRulesResponse(rsp *http.Response) (*GetV1AlertMuteRulesResponse, error)

ParseGetV1AlertMuteRulesResponse parses an HTTP response from a GetV1AlertMuteRulesWithResponse call

func (GetV1AlertMuteRulesResponse) ContentType added in v1.0.0

func (r GetV1AlertMuteRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertMuteRulesResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1AlertMuteRulesResponse) StatusCode added in v1.0.0

func (r GetV1AlertMuteRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertTimelineFilterOptionsParams added in v1.0.0

type GetV1AlertTimelineFilterOptionsParams struct {
	// Active Active Alerts view when true; Historical Alerts when false (default: false)
	Active *bool `form:"active,omitempty" json:"active,omitempty"`
}

GetV1AlertTimelineFilterOptionsParams defines parameters for GetV1AlertTimelineFilterOptions.

type GetV1AlertTimelineFilterOptionsResponse added in v1.0.0

type GetV1AlertTimelineFilterOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsOptions
	JSON401      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertTimelineFilterOptionsResponse added in v1.0.0

func ParseGetV1AlertTimelineFilterOptionsResponse(rsp *http.Response) (*GetV1AlertTimelineFilterOptionsResponse, error)

ParseGetV1AlertTimelineFilterOptionsResponse parses an HTTP response from a GetV1AlertTimelineFilterOptionsWithResponse call

func (GetV1AlertTimelineFilterOptionsResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertTimelineFilterOptionsResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1AlertTimelineFilterOptionsResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams added in v1.0.0

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams struct {
	// Order Sort direction on event time: 'desc' (default, most recent update first) or 'asc' (chronological, oldest first)
	Order *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Page Page number (0-indexed). Only applied when pageSize is supplied, but always validated: an invalid value returns 400 either way
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Timeline events per page. Omit for the full, unpaginated timeline (default behavior)
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams defines parameters for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid.

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder added in v1.0.0

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder string

GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder defines parameters for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid.

const (
	GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrderAsc  GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder = "asc"
	GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrderDesc GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder = "desc"
)

Defines values for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder.

func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder enum.

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse

type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAlertTimelineDetailResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse

func ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse(rsp *http.Response) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)

ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse parses an HTTP response from a GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse call

func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) Status

Status returns HTTPResponse.Status

func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertTimelineNodesNodeUuidAlertsParams

type GetV1AlertTimelineNodesNodeUuidAlertsParams struct {
	// Active Active Alerts view when true; Historical Alerts when false (default: false)
	Active *bool `form:"active,omitempty" json:"active,omitempty"`

	// WithoutPsirt Exclude PSIRT alerts from results (default: false)
	WithoutPsirt *bool `form:"withoutPsirt,omitempty" json:"withoutPsirt,omitempty"`

	// SortBy Sortable table-header column. component sorts by component name.
	SortBy *GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Order Sort direction for sortBy
	Order *GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// AlertStates Filter to alerts whose state matches (OR within dimension), carried from the Level 1 filter. Resolved applies to the Historical view only (active=false).
	AlertStates *[]GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates `form:"alertStates,omitempty" json:"alertStates,omitempty"`

	// ComponentTypes Filter to alerts on matching component types. Use the value 'psirt' to match all security-vulnerability CVEs (the collapsed 'Security Vulnerability' option).
	ComponentTypes *[]string `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`

	// GpuTypes Node-level filter carried from Level 1: match the node's GPU type (OR within dimension)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

	// NodeGroupIds Node-level filter carried from Level 1: match the node's node group by ID (OR within dimension)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// ComputeZoneIds Node-level filter carried from Level 1: match the node's compute zone by ID (OR within dimension)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Number of alerts per page
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertTimelineNodesNodeUuidAlertsParams defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.

type GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates added in v1.0.0

type GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates string

GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.

const (
	GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesCritical GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Critical"
	GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesResolved GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Resolved"
	GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesWarning  GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Warning"
)

Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates.

func (GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates enum.

type GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder added in v1.0.0

type GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder string

GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.

const (
	GetV1AlertTimelineNodesNodeUuidAlertsParamsOrderAsc  GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder = "asc"
	GetV1AlertTimelineNodesNodeUuidAlertsParamsOrderDesc GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder = "desc"
)

Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder.

func (GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder enum.

type GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy added in v1.0.0

type GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy string

GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.

const (
	GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByComponent  GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "component"
	GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByLastUpdate GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "lastUpdate"
	GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByStartTime  GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "startTime"
)

Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy.

func (GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy enum.

type GetV1AlertTimelineNodesNodeUuidAlertsResponse

type GetV1AlertTimelineNodesNodeUuidAlertsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAlertTimelineNodeAlertsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse

func ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse(rsp *http.Response) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)

ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse parses an HTTP response from a GetV1AlertTimelineNodesNodeUuidAlertsWithResponse call

func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) Status

Status returns HTTPResponse.Status

func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertTimelineNodesParams

type GetV1AlertTimelineNodesParams struct {
	// Active Active Alerts view when true; Historical Alerts when false (default: false)
	Active *bool `form:"active,omitempty" json:"active,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Number of nodes per page
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// Hostname Case-insensitive partial match on hostname
	Hostname *string `form:"hostname,omitempty" json:"hostname,omitempty"`

	// SortBy Sortable table-header column. alert ranks by critical then warning count.
	SortBy *GetV1AlertTimelineNodesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Order Sort direction for sortBy
	Order *GetV1AlertTimelineNodesParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// GpuTypes Filter to nodes with matching GPU types (OR within dimension)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

	// NodeGroupIds Filter to nodes in matching node groups by node group ID (OR within dimension)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// ComputeZoneIds Filter to nodes in matching compute zones by compute zone ID (OR within dimension)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// AlertStates Filter to nodes with at least one alert whose state matches (OR within dimension). Resolved applies to the Historical view only (active=false).
	AlertStates *[]GetV1AlertTimelineNodesParamsAlertStates `form:"alertStates,omitempty" json:"alertStates,omitempty"`

	// ComponentTypes Filter to nodes with alerts on matching component types. Use the value 'psirt' to match all security-vulnerability CVEs (the collapsed 'Security Vulnerability' option).
	ComponentTypes *[]string `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
}

GetV1AlertTimelineNodesParams defines parameters for GetV1AlertTimelineNodes.

type GetV1AlertTimelineNodesParamsAlertStates added in v1.0.0

type GetV1AlertTimelineNodesParamsAlertStates string

GetV1AlertTimelineNodesParamsAlertStates defines parameters for GetV1AlertTimelineNodes.

const (
	GetV1AlertTimelineNodesParamsAlertStatesCritical GetV1AlertTimelineNodesParamsAlertStates = "Critical"
	GetV1AlertTimelineNodesParamsAlertStatesResolved GetV1AlertTimelineNodesParamsAlertStates = "Resolved"
	GetV1AlertTimelineNodesParamsAlertStatesWarning  GetV1AlertTimelineNodesParamsAlertStates = "Warning"
)

Defines values for GetV1AlertTimelineNodesParamsAlertStates.

func (GetV1AlertTimelineNodesParamsAlertStates) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsAlertStates enum.

type GetV1AlertTimelineNodesParamsOrder added in v1.0.0

type GetV1AlertTimelineNodesParamsOrder string

GetV1AlertTimelineNodesParamsOrder defines parameters for GetV1AlertTimelineNodes.

const (
	GetV1AlertTimelineNodesParamsOrderAsc  GetV1AlertTimelineNodesParamsOrder = "asc"
	GetV1AlertTimelineNodesParamsOrderDesc GetV1AlertTimelineNodesParamsOrder = "desc"
)

Defines values for GetV1AlertTimelineNodesParamsOrder.

func (GetV1AlertTimelineNodesParamsOrder) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsOrder enum.

type GetV1AlertTimelineNodesParamsSortBy added in v1.0.0

type GetV1AlertTimelineNodesParamsSortBy string

GetV1AlertTimelineNodesParamsSortBy defines parameters for GetV1AlertTimelineNodes.

const (
	GetV1AlertTimelineNodesParamsSortByAlert       GetV1AlertTimelineNodesParamsSortBy = "alert"
	GetV1AlertTimelineNodesParamsSortByComputeZone GetV1AlertTimelineNodesParamsSortBy = "computeZone"
	GetV1AlertTimelineNodesParamsSortByGpuType     GetV1AlertTimelineNodesParamsSortBy = "gpuType"
	GetV1AlertTimelineNodesParamsSortByHostname    GetV1AlertTimelineNodesParamsSortBy = "hostname"
	GetV1AlertTimelineNodesParamsSortByLastUpdate  GetV1AlertTimelineNodesParamsSortBy = "lastUpdate"
	GetV1AlertTimelineNodesParamsSortByNodeGroup   GetV1AlertTimelineNodesParamsSortBy = "nodeGroup"
)

Defines values for GetV1AlertTimelineNodesParamsSortBy.

func (GetV1AlertTimelineNodesParamsSortBy) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsSortBy enum.

type GetV1AlertTimelineNodesResponse

type GetV1AlertTimelineNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAlertTimelineNodesResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertTimelineNodesResponse

func ParseGetV1AlertTimelineNodesResponse(rsp *http.Response) (*GetV1AlertTimelineNodesResponse, error)

ParseGetV1AlertTimelineNodesResponse parses an HTTP response from a GetV1AlertTimelineNodesWithResponse call

func (GetV1AlertTimelineNodesResponse) ContentType

func (r GetV1AlertTimelineNodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertTimelineNodesResponse) Status

Status returns HTTPResponse.Status

func (GetV1AlertTimelineNodesResponse) StatusCode

func (r GetV1AlertTimelineNodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertsNodeUuidParams

type GetV1AlertsNodeUuidParams struct {
	// Component Filter by component name
	Component *string `form:"component,omitempty" json:"component,omitempty"`

	// State Filter by alert state (Detected, Triggered, Resolved)
	State *string `form:"state,omitempty" json:"state,omitempty"`

	// Severity Filter by alert severity (Critical, Warning)
	Severity *string `form:"severity,omitempty" json:"severity,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertsNodeUuidParams defines parameters for GetV1AlertsNodeUuid.

type GetV1AlertsNodeUuidResponse

type GetV1AlertsNodeUuidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeAlertResponse
	JSON400      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertsNodeUuidResponse

func ParseGetV1AlertsNodeUuidResponse(rsp *http.Response) (*GetV1AlertsNodeUuidResponse, error)

ParseGetV1AlertsNodeUuidResponse parses an HTTP response from a GetV1AlertsNodeUuidWithResponse call

func (GetV1AlertsNodeUuidResponse) ContentType

func (r GetV1AlertsNodeUuidResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertsNodeUuidResponse) Status

Status returns HTTPResponse.Status

func (GetV1AlertsNodeUuidResponse) StatusCode

func (r GetV1AlertsNodeUuidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1AlertsParams

type GetV1AlertsParams struct {
	// NodeUUID Filter by node UUID
	NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`

	// Component Filter by component name
	Component *string `form:"component,omitempty" json:"component,omitempty"`

	// State Filter by alert state (Detected, Triggered, Resolved)
	State *string `form:"state,omitempty" json:"state,omitempty"`

	// Severity Filter by alert severity (Critical, Warning)
	Severity *string `form:"severity,omitempty" json:"severity,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertsParams defines parameters for GetV1Alerts.

type GetV1AlertsResponse

type GetV1AlertsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAlertResponse
	JSON400      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1AlertsResponse

func ParseGetV1AlertsResponse(rsp *http.Response) (*GetV1AlertsResponse, error)

ParseGetV1AlertsResponse parses an HTTP response from a GetV1AlertsWithResponse call

func (GetV1AlertsResponse) ContentType

func (r GetV1AlertsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AlertsResponse) Status

func (r GetV1AlertsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1AlertsResponse) StatusCode

func (r GetV1AlertsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1AuthStatusResponse added in v1.0.0

type GetV1AuthStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAuthStatusResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
}

func ParseGetV1AuthStatusResponse added in v1.0.0

func ParseGetV1AuthStatusResponse(rsp *http.Response) (*GetV1AuthStatusResponse, error)

ParseGetV1AuthStatusResponse parses an HTTP response from a GetV1AuthStatusWithResponse call

func (GetV1AuthStatusResponse) ContentType added in v1.0.0

func (r GetV1AuthStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AuthStatusResponse) Status added in v1.0.0

func (r GetV1AuthStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1AuthStatusResponse) StatusCode added in v1.0.0

func (r GetV1AuthStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1Computezones200JSONResponseBody

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

GetV1Computezones200JSONResponseBody defines parameters for GetV1Computezones.

func (GetV1Computezones200JSONResponseBody) AsModelsComputeZonesResponse

func (t GetV1Computezones200JSONResponseBody) AsModelsComputeZonesResponse() (ModelsComputeZonesResponse, error)

AsModelsComputeZonesResponse returns the union data inside the GetV1Computezones200JSONResponseBody as a ModelsComputeZonesResponse

func (GetV1Computezones200JSONResponseBody) AsModelsListComputeZonesResponse

func (t GetV1Computezones200JSONResponseBody) AsModelsListComputeZonesResponse() (ModelsListComputeZonesResponse, error)

AsModelsListComputeZonesResponse returns the union data inside the GetV1Computezones200JSONResponseBody as a ModelsListComputeZonesResponse

func (*GetV1Computezones200JSONResponseBody) FromModelsComputeZonesResponse

func (t *GetV1Computezones200JSONResponseBody) FromModelsComputeZonesResponse(v ModelsComputeZonesResponse) error

FromModelsComputeZonesResponse overwrites any union data inside the GetV1Computezones200JSONResponseBody as the provided ModelsComputeZonesResponse

func (*GetV1Computezones200JSONResponseBody) FromModelsListComputeZonesResponse

func (t *GetV1Computezones200JSONResponseBody) FromModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error

FromModelsListComputeZonesResponse overwrites any union data inside the GetV1Computezones200JSONResponseBody as the provided ModelsListComputeZonesResponse

func (GetV1Computezones200JSONResponseBody) MarshalJSON

func (t GetV1Computezones200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetV1Computezones200JSONResponseBody) MergeModelsComputeZonesResponse

func (t *GetV1Computezones200JSONResponseBody) MergeModelsComputeZonesResponse(v ModelsComputeZonesResponse) error

MergeModelsComputeZonesResponse performs a merge with any union data inside the GetV1Computezones200JSONResponseBody, using the provided ModelsComputeZonesResponse

func (*GetV1Computezones200JSONResponseBody) MergeModelsListComputeZonesResponse

func (t *GetV1Computezones200JSONResponseBody) MergeModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error

MergeModelsListComputeZonesResponse performs a merge with any union data inside the GetV1Computezones200JSONResponseBody, using the provided ModelsListComputeZonesResponse

func (*GetV1Computezones200JSONResponseBody) UnmarshalJSON

func (t *GetV1Computezones200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetV1ComputezonesParams

type GetV1ComputezonesParams struct {
	// View View mode: 'detail' for comprehensive metrics (default) or 'basic' for essential fields
	View *GetV1ComputezonesParamsView `form:"view,omitempty" json:"view,omitempty"`

	// IncludeMetrics [DETAIL VIEW ONLY] Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
	IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`

	// ComputeZoneIds List of compute zone IDs to filter (comma-separated)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1ComputezonesParams defines parameters for GetV1Computezones.

type GetV1ComputezonesParamsView

type GetV1ComputezonesParamsView string

GetV1ComputezonesParamsView defines parameters for GetV1Computezones.

const (
	GetV1ComputezonesParamsViewBasic  GetV1ComputezonesParamsView = "basic"
	GetV1ComputezonesParamsViewDetail GetV1ComputezonesParamsView = "detail"
)

Defines values for GetV1ComputezonesParamsView.

func (GetV1ComputezonesParamsView) Valid

Valid indicates whether the value is a known member of the GetV1ComputezonesParamsView enum.

type GetV1ComputezonesResponse

type GetV1ComputezonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetV1Computezones200JSONResponseBody
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1ComputezonesResponse

func ParseGetV1ComputezonesResponse(rsp *http.Response) (*GetV1ComputezonesResponse, error)

ParseGetV1ComputezonesResponse parses an HTTP response from a GetV1ComputezonesWithResponse call

func (GetV1ComputezonesResponse) ContentType

func (r GetV1ComputezonesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1ComputezonesResponse) Status

func (r GetV1ComputezonesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1ComputezonesResponse) StatusCode

func (r GetV1ComputezonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1EventsBucketsParams added in v1.0.0

type GetV1EventsBucketsParams struct {
	// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode for range selection. Defaults to absolute.
	TimeMode *GetV1EventsBucketsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// NodeUUID Filter by node UUID (optional)
	NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`

	// Component Filter by component (optional)
	Component *string `form:"component,omitempty" json:"component,omitempty"`

	// MaxBuckets Maximum number of buckets (default: 100, max: 1000)
	MaxBuckets *int `form:"maxBuckets,omitempty" json:"maxBuckets,omitempty"`
}

GetV1EventsBucketsParams defines parameters for GetV1EventsBuckets.

type GetV1EventsBucketsParamsTimeMode added in v1.0.0

type GetV1EventsBucketsParamsTimeMode string

GetV1EventsBucketsParamsTimeMode defines parameters for GetV1EventsBuckets.

const (
	GetV1EventsBucketsParamsTimeModeAbsolute GetV1EventsBucketsParamsTimeMode = "absolute"
	GetV1EventsBucketsParamsTimeModeRelative GetV1EventsBucketsParamsTimeMode = "relative"
)

Defines values for GetV1EventsBucketsParamsTimeMode.

func (GetV1EventsBucketsParamsTimeMode) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1EventsBucketsParamsTimeMode enum.

type GetV1EventsBucketsResponse added in v1.0.0

type GetV1EventsBucketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsEventBucketsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1EventsBucketsResponse added in v1.0.0

func ParseGetV1EventsBucketsResponse(rsp *http.Response) (*GetV1EventsBucketsResponse, error)

ParseGetV1EventsBucketsResponse parses an HTTP response from a GetV1EventsBucketsWithResponse call

func (GetV1EventsBucketsResponse) ContentType added in v1.0.0

func (r GetV1EventsBucketsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1EventsBucketsResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1EventsBucketsResponse) StatusCode added in v1.0.0

func (r GetV1EventsBucketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1EventsParams added in v1.0.0

type GetV1EventsParams struct {
	// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode for range selection. Defaults to absolute.
	TimeMode *GetV1EventsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// NodeUUID Filter by node UUID (optional)
	NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`

	// Component Filter by component (optional)
	Component *string `form:"component,omitempty" json:"component,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1EventsParams defines parameters for GetV1Events.

type GetV1EventsParamsTimeMode added in v1.0.0

type GetV1EventsParamsTimeMode string

GetV1EventsParamsTimeMode defines parameters for GetV1Events.

const (
	GetV1EventsParamsTimeModeAbsolute GetV1EventsParamsTimeMode = "absolute"
	GetV1EventsParamsTimeModeRelative GetV1EventsParamsTimeMode = "relative"
)

Defines values for GetV1EventsParamsTimeMode.

func (GetV1EventsParamsTimeMode) Valid added in v1.0.0

func (e GetV1EventsParamsTimeMode) Valid() bool

Valid indicates whether the value is a known member of the GetV1EventsParamsTimeMode enum.

type GetV1EventsResponse added in v1.0.0

type GetV1EventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsEventsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1EventsResponse added in v1.0.0

func ParseGetV1EventsResponse(rsp *http.Response) (*GetV1EventsResponse, error)

ParseGetV1EventsResponse parses an HTTP response from a GetV1EventsWithResponse call

func (GetV1EventsResponse) ContentType added in v1.0.0

func (r GetV1EventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1EventsResponse) Status added in v1.0.0

func (r GetV1EventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1EventsResponse) StatusCode added in v1.0.0

func (r GetV1EventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1InfoResponse added in v1.0.0

type GetV1InfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsInfoResponse
	JSON400      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1InfoResponse added in v1.0.0

func ParseGetV1InfoResponse(rsp *http.Response) (*GetV1InfoResponse, error)

ParseGetV1InfoResponse parses an HTTP response from a GetV1InfoWithResponse call

func (GetV1InfoResponse) ContentType added in v1.0.0

func (r GetV1InfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1InfoResponse) Status added in v1.0.0

func (r GetV1InfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1InfoResponse) StatusCode added in v1.0.0

func (r GetV1InfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MetricsParams added in v1.0.0

type GetV1MetricsParams struct {
	// IsCritical If 'true', only critical metrics are returned. If absent or 'false', all metrics are returned.
	IsCritical *string `form:"isCritical,omitempty" json:"isCritical,omitempty"`

	// Aggregatable If 'true', metrics that cannot be aggregated across nodes are excluded. If absent or 'false', all metrics are returned.
	Aggregatable *string `form:"aggregatable,omitempty" json:"aggregatable,omitempty"`

	// Type If set, only metrics matching this type are returned (e.g., 'utilization', 'limit'). If absent, all metrics are returned.
	Type *string `form:"type,omitempty" json:"type,omitempty"`

	// PsirtComponent Include active PSIRT CVE sub-components (default: false)
	PsirtComponent *bool `form:"psirtComponent,omitempty" json:"psirtComponent,omitempty"`

	// EntityLevel Optional entity scope for architecture-aware filtering. Currently only 'node' is supported.
	EntityLevel *GetV1MetricsParamsEntityLevel `form:"entityLevel,omitempty" json:"entityLevel,omitempty"`

	// EntityID Entity ID for architecture-aware filtering. Required when entityLevel is set.
	EntityID *string `form:"entityID,omitempty" json:"entityID,omitempty"`
}

GetV1MetricsParams defines parameters for GetV1Metrics.

type GetV1MetricsParamsEntityLevel added in v1.0.0

type GetV1MetricsParamsEntityLevel string

GetV1MetricsParamsEntityLevel defines parameters for GetV1Metrics.

const (
	GetV1MetricsParamsEntityLevelNode GetV1MetricsParamsEntityLevel = "node"
)

Defines values for GetV1MetricsParamsEntityLevel.

func (GetV1MetricsParamsEntityLevel) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1MetricsParamsEntityLevel enum.

type GetV1MetricsQueryRangeParams added in v1.0.0

type GetV1MetricsQueryRangeParams struct {
	// Start Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
	Start *string `form:"start,omitempty" json:"start,omitempty"`

	// End End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
	End *string `form:"end,omitempty" json:"end,omitempty"`

	// TimeMode Time mode for range selection. Defaults to absolute.
	TimeMode *GetV1MetricsQueryRangeParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// Step Query resolution step width in duration format (e.g. 1h, 1m). Minimum step width is 1 minute.
	Step string `form:"step" json:"step"`

	// Component Component name (e.g., accelerator-nvidia-clock-speed)
	Component string `form:"component" json:"component"`

	// Metric Name of the metric to query (e.g., accelerator_nvidia_clock_speed_graphics_mhz)
	Metric string `form:"metric" json:"metric"`

	// EntityLevel The level of the entity to query for. In the future we intend to support aggregation across tags, node groups, and compute zones
	EntityLevel GetV1MetricsQueryRangeParamsEntityLevel `form:"entityLevel" json:"entityLevel"`

	// EntityID The ID of the compute zone, node group, or node
	EntityID string `form:"entityID" json:"entityID"`
}

GetV1MetricsQueryRangeParams defines parameters for GetV1MetricsQueryRange.

type GetV1MetricsQueryRangeParamsEntityLevel added in v1.0.0

type GetV1MetricsQueryRangeParamsEntityLevel string

GetV1MetricsQueryRangeParamsEntityLevel defines parameters for GetV1MetricsQueryRange.

const (
	GetV1MetricsQueryRangeParamsEntityLevelNode GetV1MetricsQueryRangeParamsEntityLevel = "node"
)

Defines values for GetV1MetricsQueryRangeParamsEntityLevel.

func (GetV1MetricsQueryRangeParamsEntityLevel) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1MetricsQueryRangeParamsEntityLevel enum.

type GetV1MetricsQueryRangeParamsTimeMode added in v1.0.0

type GetV1MetricsQueryRangeParamsTimeMode string

GetV1MetricsQueryRangeParamsTimeMode defines parameters for GetV1MetricsQueryRange.

const (
	GetV1MetricsQueryRangeParamsTimeModeAbsolute GetV1MetricsQueryRangeParamsTimeMode = "absolute"
	GetV1MetricsQueryRangeParamsTimeModeRelative GetV1MetricsQueryRangeParamsTimeMode = "relative"
)

Defines values for GetV1MetricsQueryRangeParamsTimeMode.

func (GetV1MetricsQueryRangeParamsTimeMode) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1MetricsQueryRangeParamsTimeMode enum.

type GetV1MetricsQueryRangeResponse added in v1.0.0

type GetV1MetricsQueryRangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsQueryMetricRangeResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1MetricsQueryRangeResponse added in v1.0.0

func ParseGetV1MetricsQueryRangeResponse(rsp *http.Response) (*GetV1MetricsQueryRangeResponse, error)

ParseGetV1MetricsQueryRangeResponse parses an HTTP response from a GetV1MetricsQueryRangeWithResponse call

func (GetV1MetricsQueryRangeResponse) ContentType added in v1.0.0

func (r GetV1MetricsQueryRangeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1MetricsQueryRangeResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1MetricsQueryRangeResponse) StatusCode added in v1.0.0

func (r GetV1MetricsQueryRangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MetricsResponse added in v1.0.0

type GetV1MetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsGetMetricsResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1MetricsResponse added in v1.0.0

func ParseGetV1MetricsResponse(rsp *http.Response) (*GetV1MetricsResponse, error)

ParseGetV1MetricsResponse parses an HTTP response from a GetV1MetricsWithResponse call

func (GetV1MetricsResponse) ContentType added in v1.0.0

func (r GetV1MetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1MetricsResponse) Status added in v1.0.0

func (r GetV1MetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MetricsResponse) StatusCode added in v1.0.0

func (r GetV1MetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodeGroupMembershipsParams added in v1.0.0

type GetV1NodeGroupMembershipsParams struct {
	// NodeGroupId Node group ID to filter memberships
	NodeGroupId *string `form:"nodeGroupId,omitempty" json:"nodeGroupId,omitempty"`

	// NodeUUID Node UUID to filter memberships
	NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1NodeGroupMembershipsParams defines parameters for GetV1NodeGroupMemberships.

type GetV1NodeGroupMembershipsResponse added in v1.0.0

type GetV1NodeGroupMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeGroupMembershipsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodeGroupMembershipsResponse added in v1.0.0

func ParseGetV1NodeGroupMembershipsResponse(rsp *http.Response) (*GetV1NodeGroupMembershipsResponse, error)

ParseGetV1NodeGroupMembershipsResponse parses an HTTP response from a GetV1NodeGroupMembershipsWithResponse call

func (GetV1NodeGroupMembershipsResponse) ContentType added in v1.0.0

func (r GetV1NodeGroupMembershipsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodeGroupMembershipsResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1NodeGroupMembershipsResponse) StatusCode added in v1.0.0

func (r GetV1NodeGroupMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodeRemovalPolicyResponse added in v1.0.0

type GetV1NodeRemovalPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeRemovalPolicy
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodeRemovalPolicyResponse added in v1.0.0

func ParseGetV1NodeRemovalPolicyResponse(rsp *http.Response) (*GetV1NodeRemovalPolicyResponse, error)

ParseGetV1NodeRemovalPolicyResponse parses an HTTP response from a GetV1NodeRemovalPolicyWithResponse call

func (GetV1NodeRemovalPolicyResponse) ContentType added in v1.0.0

func (r GetV1NodeRemovalPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodeRemovalPolicyResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1NodeRemovalPolicyResponse) StatusCode added in v1.0.0

func (r GetV1NodeRemovalPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1Nodegroups200JSONResponseBody

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

GetV1Nodegroups200JSONResponseBody defines parameters for GetV1Nodegroups.

func (GetV1Nodegroups200JSONResponseBody) AsModelsListNodeGroupsResponse

func (t GetV1Nodegroups200JSONResponseBody) AsModelsListNodeGroupsResponse() (ModelsListNodeGroupsResponse, error)

AsModelsListNodeGroupsResponse returns the union data inside the GetV1Nodegroups200JSONResponseBody as a ModelsListNodeGroupsResponse

func (GetV1Nodegroups200JSONResponseBody) AsModelsNodeGroupsResponse

func (t GetV1Nodegroups200JSONResponseBody) AsModelsNodeGroupsResponse() (ModelsNodeGroupsResponse, error)

AsModelsNodeGroupsResponse returns the union data inside the GetV1Nodegroups200JSONResponseBody as a ModelsNodeGroupsResponse

func (*GetV1Nodegroups200JSONResponseBody) FromModelsListNodeGroupsResponse

func (t *GetV1Nodegroups200JSONResponseBody) FromModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error

FromModelsListNodeGroupsResponse overwrites any union data inside the GetV1Nodegroups200JSONResponseBody as the provided ModelsListNodeGroupsResponse

func (*GetV1Nodegroups200JSONResponseBody) FromModelsNodeGroupsResponse

func (t *GetV1Nodegroups200JSONResponseBody) FromModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error

FromModelsNodeGroupsResponse overwrites any union data inside the GetV1Nodegroups200JSONResponseBody as the provided ModelsNodeGroupsResponse

func (GetV1Nodegroups200JSONResponseBody) MarshalJSON

func (t GetV1Nodegroups200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetV1Nodegroups200JSONResponseBody) MergeModelsListNodeGroupsResponse

func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error

MergeModelsListNodeGroupsResponse performs a merge with any union data inside the GetV1Nodegroups200JSONResponseBody, using the provided ModelsListNodeGroupsResponse

func (*GetV1Nodegroups200JSONResponseBody) MergeModelsNodeGroupsResponse

func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error

MergeModelsNodeGroupsResponse performs a merge with any union data inside the GetV1Nodegroups200JSONResponseBody, using the provided ModelsNodeGroupsResponse

func (*GetV1Nodegroups200JSONResponseBody) UnmarshalJSON

func (t *GetV1Nodegroups200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetV1NodegroupsOptionsResponse

type GetV1NodegroupsOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsOptions
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1NodegroupsOptionsResponse

func ParseGetV1NodegroupsOptionsResponse(rsp *http.Response) (*GetV1NodegroupsOptionsResponse, error)

ParseGetV1NodegroupsOptionsResponse parses an HTTP response from a GetV1NodegroupsOptionsWithResponse call

func (GetV1NodegroupsOptionsResponse) ContentType

func (r GetV1NodegroupsOptionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodegroupsOptionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1NodegroupsOptionsResponse) StatusCode

func (r GetV1NodegroupsOptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodegroupsParams

type GetV1NodegroupsParams struct {
	// View View mode: 'detail' for comprehensive metrics (default) or 'basic' for minimal list
	View *GetV1NodegroupsParamsView `form:"view,omitempty" json:"view,omitempty"`

	// IncludeMetrics [DETAIL VIEW ONLY] Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
	IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`

	// ComputeZoneIds Filter by compute zone IDs (e.g., ?computeZoneIds=id1&computeZoneIds=id2)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// ComputeZoneNames [DETAIL VIEW ONLY] Filter by compute zone names with partial match (e.g., ?computeZoneNames=east&computeZoneNames=west)
	ComputeZoneNames *[]string `form:"computeZoneNames,omitempty" json:"computeZoneNames,omitempty"`

	// ComputeZoneId [LEGACY] Single compute zone ID to filter node groups - use computeZoneIds instead
	ComputeZoneId *string `form:"computeZoneId,omitempty" json:"computeZoneId,omitempty"`

	// NodeGroupIds List of node group IDs to filter (e.g., ?nodeGroupIds=id1&nodeGroupIds=id2)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// HealthStatuses [DETAIL VIEW ONLY] Filter by node health status values (e.g., ?healthStatuses=Healthy&healthStatuses=Degraded)
	HealthStatuses *[]GetV1NodegroupsParamsHealthStatuses `form:"healthStatuses,omitempty" json:"healthStatuses,omitempty"`

	// GpuTypes [DETAIL VIEW ONLY] Filter by GPU type values (e.g., ?gpuTypes=NVIDIA-H100-80GB-HBM3)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

	// SortBy Field to sort by (health, nodes)
	SortBy *GetV1NodegroupsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Order Sort order (asc, desc)
	Order *GetV1NodegroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1NodegroupsParams defines parameters for GetV1Nodegroups.

type GetV1NodegroupsParamsHealthStatuses

type GetV1NodegroupsParamsHealthStatuses string

GetV1NodegroupsParamsHealthStatuses defines parameters for GetV1Nodegroups.

const (
	GetV1NodegroupsParamsHealthStatusesDegraded  GetV1NodegroupsParamsHealthStatuses = "Degraded"
	GetV1NodegroupsParamsHealthStatusesHealthy   GetV1NodegroupsParamsHealthStatuses = "Healthy"
	GetV1NodegroupsParamsHealthStatusesUnhealthy GetV1NodegroupsParamsHealthStatuses = "Unhealthy"
	GetV1NodegroupsParamsHealthStatusesUnknown   GetV1NodegroupsParamsHealthStatuses = "Unknown"
)

Defines values for GetV1NodegroupsParamsHealthStatuses.

func (GetV1NodegroupsParamsHealthStatuses) Valid

Valid indicates whether the value is a known member of the GetV1NodegroupsParamsHealthStatuses enum.

type GetV1NodegroupsParamsOrder

type GetV1NodegroupsParamsOrder string

GetV1NodegroupsParamsOrder defines parameters for GetV1Nodegroups.

const (
	GetV1NodegroupsParamsOrderAsc  GetV1NodegroupsParamsOrder = "asc"
	GetV1NodegroupsParamsOrderDesc GetV1NodegroupsParamsOrder = "desc"
)

Defines values for GetV1NodegroupsParamsOrder.

func (GetV1NodegroupsParamsOrder) Valid

func (e GetV1NodegroupsParamsOrder) Valid() bool

Valid indicates whether the value is a known member of the GetV1NodegroupsParamsOrder enum.

type GetV1NodegroupsParamsSortBy

type GetV1NodegroupsParamsSortBy string

GetV1NodegroupsParamsSortBy defines parameters for GetV1Nodegroups.

const (
	Health GetV1NodegroupsParamsSortBy = "health"
	Nodes  GetV1NodegroupsParamsSortBy = "nodes"
)

Defines values for GetV1NodegroupsParamsSortBy.

func (GetV1NodegroupsParamsSortBy) Valid

Valid indicates whether the value is a known member of the GetV1NodegroupsParamsSortBy enum.

type GetV1NodegroupsParamsView

type GetV1NodegroupsParamsView string

GetV1NodegroupsParamsView defines parameters for GetV1Nodegroups.

const (
	GetV1NodegroupsParamsViewBasic  GetV1NodegroupsParamsView = "basic"
	GetV1NodegroupsParamsViewDetail GetV1NodegroupsParamsView = "detail"
)

Defines values for GetV1NodegroupsParamsView.

func (GetV1NodegroupsParamsView) Valid

func (e GetV1NodegroupsParamsView) Valid() bool

Valid indicates whether the value is a known member of the GetV1NodegroupsParamsView enum.

type GetV1NodegroupsResponse

type GetV1NodegroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetV1Nodegroups200JSONResponseBody
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodegroupsResponse

func ParseGetV1NodegroupsResponse(rsp *http.Response) (*GetV1NodegroupsResponse, error)

ParseGetV1NodegroupsResponse parses an HTTP response from a GetV1NodegroupsWithResponse call

func (GetV1NodegroupsResponse) ContentType

func (r GetV1NodegroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodegroupsResponse) Status

func (r GetV1NodegroupsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1NodegroupsResponse) StatusCode

func (r GetV1NodegroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1Nodes200JSONResponseBody

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

GetV1Nodes200JSONResponseBody defines parameters for GetV1Nodes.

func (GetV1Nodes200JSONResponseBody) AsModelsBasicNodesResponse

func (t GetV1Nodes200JSONResponseBody) AsModelsBasicNodesResponse() (ModelsBasicNodesResponse, error)

AsModelsBasicNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsBasicNodesResponse

func (GetV1Nodes200JSONResponseBody) AsModelsNodesResponse

func (t GetV1Nodes200JSONResponseBody) AsModelsNodesResponse() (ModelsNodesResponse, error)

AsModelsNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsNodesResponse

func (*GetV1Nodes200JSONResponseBody) FromModelsBasicNodesResponse

func (t *GetV1Nodes200JSONResponseBody) FromModelsBasicNodesResponse(v ModelsBasicNodesResponse) error

FromModelsBasicNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsBasicNodesResponse

func (*GetV1Nodes200JSONResponseBody) FromModelsNodesResponse

func (t *GetV1Nodes200JSONResponseBody) FromModelsNodesResponse(v ModelsNodesResponse) error

FromModelsNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsNodesResponse

func (GetV1Nodes200JSONResponseBody) MarshalJSON

func (t GetV1Nodes200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetV1Nodes200JSONResponseBody) MergeModelsBasicNodesResponse

func (t *GetV1Nodes200JSONResponseBody) MergeModelsBasicNodesResponse(v ModelsBasicNodesResponse) error

MergeModelsBasicNodesResponse performs a merge with any union data inside the GetV1Nodes200JSONResponseBody, using the provided ModelsBasicNodesResponse

func (*GetV1Nodes200JSONResponseBody) MergeModelsNodesResponse

func (t *GetV1Nodes200JSONResponseBody) MergeModelsNodesResponse(v ModelsNodesResponse) error

MergeModelsNodesResponse performs a merge with any union data inside the GetV1Nodes200JSONResponseBody, using the provided ModelsNodesResponse

func (*GetV1Nodes200JSONResponseBody) UnmarshalJSON

func (t *GetV1Nodes200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetV1NodesHistoryParams added in v1.0.0

type GetV1NodesHistoryParams struct {
	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// ActorType Filter by removal actor
	ActorType *GetV1NodesHistoryParamsActorType `form:"actorType,omitempty" json:"actorType,omitempty"`
}

GetV1NodesHistoryParams defines parameters for GetV1NodesHistory.

type GetV1NodesHistoryParamsActorType added in v1.0.0

type GetV1NodesHistoryParamsActorType string

GetV1NodesHistoryParamsActorType defines parameters for GetV1NodesHistory.

Defines values for GetV1NodesHistoryParamsActorType.

func (GetV1NodesHistoryParamsActorType) Valid added in v1.0.0

Valid indicates whether the value is a known member of the GetV1NodesHistoryParamsActorType enum.

type GetV1NodesHistoryResponse added in v1.0.0

type GetV1NodesHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeHistoryResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodesHistoryResponse added in v1.0.0

func ParseGetV1NodesHistoryResponse(rsp *http.Response) (*GetV1NodesHistoryResponse, error)

ParseGetV1NodesHistoryResponse parses an HTTP response from a GetV1NodesHistoryWithResponse call

func (GetV1NodesHistoryResponse) ContentType added in v1.0.0

func (r GetV1NodesHistoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodesHistoryResponse) Status added in v1.0.0

func (r GetV1NodesHistoryResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1NodesHistoryResponse) StatusCode added in v1.0.0

func (r GetV1NodesHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodesNodeUuidHealthHistoryParams

type GetV1NodesNodeUuidHealthHistoryParams struct {
	// StartTime Start time in RFC3339 format (e.g., 2026-04-07T00:00:00Z)
	StartTime string `form:"startTime" json:"startTime"`

	// EndTime End time in RFC3339 format (e.g., 2026-04-14T00:00:00Z)
	EndTime string `form:"endTime" json:"endTime"`
}

GetV1NodesNodeUuidHealthHistoryParams defines parameters for GetV1NodesNodeUuidHealthHistory.

type GetV1NodesNodeUuidHealthHistoryResponse

type GetV1NodesNodeUuidHealthHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeHealthHistoryResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1NodesNodeUuidHealthHistoryResponse

func ParseGetV1NodesNodeUuidHealthHistoryResponse(rsp *http.Response) (*GetV1NodesNodeUuidHealthHistoryResponse, error)

ParseGetV1NodesNodeUuidHealthHistoryResponse parses an HTTP response from a GetV1NodesNodeUuidHealthHistoryWithResponse call

func (GetV1NodesNodeUuidHealthHistoryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodesNodeUuidHealthHistoryResponse) Status

Status returns HTTPResponse.Status

func (GetV1NodesNodeUuidHealthHistoryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1NodesNodeUuidResponse

type GetV1NodesNodeUuidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNodeDetailsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodesNodeUuidResponse

func ParseGetV1NodesNodeUuidResponse(rsp *http.Response) (*GetV1NodesNodeUuidResponse, error)

ParseGetV1NodesNodeUuidResponse parses an HTTP response from a GetV1NodesNodeUuidWithResponse call

func (GetV1NodesNodeUuidResponse) ContentType

func (r GetV1NodesNodeUuidResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodesNodeUuidResponse) Status

Status returns HTTPResponse.Status

func (GetV1NodesNodeUuidResponse) StatusCode

func (r GetV1NodesNodeUuidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodesOptionsResponse

type GetV1NodesOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsOptions
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1NodesOptionsResponse

func ParseGetV1NodesOptionsResponse(rsp *http.Response) (*GetV1NodesOptionsResponse, error)

ParseGetV1NodesOptionsResponse parses an HTTP response from a GetV1NodesOptionsWithResponse call

func (GetV1NodesOptionsResponse) ContentType

func (r GetV1NodesOptionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodesOptionsResponse) Status

func (r GetV1NodesOptionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1NodesOptionsResponse) StatusCode

func (r GetV1NodesOptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NodesParams

type GetV1NodesParams struct {
	// View View mode: 'detail' for full response (default) or 'basic' for nodeUUID + hostname only (lightweight query, does not support filtering or sorting by healthStatuses, integrityChecks, firmwareChecks, or agentStatuses).
	View *GetV1NodesParamsView `form:"view,omitempty" json:"view,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// NodeUUIDs Filter by specific node UUIDs. Empty means all nodes
	NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`

	// HealthStatuses Filter by health status values
	HealthStatuses *[]GetV1NodesParamsHealthStatuses `form:"healthStatuses,omitempty" json:"healthStatuses,omitempty"`

	// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// ComputeZoneNames Filter by computezone names (partial match). Empty means all computezones
	ComputeZoneNames *[]string `form:"computeZoneNames,omitempty" json:"computeZoneNames,omitempty"`

	// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// NodeGroupNames Filter by nodegroup names (partial match). Empty means all nodegroups
	NodeGroupNames *[]string `form:"nodeGroupNames,omitempty" json:"nodeGroupNames,omitempty"`

	// GpuTypes Filter by GPU type values. Empty means all GPU types
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

	// GpuCounts Filter by GPU count values. Empty means all GPU counts
	GpuCounts *[]int `form:"gpuCounts,omitempty" json:"gpuCounts,omitempty"`

	// PublicIPs Filter by public IP addresses. Empty means all public IPs
	PublicIPs *[]string `form:"publicIPs,omitempty" json:"publicIPs,omitempty"`

	// PrivateIPs Filter by private IP addresses. Empty means all private IPs
	PrivateIPs *[]string `form:"privateIPs,omitempty" json:"privateIPs,omitempty"`

	// IntegrityChecks Filter by integrity check status
	IntegrityChecks *[]GetV1NodesParamsIntegrityChecks `form:"integrityChecks,omitempty" json:"integrityChecks,omitempty"`

	// FirmwareChecks Filter by firmware check status
	FirmwareChecks *[]GetV1NodesParamsFirmwareChecks `form:"firmwareChecks,omitempty" json:"firmwareChecks,omitempty"`

	// AgentStatuses Filter by agent status values
	AgentStatuses *[]GetV1NodesParamsAgentStatuses `form:"agentStatuses,omitempty" json:"agentStatuses,omitempty"`

	// Hostname Filter by hostname (case-insensitive partial match)
	Hostname *string `form:"hostname,omitempty" json:"hostname,omitempty"`

	// SortBy Field to sort by. gpuFirmwareVersions pins nodes whose GPUs have mismatched vbios versions to the top, then sorts the remaining (uniform) nodes by that common vbios in the requested order.
	SortBy *GetV1NodesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Order Sort order (asc, desc)
	Order *GetV1NodesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetV1NodesParams defines parameters for GetV1Nodes.

type GetV1NodesParamsAgentStatuses

type GetV1NodesParamsAgentStatuses string

GetV1NodesParamsAgentStatuses defines parameters for GetV1Nodes.

const (
	Offline GetV1NodesParamsAgentStatuses = "Offline"
	Online  GetV1NodesParamsAgentStatuses = "Online"
	Unknown GetV1NodesParamsAgentStatuses = "Unknown"
)

Defines values for GetV1NodesParamsAgentStatuses.

func (GetV1NodesParamsAgentStatuses) Valid

Valid indicates whether the value is a known member of the GetV1NodesParamsAgentStatuses enum.

type GetV1NodesParamsFirmwareChecks

type GetV1NodesParamsFirmwareChecks string

GetV1NodesParamsFirmwareChecks defines parameters for GetV1Nodes.

const (
	GetV1NodesParamsFirmwareChecksFailed  GetV1NodesParamsFirmwareChecks = "Failed"
	GetV1NodesParamsFirmwareChecksPassed  GetV1NodesParamsFirmwareChecks = "Passed"
	GetV1NodesParamsFirmwareChecksUnknown GetV1NodesParamsFirmwareChecks = "Unknown"
)

Defines values for GetV1NodesParamsFirmwareChecks.

func (GetV1NodesParamsFirmwareChecks) Valid

Valid indicates whether the value is a known member of the GetV1NodesParamsFirmwareChecks enum.

type GetV1NodesParamsHealthStatuses

type GetV1NodesParamsHealthStatuses string

GetV1NodesParamsHealthStatuses defines parameters for GetV1Nodes.

const (
	GetV1NodesParamsHealthStatusesDegraded  GetV1NodesParamsHealthStatuses = "Degraded"
	GetV1NodesParamsHealthStatusesHealthy   GetV1NodesParamsHealthStatuses = "Healthy"
	GetV1NodesParamsHealthStatusesUnhealthy GetV1NodesParamsHealthStatuses = "Unhealthy"
	GetV1NodesParamsHealthStatusesUnknown   GetV1NodesParamsHealthStatuses = "Unknown"
)

Defines values for GetV1NodesParamsHealthStatuses.

func (GetV1NodesParamsHealthStatuses) Valid

Valid indicates whether the value is a known member of the GetV1NodesParamsHealthStatuses enum.

type GetV1NodesParamsIntegrityChecks

type GetV1NodesParamsIntegrityChecks string

GetV1NodesParamsIntegrityChecks defines parameters for GetV1Nodes.

const (
	GetV1NodesParamsIntegrityChecksDegraded    GetV1NodesParamsIntegrityChecks = "Degraded"
	GetV1NodesParamsIntegrityChecksPending     GetV1NodesParamsIntegrityChecks = "Pending"
	GetV1NodesParamsIntegrityChecksUnknown     GetV1NodesParamsIntegrityChecks = "Unknown"
	GetV1NodesParamsIntegrityChecksUnsupported GetV1NodesParamsIntegrityChecks = "Unsupported"
	GetV1NodesParamsIntegrityChecksUnverified  GetV1NodesParamsIntegrityChecks = "Unverified"
	GetV1NodesParamsIntegrityChecksVerified    GetV1NodesParamsIntegrityChecks = "Verified"
)

Defines values for GetV1NodesParamsIntegrityChecks.

func (GetV1NodesParamsIntegrityChecks) Valid

Valid indicates whether the value is a known member of the GetV1NodesParamsIntegrityChecks enum.

type GetV1NodesParamsOrder

type GetV1NodesParamsOrder string

GetV1NodesParamsOrder defines parameters for GetV1Nodes.

const (
	GetV1NodesParamsOrderAsc  GetV1NodesParamsOrder = "asc"
	GetV1NodesParamsOrderDesc GetV1NodesParamsOrder = "desc"
)

Defines values for GetV1NodesParamsOrder.

func (GetV1NodesParamsOrder) Valid

func (e GetV1NodesParamsOrder) Valid() bool

Valid indicates whether the value is a known member of the GetV1NodesParamsOrder enum.

type GetV1NodesParamsSortBy

type GetV1NodesParamsSortBy string

GetV1NodesParamsSortBy defines parameters for GetV1Nodes.

const (
	GetV1NodesParamsSortByAgentStatus         GetV1NodesParamsSortBy = "agentStatus"
	GetV1NodesParamsSortByAgentVersion        GetV1NodesParamsSortBy = "agentVersion"
	GetV1NodesParamsSortByComputezone         GetV1NodesParamsSortBy = "computezone"
	GetV1NodesParamsSortByGpuCount            GetV1NodesParamsSortBy = "gpuCount"
	GetV1NodesParamsSortByGpuDriverVersion    GetV1NodesParamsSortBy = "gpuDriverVersion"
	GetV1NodesParamsSortByGpuFirmwareVersions GetV1NodesParamsSortBy = "gpuFirmwareVersions"
	GetV1NodesParamsSortByGpuType             GetV1NodesParamsSortBy = "gpuType"
	GetV1NodesParamsSortByHealthStatus        GetV1NodesParamsSortBy = "healthStatus"
	GetV1NodesParamsSortByHostname            GetV1NodesParamsSortBy = "hostname"
	GetV1NodesParamsSortByIntegrityCheck      GetV1NodesParamsSortBy = "integrityCheck"
	GetV1NodesParamsSortByKernelVersion       GetV1NodesParamsSortBy = "kernelVersion"
	GetV1NodesParamsSortByNodeUUID            GetV1NodesParamsSortBy = "nodeUUID"
	GetV1NodesParamsSortByNodegroup           GetV1NodesParamsSortBy = "nodegroup"
)

Defines values for GetV1NodesParamsSortBy.

func (GetV1NodesParamsSortBy) Valid

func (e GetV1NodesParamsSortBy) Valid() bool

Valid indicates whether the value is a known member of the GetV1NodesParamsSortBy enum.

type GetV1NodesParamsView

type GetV1NodesParamsView string

GetV1NodesParamsView defines parameters for GetV1Nodes.

const (
	Basic  GetV1NodesParamsView = "basic"
	Detail GetV1NodesParamsView = "detail"
)

Defines values for GetV1NodesParamsView.

func (GetV1NodesParamsView) Valid

func (e GetV1NodesParamsView) Valid() bool

Valid indicates whether the value is a known member of the GetV1NodesParamsView enum.

type GetV1NodesResponse

type GetV1NodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetV1Nodes200JSONResponseBody
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NodesResponse

func ParseGetV1NodesResponse(rsp *http.Response) (*GetV1NodesResponse, error)

ParseGetV1NodesResponse parses an HTTP response from a GetV1NodesWithResponse call

func (GetV1NodesResponse) ContentType

func (r GetV1NodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NodesResponse) Status

func (r GetV1NodesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1NodesResponse) StatusCode

func (r GetV1NodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1NotificationDeliveryLogParams added in v1.0.0

type GetV1NotificationDeliveryLogParams struct {
	// Component Filter by component (GPU, NVSwitch, etc.)
	Component *string `form:"component,omitempty" json:"component,omitempty"`

	// Channel Filter by delivery channel (email, slack, webhook)
	Channel *string `form:"channel,omitempty" json:"channel,omitempty"`

	// Status Filter by delivery outcome (sent, failed)
	Status *string `form:"status,omitempty" json:"status,omitempty"`

	// AlertUUID Filter by alert lifecycle UUID
	AlertUUID *string `form:"alertUUID,omitempty" json:"alertUUID,omitempty"`

	// StartTime Start of time range (RFC3339)
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End of time range (RFC3339)
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// Order Sort direction on createdAt (asc, desc)
	Order *string `form:"order,omitempty" json:"order,omitempty"`

	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1NotificationDeliveryLogParams defines parameters for GetV1NotificationDeliveryLog.

type GetV1NotificationDeliveryLogResponse added in v1.0.0

type GetV1NotificationDeliveryLogResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsDeliveryLogResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NotificationDeliveryLogResponse added in v1.0.0

func ParseGetV1NotificationDeliveryLogResponse(rsp *http.Response) (*GetV1NotificationDeliveryLogResponse, error)

ParseGetV1NotificationDeliveryLogResponse parses an HTTP response from a GetV1NotificationDeliveryLogWithResponse call

func (GetV1NotificationDeliveryLogResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NotificationDeliveryLogResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1NotificationDeliveryLogResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type GetV1NotificationPreferenceByIDResponse added in v1.0.0

type GetV1NotificationPreferenceByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsNotificationPreferenceDetail
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NotificationPreferenceByIDResponse added in v1.0.0

func ParseGetV1NotificationPreferenceByIDResponse(rsp *http.Response) (*GetV1NotificationPreferenceByIDResponse, error)

ParseGetV1NotificationPreferenceByIDResponse parses an HTTP response from a GetV1NotificationPreferenceByIDWithResponse call

func (GetV1NotificationPreferenceByIDResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NotificationPreferenceByIDResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1NotificationPreferenceByIDResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type GetV1NotificationPreferencesResponse added in v1.0.0

type GetV1NotificationPreferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsListNotificationPreferencesResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1NotificationPreferencesResponse added in v1.0.0

func ParseGetV1NotificationPreferencesResponse(rsp *http.Response) (*GetV1NotificationPreferencesResponse, error)

ParseGetV1NotificationPreferencesResponse parses an HTTP response from a GetV1NotificationPreferencesWithResponse call

func (GetV1NotificationPreferencesResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1NotificationPreferencesResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1NotificationPreferencesResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type GetV1OverviewParams added in v1.0.0

type GetV1OverviewParams struct {
	// IncludeMetrics Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
	IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`
}

GetV1OverviewParams defines parameters for GetV1Overview.

type GetV1OverviewResponse added in v1.0.0

type GetV1OverviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsOverviewResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1OverviewResponse added in v1.0.0

func ParseGetV1OverviewResponse(rsp *http.Response) (*GetV1OverviewResponse, error)

ParseGetV1OverviewResponse parses an HTTP response from a GetV1OverviewWithResponse call

func (GetV1OverviewResponse) ContentType added in v1.0.0

func (r GetV1OverviewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1OverviewResponse) Status added in v1.0.0

func (r GetV1OverviewResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1OverviewResponse) StatusCode added in v1.0.0

func (r GetV1OverviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ReportsError200JSONResponseBody

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

GetV1ReportsError200JSONResponseBody defines parameters for GetV1ReportsError.

func (GetV1ReportsError200JSONResponseBody) AsGetV1ReportsError200JSONResponseBody4

func (t GetV1ReportsError200JSONResponseBody) AsGetV1ReportsError200JSONResponseBody4() (GetV1ReportsError200JSONResponseBody4, error)

AsGetV1ReportsError200JSONResponseBody4 returns the union data inside the GetV1ReportsError200JSONResponseBody as a GetV1ReportsError200JSONResponseBody4

func (GetV1ReportsError200JSONResponseBody) AsModelsByErrorResponse

func (t GetV1ReportsError200JSONResponseBody) AsModelsByErrorResponse() (ModelsByErrorResponse, error)

AsModelsByErrorResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsByErrorResponse

func (GetV1ReportsError200JSONResponseBody) AsModelsByNodeResponse

func (t GetV1ReportsError200JSONResponseBody) AsModelsByNodeResponse() (ModelsByNodeResponse, error)

AsModelsByNodeResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsByNodeResponse

func (GetV1ReportsError200JSONResponseBody) AsModelsErrorOverviewResponse

func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorOverviewResponse() (ModelsErrorOverviewResponse, error)

AsModelsErrorOverviewResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsErrorOverviewResponse

func (GetV1ReportsError200JSONResponseBody) AsModelsErrorReportGraphByErrorResponse

func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorReportGraphByErrorResponse() (ModelsErrorReportGraphByErrorResponse, error)

AsModelsErrorReportGraphByErrorResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsErrorReportGraphByErrorResponse

func (*GetV1ReportsError200JSONResponseBody) FromGetV1ReportsError200JSONResponseBody4

func (t *GetV1ReportsError200JSONResponseBody) FromGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error

FromGetV1ReportsError200JSONResponseBody4 overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided GetV1ReportsError200JSONResponseBody4

func (*GetV1ReportsError200JSONResponseBody) FromModelsByErrorResponse

func (t *GetV1ReportsError200JSONResponseBody) FromModelsByErrorResponse(v ModelsByErrorResponse) error

FromModelsByErrorResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsByErrorResponse

func (*GetV1ReportsError200JSONResponseBody) FromModelsByNodeResponse

func (t *GetV1ReportsError200JSONResponseBody) FromModelsByNodeResponse(v ModelsByNodeResponse) error

FromModelsByNodeResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsByNodeResponse

func (*GetV1ReportsError200JSONResponseBody) FromModelsErrorOverviewResponse

func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error

FromModelsErrorOverviewResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsErrorOverviewResponse

func (*GetV1ReportsError200JSONResponseBody) FromModelsErrorReportGraphByErrorResponse

func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error

FromModelsErrorReportGraphByErrorResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsErrorReportGraphByErrorResponse

func (GetV1ReportsError200JSONResponseBody) MarshalJSON

func (t GetV1ReportsError200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetV1ReportsError200JSONResponseBody) MergeGetV1ReportsError200JSONResponseBody4

func (t *GetV1ReportsError200JSONResponseBody) MergeGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error

MergeGetV1ReportsError200JSONResponseBody4 performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided GetV1ReportsError200JSONResponseBody4

func (*GetV1ReportsError200JSONResponseBody) MergeModelsByErrorResponse

func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByErrorResponse(v ModelsByErrorResponse) error

MergeModelsByErrorResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsByErrorResponse

func (*GetV1ReportsError200JSONResponseBody) MergeModelsByNodeResponse

func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByNodeResponse(v ModelsByNodeResponse) error

MergeModelsByNodeResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsByNodeResponse

func (*GetV1ReportsError200JSONResponseBody) MergeModelsErrorOverviewResponse

func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error

MergeModelsErrorOverviewResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsErrorOverviewResponse

func (*GetV1ReportsError200JSONResponseBody) MergeModelsErrorReportGraphByErrorResponse

func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error

MergeModelsErrorReportGraphByErrorResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsErrorReportGraphByErrorResponse

func (*GetV1ReportsError200JSONResponseBody) UnmarshalJSON

func (t *GetV1ReportsError200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetV1ReportsError200JSONResponseBody4

type GetV1ReportsError200JSONResponseBody4 = string

GetV1ReportsError200JSONResponseBody4 defines parameters for GetV1ReportsError.

type GetV1ReportsErrorParams

type GetV1ReportsErrorParams struct {
	// GroupBy Group by error or node (not required for overview view)
	GroupBy *GetV1ReportsErrorParamsGroupBy `form:"groupBy,omitempty" json:"groupBy,omitempty"`

	// View View type: list, graph, or overview
	View GetV1ReportsErrorParamsView `form:"view" json:"view"`

	// Format Response format (json or csv, only for list view)
	Format *GetV1ReportsErrorParamsFormat `form:"format,omitempty" json:"format,omitempty"`

	// Page Page number (0-indexed). Not used for CSV format, graph view, or overview view
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size. Not used for CSV format, graph view, or overview view
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// Step Query resolution step width in duration format (e.g. 1h, 1m). Only used for graph view. If not provided, backend will choose a suitable step width. Minimum step width is 1 minute.
	Step *string `form:"step,omitempty" json:"step,omitempty"`

	// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// Tags Filter by tags (AND logic - matches nodes with ANY of the specified tags). Empty means all nodes
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// Errors Filter nodes by specific error types (only for list view, groupBy=node). Returns ALL errors for nodes that have any of the specified errors. Examples: 'NVSwitch Fatal Error', 'xid_154'
	Errors *[]string `form:"errors,omitempty" json:"errors,omitempty"`

	// TimeMode Time mode: 'absolute' (default) or 'relative'. Absolute requires start/end; relative requires window
	TimeMode *string `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative time window (e.g., 1h, 1m, 30s). Only used when timeMode=relative
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// StartTime Start time for filtering errors (RFC3339 format). Required when timeMode=absolute
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time for filtering errors (RFC3339 format). Required when timeMode=absolute
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
}

GetV1ReportsErrorParams defines parameters for GetV1ReportsError.

type GetV1ReportsErrorParamsFormat

type GetV1ReportsErrorParamsFormat string

GetV1ReportsErrorParamsFormat defines parameters for GetV1ReportsError.

const (
	GetV1ReportsErrorParamsFormatCsv  GetV1ReportsErrorParamsFormat = "csv"
	GetV1ReportsErrorParamsFormatJson GetV1ReportsErrorParamsFormat = "json"
)

Defines values for GetV1ReportsErrorParamsFormat.

func (GetV1ReportsErrorParamsFormat) Valid

Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsFormat enum.

type GetV1ReportsErrorParamsGroupBy

type GetV1ReportsErrorParamsGroupBy string

GetV1ReportsErrorParamsGroupBy defines parameters for GetV1ReportsError.

const (
	GetV1ReportsErrorParamsGroupByError GetV1ReportsErrorParamsGroupBy = "error"
	GetV1ReportsErrorParamsGroupByNode  GetV1ReportsErrorParamsGroupBy = "node"
)

Defines values for GetV1ReportsErrorParamsGroupBy.

func (GetV1ReportsErrorParamsGroupBy) Valid

Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsGroupBy enum.

type GetV1ReportsErrorParamsView

type GetV1ReportsErrorParamsView string

GetV1ReportsErrorParamsView defines parameters for GetV1ReportsError.

const (
	Graph    GetV1ReportsErrorParamsView = "graph"
	List     GetV1ReportsErrorParamsView = "list"
	Overview GetV1ReportsErrorParamsView = "overview"
)

Defines values for GetV1ReportsErrorParamsView.

func (GetV1ReportsErrorParamsView) Valid

Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsView enum.

type GetV1ReportsErrorResponse

type GetV1ReportsErrorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetV1ReportsError200JSONResponseBody
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1ReportsErrorResponse

func ParseGetV1ReportsErrorResponse(rsp *http.Response) (*GetV1ReportsErrorResponse, error)

ParseGetV1ReportsErrorResponse parses an HTTP response from a GetV1ReportsErrorWithResponse call

func (GetV1ReportsErrorResponse) ContentType

func (r GetV1ReportsErrorResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1ReportsErrorResponse) Status

func (r GetV1ReportsErrorResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1ReportsErrorResponse) StatusCode

func (r GetV1ReportsErrorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ReportsInventory200JSONResponseBody

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

GetV1ReportsInventory200JSONResponseBody defines parameters for GetV1ReportsInventory.

func (GetV1ReportsInventory200JSONResponseBody) AsGetV1ReportsInventory200JSONResponseBody1

func (t GetV1ReportsInventory200JSONResponseBody) AsGetV1ReportsInventory200JSONResponseBody1() (GetV1ReportsInventory200JSONResponseBody1, error)

AsGetV1ReportsInventory200JSONResponseBody1 returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a GetV1ReportsInventory200JSONResponseBody1

func (GetV1ReportsInventory200JSONResponseBody) AsModelsInventoryReportResponse

func (t GetV1ReportsInventory200JSONResponseBody) AsModelsInventoryReportResponse() (ModelsInventoryReportResponse, error)

AsModelsInventoryReportResponse returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a ModelsInventoryReportResponse

func (*GetV1ReportsInventory200JSONResponseBody) FromGetV1ReportsInventory200JSONResponseBody1

func (t *GetV1ReportsInventory200JSONResponseBody) FromGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error

FromGetV1ReportsInventory200JSONResponseBody1 overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided GetV1ReportsInventory200JSONResponseBody1

func (*GetV1ReportsInventory200JSONResponseBody) FromModelsInventoryReportResponse

func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsInventoryReportResponse(v ModelsInventoryReportResponse) error

FromModelsInventoryReportResponse overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided ModelsInventoryReportResponse

func (GetV1ReportsInventory200JSONResponseBody) MarshalJSON

func (*GetV1ReportsInventory200JSONResponseBody) MergeGetV1ReportsInventory200JSONResponseBody1

func (t *GetV1ReportsInventory200JSONResponseBody) MergeGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error

MergeGetV1ReportsInventory200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided GetV1ReportsInventory200JSONResponseBody1

func (*GetV1ReportsInventory200JSONResponseBody) MergeModelsInventoryReportResponse

func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsInventoryReportResponse(v ModelsInventoryReportResponse) error

MergeModelsInventoryReportResponse performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided ModelsInventoryReportResponse

func (*GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON

func (t *GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetV1ReportsInventory200JSONResponseBody1

type GetV1ReportsInventory200JSONResponseBody1 = string

GetV1ReportsInventory200JSONResponseBody1 defines parameters for GetV1ReportsInventory.

type GetV1ReportsInventoryParams

type GetV1ReportsInventoryParams struct {
	// Page Page number (0-indexed). Not used for CSV format
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size. Not used for CSV format
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// Format Response format (json or csv)
	Format *GetV1ReportsInventoryParamsFormat `form:"format,omitempty" json:"format,omitempty"`

	// Signed Sign the CSV with NVIDIA's signing key and return a zip containing the CSV plus a .sig.bundle (cosign-verifiable Sigstore bundle). Only valid with format=csv.
	Signed *bool `form:"signed,omitempty" json:"signed,omitempty"`

	// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// Tags Filter by tags. Empty means all tags
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// StartTime Start time for filtering nodes active during period (RFC3339 format, e.g., 2024-01-01T00:00:00Z)
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time for filtering nodes active during period (RFC3339 format, e.g., 2024-12-31T23:59:59Z)
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// SortBy Field to sort by
	SortBy *GetV1ReportsInventoryParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// Order Sort order (asc, desc)
	Order *GetV1ReportsInventoryParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetV1ReportsInventoryParams defines parameters for GetV1ReportsInventory.

type GetV1ReportsInventoryParamsFormat

type GetV1ReportsInventoryParamsFormat string

GetV1ReportsInventoryParamsFormat defines parameters for GetV1ReportsInventory.

const (
	GetV1ReportsInventoryParamsFormatCsv  GetV1ReportsInventoryParamsFormat = "csv"
	GetV1ReportsInventoryParamsFormatJson GetV1ReportsInventoryParamsFormat = "json"
)

Defines values for GetV1ReportsInventoryParamsFormat.

func (GetV1ReportsInventoryParamsFormat) Valid

Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsFormat enum.

type GetV1ReportsInventoryParamsOrder

type GetV1ReportsInventoryParamsOrder string

GetV1ReportsInventoryParamsOrder defines parameters for GetV1ReportsInventory.

const (
	GetV1ReportsInventoryParamsOrderAsc  GetV1ReportsInventoryParamsOrder = "asc"
	GetV1ReportsInventoryParamsOrderDesc GetV1ReportsInventoryParamsOrder = "desc"
)

Defines values for GetV1ReportsInventoryParamsOrder.

func (GetV1ReportsInventoryParamsOrder) Valid

Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsOrder enum.

type GetV1ReportsInventoryParamsSortBy

type GetV1ReportsInventoryParamsSortBy string

GetV1ReportsInventoryParamsSortBy defines parameters for GetV1ReportsInventory.

const (
	GetV1ReportsInventoryParamsSortByComputezone    GetV1ReportsInventoryParamsSortBy = "computezone"
	GetV1ReportsInventoryParamsSortByGeoLocation    GetV1ReportsInventoryParamsSortBy = "geoLocation"
	GetV1ReportsInventoryParamsSortByGpuCount       GetV1ReportsInventoryParamsSortBy = "gpuCount"
	GetV1ReportsInventoryParamsSortByGpuType        GetV1ReportsInventoryParamsSortBy = "gpuType"
	GetV1ReportsInventoryParamsSortByHostname       GetV1ReportsInventoryParamsSortBy = "hostname"
	GetV1ReportsInventoryParamsSortByIntegrityCheck GetV1ReportsInventoryParamsSortBy = "integrityCheck"
	GetV1ReportsInventoryParamsSortByNodeUUID       GetV1ReportsInventoryParamsSortBy = "nodeUUID"
	GetV1ReportsInventoryParamsSortByNodegroup      GetV1ReportsInventoryParamsSortBy = "nodegroup"
	GetV1ReportsInventoryParamsSortByPrivateIP      GetV1ReportsInventoryParamsSortBy = "privateIP"
	GetV1ReportsInventoryParamsSortByPublicIP       GetV1ReportsInventoryParamsSortBy = "publicIP"
)

Defines values for GetV1ReportsInventoryParamsSortBy.

func (GetV1ReportsInventoryParamsSortBy) Valid

Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsSortBy enum.

type GetV1ReportsInventoryResponse

type GetV1ReportsInventoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetV1ReportsInventory200JSONResponseBody
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1ReportsInventoryResponse

func ParseGetV1ReportsInventoryResponse(rsp *http.Response) (*GetV1ReportsInventoryResponse, error)

ParseGetV1ReportsInventoryResponse parses an HTTP response from a GetV1ReportsInventoryWithResponse call

func (GetV1ReportsInventoryResponse) ContentType

func (r GetV1ReportsInventoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1ReportsInventoryResponse) Status

Status returns HTTPResponse.Status

func (GetV1ReportsInventoryResponse) StatusCode

func (r GetV1ReportsInventoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1RetentionPolicyResponse added in v1.0.0

type GetV1RetentionPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsGetRetentionPolicyResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetV1RetentionPolicyResponse added in v1.0.0

func ParseGetV1RetentionPolicyResponse(rsp *http.Response) (*GetV1RetentionPolicyResponse, error)

ParseGetV1RetentionPolicyResponse parses an HTTP response from a GetV1RetentionPolicyWithResponse call

func (GetV1RetentionPolicyResponse) ContentType added in v1.0.0

func (r GetV1RetentionPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1RetentionPolicyResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetV1RetentionPolicyResponse) StatusCode added in v1.0.0

func (r GetV1RetentionPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1TagsParams added in v1.0.0

type GetV1TagsParams struct {
	// Prefix Filter tags by prefix (case-insensitive)
	Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`

	// NodeUUID Filter to tags from a specific node
	NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`

	// NodeGroupId Filter to tags from nodes in a specific node group
	NodeGroupId *string `form:"nodeGroupId,omitempty" json:"nodeGroupId,omitempty"`

	// ComputeZoneId Filter to tags from nodes in a specific compute zone
	ComputeZoneId *string `form:"computeZoneId,omitempty" json:"computeZoneId,omitempty"`
}

GetV1TagsParams defines parameters for GetV1Tags.

type GetV1TagsResponse added in v1.0.0

type GetV1TagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsListTagsResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV1TagsResponse added in v1.0.0

func ParseGetV1TagsResponse(rsp *http.Response) (*GetV1TagsResponse, error)

ParseGetV1TagsResponse parses an HTTP response from a GetV1TagsWithResponse call

func (GetV1TagsResponse) ContentType added in v1.0.0

func (r GetV1TagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1TagsResponse) Status added in v1.0.0

func (r GetV1TagsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1TagsResponse) StatusCode added in v1.0.0

func (r GetV1TagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2CommandsResponse added in v1.0.0

type GetV2CommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsCommandsResponse
	JSON400      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParseGetV2CommandsResponse added in v1.0.0

func ParseGetV2CommandsResponse(rsp *http.Response) (*GetV2CommandsResponse, error)

ParseGetV2CommandsResponse parses an HTTP response from a GetV2CommandsWithResponse call

func (GetV2CommandsResponse) ContentType added in v1.0.0

func (r GetV2CommandsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2CommandsResponse) Status added in v1.0.0

func (r GetV2CommandsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2CommandsResponse) StatusCode added in v1.0.0

func (r GetV2CommandsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2MetricsParams added in v1.0.0

type GetV2MetricsParams struct {
	// GroupBy The aggregation level to group metrics by
	GroupBy GetV2MetricsParamsGroupBy `form:"groupBy" json:"groupBy"`

	// GroupId The ID of the entity (required for nodegroup, computezone, node; not needed for customer level)
	GroupId *string `form:"groupId,omitempty" json:"groupId,omitempty"`

	// MetricNames Comma-separated list of metric names to query (e.g., dcgm_fi_dev_gpu_util,cpu_used_percent,memory_used_percent)
	MetricNames []string `form:"metricNames" json:"metricNames"`

	// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T00:00:00Z)
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode for range selection. Defaults to absolute.
	TimeMode *GetV2MetricsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration window (required for relative mode). Uses Go duration syntax — valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// Step Query resolution step width in duration format (e.g., 1m, 5m, 1h). Minimum step width is 1 minute.
	Step string `form:"step" json:"step"`
}

GetV2MetricsParams defines parameters for GetV2Metrics.

type GetV2MetricsParamsGroupBy added in v1.0.0

type GetV2MetricsParamsGroupBy string

GetV2MetricsParamsGroupBy defines parameters for GetV2Metrics.

const (
	GetV2MetricsParamsGroupByComputezone GetV2MetricsParamsGroupBy = "computezone"
	GetV2MetricsParamsGroupByCustomer    GetV2MetricsParamsGroupBy = "customer"
	GetV2MetricsParamsGroupByNode        GetV2MetricsParamsGroupBy = "node"
	GetV2MetricsParamsGroupByNodegroup   GetV2MetricsParamsGroupBy = "nodegroup"
)

Defines values for GetV2MetricsParamsGroupBy.

func (GetV2MetricsParamsGroupBy) Valid added in v1.0.0

func (e GetV2MetricsParamsGroupBy) Valid() bool

Valid indicates whether the value is a known member of the GetV2MetricsParamsGroupBy enum.

type GetV2MetricsParamsTimeMode added in v1.0.0

type GetV2MetricsParamsTimeMode string

GetV2MetricsParamsTimeMode defines parameters for GetV2Metrics.

const (
	GetV2MetricsParamsTimeModeAbsolute GetV2MetricsParamsTimeMode = "absolute"
	GetV2MetricsParamsTimeModeRelative GetV2MetricsParamsTimeMode = "relative"
)

Defines values for GetV2MetricsParamsTimeMode.

func (GetV2MetricsParamsTimeMode) Valid added in v1.0.0

func (e GetV2MetricsParamsTimeMode) Valid() bool

Valid indicates whether the value is a known member of the GetV2MetricsParamsTimeMode enum.

type GetV2MetricsResponse added in v1.0.0

type GetV2MetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsMetricsAggregationResponse
	JSON499      *ModelsErrorResponse
}

func ParseGetV2MetricsResponse added in v1.0.0

func ParseGetV2MetricsResponse(rsp *http.Response) (*GetV2MetricsResponse, error)

ParseGetV2MetricsResponse parses an HTTP response from a GetV2MetricsWithResponse call

func (GetV2MetricsResponse) ContentType added in v1.0.0

func (r GetV2MetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2MetricsResponse) Status added in v1.0.0

func (r GetV2MetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2MetricsResponse) StatusCode added in v1.0.0

func (r GetV2MetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWellKnownSigningKeyPubResponse added in v1.0.0

type GetWellKnownSigningKeyPubResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON499      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParseGetWellKnownSigningKeyPubResponse added in v1.0.0

func ParseGetWellKnownSigningKeyPubResponse(rsp *http.Response) (*GetWellKnownSigningKeyPubResponse, error)

ParseGetWellKnownSigningKeyPubResponse parses an HTTP response from a GetWellKnownSigningKeyPubWithResponse call

func (GetWellKnownSigningKeyPubResponse) ContentType added in v1.0.0

func (r GetWellKnownSigningKeyPubResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWellKnownSigningKeyPubResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetWellKnownSigningKeyPubResponse) StatusCode added in v1.0.0

func (r GetWellKnownSigningKeyPubResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ModelsActionPersona

type ModelsActionPersona string

ModelsActionPersona Target persona (stored in DB, stripped before API response)

const (
	ActionPersonaDCAdmin ModelsActionPersona = "dc_admin"
	ActionPersonaTenant  ModelsActionPersona = "tenant"
)

Defines values for ModelsActionPersona.

func (ModelsActionPersona) Valid

func (e ModelsActionPersona) Valid() bool

Valid indicates whether the value is a known member of the ModelsActionPersona enum.

type ModelsActionType

type ModelsActionType string

ModelsActionType Action type: "immediate" or "investigatory"

const (
	ActionTypeImmediate     ModelsActionType = "immediate"
	ActionTypeInvestigatory ModelsActionType = "investigatory"
)

Defines values for ModelsActionType.

func (ModelsActionType) Valid

func (e ModelsActionType) Valid() bool

Valid indicates whether the value is a known member of the ModelsActionType enum.

type ModelsAgentStatus

type ModelsAgentStatus string

ModelsAgentStatus defines model for models.AgentStatus.

const (
	AgentStatusOffline ModelsAgentStatus = "Offline"
	AgentStatusOnline  ModelsAgentStatus = "Online"
	AgentStatusUnknown ModelsAgentStatus = "Unknown"
)

Defines values for ModelsAgentStatus.

func (ModelsAgentStatus) Valid

func (e ModelsAgentStatus) Valid() bool

Valid indicates whether the value is a known member of the ModelsAgentStatus enum.

type ModelsAggregation

type ModelsAggregation string

ModelsAggregation defines model for models.Aggregation.

const (
	AggregationAverage ModelsAggregation = "average"
	AggregationMax     ModelsAggregation = "max"
	AggregationMin     ModelsAggregation = "min"
	AggregationNone    ModelsAggregation = "none"
	AggregationSum     ModelsAggregation = "sum"
)

Defines values for ModelsAggregation.

func (ModelsAggregation) Valid

func (e ModelsAggregation) Valid() bool

Valid indicates whether the value is a known member of the ModelsAggregation enum.

type ModelsAlert

type ModelsAlert struct {
	AlertUUID            *string              `json:"alertUUID,omitempty"`
	Component            *string              `json:"component,omitempty"`
	ComponentDisplayName *string              `json:"componentDisplayName,omitempty"`
	CustomerId           *string              `json:"customerId,omitempty"`
	DetectedAt           *string              `json:"detectedAt,omitempty"`
	Error                *string              `json:"error,omitempty"`
	EventTimestamp       *string              `json:"eventTimestamp,omitempty"`
	ExtraInfo            *string              `json:"extraInfo,omitempty"`
	Incidents            *string              `json:"incidents,omitempty"`
	IsMuted              *bool                `json:"isMuted,omitempty"`
	LastUpdated          *string              `json:"lastUpdated,omitempty"`
	Message              *string              `json:"message,omitempty"`
	MutedAt              *string              `json:"mutedAt,omitempty"`
	MutedBy              *string              `json:"mutedBy,omitempty"`
	NodeUUID             *string              `json:"nodeUUID,omitempty"`
	Severity             *ModelsAlertSeverity `json:"severity,omitempty"`
	State                *ModelsAlertState    `json:"state,omitempty"`
	SuggestedActions     *string              `json:"suggestedActions,omitempty"`
	TriggeredAt          *string              `json:"triggeredAt,omitempty"`
}

ModelsAlert defines model for models.Alert.

type ModelsAlertEventType

type ModelsAlertEventType string

ModelsAlertEventType defines model for models.AlertEventType.

const (
	AlertEventBurstAnalyzed   ModelsAlertEventType = "burst_analyzed"
	AlertEventDetected        ModelsAlertEventType = "detected"
	AlertEventMetadataUpdated ModelsAlertEventType = "metadata_updated"
	AlertEventMuted           ModelsAlertEventType = "muted"
	AlertEventNotifyFailed    ModelsAlertEventType = "notify_failed"
	AlertEventNotifySent      ModelsAlertEventType = "notify_sent"
	AlertEventResolved        ModelsAlertEventType = "resolved"
	AlertEventRetriggered     ModelsAlertEventType = "retriggered"
	AlertEventSeverityChanged ModelsAlertEventType = "severity_changed"
	AlertEventTriggered       ModelsAlertEventType = "triggered"
	AlertEventUnmuted         ModelsAlertEventType = "unmuted"
)

Defines values for ModelsAlertEventType.

func (ModelsAlertEventType) Valid

func (e ModelsAlertEventType) Valid() bool

Valid indicates whether the value is a known member of the ModelsAlertEventType enum.

type ModelsAlertOverview

type ModelsAlertOverview struct {
	CriticalCount     *int    `json:"criticalCount,omitempty"`
	InfoCount         *int    `json:"infoCount,omitempty"`
	LastCriticalAlert *string `json:"lastCriticalAlert,omitempty"`
	LastWarningAlert  *string `json:"lastWarningAlert,omitempty"`
	TotalCount        *int    `json:"totalCount,omitempty"`
	UnknownCount      *int    `json:"unknownCount,omitempty"`
	WarningCount      *int    `json:"warningCount,omitempty"`
}

ModelsAlertOverview defines model for models.AlertOverview.

type ModelsAlertResponse

type ModelsAlertResponse struct {
	Alerts         *[]ModelsAlert `json:"alerts,omitempty"`
	Page           *int           `json:"page,omitempty"`
	PageCursorNext *string        `json:"pageCursorNext,omitempty"`
	PageSize       *int           `json:"pageSize,omitempty"`
	Total          *int           `json:"total,omitempty"`
}

ModelsAlertResponse defines model for models.AlertResponse.

type ModelsAlertSeverity

type ModelsAlertSeverity string

ModelsAlertSeverity defines model for models.AlertSeverity.

const (
	AlertSeverityCritical ModelsAlertSeverity = "Critical"
	AlertSeverityWarning  ModelsAlertSeverity = "Warning"
)

Defines values for ModelsAlertSeverity.

func (ModelsAlertSeverity) Valid

func (e ModelsAlertSeverity) Valid() bool

Valid indicates whether the value is a known member of the ModelsAlertSeverity enum.

type ModelsAlertState

type ModelsAlertState string

ModelsAlertState defines model for models.AlertState.

const (
	AlertStateDetected  ModelsAlertState = "Detected"
	AlertStateResolved  ModelsAlertState = "Resolved"
	AlertStateTriggered ModelsAlertState = "Triggered"
)

Defines values for ModelsAlertState.

func (ModelsAlertState) Valid

func (e ModelsAlertState) Valid() bool

Valid indicates whether the value is a known member of the ModelsAlertState enum.

type ModelsAlertTimelineDetailResponse

type ModelsAlertTimelineDetailResponse struct {
	// AlertStatus Current alert status: severity if active, state if resolved/detected
	AlertStatus          *string `json:"alertStatus,omitempty"`
	AlertUuid            *string `json:"alertUuid,omitempty"`
	Component            *string `json:"component,omitempty"`
	ComponentDisplayName *string `json:"componentDisplayName,omitempty"`

	// ComputeZone Compute zone display name from node inventory
	ComputeZone        *string `json:"computeZone,omitempty"`
	CustomerID         *string `json:"customerID,omitempty"`
	HasMore            *bool   `json:"hasMore,omitempty"`
	IsBackendComponent *bool   `json:"isBackendComponent,omitempty"`

	// NodeGroup Node group display name from node inventory
	NodeGroup *string `json:"nodeGroup,omitempty"`
	NodeUuid  *string `json:"nodeUuid,omitempty"`

	// Page Pagination metadata for the timeline events. These fields are populated only when the caller
	// opts into pagination by supplying the pageSize query parameter; they are omitted entirely
	// otherwise, so existing clients that expect the full, unpaginated timeline are unaffected.
	// When present, Timeline holds only the requested page (order controlled by query param) and Total
	// is the count of all timeline events for the alert.
	Page     *int `json:"page,omitempty"`
	PageSize *int `json:"pageSize,omitempty"`

	// Timeline Sorted by eventTimestamp (default DESC = newest-first; query param order=asc reverses)
	Timeline *[]ModelsAlertTimelineEvent `json:"timeline,omitempty"`
	Total    *int                        `json:"total,omitempty"`
}

ModelsAlertTimelineDetailResponse defines model for models.AlertTimelineDetailResponse.

type ModelsAlertTimelineEvent

type ModelsAlertTimelineEvent struct {
	// AlertStatus "Critical"/"Warning" if Triggered, "Detected"/"Resolved" otherwise
	AlertStatus      *string                  `json:"alertStatus,omitempty"`
	Error            *string                  `json:"error,omitempty"`
	EventTimestamp   *string                  `json:"eventTimestamp,omitempty"`
	EventType        *ModelsAlertEventType    `json:"eventType,omitempty"`
	ExtraInfo        *map[string]interface{}  `json:"extraInfo,omitempty"`
	Incidents        *[]interface{}           `json:"incidents,omitempty"`
	Message          *string                  `json:"message,omitempty"`
	SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
}

ModelsAlertTimelineEvent defines model for models.AlertTimelineEvent.

type ModelsAlertTimelineNode

type ModelsAlertTimelineNode struct {
	// ComputeZone Compute zone display name
	ComputeZone *string `json:"computeZone,omitempty"`

	// CriticalCount Count of Critical alerts on this node (respects filters and component visibility)
	CriticalCount *int `json:"criticalCount,omitempty"`

	// GpuType GPU product name from node inventory
	GpuType *string `json:"gpuType,omitempty"`

	// HostStatus Deprecated: use criticalCount/warningCount; kept for backward compatibility
	HostStatus    *string `json:"hostStatus,omitempty"`
	Hostname      *string `json:"hostname,omitempty"`
	LastAlertTime *string `json:"lastAlertTime,omitempty"`

	// NodeGroup Node group display name
	NodeGroup *string `json:"nodeGroup,omitempty"`
	NodeUuid  *string `json:"nodeUuid,omitempty"`

	// ResolvedCount Count of Resolved alerts; historical view only (0 when active=true)
	ResolvedCount *int `json:"resolvedCount,omitempty"`

	// WarningCount Count of Warning alerts on this node
	WarningCount *int `json:"warningCount,omitempty"`
}

ModelsAlertTimelineNode defines model for models.AlertTimelineNode.

type ModelsAlertTimelineNodeAlert

type ModelsAlertTimelineNodeAlert struct {
	// AlertStatus "Critical"/"Warning" if active (in alerts table), "Detected"/"Resolved" if inactive (from alert_audit)
	AlertStatus          *string `json:"alertStatus,omitempty"`
	AlertUuid            *string `json:"alertUuid,omitempty"`
	Component            *string `json:"component,omitempty"`
	ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
	LastEventTime        *string `json:"lastEventTime,omitempty"`

	// StartTime When the alert was first detected
	StartTime *string `json:"startTime,omitempty"`
}

ModelsAlertTimelineNodeAlert defines model for models.AlertTimelineNodeAlert.

type ModelsAlertTimelineNodeAlertsResponse

type ModelsAlertTimelineNodeAlertsResponse struct {
	Alerts   *[]ModelsAlertTimelineNodeAlert `json:"alerts,omitempty"`
	HasMore  *bool                           `json:"hasMore,omitempty"`
	Hostname *string                         `json:"hostname,omitempty"`
	NodeUuid *string                         `json:"nodeUuid,omitempty"`
	Page     *int                            `json:"page,omitempty"`
	PageSize *int                            `json:"pageSize,omitempty"`

	// Total Total number of alerts for this node
	Total *int `json:"total,omitempty"`
}

ModelsAlertTimelineNodeAlertsResponse defines model for models.AlertTimelineNodeAlertsResponse.

type ModelsAlertTimelineNodesResponse

type ModelsAlertTimelineNodesResponse struct {
	// DistinctComputeZoneCount Distinct compute zones among matching nodes
	DistinctComputeZoneCount *int `json:"distinctComputeZoneCount,omitempty"`

	// DistinctGpuTypeCount Distinct GPU types among matching nodes
	DistinctGpuTypeCount *int `json:"distinctGpuTypeCount,omitempty"`

	// DistinctNodeGroupCount Distinct node groups among matching nodes
	DistinctNodeGroupCount *int                       `json:"distinctNodeGroupCount,omitempty"`
	HasMore                *bool                      `json:"hasMore,omitempty"`
	Nodes                  *[]ModelsAlertTimelineNode `json:"nodes,omitempty"`
	Page                   *int                       `json:"page,omitempty"`
	PageSize               *int                       `json:"pageSize,omitempty"`

	// Total Total number of nodes matching filters across all pages
	Total *int `json:"total,omitempty"`

	// TotalCritical Cross-page critical alert total; drives ALERT header
	TotalCritical *int `json:"totalCritical,omitempty"`

	// TotalResolved Cross-page resolved alert total; historical view only
	TotalResolved *int `json:"totalResolved,omitempty"`

	// TotalWarning Cross-page warning alert total
	TotalWarning *int `json:"totalWarning,omitempty"`
}

ModelsAlertTimelineNodesResponse defines model for models.AlertTimelineNodesResponse.

type ModelsAudience added in v1.0.0

type ModelsAudience string

ModelsAudience defines model for models.Audience.

const (
	AudienceDefault               ModelsAudience = "default"
	AudienceExternalCloudProvider ModelsAudience = "external_cloud_provider"
	AudienceForbidden             ModelsAudience = "forbidden"
)

Defines values for ModelsAudience.

func (ModelsAudience) Valid added in v1.0.0

func (e ModelsAudience) Valid() bool

Valid indicates whether the value is a known member of the ModelsAudience enum.

type ModelsAuthStatusResponse added in v1.0.0

type ModelsAuthStatusResponse struct {
	Authenticated *bool `json:"authenticated,omitempty"`
}

ModelsAuthStatusResponse defines model for models.AuthStatusResponse.

type ModelsBasicNodesResponse

type ModelsBasicNodesResponse struct {
	HasMore  *bool               `json:"hasMore,omitempty"`
	Nodes    *[]ModelsSimpleNode `json:"nodes,omitempty"`
	Page     *int                `json:"page,omitempty"`
	PageSize *int                `json:"pageSize,omitempty"`
	Total    *int                `json:"total,omitempty"`
}

ModelsBasicNodesResponse defines model for models.BasicNodesResponse.

type ModelsBatchUpdateTagsRequest added in v1.0.0

type ModelsBatchUpdateTagsRequest struct {
	Add       *[]string `json:"add,omitempty"`
	NodeUUIDs []string  `json:"nodeUUIDs"`
	Remove    *[]string `json:"remove,omitempty"`
}

ModelsBatchUpdateTagsRequest defines model for models.BatchUpdateTagsRequest.

type ModelsBlockDevice

type ModelsBlockDevice struct {
	FsType *string `json:"fsType,omitempty"`

	// MountPoint Vendor     string   `json:"vendor" example:"Samsung"`
	// Model      string   `json:"model" example:"SSD 870 EVO"`
	// Rev        string   `json:"rev" example:"1B6Q"`
	MountPoint *string   `json:"mountPoint,omitempty"`
	Name       *string   `json:"name,omitempty"`
	Parents    *[]string `json:"parents,omitempty"`
	PartUUID   *string   `json:"partUUID,omitempty"`
	Size       *int      `json:"size,omitempty"`
	Type       *string   `json:"type,omitempty"`
	Used       *int      `json:"used,omitempty"`

	// Wwn Rota       bool     `json:"rota" example:"true"`
	// Serial     string   `json:"serial" example:"ABC123"`
	Wwn *string `json:"wwn,omitempty"`
}

ModelsBlockDevice defines model for models.BlockDevice.

type ModelsByError

type ModelsByError struct {
	Count           *int                   `json:"count,omitempty"`
	Name            *string                `json:"name,omitempty"`
	NodeCount       *int                   `json:"nodeCount,omitempty"`
	SuggestedAction *ModelsSuggestedAction `json:"suggestedAction,omitempty"`
}

ModelsByError defines model for models.ByError.

type ModelsByErrorResponse

type ModelsByErrorResponse struct {
	Errors   *[]ModelsByError `json:"errors,omitempty"`
	HasMore  *bool            `json:"hasMore,omitempty"`
	Page     *int             `json:"page,omitempty"`
	PageSize *int             `json:"pageSize,omitempty"`
	Total    *int             `json:"total,omitempty"`
}

ModelsByErrorResponse defines model for models.ByErrorResponse.

type ModelsByNode

type ModelsByNode struct {
	Errors   *[]string `json:"errors,omitempty"`
	Hostname *string   `json:"hostname,omitempty"`
	NodeUUID *string   `json:"nodeUUID,omitempty"`
}

ModelsByNode defines model for models.ByNode.

type ModelsByNodeResponse

type ModelsByNodeResponse struct {
	HasMore  *bool           `json:"hasMore,omitempty"`
	Nodes    *[]ModelsByNode `json:"nodes,omitempty"`
	Page     *int            `json:"page,omitempty"`
	PageSize *int            `json:"pageSize,omitempty"`
	Total    *int            `json:"total,omitempty"`
}

ModelsByNodeResponse defines model for models.ByNodeResponse.

type ModelsCPUInfo

type ModelsCPUInfo struct {
	Architecture *string `json:"architecture,omitempty"`
	LogicalCores *string `json:"logicalCores,omitempty"`
	Manufacturer *string `json:"manufacturer,omitempty"`
	Type         *string `json:"type,omitempty"`
}

ModelsCPUInfo defines model for models.CPUInfo.

type ModelsCertChainStatus

type ModelsCertChainStatus struct {
	XNvidiaCertExpirationDate    *string `json:"x-nvidia-cert-expiration-date,omitempty"`
	XNvidiaCertOcspNonceMatches  *bool   `json:"x-nvidia-cert-ocsp-nonce-matches,omitempty"`
	XNvidiaCertOcspResponseValid *bool   `json:"x-nvidia-cert-ocsp-response-valid,omitempty"`
	XNvidiaCertOcspStatus        *string `json:"x-nvidia-cert-ocsp-status,omitempty"`
	XNvidiaCertRevocationReason  *string `json:"x-nvidia-cert-revocation-reason,omitempty"`
	XNvidiaCertStatus            *string `json:"x-nvidia-cert-status,omitempty"`
}

ModelsCertChainStatus defines model for models.CertChainStatus.

type ModelsCommand added in v1.0.0

type ModelsCommand struct {
	Flavors      *[]ModelsSingleCommand `json:"flavors,omitempty"`
	Link         *string                `json:"link,omitempty"`
	Name         *string                `json:"name,omitempty"`
	Placeholders *[]string              `json:"placeholders,omitempty"`
	Template     *string                `json:"template,omitempty"`
}

ModelsCommand defines model for models.Command.

type ModelsCommandsResponse added in v1.0.0

type ModelsCommandsResponse struct {
	Commands *[]ModelsCommand `json:"commands,omitempty"`
}

ModelsCommandsResponse defines model for models.CommandsResponse.

type ModelsComponentInfo added in v1.0.0

type ModelsComponentInfo struct {
	Build   *string `json:"build,omitempty"`
	Version *string `json:"version,omitempty"`
}

ModelsComponentInfo defines model for models.ComponentInfo.

type ModelsComponentMetricList added in v1.0.0

type ModelsComponentMetricList struct {
	DisplayName        *string             `json:"displayName,omitempty"`
	IsBackendComponent *bool               `json:"isBackendComponent,omitempty"`
	Metrics            *[]ModelsMetricInfo `json:"metrics,omitempty"`
	Name               *string             `json:"name,omitempty"`

	// SubComponents Dynamic children (e.g., active PSIRT CVEs)
	SubComponents *[]string `json:"subComponents,omitempty"`
}

ModelsComponentMetricList defines model for models.ComponentMetricList.

type ModelsComponentsInfo added in v1.0.0

type ModelsComponentsInfo struct {
	AgentBackend *ModelsComponentInfo `json:"agentBackend,omitempty"`
	ApiBackend   *ModelsComponentInfo `json:"apiBackend,omitempty"`
}

ModelsComponentsInfo defines model for models.ComponentsInfo.

type ModelsComputeZoneOverview

type ModelsComputeZoneOverview struct {
	AlertOverview       *ModelsAlertOverview   `json:"alertOverview,omitempty"`
	Contact             *ModelsContact         `json:"contact,omitempty"`
	CpuCoresCount       *int                   `json:"cpuCoresCount,omitempty"`
	CreatedAt           *string                `json:"createdAt,omitempty"`
	DegradedNodesCount  *int                   `json:"degradedNodesCount,omitempty"`
	GeoLocation         *ModelsGeoLocation     `json:"geoLocation,omitempty"`
	GpusCount           *int                   `json:"gpusCount,omitempty"`
	HealthPercentage    *float32               `json:"healthPercentage,omitempty"`
	HealthState         *ModelsHealthState     `json:"healthState,omitempty"`
	HealthyNodesCount   *int                   `json:"healthyNodesCount,omitempty"`
	Id                  *string                `json:"id,omitempty"`
	Metrics             *[]ModelsMetric        `json:"metrics,omitempty"`
	Name                *string                `json:"name,omitempty"`
	NodeGroupsCount     *int                   `json:"nodeGroupsCount,omitempty"`
	NodesCount          *int                   `json:"nodesCount,omitempty"`
	Tags                *[]string              `json:"tags,omitempty"`
	Type                *ModelsComputeZoneType `json:"type,omitempty"`
	UnhealthyNodesCount *int                   `json:"unhealthyNodesCount,omitempty"`
	UnknownNodesCount   *int                   `json:"unknownNodesCount,omitempty"`
	UpdatedAt           *string                `json:"updatedAt,omitempty"`
}

ModelsComputeZoneOverview defines model for models.ComputeZoneOverview.

type ModelsComputeZoneType

type ModelsComputeZoneType string

ModelsComputeZoneType defines model for models.ComputeZoneType.

const (
	ComputeZoneTypeCloudProvider ModelsComputeZoneType = "cloud provider"
	ComputeZoneTypeDatacenter    ModelsComputeZoneType = "datacenter"
)

Defines values for ModelsComputeZoneType.

func (ModelsComputeZoneType) Valid

func (e ModelsComputeZoneType) Valid() bool

Valid indicates whether the value is a known member of the ModelsComputeZoneType enum.

type ModelsComputeZonesResponse

type ModelsComputeZonesResponse struct {
	Computezones *[]ModelsComputeZoneOverview `json:"computezones,omitempty"`
	HasMore      *bool                        `json:"hasMore,omitempty"`
	Page         *int                         `json:"page,omitempty"`
	PageSize     *int                         `json:"pageSize,omitempty"`
	Total        *int                         `json:"total,omitempty"`
}

ModelsComputeZonesResponse defines model for models.ComputeZonesResponse.

type ModelsContact

type ModelsContact struct {
	Email *string `json:"email,omitempty"`
	Pic   *string `json:"pic,omitempty"`
}

ModelsContact defines model for models.Contact.

type ModelsCreateNotificationPreferenceResponse added in v1.0.0

type ModelsCreateNotificationPreferenceResponse struct {
	Id string `json:"id"`
}

ModelsCreateNotificationPreferenceResponse defines model for models.CreateNotificationPreferenceResponse.

type ModelsDeleteMuteRulesRequest added in v1.0.0

type ModelsDeleteMuteRulesRequest struct {
	Component  string    `json:"component"`
	Severities *[]string `json:"severities,omitempty"`
}

ModelsDeleteMuteRulesRequest defines model for models.DeleteMuteRulesRequest.

type ModelsDeleteNodesRequest

type ModelsDeleteNodesRequest struct {
	NodeUUIDs []string `json:"nodeUUIDs"`
}

ModelsDeleteNodesRequest defines model for models.DeleteNodesRequest.

type ModelsDeliveryLogItem added in v1.0.0

type ModelsDeliveryLogItem struct {
	AlertEventType *ModelsAlertEventType `json:"alertEventType,omitempty"`

	// AlertStatus Alert status at time of notification: "Critical", "Warning", or "Resolved"
	AlertStatus          *string               `json:"alertStatus,omitempty"`
	AlertUUID            *string               `json:"alertUUID,omitempty"`
	Channel              *string               `json:"channel,omitempty"`
	Component            *string               `json:"component,omitempty"`
	ComponentDisplayName *string               `json:"componentDisplayName,omitempty"`
	CreatedAt            *string               `json:"createdAt,omitempty"`
	Hostname             *string               `json:"hostname,omitempty"`
	NodeUUID             *string               `json:"nodeUUID,omitempty"`
	Recipient            *string               `json:"recipient,omitempty"`
	Status               *ModelsDeliveryStatus `json:"status,omitempty"`
}

ModelsDeliveryLogItem defines model for models.DeliveryLogItem.

type ModelsDeliveryLogResponse added in v1.0.0

type ModelsDeliveryLogResponse struct {
	DeliveryLog *[]ModelsDeliveryLogItem `json:"deliveryLog,omitempty"`
	HasMore     *bool                    `json:"hasMore,omitempty"`
	Page        *int                     `json:"page,omitempty"`
	PageSize    *int                     `json:"pageSize,omitempty"`
	Total       *int                     `json:"total,omitempty"`
}

ModelsDeliveryLogResponse defines model for models.DeliveryLogResponse.

type ModelsDeliveryStatus added in v1.0.0

type ModelsDeliveryStatus string

ModelsDeliveryStatus defines model for models.DeliveryStatus.

const (
	DeliveryStatusFailed ModelsDeliveryStatus = "failed"
	DeliveryStatusSent   ModelsDeliveryStatus = "sent"
)

Defines values for ModelsDeliveryStatus.

func (ModelsDeliveryStatus) Valid added in v1.0.0

func (e ModelsDeliveryStatus) Valid() bool

Valid indicates whether the value is a known member of the ModelsDeliveryStatus enum.

type ModelsDiskInfo

type ModelsDiskInfo struct {
	BlockDevices      *[]ModelsBlockDevice `json:"blockDevices,omitempty"`
	ContainerRootDisk *string              `json:"containerRootDisk,omitempty"`
}

ModelsDiskInfo defines model for models.DiskInfo.

type ModelsErrorLabelByError

type ModelsErrorLabelByError struct {
	Error *string `json:"error,omitempty"`
}

ModelsErrorLabelByError defines model for models.ErrorLabelByError.

type ModelsErrorOverviewResponse

type ModelsErrorOverviewResponse struct {
	TotalErrorNodes *int `json:"totalErrorNodes,omitempty"`
	TotalErrorTypes *int `json:"totalErrorTypes,omitempty"`
	TotalErrors     *int `json:"totalErrors,omitempty"`
}

ModelsErrorOverviewResponse defines model for models.ErrorOverviewResponse.

type ModelsErrorReportGraphByErrorResponse

type ModelsErrorReportGraphByErrorResponse struct {
	Result    *[]ModelsErrorTimeSeriesByError `json:"result,omitempty"`
	TimeRange *ModelsTimeRange                `json:"timeRange,omitempty"`
}

ModelsErrorReportGraphByErrorResponse defines model for models.ErrorReportGraphByErrorResponse.

type ModelsErrorResponse

type ModelsErrorResponse struct {
	// Details Detailed error information
	Details *string `json:"details,omitempty"`

	// Error Error message or type
	Error *string `json:"error,omitempty"`

	// RequestStatus RequestStatus contains KAS-specific error details
	// This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code
	// If KAS returns an error, the request will not be forwarded to the backend
	RequestStatus *ModelsKASRequestStatus `json:"requestStatus,omitempty"`
}

ModelsErrorResponse Standard error response returned by all API endpoints. For KAS API errors, requestStatus fields are populated.

type ModelsErrorTimeSeriesByError

type ModelsErrorTimeSeriesByError struct {
	Label  *ModelsErrorLabelByError `json:"label,omitempty"`
	Values *string                  `json:"values,omitempty"`
}

ModelsErrorTimeSeriesByError defines model for models.ErrorTimeSeriesByError.

type ModelsEvent added in v1.0.0

type ModelsEvent struct {
	// Component Component name
	Component *string `json:"component,omitempty"`
	CreatedAt *string `json:"createdAt,omitempty"`

	// EventId Unique event identifier
	EventId *string `json:"eventId,omitempty"`
	Message *string `json:"message,omitempty"`

	// Name Event name
	Name *string `json:"name,omitempty"`

	// NodeUUID Node UUID
	NodeUUID *string `json:"nodeUUID,omitempty"`

	// SuggestedActions Suggested actions for resolving the event
	SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
	Timestamp        *string                  `json:"timestamp,omitempty"`

	// Type Event type
	Type *string `json:"type,omitempty"`
}

ModelsEvent defines model for models.Event.

type ModelsEventBucket added in v1.0.0

type ModelsEventBucket struct {
	Count          *int    `json:"count,omitempty"`
	EndTime        *string `json:"endTime,omitempty"`
	FirstEventTime *string `json:"firstEventTime,omitempty"`
	StartTime      *string `json:"startTime,omitempty"`
}

ModelsEventBucket defines model for models.EventBucket.

type ModelsEventBucketsResponse added in v1.0.0

type ModelsEventBucketsResponse struct {
	BucketInterval *string              `json:"bucketInterval,omitempty"`
	Buckets        *[]ModelsEventBucket `json:"buckets,omitempty"`
}

ModelsEventBucketsResponse defines model for models.EventBucketsResponse.

type ModelsEventsResponse added in v1.0.0

type ModelsEventsResponse struct {
	Events   *[]ModelsEvent `json:"events,omitempty"`
	HasMore  *bool          `json:"hasMore,omitempty"`
	Page     *int           `json:"page,omitempty"`
	PageSize *int           `json:"pageSize,omitempty"`
	Total    *int           `json:"total,omitempty"`
}

ModelsEventsResponse defines model for models.EventsResponse.

type ModelsFilterField

type ModelsFilterField struct {
	Name    *string               `json:"name,omitempty"`
	Options *[]ModelsFilterOption `json:"options,omitempty"`
}

ModelsFilterField defines model for models.FilterField.

type ModelsFilterOption

type ModelsFilterOption = map[string]interface{}

ModelsFilterOption defines model for models.FilterOption.

type ModelsFilterOptions

type ModelsFilterOptions struct {
	Fields *[]ModelsFilterField `json:"fields,omitempty"`
}

ModelsFilterOptions defines model for models.FilterOptions.

type ModelsFirmwareCheck

type ModelsFirmwareCheck string

ModelsFirmwareCheck defines model for models.FirmwareCheck.

const (
	FirmwareCheckFailed  ModelsFirmwareCheck = "Failed"
	FirmwareCheckPassed  ModelsFirmwareCheck = "Passed"
	FirmwareCheckUnknown ModelsFirmwareCheck = "Unknown"
)

Defines values for ModelsFirmwareCheck.

func (ModelsFirmwareCheck) Valid

func (e ModelsFirmwareCheck) Valid() bool

Valid indicates whether the value is a known member of the ModelsFirmwareCheck enum.

type ModelsGPUDevice

type ModelsGPUDevice struct {
	BoardID      *int    `json:"boardID,omitempty"`
	BusID        *string `json:"busID,omitempty"`
	ChassisSN    *string `json:"chassisSN,omitempty"`
	CliqueID     *int    `json:"cliqueID,omitempty"`
	ClusterUUID  *string `json:"clusterUUID,omitempty"`
	GpuIndex     *string `json:"gpuIndex,omitempty"`
	MinorID      *string `json:"minorID,omitempty"`
	Sn           *string `json:"sn,omitempty"`
	Uuid         *string `json:"uuid,omitempty"`
	VbiosVersion *string `json:"vbiosVersion,omitempty"`
}

ModelsGPUDevice defines model for models.GPUDevice.

type ModelsGPUFirmwareVersion added in v1.0.0

type ModelsGPUFirmwareVersion struct {
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
	GpuIndex        *string `json:"gpuIndex,omitempty"`
}

ModelsGPUFirmwareVersion defines model for models.GPUFirmwareVersion.

type ModelsGPUInfo

type ModelsGPUInfo struct {
	Architecture *string            `json:"architecture,omitempty"`
	Gpus         *[]ModelsGPUDevice `json:"gpus,omitempty"`
	Manufacturer *string            `json:"manufacturer,omitempty"`
	Memory       *string            `json:"memory,omitempty"`
	Product      *string            `json:"product,omitempty"`
}

ModelsGPUInfo defines model for models.GPUInfo.

type ModelsGeoLocation

type ModelsGeoLocation struct {
	City      *string  `json:"city,omitempty"`
	Country   *string  `json:"country,omitempty"`
	Latitude  *float32 `json:"latitude,omitempty"`
	Longitude *float32 `json:"longitude,omitempty"`
	Region    *string  `json:"region,omitempty"`
}

ModelsGeoLocation defines model for models.GeoLocation.

type ModelsGetMetricsResponse added in v1.0.0

type ModelsGetMetricsResponse struct {
	Components *[]ModelsComponentMetricList `json:"components,omitempty"`
}

ModelsGetMetricsResponse defines model for models.GetMetricsResponse.

type ModelsGetRetentionPolicyResponse added in v1.0.0

type ModelsGetRetentionPolicyResponse struct {
	CreatedAt     *string `json:"createdAt,omitempty"`
	RetentionDays *int    `json:"retentionDays,omitempty"`
	UpdatedAt     *string `json:"updatedAt,omitempty"`
	UpdatedBy     *string `json:"updatedBy,omitempty"`
}

ModelsGetRetentionPolicyResponse defines model for models.GetRetentionPolicyResponse.

type ModelsHealthSegment

type ModelsHealthSegment struct {
	EndTime   *string            `json:"endTime,omitempty"`
	StartTime *string            `json:"startTime,omitempty"`
	Status    *ModelsHealthState `json:"status,omitempty"`
}

ModelsHealthSegment defines model for models.HealthSegment.

type ModelsHealthState

type ModelsHealthState string

ModelsHealthState defines model for models.HealthState.

const (
	HealthStateDegraded    ModelsHealthState = "Degraded"
	HealthStateHealthy     ModelsHealthState = "Healthy"
	HealthStatePending     ModelsHealthState = "Pending"
	HealthStateUnhealthy   ModelsHealthState = "Unhealthy"
	HealthStateUnknown     ModelsHealthState = "Unknown"
	HealthStateUnsupported ModelsHealthState = "Unsupported"
)

Defines values for ModelsHealthState.

func (ModelsHealthState) Valid

func (e ModelsHealthState) Valid() bool

Valid indicates whether the value is a known member of the ModelsHealthState enum.

type ModelsHealthSummary

type ModelsHealthSummary struct {
	DegradedDurationSeconds  *float32 `json:"degradedDurationSeconds,omitempty"`
	DegradedPercentage       *float32 `json:"degradedPercentage,omitempty"`
	HealthyDurationSeconds   *float32 `json:"healthyDurationSeconds,omitempty"`
	HealthyPercentage        *float32 `json:"healthyPercentage,omitempty"`
	UnhealthyDurationSeconds *float32 `json:"unhealthyDurationSeconds,omitempty"`
	UnhealthyPercentage      *float32 `json:"unhealthyPercentage,omitempty"`
}

ModelsHealthSummary defines model for models.HealthSummary.

type ModelsInfoResponse added in v1.0.0

type ModelsInfoResponse struct {
	Components *ModelsComponentsInfo `json:"components,omitempty"`
	SigningKey *ModelsSigningKeyInfo `json:"signingKey,omitempty"`
}

ModelsInfoResponse defines model for models.InfoResponse.

type ModelsIntegrityCheck

type ModelsIntegrityCheck string

ModelsIntegrityCheck defines model for models.IntegrityCheck.

const (
	IntegrityCheckDegraded    ModelsIntegrityCheck = "Degraded"
	IntegrityCheckFailed      ModelsIntegrityCheck = "Unverified"
	IntegrityCheckPassed      ModelsIntegrityCheck = "Verified"
	IntegrityCheckPending     ModelsIntegrityCheck = "Pending"
	IntegrityCheckUnknown     ModelsIntegrityCheck = "Unknown"
	IntegrityCheckUnsupported ModelsIntegrityCheck = "Unsupported"
)

Defines values for ModelsIntegrityCheck.

func (ModelsIntegrityCheck) Valid

func (e ModelsIntegrityCheck) Valid() bool

Valid indicates whether the value is a known member of the ModelsIntegrityCheck enum.

type ModelsIntegrityCheckExtraInfo

type ModelsIntegrityCheckExtraInfo struct {
	ErrorDetails             *string                     `json:"errorDetails,omitempty"`
	GpuEvidencePresent       *bool                       `json:"gpuEvidencePresent,omitempty"`
	GpuResults               *map[string]ModelsJWTClaims `json:"gpuResults,omitempty"`
	NrasCallResult           *string                     `json:"nrasCallResult,omitempty"`
	OverallAttestationResult *bool                       `json:"overallAttestationResult,omitempty"`
}

ModelsIntegrityCheckExtraInfo defines model for models.IntegrityCheckExtraInfo.

type ModelsInventoryNode

type ModelsInventoryNode struct {
	AgentVersion            *string                        `json:"agentVersion,omitempty"`
	ComputeZone             *string                        `json:"computeZone,omitempty"`
	EnrolledAt              *string                        `json:"enrolledAt,omitempty"`
	FirmwareCheck           *ModelsFirmwareCheck           `json:"firmwareCheck,omitempty"`
	GeoLocation             *ModelsGeoLocation             `json:"geoLocation,omitempty"`
	GpuCount                *int                           `json:"gpuCount,omitempty"`
	GpuDriverVersion        *string                        `json:"gpuDriverVersion,omitempty"`
	GpuFirmwareVersions     *[]ModelsGPUFirmwareVersion    `json:"gpuFirmwareVersions,omitempty"`
	GpuType                 *string                        `json:"gpuType,omitempty"`
	GpuUUIDs                *[]string                      `json:"gpuUUIDs,omitempty"`
	Hostname                *string                        `json:"hostname,omitempty"`
	IntegrityCheck          *ModelsIntegrityCheck          `json:"integrityCheck,omitempty"`
	IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
	IntegrityCheckReason    *string                        `json:"integrityCheckReason,omitempty"`
	KernelVersion           *string                        `json:"kernelVersion,omitempty"`
	LastIntegrityCheckTS    *string                        `json:"lastIntegrityCheckTS,omitempty"`
	NodeGroup               *string                        `json:"nodeGroup,omitempty"`
	NodeUUID                *string                        `json:"nodeUUID,omitempty"`
	PrivateIP               *string                        `json:"privateIP,omitempty"`
	PublicIP                *string                        `json:"publicIP,omitempty"`
	RemovedAt               *string                        `json:"removedAt,omitempty"`
	SerialNumbers           *[]string                      `json:"serialNumbers,omitempty"`
	SystemUUID              *string                        `json:"systemUUID,omitempty"`
}

ModelsInventoryNode defines model for models.InventoryNode.

type ModelsInventoryReportResponse

type ModelsInventoryReportResponse struct {
	HasMore  *bool                  `json:"hasMore,omitempty"`
	Nodes    *[]ModelsInventoryNode `json:"nodes,omitempty"`
	Page     *int                   `json:"page,omitempty"`
	PageSize *int                   `json:"pageSize,omitempty"`
	Total    *int                   `json:"total,omitempty"`
}

ModelsInventoryReportResponse defines model for models.InventoryReportResponse.

type ModelsJWTClaims

type ModelsJWTClaims struct {
	EatNonce *string `json:"eat_nonce,omitempty"`
	Exp      *int    `json:"exp,omitempty"`

	// Hwmodel Hardware info
	Hwmodel *string `json:"hwmodel,omitempty"`
	Iat     *int    `json:"iat,omitempty"`

	// Iss Standard JWT claims
	Iss                       *string                  `json:"iss,omitempty"`
	Jti                       *string                  `json:"jti,omitempty"`
	Measres                   *string                  `json:"measres,omitempty"`
	Nbf                       *int                     `json:"nbf,omitempty"`
	Sub                       *string                  `json:"sub,omitempty"`
	Ueid                      *string                  `json:"ueid,omitempty"`
	XNvidiaAttestationWarning *string                  `json:"x-nvidia-attestation-warning,omitempty"`
	XNvidiaErrorDetails       *[]ModelsNRASErrorDetail `json:"x-nvidia-error-details,omitempty"`

	// XNvidiaGpuArchCheck NVIDIA attestation claims - GPU specific
	XNvidiaGpuArchCheck                          *bool                  `json:"x-nvidia-gpu-arch-check,omitempty"`
	XNvidiaGpuAttestationReportCertChain         *ModelsCertChainStatus `json:"x-nvidia-gpu-attestation-report-cert-chain,omitempty"`
	XNvidiaGpuAttestationReportNonceMatch        *bool                  `json:"x-nvidia-gpu-attestation-report-nonce-match,omitempty"`
	XNvidiaGpuAttestationReportParsed            *bool                  `json:"x-nvidia-gpu-attestation-report-parsed,omitempty"`
	XNvidiaGpuAttestationReportSignatureVerified *bool                  `json:"x-nvidia-gpu-attestation-report-signature-verified,omitempty"`
	XNvidiaGpuVbiosRimFetched                    *bool                  `json:"x-nvidia-gpu-vbios-rim-fetched,omitempty"`
	XNvidiaGpuVbiosRimMeasurementsAvailable      *bool                  `json:"x-nvidia-gpu-vbios-rim-measurements-available,omitempty"`
	XNvidiaGpuVbiosVersion                       *string                `json:"x-nvidia-gpu-vbios-version,omitempty"`
	XNvidiaMismatchMeasurementRecords            *[]interface{}         `json:"x-nvidia-mismatch-measurement-records,omitempty"`

	// XNvidiaOverallAttResult NVIDIA attestation claims - overall result (for overall JWT)
	XNvidiaOverallAttResult *bool `json:"x-nvidia-overall-att-result,omitempty"`
}

ModelsJWTClaims defines model for models.JWTClaims.

type ModelsKASRequestStatus

type ModelsKASRequestStatus struct {
	// RequestId Request ID for tracing
	RequestId *string `json:"requestId,omitempty"`

	// StatusCode Status code from KAS
	StatusCode *string `json:"statusCode,omitempty"`

	// StatusDescription Status description from KAS
	StatusDescription *string `json:"statusDescription,omitempty"`
}

ModelsKASRequestStatus RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

type ModelsListComputeZonesResponse

type ModelsListComputeZonesResponse struct {
	Computezones *[]ModelsSimpleComputeZone `json:"computezones,omitempty"`
	HasMore      *bool                      `json:"hasMore,omitempty"`
	Page         *int                       `json:"page,omitempty"`
	PageSize     *int                       `json:"pageSize,omitempty"`
	Total        *int                       `json:"total,omitempty"`
}

ModelsListComputeZonesResponse defines model for models.ListComputeZonesResponse.

type ModelsListMuteRulesResponse added in v1.0.0

type ModelsListMuteRulesResponse struct {
	Rules *[]ModelsMuteRuleWithDetails `json:"rules,omitempty"`
	Total *int                         `json:"total,omitempty"`
}

ModelsListMuteRulesResponse defines model for models.ListMuteRulesResponse.

type ModelsListNodeGroupsResponse

type ModelsListNodeGroupsResponse struct {
	HasMore    *bool                    `json:"hasMore,omitempty"`
	NodeGroups *[]ModelsSimpleNodeGroup `json:"nodeGroups,omitempty"`
	Page       *int                     `json:"page,omitempty"`
	PageSize   *int                     `json:"pageSize,omitempty"`
	Total      *int                     `json:"total,omitempty"`
}

ModelsListNodeGroupsResponse defines model for models.ListNodeGroupsResponse.

type ModelsListNotificationPreferencesResponse added in v1.0.0

type ModelsListNotificationPreferencesResponse struct {
	ComponentPreferenceCounts *map[string]int                       `json:"componentPreferenceCounts,omitempty"`
	Preferences               *[]ModelsNotificationPreferenceDetail `json:"preferences,omitempty"`
	Total                     *int                                  `json:"total,omitempty"`
}

ModelsListNotificationPreferencesResponse defines model for models.ListNotificationPreferencesResponse.

type ModelsListTagsResponse added in v1.0.0

type ModelsListTagsResponse struct {
	Tags *[]string `json:"tags,omitempty"`
}

ModelsListTagsResponse defines model for models.ListTagsResponse.

type ModelsMemoryInfo

type ModelsMemoryInfo struct {
	TotalBytes *string `json:"totalBytes,omitempty"`
}

ModelsMemoryInfo defines model for models.MemoryInfo.

type ModelsMetric

type ModelsMetric struct {
	Aggregation *ModelsAggregation `json:"aggregation,omitempty"`
	Description *string            `json:"description,omitempty"`
	LastUpdated *string            `json:"lastUpdated,omitempty"`
	Name        *string            `json:"name,omitempty"`
	Unit        *string            `json:"unit,omitempty"`
	Value       *float32           `json:"value,omitempty"`
}

ModelsMetric defines model for models.Metric.

type ModelsMetricInfo added in v1.0.0

type ModelsMetricInfo struct {
	DisplayName *string `json:"displayName,omitempty"`
	Name        *string `json:"name,omitempty"`
	Type        *string `json:"type,omitempty"`
	Unit        *string `json:"unit,omitempty"`
}

ModelsMetricInfo defines model for models.MetricInfo.

type ModelsMetricQueryWarning added in v1.0.0

type ModelsMetricQueryWarning struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

ModelsMetricQueryWarning e.g. omitted invalid metric points; null when no issues

type ModelsMetricSeriesData added in v1.0.0

type ModelsMetricSeriesData struct {
	// DisplayLabel DisplayLabel is the preferred label value for UI display (e.g., GPU index for DCGM metrics).
	// Derived from the "gpu" key if present, otherwise falls back to "gpu_uuid".
	// Omitted for aggregated levels where labels are not present.
	DisplayLabel *string `json:"displayLabel,omitempty"`

	// Label Label contains identifying information (e.g., GPU UUID) for node-level queries.
	// Omitted for aggregated levels (customer/nodegroup/computezone).
	// Typical keys: "gpu" (GPU index), "uuid" (GPU UUID).
	Label *map[string]string `json:"label,omitempty"`

	// Values Values is a 2D array where each inner array contains [unix_timestamp, metric_value]
	// This follows the Prometheus/Grafana standard format for compatibility
	// The last element in the array represents the most recent/latest value
	// Example: [[1705276800, 0.723], [1705277100, 0.741]]
	// NOTE: swaggertype:"string" is a workaround for swag limitations with nested arrays
	Values *string `json:"values,omitempty"`
}

ModelsMetricSeriesData defines model for models.MetricSeriesData.

type ModelsMetricTimeSeries added in v1.0.0

type ModelsMetricTimeSeries struct {
	Aggregation       *ModelsAggregation `json:"aggregation,omitempty"`
	DisplayName       *string            `json:"displayName,omitempty"`
	EmptyStateMessage *string            `json:"emptyStateMessage,omitempty"`

	// FalseLabel FalseLabel is the human-readable label for value 0 in boolean/count-as-bool metrics.
	// Omitted for non-boolean metrics.
	FalseLabel *string `json:"falseLabel,omitempty"`
	Name       *string `json:"name,omitempty"`

	// Result Array of series data (1 for aggregated, multiple for node-level)
	Result *[]ModelsMetricSeriesData `json:"result,omitempty"`

	// TrueLabel TrueLabel is the human-readable label for value 1 in boolean/count-as-bool metrics.
	// Omitted for non-boolean metrics.
	TrueLabel *string `json:"trueLabel,omitempty"`
	Unit      *string `json:"unit,omitempty"`

	// Warning e.g. omitted invalid metric points; null when no issues
	Warning ModelsMetricQueryWarning `json:"warning"`
}

ModelsMetricTimeSeries defines model for models.MetricTimeSeries.

type ModelsMetricsAggregationResponse added in v1.0.0

type ModelsMetricsAggregationResponse struct {
	Metrics *[]ModelsMetricTimeSeries `json:"metrics,omitempty"`

	// Step Query resolution step width from request
	Step      *string          `json:"step,omitempty"`
	TimeRange *ModelsTimeRange `json:"timeRange,omitempty"`
}

ModelsMetricsAggregationResponse defines model for models.MetricsAggregationResponse.

type ModelsMuteRuleWithDetails added in v1.0.0

type ModelsMuteRuleWithDetails struct {
	Component            *string   `json:"component,omitempty"`
	ComponentDisplayName *string   `json:"componentDisplayName,omitempty"`
	Reason               *string   `json:"reason,omitempty"`
	Severities           *[]string `json:"severities,omitempty"`
}

ModelsMuteRuleWithDetails defines model for models.MuteRuleWithDetails.

type ModelsNRASErrorDetail

type ModelsNRASErrorDetail struct {
	Code        *int    `json:"code,omitempty"`
	Description *string `json:"description,omitempty"`
	FieldName   *string `json:"fieldName,omitempty"`
	HttpStatus  *string `json:"httpStatus,omitempty"`
	Message     *string `json:"message,omitempty"`
}

ModelsNRASErrorDetail defines model for models.NRASErrorDetail.

type ModelsNicInfo

type ModelsNicInfo struct {
	PrivateIPInterfaces *[]ModelsNicInterface `json:"privateIPInterfaces,omitempty"`
}

ModelsNicInfo defines model for models.NicInfo.

type ModelsNicInterface

type ModelsNicInterface struct {
	Interface *string `json:"interface,omitempty"`
	Ip        *string `json:"ip,omitempty"`
	Mac       *string `json:"mac,omitempty"`
}

ModelsNicInterface defines model for models.NicInterface.

type ModelsNode

type ModelsNode struct {
	AgentStatus             *ModelsAgentStatus             `json:"agentStatus,omitempty"`
	AgentVersion            *string                        `json:"agentVersion,omitempty"`
	ComputeZone             *string                        `json:"computeZone,omitempty"`
	FirmwareCheck           *ModelsFirmwareCheck           `json:"firmwareCheck,omitempty"`
	GpuCount                *int                           `json:"gpuCount,omitempty"`
	GpuDriverVersion        *string                        `json:"gpuDriverVersion,omitempty"`
	GpuFirmwareVersions     *[]ModelsGPUFirmwareVersion    `json:"gpuFirmwareVersions,omitempty"`
	GpuType                 *string                        `json:"gpuType,omitempty"`
	HealthStatus            *ModelsHealthState             `json:"healthStatus,omitempty"`
	Hostname                *string                        `json:"hostname,omitempty"`
	IntegrityCheck          *ModelsIntegrityCheck          `json:"integrityCheck,omitempty"`
	IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
	IntegrityCheckReason    *string                        `json:"integrityCheckReason,omitempty"`
	KernelVersion           *string                        `json:"kernelVersion,omitempty"`
	LastIntegrityCheckTS    *string                        `json:"lastIntegrityCheckTS,omitempty"`
	LastUpdatedTS           *string                        `json:"lastUpdatedTS,omitempty"`
	NodeGroup               *string                        `json:"nodeGroup,omitempty"`
	NodeUUID                *string                        `json:"nodeUUID,omitempty"`
	PrivateIP               *string                        `json:"privateIP,omitempty"`
	PublicIP                *string                        `json:"publicIP,omitempty"`
}

ModelsNode defines model for models.Node.

type ModelsNodeAlertComponent

type ModelsNodeAlertComponent struct {
	Component            *string        `json:"component,omitempty"`
	ComponentDisplayName *string        `json:"componentDisplayName,omitempty"`
	Data                 *[]ModelsAlert `json:"data,omitempty"`
}

ModelsNodeAlertComponent defines model for models.NodeAlertComponent.

type ModelsNodeAlertResponse

type ModelsNodeAlertResponse struct {
	Alert          *[]ModelsNodeAlertComponent `json:"alert,omitempty"`
	CustomerId     *string                     `json:"customerId,omitempty"`
	NodeUUID       *string                     `json:"nodeUUID,omitempty"`
	Page           *int                        `json:"page,omitempty"`
	PageCursorNext *string                     `json:"pageCursorNext,omitempty"`
	PageSize       *int                        `json:"pageSize,omitempty"`
}

ModelsNodeAlertResponse defines model for models.NodeAlertResponse.

type ModelsNodeDetailsResponse

type ModelsNodeDetailsResponse struct {
	AgentStatus             *ModelsAgentStatus             `json:"agentStatus,omitempty"`
	AgentVersion            *string                        `json:"agentVersion,omitempty"`
	ComputeZone             *string                        `json:"computeZone,omitempty"`
	ComputeZoneId           *string                        `json:"computeZoneId,omitempty"`
	DegradedComponentCount  *int                           `json:"degradedComponentCount,omitempty"`
	EnrolledAt              *string                        `json:"enrolledAt,omitempty"`
	FirmwareCheck           *ModelsFirmwareCheck           `json:"firmwareCheck,omitempty"`
	GeoLocation             *ModelsGeoLocation             `json:"geoLocation,omitempty"`
	GpuCount                *int                           `json:"gpuCount,omitempty"`
	GpuDriverVersion        *string                        `json:"gpuDriverVersion,omitempty"`
	GpuFirmwareVersions     *[]ModelsGPUFirmwareVersion    `json:"gpuFirmwareVersions,omitempty"`
	GpuType                 *string                        `json:"gpuType,omitempty"`
	HealthStatus            *ModelsHealthState             `json:"healthStatus,omitempty"`
	HealthyComponentCount   *int                           `json:"healthyComponentCount,omitempty"`
	Hostname                *string                        `json:"hostname,omitempty"`
	IntegrityCheck          *ModelsIntegrityCheck          `json:"integrityCheck,omitempty"`
	IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
	IntegrityCheckReason    *string                        `json:"integrityCheckReason,omitempty"`
	KernelVersion           *string                        `json:"kernelVersion,omitempty"`
	LastIntegrityCheckTS    *string                        `json:"lastIntegrityCheckTS,omitempty"`
	LastUpdatedTS           *string                        `json:"lastUpdatedTS,omitempty"`
	NodeGroup               *string                        `json:"nodeGroup,omitempty"`
	NodeGroupId             *string                        `json:"nodeGroupId,omitempty"`
	NodeUUID                *string                        `json:"nodeUUID,omitempty"`
	PrivateIP               *string                        `json:"privateIP,omitempty"`
	PublicIP                *string                        `json:"publicIP,omitempty"`
	Resources               *ModelsNodeResources           `json:"resources,omitempty"`
	SystemInfo              *ModelsSystemInfo              `json:"systemInfo,omitempty"`
	Tags                    *[]string                      `json:"tags,omitempty"`
	UnhealthyComponentCount *int                           `json:"unhealthyComponentCount,omitempty"`
}

ModelsNodeDetailsResponse defines model for models.NodeDetailsResponse.

type ModelsNodeGroupMembership added in v1.0.0

type ModelsNodeGroupMembership struct {
	CreatedAt   *string `json:"createdAt,omitempty"`
	NodeGroupId *string `json:"nodeGroupId,omitempty"`
	NodeUUID    *string `json:"nodeUUID,omitempty"`
	UpdatedAt   *string `json:"updatedAt,omitempty"`
}

ModelsNodeGroupMembership defines model for models.NodeGroupMembership.

type ModelsNodeGroupMembershipsResponse added in v1.0.0

type ModelsNodeGroupMembershipsResponse struct {
	HasMore     *bool                        `json:"hasMore,omitempty"`
	Memberships *[]ModelsNodeGroupMembership `json:"memberships,omitempty"`
	Page        *int                         `json:"page,omitempty"`
	PageSize    *int                         `json:"pageSize,omitempty"`
	Total       *int                         `json:"total,omitempty"`
}

ModelsNodeGroupMembershipsResponse defines model for models.NodeGroupMembershipsResponse.

type ModelsNodeGroupOverview

type ModelsNodeGroupOverview struct {
	AlertOverview          *ModelsAlertOverview `json:"alertOverview,omitempty"`
	ComputeZoneContact     *ModelsContact       `json:"computeZoneContact,omitempty"`
	ComputeZoneGeoLocation *ModelsGeoLocation   `json:"computeZoneGeoLocation,omitempty"`
	ComputeZoneId          *string              `json:"computeZoneId,omitempty"`
	ComputeZoneName        *string              `json:"computeZoneName,omitempty"`
	CpuCoresCount          *int                 `json:"cpuCoresCount,omitempty"`
	CreatedAt              *string              `json:"createdAt,omitempty"`
	DegradedNodesCount     *int                 `json:"degradedNodesCount,omitempty"`
	Description            *string              `json:"description,omitempty"`
	GpusCount              *int                 `json:"gpusCount,omitempty"`
	HealthPercentage       *float32             `json:"healthPercentage,omitempty"`
	HealthState            *ModelsHealthState   `json:"healthState,omitempty"`
	HealthyNodesCount      *int                 `json:"healthyNodesCount,omitempty"`
	Id                     *string              `json:"id,omitempty"`
	Metrics                *[]ModelsMetric      `json:"metrics,omitempty"`
	Name                   *string              `json:"name,omitempty"`
	NodesCount             *int                 `json:"nodesCount,omitempty"`
	Tags                   *[]string            `json:"tags,omitempty"`
	UnhealthyNodesCount    *int                 `json:"unhealthyNodesCount,omitempty"`
	UnknownNodesCount      *int                 `json:"unknownNodesCount,omitempty"`
	UpdatedAt              *string              `json:"updatedAt,omitempty"`
}

ModelsNodeGroupOverview defines model for models.NodeGroupOverview.

type ModelsNodeGroupsResponse

type ModelsNodeGroupsResponse struct {
	HasMore    *bool                      `json:"hasMore,omitempty"`
	NodeGroups *[]ModelsNodeGroupOverview `json:"nodeGroups,omitempty"`
	Page       *int                       `json:"page,omitempty"`
	PageSize   *int                       `json:"pageSize,omitempty"`
	Total      *int                       `json:"total,omitempty"`
}

ModelsNodeGroupsResponse defines model for models.NodeGroupsResponse.

type ModelsNodeHealthHistoryResponse

type ModelsNodeHealthHistoryResponse struct {
	EnrolledAt    *string                `json:"enrolledAt,omitempty"`
	HealthSummary *ModelsHealthSummary   `json:"healthSummary,omitempty"`
	MachineStatus *[]ModelsHealthSegment `json:"machineStatus,omitempty"`
}

ModelsNodeHealthHistoryResponse defines model for models.NodeHealthHistoryResponse.

type ModelsNodeHistoryEntry added in v1.0.0

type ModelsNodeHistoryEntry struct {
	ActorType   *string `json:"actorType,omitempty"`
	ComputeZone *string `json:"computeZone,omitempty"`
	DeletedAt   *string `json:"deletedAt,omitempty"`
	DeletedBy   *string `json:"deletedBy,omitempty"`
	Hostname    *string `json:"hostname,omitempty"`
	NodeGroup   *string `json:"nodeGroup,omitempty"`
	NodeUuid    *string `json:"nodeUuid,omitempty"`
}

ModelsNodeHistoryEntry defines model for models.NodeHistoryEntry.

type ModelsNodeHistoryResponse added in v1.0.0

type ModelsNodeHistoryResponse struct {
	HasMore  *bool                     `json:"hasMore,omitempty"`
	History  *[]ModelsNodeHistoryEntry `json:"history,omitempty"`
	Page     *int                      `json:"page,omitempty"`
	PageSize *int                      `json:"pageSize,omitempty"`
	Total    *int                      `json:"total,omitempty"`
}

ModelsNodeHistoryResponse defines model for models.NodeHistoryResponse.

type ModelsNodeRemovalPolicy added in v1.0.0

type ModelsNodeRemovalPolicy struct {
	CreatedAt *string `json:"createdAt,omitempty"`
	Enabled   *bool   `json:"enabled,omitempty"`

	// LastCheckedAt LastCheckedAt is the most recent time the node reaper evaluated this customer.
	// Zero until the reaper first runs against the customer (DB column is NULL), and
	// omitted from the response until then.
	LastCheckedAt        *string `json:"lastCheckedAt,omitempty"`
	OfflineThresholdDays *int    `json:"offlineThresholdDays,omitempty"`
	UpdatedAt            *string `json:"updatedAt,omitempty"`
	UpdatedBy            *string `json:"updatedBy,omitempty"`
}

ModelsNodeRemovalPolicy defines model for models.NodeRemovalPolicy.

type ModelsNodeResources

type ModelsNodeResources struct {
	CpuInfo    *ModelsCPUInfo    `json:"cpuInfo,omitempty"`
	DiskInfo   *ModelsDiskInfo   `json:"diskInfo,omitempty"`
	GpuInfo    *ModelsGPUInfo    `json:"gpuInfo,omitempty"`
	MemoryInfo *ModelsMemoryInfo `json:"memoryInfo,omitempty"`
	NicInfo    *ModelsNicInfo    `json:"nicInfo,omitempty"`
}

ModelsNodeResources defines model for models.NodeResources.

type ModelsNodesResponse

type ModelsNodesResponse struct {
	HasMore  *bool         `json:"hasMore,omitempty"`
	Nodes    *[]ModelsNode `json:"nodes,omitempty"`
	Page     *int          `json:"page,omitempty"`
	PageSize *int          `json:"pageSize,omitempty"`
	Total    *int          `json:"total,omitempty"`
}

ModelsNodesResponse defines model for models.NodesResponse.

type ModelsNotificationChannel added in v1.0.0

type ModelsNotificationChannel string

ModelsNotificationChannel Channel type: email, slack, or webhook

const (
	NotificationChannelEmail   ModelsNotificationChannel = "email"
	NotificationChannelSlack   ModelsNotificationChannel = "slack"
	NotificationChannelWebhook ModelsNotificationChannel = "webhook"
)

Defines values for ModelsNotificationChannel.

func (ModelsNotificationChannel) Valid added in v1.0.0

func (e ModelsNotificationChannel) Valid() bool

Valid indicates whether the value is a known member of the ModelsNotificationChannel enum.

type ModelsNotificationPreferenceDetail added in v1.0.0

type ModelsNotificationPreferenceDetail struct {
	Active                *bool                            `json:"active,omitempty"`
	Audience              *ModelsAudience                  `json:"audience,omitempty"`
	Component             *string                          `json:"component,omitempty"`
	ComponentDisplayName  *string                          `json:"componentDisplayName,omitempty"`
	ComponentDisplayNames *map[string]string               `json:"componentDisplayNames,omitempty"`
	Components            *[]string                        `json:"components,omitempty"`
	Id                    *string                          `json:"id,omitempty"`
	NotificationTargets   *[]ModelsNotificationTarget      `json:"notificationTargets,omitempty"`
	NotifiedOn            *[]string                        `json:"notifiedOn,omitempty"`
	Scope                 *ModelsNotificationScopeResponse `json:"scope,omitempty"`
}

ModelsNotificationPreferenceDetail defines model for models.NotificationPreferenceDetail.

type ModelsNotificationPreferenceRequest added in v1.0.0

type ModelsNotificationPreferenceRequest struct {
	// Active Active flag: when false, this preference is temporarily paused (other preferences covering
	// the same component still fire). If omitted on create, defaults to true. If omitted on update, the
	// existing value is preserved.
	Active *bool `json:"active,omitempty"`

	// Components Components this preference applies to (e.g. GPU, CPU, NVLink, agent_liveness). At least one;
	// all settings below apply equally to every listed component.
	Components []string `json:"components"`

	// NotificationTargets At least one notification target is required.
	// Config structure depends on channel — see EmailNotificationConfig, SlackNotificationConfig, WebhookNotificationConfig.
	NotificationTargets []ModelsNotificationTarget `json:"notificationTargets"`

	// NotifiedOn Alert statuses to notify on. Valid values: Critical, Warning, Resolved.
	// If empty or omitted, defaults to all three: [Critical, Warning, Resolved].
	NotifiedOn *[]string `json:"notifiedOn,omitempty"`

	// Scope Optional scope to narrow which nodes trigger notifications.
	// If omitted or null, all nodes for this component trigger notifications.
	Scope *ModelsNotificationScope `json:"scope,omitempty"`
}

ModelsNotificationPreferenceRequest defines model for models.NotificationPreferenceRequest.

type ModelsNotificationScope added in v1.0.0

type ModelsNotificationScope struct {
	// Type Scope type: all, nodes, node_groups, compute_zones, or tags
	Type *ModelsNotificationScopeType `json:"type,omitempty"`

	// Values Scope values: UUIDs for nodes/node_groups/compute_zones, or tag name strings for tags.
	// At least one value is required for all types except "all".
	Values *[]string `json:"values,omitempty"`
}

ModelsNotificationScope Optional scope to narrow which nodes trigger notifications. If omitted or null, all nodes for this component trigger notifications.

type ModelsNotificationScopeResponse added in v1.0.0

type ModelsNotificationScopeResponse struct {
	// Type Scope type: all, nodes, node_groups, compute_zones, or tags
	Type   *ModelsNotificationScopeType `json:"type,omitempty"`
	Values *map[string]string           `json:"values,omitempty"`
}

ModelsNotificationScopeResponse defines model for models.NotificationScopeResponse.

type ModelsNotificationScopeType added in v1.0.0

type ModelsNotificationScopeType string

ModelsNotificationScopeType Scope type: all, nodes, node_groups, compute_zones, or tags

const (
	ScopeAll          ModelsNotificationScopeType = "all"
	ScopeComputeZones ModelsNotificationScopeType = "compute_zones"
	ScopeNodeGroups   ModelsNotificationScopeType = "node_groups"
	ScopeNodes        ModelsNotificationScopeType = "nodes"
	ScopeTags         ModelsNotificationScopeType = "tags"
)

Defines values for ModelsNotificationScopeType.

func (ModelsNotificationScopeType) Valid added in v1.0.0

Valid indicates whether the value is a known member of the ModelsNotificationScopeType enum.

type ModelsNotificationTarget added in v1.0.0

type ModelsNotificationTarget struct {
	// Channel Channel type: email, slack, or webhook
	Channel ModelsNotificationChannel `json:"channel"`

	// Config Channel-specific configuration (see EmailNotificationConfig, SlackNotificationConfig, WebhookNotificationConfig)
	Config map[string]interface{} `json:"config"`
}

ModelsNotificationTarget defines model for models.NotificationTarget.

type ModelsOptions

type ModelsOptions struct {
	Filters *ModelsFilterOptions  `json:"filters,omitempty"`
	Sorting *ModelsSortingOptions `json:"sorting,omitempty"`
}

ModelsOptions defines model for models.Options.

type ModelsOverviewResponse added in v1.0.0

type ModelsOverviewResponse struct {
	ComputeZoneCount   *int            `json:"computeZoneCount,omitempty"`
	CpuCoresCount      *int            `json:"cpuCoresCount,omitempty"`
	DegradedNodeCount  *int            `json:"degradedNodeCount,omitempty"`
	GpusCount          *int            `json:"gpusCount,omitempty"`
	HealthNodeCount    *int            `json:"healthNodeCount,omitempty"`
	HealthPercentage   *float32        `json:"healthPercentage,omitempty"`
	Metrics            *[]ModelsMetric `json:"metrics,omitempty"`
	NodeGroupCount     *int            `json:"nodeGroupCount,omitempty"`
	NodesCount         *int            `json:"nodesCount,omitempty"`
	UnhealthyNodeCount *int            `json:"unhealthyNodeCount,omitempty"`
	UnknownNodeCount   *int            `json:"unknownNodeCount,omitempty"`
}

ModelsOverviewResponse defines model for models.OverviewResponse.

type ModelsQueryMetricRangeResponse added in v1.0.0

type ModelsQueryMetricRangeResponse struct {
	// Result NodeAggregationFunction string         `json:"nodeAggregationFunction" example:"avg"` // TODO: add this in later
	Result                  *[]ModelsMetricSeriesData `json:"result,omitempty"`
	Step                    *string                   `json:"step,omitempty"`
	StepAggregationFunction *string                   `json:"stepAggregationFunction,omitempty"`
	TimeRange               *ModelsTimeRange          `json:"timeRange,omitempty"`

	// Warning e.g. omitted invalid metric points; null when no issues
	Warning ModelsMetricQueryWarning `json:"warning"`
}

ModelsQueryMetricRangeResponse defines model for models.QueryMetricRangeResponse.

type ModelsSetNodeTagsRequest

type ModelsSetNodeTagsRequest struct {
	Tags []string `json:"tags"`
}

ModelsSetNodeTagsRequest defines model for models.SetNodeTagsRequest.

type ModelsSetNodeTagsResponse

type ModelsSetNodeTagsResponse struct {
	NodeUUID *string   `json:"nodeUUID,omitempty"`
	Tags     *[]string `json:"tags,omitempty"`
}

ModelsSetNodeTagsResponse defines model for models.SetNodeTagsResponse.

type ModelsSigningKeyInfo added in v1.0.0

type ModelsSigningKeyInfo struct {
	IsRecentlyRotated *bool   `json:"isRecentlyRotated,omitempty"`
	LastRotatedAt     *string `json:"lastRotatedAt,omitempty"`
}

ModelsSigningKeyInfo defines model for models.SigningKeyInfo.

type ModelsSimpleComputeZone

type ModelsSimpleComputeZone struct {
	Contact     *ModelsContact         `json:"contact,omitempty"`
	CreatedAt   *string                `json:"createdAt,omitempty"`
	GeoLocation *ModelsGeoLocation     `json:"geoLocation,omitempty"`
	Id          *string                `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        *ModelsComputeZoneType `json:"type,omitempty"`
	UpdatedAt   *string                `json:"updatedAt,omitempty"`
}

ModelsSimpleComputeZone defines model for models.SimpleComputeZone.

type ModelsSimpleNode

type ModelsSimpleNode struct {
	Hostname *string `json:"hostname,omitempty"`
	NodeUUID *string `json:"nodeUUID,omitempty"`
}

ModelsSimpleNode defines model for models.SimpleNode.

type ModelsSimpleNodeGroup

type ModelsSimpleNodeGroup struct {
	ComputeZoneId   *string `json:"computeZoneId,omitempty"`
	ComputeZoneName *string `json:"computeZoneName,omitempty"`
	Id              *string `json:"id,omitempty"`
	Name            *string `json:"name,omitempty"`
}

ModelsSimpleNodeGroup defines model for models.SimpleNodeGroup.

type ModelsSingleCommand added in v1.0.0

type ModelsSingleCommand struct {
	Link         *string   `json:"link,omitempty"`
	Name         *string   `json:"name,omitempty"`
	Placeholders *[]string `json:"placeholders,omitempty"`
	Template     *string   `json:"template,omitempty"`
}

ModelsSingleCommand defines model for models.SingleCommand.

type ModelsSortingDefaults

type ModelsSortingDefaults struct {
	Field *string `json:"field,omitempty"`
	Order *string `json:"order,omitempty"`
}

ModelsSortingDefaults defines model for models.SortingDefaults.

type ModelsSortingOptions

type ModelsSortingOptions struct {
	Defaults *ModelsSortingDefaults `json:"defaults,omitempty"`
	Fields   *[]string              `json:"fields,omitempty"`
	Orders   *[]string              `json:"orders,omitempty"`
}

ModelsSortingOptions defines model for models.SortingOptions.

type ModelsSuggestedAction

type ModelsSuggestedAction struct {
	// Action Resolution action from Guidance Classes sheet
	Action *string `json:"action,omitempty"`

	// Code Action code from NVIDIA XID catalog
	Code *string `json:"code,omitempty"`

	// Persona Target persona (stored in DB, stripped before API response)
	Persona *ModelsActionPersona `json:"persona,omitempty"`

	// Type Action type: "immediate" or "investigatory"
	Type *ModelsActionType `json:"type,omitempty"`
}

ModelsSuggestedAction defines model for models.SuggestedAction.

type ModelsSystemInfo

type ModelsSystemInfo struct {
	AgentVersion            *string `json:"agentVersion,omitempty"`
	BootID                  *string `json:"bootID,omitempty"`
	ContainerRuntimeVersion *string `json:"containerRuntimeVersion,omitempty"`
	CudaVersion             *string `json:"cudaVersion,omitempty"`
	DcgmVersion             *string `json:"dcgmVersion,omitempty"`
	GpuDriverVersion        *string `json:"gpuDriverVersion,omitempty"`
	Hostname                *string `json:"hostname,omitempty"`
	KernelVersion           *string `json:"kernelVersion,omitempty"`
	OperatingSystem         *string `json:"operatingSystem,omitempty"`
	OsImage                 *string `json:"osImage,omitempty"`
	StartedAt               *string `json:"startedAt,omitempty"`
	SystemUUID              *string `json:"systemUUID,omitempty"`
}

ModelsSystemInfo defines model for models.SystemInfo.

type ModelsTimeRange

type ModelsTimeRange struct {
	End   *time.Time `json:"end,omitempty"`
	Start *time.Time `json:"start,omitempty"`
}

ModelsTimeRange defines model for models.TimeRange.

type ModelsUpdateComputeZoneRequest

type ModelsUpdateComputeZoneRequest struct {
	Contact     *ModelsContact     `json:"contact,omitempty"`
	GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
	Id          string             `json:"id"`
	Type        *string            `json:"type,omitempty"`
}

ModelsUpdateComputeZoneRequest defines model for models.UpdateComputeZoneRequest.

type ModelsUpdateComputeZoneResponse

type ModelsUpdateComputeZoneResponse struct {
	Id *string `json:"id,omitempty"`
}

ModelsUpdateComputeZoneResponse defines model for models.UpdateComputeZoneResponse.

type ModelsUpdateMuteRuleRequest added in v1.0.0

type ModelsUpdateMuteRuleRequest struct {
	Component  string    `json:"component"`
	Reason     *string   `json:"reason,omitempty"`
	Severities *[]string `json:"severities,omitempty"`
}

ModelsUpdateMuteRuleRequest defines model for models.UpdateMuteRuleRequest.

type ModelsUpdateNodeRemovalPolicyRequest added in v1.0.0

type ModelsUpdateNodeRemovalPolicyRequest struct {
	Enabled              bool `json:"enabled"`
	OfflineThresholdDays *int `json:"offlineThresholdDays,omitempty"`
}

ModelsUpdateNodeRemovalPolicyRequest defines model for models.UpdateNodeRemovalPolicyRequest.

type ModelsUpdateRetentionPolicyRequest added in v1.0.0

type ModelsUpdateRetentionPolicyRequest struct {
	RetentionDays int `json:"retentionDays"`
}

ModelsUpdateRetentionPolicyRequest defines model for models.UpdateRetentionPolicyRequest.

type PatchV1TagsJSONRequestBody added in v1.0.0

type PatchV1TagsJSONRequestBody = ModelsBatchUpdateTagsRequest

PatchV1TagsJSONRequestBody defines body for PatchV1Tags for application/json ContentType.

type PatchV1TagsResponse added in v1.0.0

type PatchV1TagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParsePatchV1TagsResponse added in v1.0.0

func ParsePatchV1TagsResponse(rsp *http.Response) (*PatchV1TagsResponse, error)

ParsePatchV1TagsResponse parses an HTTP response from a PatchV1TagsWithResponse call

func (PatchV1TagsResponse) ContentType added in v1.0.0

func (r PatchV1TagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV1TagsResponse) Status added in v1.0.0

func (r PatchV1TagsResponse) Status() string

Status returns HTTPResponse.Status

func (PatchV1TagsResponse) StatusCode added in v1.0.0

func (r PatchV1TagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1NotificationPreferencesJSONRequestBody added in v1.0.0

type PostV1NotificationPreferencesJSONRequestBody = ModelsNotificationPreferenceRequest

PostV1NotificationPreferencesJSONRequestBody defines body for PostV1NotificationPreferences for application/json ContentType.

type PostV1NotificationPreferencesResponse added in v1.0.0

type PostV1NotificationPreferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ModelsCreateNotificationPreferenceResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParsePostV1NotificationPreferencesResponse added in v1.0.0

func ParsePostV1NotificationPreferencesResponse(rsp *http.Response) (*PostV1NotificationPreferencesResponse, error)

ParsePostV1NotificationPreferencesResponse parses an HTTP response from a PostV1NotificationPreferencesWithResponse call

func (PostV1NotificationPreferencesResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1NotificationPreferencesResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (PostV1NotificationPreferencesResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type PutV1AlertMuteRulesJSONRequestBody added in v1.0.0

type PutV1AlertMuteRulesJSONRequestBody = ModelsUpdateMuteRuleRequest

PutV1AlertMuteRulesJSONRequestBody defines body for PutV1AlertMuteRules for application/json ContentType.

type PutV1AlertMuteRulesResponse added in v1.0.0

type PutV1AlertMuteRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParsePutV1AlertMuteRulesResponse added in v1.0.0

func ParsePutV1AlertMuteRulesResponse(rsp *http.Response) (*PutV1AlertMuteRulesResponse, error)

ParsePutV1AlertMuteRulesResponse parses an HTTP response from a PutV1AlertMuteRulesWithResponse call

func (PutV1AlertMuteRulesResponse) ContentType added in v1.0.0

func (r PutV1AlertMuteRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1AlertMuteRulesResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (PutV1AlertMuteRulesResponse) StatusCode added in v1.0.0

func (r PutV1AlertMuteRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutV1ComputezonesJSONRequestBody

type PutV1ComputezonesJSONRequestBody = ModelsUpdateComputeZoneRequest

PutV1ComputezonesJSONRequestBody defines body for PutV1Computezones for application/json ContentType.

type PutV1ComputezonesResponse

type PutV1ComputezonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsUpdateComputeZoneResponse
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParsePutV1ComputezonesResponse

func ParsePutV1ComputezonesResponse(rsp *http.Response) (*PutV1ComputezonesResponse, error)

ParsePutV1ComputezonesResponse parses an HTTP response from a PutV1ComputezonesWithResponse call

func (PutV1ComputezonesResponse) ContentType

func (r PutV1ComputezonesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1ComputezonesResponse) Status

func (r PutV1ComputezonesResponse) Status() string

Status returns HTTPResponse.Status

func (PutV1ComputezonesResponse) StatusCode

func (r PutV1ComputezonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutV1NodeRemovalPolicyJSONRequestBody added in v1.0.0

type PutV1NodeRemovalPolicyJSONRequestBody = ModelsUpdateNodeRemovalPolicyRequest

PutV1NodeRemovalPolicyJSONRequestBody defines body for PutV1NodeRemovalPolicy for application/json ContentType.

type PutV1NodeRemovalPolicyResponse added in v1.0.0

type PutV1NodeRemovalPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParsePutV1NodeRemovalPolicyResponse added in v1.0.0

func ParsePutV1NodeRemovalPolicyResponse(rsp *http.Response) (*PutV1NodeRemovalPolicyResponse, error)

ParsePutV1NodeRemovalPolicyResponse parses an HTTP response from a PutV1NodeRemovalPolicyWithResponse call

func (PutV1NodeRemovalPolicyResponse) ContentType added in v1.0.0

func (r PutV1NodeRemovalPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1NodeRemovalPolicyResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (PutV1NodeRemovalPolicyResponse) StatusCode added in v1.0.0

func (r PutV1NodeRemovalPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutV1NodesNodeUuidTagsJSONRequestBody

type PutV1NodesNodeUuidTagsJSONRequestBody = ModelsSetNodeTagsRequest

PutV1NodesNodeUuidTagsJSONRequestBody defines body for PutV1NodesNodeUuidTags for application/json ContentType.

type PutV1NodesNodeUuidTagsResponse

type PutV1NodesNodeUuidTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsSetNodeTagsResponse
	JSON400      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
}

func ParsePutV1NodesNodeUuidTagsResponse

func ParsePutV1NodesNodeUuidTagsResponse(rsp *http.Response) (*PutV1NodesNodeUuidTagsResponse, error)

ParsePutV1NodesNodeUuidTagsResponse parses an HTTP response from a PutV1NodesNodeUuidTagsWithResponse call

func (PutV1NodesNodeUuidTagsResponse) ContentType

func (r PutV1NodesNodeUuidTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1NodesNodeUuidTagsResponse) Status

Status returns HTTPResponse.Status

func (PutV1NodesNodeUuidTagsResponse) StatusCode

func (r PutV1NodesNodeUuidTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutV1NotificationPreferenceByIDJSONRequestBody added in v1.0.0

type PutV1NotificationPreferenceByIDJSONRequestBody = ModelsNotificationPreferenceRequest

PutV1NotificationPreferenceByIDJSONRequestBody defines body for PutV1NotificationPreferenceByID for application/json ContentType.

type PutV1NotificationPreferenceByIDResponse added in v1.0.0

type PutV1NotificationPreferenceByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON404      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParsePutV1NotificationPreferenceByIDResponse added in v1.0.0

func ParsePutV1NotificationPreferenceByIDResponse(rsp *http.Response) (*PutV1NotificationPreferenceByIDResponse, error)

ParsePutV1NotificationPreferenceByIDResponse parses an HTTP response from a PutV1NotificationPreferenceByIDWithResponse call

func (PutV1NotificationPreferenceByIDResponse) ContentType added in v1.0.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1NotificationPreferenceByIDResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (PutV1NotificationPreferenceByIDResponse) StatusCode added in v1.0.0

StatusCode returns HTTPResponse.StatusCode

type PutV1RetentionPolicyJSONRequestBody added in v1.0.0

type PutV1RetentionPolicyJSONRequestBody = ModelsUpdateRetentionPolicyRequest

PutV1RetentionPolicyJSONRequestBody defines body for PutV1RetentionPolicy for application/json ContentType.

type PutV1RetentionPolicyResponse added in v1.0.0

type PutV1RetentionPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ModelsErrorResponse
	JSON401      *ModelsErrorResponse
	JSON403      *ModelsErrorResponse
	JSON499      *ModelsErrorResponse
	JSON500      *ModelsErrorResponse
	JSON503      *ModelsErrorResponse
}

func ParsePutV1RetentionPolicyResponse added in v1.0.0

func ParsePutV1RetentionPolicyResponse(rsp *http.Response) (*PutV1RetentionPolicyResponse, error)

ParsePutV1RetentionPolicyResponse parses an HTTP response from a PutV1RetentionPolicyWithResponse call

func (PutV1RetentionPolicyResponse) ContentType added in v1.0.0

func (r PutV1RetentionPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV1RetentionPolicyResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (PutV1RetentionPolicyResponse) StatusCode added in v1.0.0

func (r PutV1RetentionPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

Jump to

Keyboard shortcuts

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