fleetapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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 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 NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest

func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest(server string, nodeUUID string, alertUUID string) (*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 NewGetV1ComputezonesRequest

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

NewGetV1ComputezonesRequest generates requests for GetV1Computezones

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 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 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 NewGetV1ReportsMTBIInterruptionsRequest

func NewGetV1ReportsMTBIInterruptionsRequest(server string, params *GetV1ReportsMTBIInterruptionsParams) (*http.Request, error)

NewGetV1ReportsMTBIInterruptionsRequest generates requests for GetV1ReportsMTBIInterruptions

func NewGetV1ReportsMTBIMachinesRequest

func NewGetV1ReportsMTBIMachinesRequest(server string, params *GetV1ReportsMTBIMachinesParams) (*http.Request, error)

NewGetV1ReportsMTBIMachinesRequest generates requests for GetV1ReportsMTBIMachines

func NewGetV1ReportsMTBIRequest

func NewGetV1ReportsMTBIRequest(server string, params *GetV1ReportsMTBIParams) (*http.Request, error)

NewGetV1ReportsMTBIRequest generates requests for GetV1ReportsMTBI

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 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

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) 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) 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, 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) GetV1Computezones

func (c *Client) GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, 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) 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) 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) GetV1ReportsMTBI

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

func (*Client) GetV1ReportsMTBIInterruptions

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

func (*Client) GetV1ReportsMTBIMachines

func (c *Client) GetV1ReportsMTBIMachines(ctx context.Context, params *GetV1ReportsMTBIMachinesParams, 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) 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)

type ClientInterface

type ClientInterface interface {
	// 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, 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)

	// 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)

	// 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)

	// 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)

	// 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)

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

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

	// GetV1ReportsMTBIMachines request
	GetV1ReportsMTBIMachines(ctx context.Context, params *GetV1ReportsMTBIMachinesParams, 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) 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) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse

func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, 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) GetV1ComputezonesWithResponse

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

GetV1ComputezonesWithResponse request returning *GetV1ComputezonesResponse

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) 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) 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) GetV1ReportsMTBIInterruptionsWithResponse

func (c *ClientWithResponses) GetV1ReportsMTBIInterruptionsWithResponse(ctx context.Context, params *GetV1ReportsMTBIInterruptionsParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIInterruptionsResponse, error)

GetV1ReportsMTBIInterruptionsWithResponse request returning *GetV1ReportsMTBIInterruptionsResponse

func (*ClientWithResponses) GetV1ReportsMTBIMachinesWithResponse

func (c *ClientWithResponses) GetV1ReportsMTBIMachinesWithResponse(ctx context.Context, params *GetV1ReportsMTBIMachinesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIMachinesResponse, error)

GetV1ReportsMTBIMachinesWithResponse request returning *GetV1ReportsMTBIMachinesResponse

func (*ClientWithResponses) GetV1ReportsMTBIWithResponse

func (c *ClientWithResponses) GetV1ReportsMTBIWithResponse(ctx context.Context, params *GetV1ReportsMTBIParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIResponse, error)

GetV1ReportsMTBIWithResponse request returning *GetV1ReportsMTBIResponse

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) 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)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// 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, 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)

	// 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)

	// 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)

	// 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)

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

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

	// GetV1ReportsMTBIWithResponse request
	GetV1ReportsMTBIWithResponse(ctx context.Context, params *GetV1ReportsMTBIParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIResponse, error)

	// GetV1ReportsMTBIInterruptionsWithResponse request
	GetV1ReportsMTBIInterruptionsWithResponse(ctx context.Context, params *GetV1ReportsMTBIInterruptionsParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIInterruptionsResponse, error)

	// GetV1ReportsMTBIMachinesWithResponse request
	GetV1ReportsMTBIMachinesWithResponse(ctx context.Context, params *GetV1ReportsMTBIMachinesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsMTBIMachinesResponse, error)
}

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

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
	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
	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 GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse

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

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 Filter only currently active alerts (default: false)
	Active *bool `form:"active,omitempty" json:"active,omitempty"`

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

	// PageSize Number of alerts per page (default: 50, max: 100)
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertTimelineNodesNodeUuidAlertsParams defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.

