Documentation
¶
Index ¶
Constants ¶
View Source
const ( DiagnosisLinkExpiry = 5 * time.Minute ConsoleDiagnosisFileServerPrefix = "diagnosis/console-diagnosis/" AgentDiagnosisFileServerPrefix = "diagnosis/agent-diagnosis/" CloudScannerDiagnosticLogsPrefix = "diagnosis/cloud-scanner-diagnosis/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiagnosticLogsLink ¶
type DiagnosticLogsStatus ¶
type DiagnosticNotification ¶
type GenerateAgentDiagnosticLogsRequest ¶
type GenerateAgentDiagnosticLogsRequest struct {
NodeIds []NodeIdentifier `json:"node_ids" validate:"required,gt=0" required:"true"`
Tail int `json:"tail" validate:"required,min=100,max=10000" required:"true"`
}
type GenerateCloudScannerDiagnosticLogsRequest ¶
type GenerateCloudScannerDiagnosticLogsRequest struct {
NodeIds []NodeIdentifier `json:"node_ids" validate:"required,gt=0" required:"true"`
Tail int `json:"tail" validate:"required,min=100,max=10000" required:"true"`
}
type GenerateConsoleDiagnosticLogsRequest ¶
type GenerateConsoleDiagnosticLogsRequest struct {
Tail int `json:"tail" validate:"required,min=100,max=10000" required:"true"`
}
type GetDiagnosticLogsResponse ¶
type GetDiagnosticLogsResponse struct {
ConsoleLogs []DiagnosticLogsLink `json:"console_logs"`
AgentLogs []DiagnosticLogsLink `json:"agent_logs"`
CloudScannerLogs []DiagnosticLogsLink `json:"cloud_scanner_logs"`
}
func GetDiagnosticLogs ¶
func GetDiagnosticLogs(ctx context.Context) (*GetDiagnosticLogsResponse, error)
type NodeIdentifier ¶
Click to show internal directories.
Click to hide internal directories.