type GetV1AlertTimelineNodesNodeUuidAlertsResponse

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

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 Filter only nodes with active alerts (default: false)
	Active *bool `form:"active,omitempty" json:"active,omitempty"`

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

	// PageSize Number of nodes per page (default: 50, max: 100)
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}

GetV1AlertTimelineNodesParams defines parameters for GetV1AlertTimelineNodes.

type GetV1AlertTimelineNodesResponse

type GetV1AlertTimelineNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsAlertTimelineNodesResponse
	JSON400      *map[string]interface{}
	JSON401      *map[string]interface{}
	JSON500      *map[string]interface{}
}

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 (default: 1)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size (default: 50, max: 100)
	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
	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 (default: 1)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size (default: 50, max: 100)
	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
	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 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 (default: 0)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size (default: 20, max: 100)
	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
	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 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
	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, gpuUtil, 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 (default: 0)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Page size (default: 20, max: 100)
	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 (
	GpuUtil GetV1NodegroupsParamsSortBy = "gpuUtil"
	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
	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 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
	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
	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
	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
	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
	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"
	GetV1NodesParamsSortByComputezone    GetV1NodesParamsSortBy = "computezone"
	GetV1NodesParamsSortByGpuCount       GetV1NodesParamsSortBy = "gpuCount"
	GetV1NodesParamsSortByGpuType        GetV1NodesParamsSortBy = "gpuType"
	GetV1NodesParamsSortByHealthStatus   GetV1NodesParamsSortBy = "healthStatus"
	GetV1NodesParamsSortByHostname       GetV1NodesParamsSortBy = "hostname"
	GetV1NodesParamsSortByIntegrityCheck GetV1NodesParamsSortBy = "integrityCheck"
	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
	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 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 (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 (
	Error GetV1ReportsErrorParamsGroupBy = "error"
	Node  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
	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 (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.

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
	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 GetV1ReportsMTBI200JSONResponseBody

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

GetV1ReportsMTBI200JSONResponseBody defines parameters for GetV1ReportsMTBI.

func (GetV1ReportsMTBI200JSONResponseBody) AsGetV1ReportsMTBI200JSONResponseBody1

func (t GetV1ReportsMTBI200JSONResponseBody) AsGetV1ReportsMTBI200JSONResponseBody1() (GetV1ReportsMTBI200JSONResponseBody1, error)

AsGetV1ReportsMTBI200JSONResponseBody1 returns the union data inside the GetV1ReportsMTBI200JSONResponseBody as a GetV1ReportsMTBI200JSONResponseBody1

func (GetV1ReportsMTBI200JSONResponseBody) AsModelsMTBIReportResponse

func (t GetV1ReportsMTBI200JSONResponseBody) AsModelsMTBIReportResponse() (ModelsMTBIReportResponse, error)

AsModelsMTBIReportResponse returns the union data inside the GetV1ReportsMTBI200JSONResponseBody as a ModelsMTBIReportResponse

func (*GetV1ReportsMTBI200JSONResponseBody) FromGetV1ReportsMTBI200JSONResponseBody1

func (t *GetV1ReportsMTBI200JSONResponseBody) FromGetV1ReportsMTBI200JSONResponseBody1(v GetV1ReportsMTBI200JSONResponseBody1) error

FromGetV1ReportsMTBI200JSONResponseBody1 overwrites any union data inside the GetV1ReportsMTBI200JSONResponseBody as the provided GetV1ReportsMTBI200JSONResponseBody1

func (*GetV1ReportsMTBI200JSONResponseBody) FromModelsMTBIReportResponse

func (t *GetV1ReportsMTBI200JSONResponseBody) FromModelsMTBIReportResponse(v ModelsMTBIReportResponse) error

FromModelsMTBIReportResponse overwrites any union data inside the GetV1ReportsMTBI200JSONResponseBody as the provided ModelsMTBIReportResponse

func (GetV1ReportsMTBI200JSONResponseBody) MarshalJSON

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

func (*GetV1ReportsMTBI200JSONResponseBody) MergeGetV1ReportsMTBI200JSONResponseBody1

func (t *GetV1ReportsMTBI200JSONResponseBody) MergeGetV1ReportsMTBI200JSONResponseBody1(v GetV1ReportsMTBI200JSONResponseBody1) error

MergeGetV1ReportsMTBI200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsMTBI200JSONResponseBody, using the provided GetV1ReportsMTBI200JSONResponseBody1

func (*GetV1ReportsMTBI200JSONResponseBody) MergeModelsMTBIReportResponse

func (t *GetV1ReportsMTBI200JSONResponseBody) MergeModelsMTBIReportResponse(v ModelsMTBIReportResponse) error

MergeModelsMTBIReportResponse performs a merge with any union data inside the GetV1ReportsMTBI200JSONResponseBody, using the provided ModelsMTBIReportResponse

func (*GetV1ReportsMTBI200JSONResponseBody) UnmarshalJSON

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

type GetV1ReportsMTBI200JSONResponseBody1

type GetV1ReportsMTBI200JSONResponseBody1 = string

GetV1ReportsMTBI200JSONResponseBody1 defines parameters for GetV1ReportsMTBI.

type GetV1ReportsMTBIInterruptions200JSONResponseBody

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

GetV1ReportsMTBIInterruptions200JSONResponseBody defines parameters for GetV1ReportsMTBIInterruptions.

func (GetV1ReportsMTBIInterruptions200JSONResponseBody) AsGetV1ReportsMTBIInterruptions200JSONResponseBody1

func (t GetV1ReportsMTBIInterruptions200JSONResponseBody) AsGetV1ReportsMTBIInterruptions200JSONResponseBody1() (GetV1ReportsMTBIInterruptions200JSONResponseBody1, error)

AsGetV1ReportsMTBIInterruptions200JSONResponseBody1 returns the union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody as a GetV1ReportsMTBIInterruptions200JSONResponseBody1

func (GetV1ReportsMTBIInterruptions200JSONResponseBody) AsModelsMTBIInterruptionsResponse

AsModelsMTBIInterruptionsResponse returns the union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody as a ModelsMTBIInterruptionsResponse

func (*GetV1ReportsMTBIInterruptions200JSONResponseBody) FromGetV1ReportsMTBIInterruptions200JSONResponseBody1

func (t *GetV1ReportsMTBIInterruptions200JSONResponseBody) FromGetV1ReportsMTBIInterruptions200JSONResponseBody1(v GetV1ReportsMTBIInterruptions200JSONResponseBody1) error

FromGetV1ReportsMTBIInterruptions200JSONResponseBody1 overwrites any union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody as the provided GetV1ReportsMTBIInterruptions200JSONResponseBody1

func (*GetV1ReportsMTBIInterruptions200JSONResponseBody) FromModelsMTBIInterruptionsResponse

FromModelsMTBIInterruptionsResponse overwrites any union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody as the provided ModelsMTBIInterruptionsResponse

func (GetV1ReportsMTBIInterruptions200JSONResponseBody) MarshalJSON

func (*GetV1ReportsMTBIInterruptions200JSONResponseBody) MergeGetV1ReportsMTBIInterruptions200JSONResponseBody1

func (t *GetV1ReportsMTBIInterruptions200JSONResponseBody) MergeGetV1ReportsMTBIInterruptions200JSONResponseBody1(v GetV1ReportsMTBIInterruptions200JSONResponseBody1) error

MergeGetV1ReportsMTBIInterruptions200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody, using the provided GetV1ReportsMTBIInterruptions200JSONResponseBody1

func (*GetV1ReportsMTBIInterruptions200JSONResponseBody) MergeModelsMTBIInterruptionsResponse

MergeModelsMTBIInterruptionsResponse performs a merge with any union data inside the GetV1ReportsMTBIInterruptions200JSONResponseBody, using the provided ModelsMTBIInterruptionsResponse

func (*GetV1ReportsMTBIInterruptions200JSONResponseBody) UnmarshalJSON

type GetV1ReportsMTBIInterruptions200JSONResponseBody1

type GetV1ReportsMTBIInterruptions200JSONResponseBody1 = string

GetV1ReportsMTBIInterruptions200JSONResponseBody1 defines parameters for GetV1ReportsMTBIInterruptions.

type GetV1ReportsMTBIInterruptionsParams

type GetV1ReportsMTBIInterruptionsParams struct {
	// StartTime Window start (RFC3339). Required for absolute mode.
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime Window end (RFC3339). Required for absolute mode.
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode: absolute (default) or relative
	TimeMode *GetV1ReportsMTBIInterruptionsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration (e.g. 168h for 7 days). Required for relative mode.
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// ComputeZoneIds Filter by compute zone IDs (multi-value)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// NodeGroupIds Filter by node group IDs (multi-value)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// Tags Filter by tags — ANY-of semantics (multi-value)
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// NodeUUIDs Filter by specific node UUIDs (multi-value)
	NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`

	// GpuTypes Filter by GPU product name (multi-value)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

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

	// PageSize Rows per page (default: 20, max: 100)
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

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

GetV1ReportsMTBIInterruptionsParams defines parameters for GetV1ReportsMTBIInterruptions.

type GetV1ReportsMTBIInterruptionsParamsFormat

type GetV1ReportsMTBIInterruptionsParamsFormat string

GetV1ReportsMTBIInterruptionsParamsFormat defines parameters for GetV1ReportsMTBIInterruptions.

const (
	GetV1ReportsMTBIInterruptionsParamsFormatCsv  GetV1ReportsMTBIInterruptionsParamsFormat = "csv"
	GetV1ReportsMTBIInterruptionsParamsFormatJson GetV1ReportsMTBIInterruptionsParamsFormat = "json"
)

Defines values for GetV1ReportsMTBIInterruptionsParamsFormat.

func (GetV1ReportsMTBIInterruptionsParamsFormat) Valid

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

type GetV1ReportsMTBIInterruptionsParamsTimeMode

type GetV1ReportsMTBIInterruptionsParamsTimeMode string

GetV1ReportsMTBIInterruptionsParamsTimeMode defines parameters for GetV1ReportsMTBIInterruptions.

const (
	GetV1ReportsMTBIInterruptionsParamsTimeModeAbsolute GetV1ReportsMTBIInterruptionsParamsTimeMode = "absolute"
	GetV1ReportsMTBIInterruptionsParamsTimeModeRelative GetV1ReportsMTBIInterruptionsParamsTimeMode = "relative"
)

Defines values for GetV1ReportsMTBIInterruptionsParamsTimeMode.

func (GetV1ReportsMTBIInterruptionsParamsTimeMode) Valid

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

type GetV1ReportsMTBIInterruptionsResponse

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

func ParseGetV1ReportsMTBIInterruptionsResponse

func ParseGetV1ReportsMTBIInterruptionsResponse(rsp *http.Response) (*GetV1ReportsMTBIInterruptionsResponse, error)

ParseGetV1ReportsMTBIInterruptionsResponse parses an HTTP response from a GetV1ReportsMTBIInterruptionsWithResponse call

func (GetV1ReportsMTBIInterruptionsResponse) ContentType

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

func (GetV1ReportsMTBIInterruptionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1ReportsMTBIInterruptionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1ReportsMTBIMachines200JSONResponseBody

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

GetV1ReportsMTBIMachines200JSONResponseBody defines parameters for GetV1ReportsMTBIMachines.

func (GetV1ReportsMTBIMachines200JSONResponseBody) AsGetV1ReportsMTBIMachines200JSONResponseBody1

func (t GetV1ReportsMTBIMachines200JSONResponseBody) AsGetV1ReportsMTBIMachines200JSONResponseBody1() (GetV1ReportsMTBIMachines200JSONResponseBody1, error)

AsGetV1ReportsMTBIMachines200JSONResponseBody1 returns the union data inside the GetV1ReportsMTBIMachines200JSONResponseBody as a GetV1ReportsMTBIMachines200JSONResponseBody1

func (GetV1ReportsMTBIMachines200JSONResponseBody) AsModelsMTBIMachinesResponse

AsModelsMTBIMachinesResponse returns the union data inside the GetV1ReportsMTBIMachines200JSONResponseBody as a ModelsMTBIMachinesResponse

func (*GetV1ReportsMTBIMachines200JSONResponseBody) FromGetV1ReportsMTBIMachines200JSONResponseBody1

func (t *GetV1ReportsMTBIMachines200JSONResponseBody) FromGetV1ReportsMTBIMachines200JSONResponseBody1(v GetV1ReportsMTBIMachines200JSONResponseBody1) error

FromGetV1ReportsMTBIMachines200JSONResponseBody1 overwrites any union data inside the GetV1ReportsMTBIMachines200JSONResponseBody as the provided GetV1ReportsMTBIMachines200JSONResponseBody1

func (*GetV1ReportsMTBIMachines200JSONResponseBody) FromModelsMTBIMachinesResponse

FromModelsMTBIMachinesResponse overwrites any union data inside the GetV1ReportsMTBIMachines200JSONResponseBody as the provided ModelsMTBIMachinesResponse

func (GetV1ReportsMTBIMachines200JSONResponseBody) MarshalJSON

func (*GetV1ReportsMTBIMachines200JSONResponseBody) MergeGetV1ReportsMTBIMachines200JSONResponseBody1

func (t *GetV1ReportsMTBIMachines200JSONResponseBody) MergeGetV1ReportsMTBIMachines200JSONResponseBody1(v GetV1ReportsMTBIMachines200JSONResponseBody1) error

MergeGetV1ReportsMTBIMachines200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsMTBIMachines200JSONResponseBody, using the provided GetV1ReportsMTBIMachines200JSONResponseBody1

func (*GetV1ReportsMTBIMachines200JSONResponseBody) MergeModelsMTBIMachinesResponse

MergeModelsMTBIMachinesResponse performs a merge with any union data inside the GetV1ReportsMTBIMachines200JSONResponseBody, using the provided ModelsMTBIMachinesResponse

func (*GetV1ReportsMTBIMachines200JSONResponseBody) UnmarshalJSON

type GetV1ReportsMTBIMachines200JSONResponseBody1

type GetV1ReportsMTBIMachines200JSONResponseBody1 = string

GetV1ReportsMTBIMachines200JSONResponseBody1 defines parameters for GetV1ReportsMTBIMachines.

type GetV1ReportsMTBIMachinesParams

type GetV1ReportsMTBIMachinesParams struct {
	// StartTime Window start (RFC3339). Required for absolute mode.
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime Window end (RFC3339). Required for absolute mode.
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode: absolute (default) or relative
	TimeMode *GetV1ReportsMTBIMachinesParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration (e.g. 168h for 7 days). Required for relative mode.
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// ComputeZoneIds Filter by compute zone IDs (multi-value)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// NodeGroupIds Filter by node group IDs (multi-value)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// Tags Filter by tags — ANY-of semantics (multi-value)
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// NodeUUIDs Filter by specific node UUIDs (multi-value)
	NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`

	// GpuTypes Filter by GPU product name (multi-value)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

	// InterruptionCategories Filter machines to those that had a burst in any of these categories (multi-value, e.g. 'Off the Bus'). Returns all categories for matching machines.
	InterruptionCategories *[]string `form:"interruptionCategories,omitempty" json:"interruptionCategories,omitempty"`

	// InterruptionSubcategories Further narrow by subcategory within the selected categories (multi-value, e.g. 'SBE'). Only applied when interruptionCategories is also set.
	InterruptionSubcategories *[]string `form:"interruptionSubcategories,omitempty" json:"interruptionSubcategories,omitempty"`

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

	// PageSize Rows per page (default: 20, max: 100)
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

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

GetV1ReportsMTBIMachinesParams defines parameters for GetV1ReportsMTBIMachines.

type GetV1ReportsMTBIMachinesParamsFormat

type GetV1ReportsMTBIMachinesParamsFormat string

GetV1ReportsMTBIMachinesParamsFormat defines parameters for GetV1ReportsMTBIMachines.

Defines values for GetV1ReportsMTBIMachinesParamsFormat.

func (GetV1ReportsMTBIMachinesParamsFormat) Valid

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

type GetV1ReportsMTBIMachinesParamsTimeMode

type GetV1ReportsMTBIMachinesParamsTimeMode string

GetV1ReportsMTBIMachinesParamsTimeMode defines parameters for GetV1ReportsMTBIMachines.

const (
	Absolute GetV1ReportsMTBIMachinesParamsTimeMode = "absolute"
	Relative GetV1ReportsMTBIMachinesParamsTimeMode = "relative"
)

Defines values for GetV1ReportsMTBIMachinesParamsTimeMode.

func (GetV1ReportsMTBIMachinesParamsTimeMode) Valid

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

type GetV1ReportsMTBIMachinesResponse

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

func ParseGetV1ReportsMTBIMachinesResponse

func ParseGetV1ReportsMTBIMachinesResponse(rsp *http.Response) (*GetV1ReportsMTBIMachinesResponse, error)

ParseGetV1ReportsMTBIMachinesResponse parses an HTTP response from a GetV1ReportsMTBIMachinesWithResponse call

func (GetV1ReportsMTBIMachinesResponse) ContentType

func (r GetV1ReportsMTBIMachinesResponse) ContentType() string

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

func (GetV1ReportsMTBIMachinesResponse) Status

Status returns HTTPResponse.Status

func (GetV1ReportsMTBIMachinesResponse) StatusCode

func (r GetV1ReportsMTBIMachinesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ReportsMTBIParams

type GetV1ReportsMTBIParams struct {
	// StartTime Window start (RFC3339). Required for absolute mode.
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime Window end (RFC3339). Required for absolute mode.
	EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`

	// TimeMode Time mode: absolute (default) or relative
	TimeMode *GetV1ReportsMTBIParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`

	// Window Relative duration (e.g. 168h for 7 days). Required for relative mode.
	Window *string `form:"window,omitempty" json:"window,omitempty"`

	// ComputeZoneIds Filter by compute zone IDs (multi-value)
	ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`

	// NodeGroupIds Filter by node group IDs (multi-value)
	NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`

	// Tags Filter by tags — ANY-of semantics (multi-value)
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// NodeUUIDs Filter by specific node UUIDs (multi-value)
	NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`

	// GpuTypes Filter by GPU product name (multi-value)
	GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`

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

GetV1ReportsMTBIParams defines parameters for GetV1ReportsMTBI.

type GetV1ReportsMTBIParamsFormat

type GetV1ReportsMTBIParamsFormat string

GetV1ReportsMTBIParamsFormat defines parameters for GetV1ReportsMTBI.

const (
	GetV1ReportsMTBIParamsFormatCsv  GetV1ReportsMTBIParamsFormat = "csv"
	GetV1ReportsMTBIParamsFormatJson GetV1ReportsMTBIParamsFormat = "json"
)

Defines values for GetV1ReportsMTBIParamsFormat.

func (GetV1ReportsMTBIParamsFormat) Valid

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

type GetV1ReportsMTBIParamsTimeMode

type GetV1ReportsMTBIParamsTimeMode string

GetV1ReportsMTBIParamsTimeMode defines parameters for GetV1ReportsMTBI.

const (
	GetV1ReportsMTBIParamsTimeModeAbsolute GetV1ReportsMTBIParamsTimeMode = "absolute"
	GetV1ReportsMTBIParamsTimeModeRelative GetV1ReportsMTBIParamsTimeMode = "relative"
)

Defines values for GetV1ReportsMTBIParamsTimeMode.

func (GetV1ReportsMTBIParamsTimeMode) Valid

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

type GetV1ReportsMTBIResponse

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

func ParseGetV1ReportsMTBIResponse

func ParseGetV1ReportsMTBIResponse(rsp *http.Response) (*GetV1ReportsMTBIResponse, error)

ParseGetV1ReportsMTBIResponse parses an HTTP response from a GetV1ReportsMTBIWithResponse call

func (GetV1ReportsMTBIResponse) ContentType

func (r GetV1ReportsMTBIResponse) ContentType() string

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

func (GetV1ReportsMTBIResponse) Status

func (r GetV1ReportsMTBIResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1ReportsMTBIResponse) StatusCode

func (r GetV1ReportsMTBIResponse) 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 {
	AlertUuid            *string `json:"alertUuid,omitempty"`
	Component            *string `json:"component,omitempty"`
	ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
	CustomerID           *string `json:"customerID,omitempty"`
	IsBackendComponent   *bool   `json:"isBackendComponent,omitempty"`
	NodeUuid             *string `json:"nodeUuid,omitempty"`

	// Timeline Sorted by eventTimestamp ASC (oldest to newest)
	Timeline *[]ModelsAlertTimelineEvent `json:"timeline,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 {
	// HostStatus "Active" if any active alerts, "Resolved" otherwise
	HostStatus    *string `json:"hostStatus,omitempty"`
	Hostname      *string `json:"hostname,omitempty"`
	LastAlertTime *string `json:"lastAlertTime,omitempty"`
	NodeUuid      *string `json:"nodeUuid,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"`
}

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 {
	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
	Total *int `json:"total,omitempty"`
}

ModelsAlertTimelineNodesResponse defines model for models.AlertTimelineNodesResponse.

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 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 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 ModelsDeleteNodesRequest

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

ModelsDeleteNodesRequest defines model for models.DeleteNodesRequest.

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 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"`
	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 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 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 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 {
	ComputeZone             *string                        `json:"computeZone,omitempty"`
	FirmwareCheck           *ModelsFirmwareCheck           `json:"firmwareCheck,omitempty"`
	GeoLocation             *ModelsGeoLocation             `json:"geoLocation,omitempty"`
	GpuCount                *int                           `json:"gpuCount,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"`
	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"`
	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 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 ModelsMTBIInterruptionRow

type ModelsMTBIInterruptionRow struct {
	Category         *string                     `json:"category,omitempty"`
	MachinesAffected *int                        `json:"machinesAffected,omitempty"`
	Occurrences      *int                        `json:"occurrences,omitempty"`
	Subcategories    *[]ModelsMTBISubcategoryRow `json:"subcategories,omitempty"`
}

ModelsMTBIInterruptionRow defines model for models.MTBIInterruptionRow.

type ModelsMTBIInterruptionsResponse

type ModelsMTBIInterruptionsResponse struct {
	HasMore  *bool                        `json:"hasMore,omitempty"`
	Items    *[]ModelsMTBIInterruptionRow `json:"items,omitempty"`
	Page     *int                         `json:"page,omitempty"`
	PageSize *int                         `json:"pageSize,omitempty"`
	Total    *int                         `json:"total,omitempty"`
}

ModelsMTBIInterruptionsResponse defines model for models.MTBIInterruptionsResponse.

type ModelsMTBIMachineRow

type ModelsMTBIMachineRow struct {
	Hostname          *string   `json:"hostname,omitempty"`
	InterruptionCount *int      `json:"interruptionCount,omitempty"`
	InterruptionTypes *[]string `json:"interruptionTypes,omitempty"`
	NodeUUID          *string   `json:"nodeUUID,omitempty"`
}

ModelsMTBIMachineRow defines model for models.MTBIMachineRow.

type ModelsMTBIMachinesResponse

type ModelsMTBIMachinesResponse struct {
	HasMore  *bool                   `json:"hasMore,omitempty"`
	Items    *[]ModelsMTBIMachineRow `json:"items,omitempty"`
	Page     *int                    `json:"page,omitempty"`
	PageSize *int                    `json:"pageSize,omitempty"`
	Total    *int                    `json:"total,omitempty"`
}

ModelsMTBIMachinesResponse defines model for models.MTBIMachinesResponse.

type ModelsMTBIOverview

type ModelsMTBIOverview struct {
	FleetSize              *int     `json:"fleetSize,omitempty"`
	MtbiDays               *float32 `json:"mtbiDays,omitempty"`
	MtbiGPUHours           *float32 `json:"mtbiGPUHours,omitempty"`
	TotalAffectedGPUHours  *float32 `json:"totalAffectedGPUHours,omitempty"`
	TotalGPUHours          *float32 `json:"totalGPUHours,omitempty"`
	TotalGPUs              *int     `json:"totalGPUs,omitempty"`
	TotalInterruptionTypes *int     `json:"totalInterruptionTypes,omitempty"`
	TotalInterruptions     *int     `json:"totalInterruptions,omitempty"`
	TotalMachinesAffected  *int     `json:"totalMachinesAffected,omitempty"`
}

ModelsMTBIOverview defines model for models.MTBIOverview.

type ModelsMTBIReportResponse

type ModelsMTBIReportResponse struct {
	Overview  *ModelsMTBIOverview        `json:"overview,omitempty"`
	TimeRange *ModelsTimeRange           `json:"timeRange,omitempty"`
	Timeline  *[]ModelsMTBITimelineEntry `json:"timeline,omitempty"`
}

ModelsMTBIReportResponse defines model for models.MTBIReportResponse.

type ModelsMTBISubcategoryRow

type ModelsMTBISubcategoryRow struct {
	MachinesAffected *int    `json:"machinesAffected,omitempty"`
	Occurrences      *int    `json:"occurrences,omitempty"`
	Subcategory      *string `json:"subcategory,omitempty"`
}

ModelsMTBISubcategoryRow defines model for models.MTBISubcategoryRow.

type ModelsMTBITimelineEntry

type ModelsMTBITimelineEntry struct {
	BurstId          *string `json:"burstId,omitempty"`
	DurationSeconds  *int    `json:"durationSeconds,omitempty"`
	EndTime          *string `json:"endTime,omitempty"`
	Hostname         *string `json:"hostname,omitempty"`
	InterruptionType *string `json:"interruptionType,omitempty"`
	NodeUUID         *string `json:"nodeUUID,omitempty"`
	StartTime        *string `json:"startTime,omitempty"`
	XidNumbers       *[]int  `json:"xidNumbers,omitempty"`
}

ModelsMTBITimelineEntry defines model for models.MTBITimelineEntry.

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 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"`
	ComputeZone             *string                        `json:"computeZone,omitempty"`
	FirmwareCheck           *ModelsFirmwareCheck           `json:"firmwareCheck,omitempty"`
	GpuCount                *int                           `json:"gpuCount,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"`
	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"`
	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"`
	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"`
	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 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 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 ModelsOptions

type ModelsOptions struct {
	Filters *ModelsFilterOptions  `json:"filters,omitempty"`
	Sorting *ModelsSortingOptions `json:"sorting,omitempty"`
}

ModelsOptions defines model for models.Options.

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 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 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 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
	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 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
	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 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