We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A component that displays logs for Clever applications.
dateRangeSelection
DateRangeSelection
null
false
options
LogsApplicationViewOptions
overflowWatermarkOffset
Number
10
selectedInstances
Array<string>
[]
state
LogsApplicationViewState
LogsApplicationViewStateLoadingInstances
limit
1000
cc-logs-application-view:date-range-change
DateRange
range
cc-logs-application-view:pause
cc-logs-application-view:resume
export interface LogsApplicationViewStateLoadingInstances { type: 'loadingInstances'; } export interface LogsApplicationViewStateErrorInstances { type: 'errorInstances'; } export interface LogsApplicationViewStateLogs { type: 'connectingLogs' | 'receivingLogs'| 'logStreamPaused' | 'logStreamEnded' | 'errorLogs'; instances: Array<Instance | GhostInstance>; selection: Array<string>; } export type LogsApplicationViewState = LogsApplicationViewStateLoadingInstances | LogsApplicationViewStateLogs | LogsApplicationViewStateErrorInstances; export type DateRange = { since: string; until?: string; } export interface DateRangeSelectionLive { type: 'live', } export type DateRangeSelectionPredefinedDefinition = 'lastHour' | 'last4Hours' | 'last7Days' | 'today' | 'yesterday'; export interface DateRangeSelectionPredefined { type: 'predefined', def: DateRangeSelectionPredefinedDefinition, } export interface DateRangeSelectionCustom { type: 'custom', since: string; until: string; } export type DateRangeSelection = DateRangeSelectionLive | DateRangeSelectionPredefined | DateRangeSelectionCustom; export type DateRangeSelectionMenuEntry = 'live' | 'custom' | DateRangeSelectionPredefinedDefinition; export interface LogsApplicationViewOptions { 'date-display': DateDisplay, 'metadata-display': { instance: boolean }, palette: LogsControlPalette, 'strip-ansi': boolean, timezone: Timezone, 'wrap-lines': boolean, }
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/instances
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/instances/${params.instanceId}
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/deployments/${params.deploymentId}
GET api.clever-cloud.com/v2/organisations/${params.id}/applications/${params.appId}/deployments/${params.deploymentId}
GET api.clever-cloud.com/v4/logs/organisations/${this._ownerId}/applications/${this._appId}/logs
The text was updated successfully, but these errors were encountered:
feat(cc-logs-application-view): init component
ea07fd9
Fixes #967
4578f28
5f56386
435048c
41bc482
732b48e
pdesoyres-cc
Successfully merging a pull request may close this issue.
Context
A component that displays logs for Clever applications.
Inputs
Attributes/properties
dateRangeSelection
DateRangeSelection
null
false
options
LogsApplicationViewOptions
null
false
overflowWatermarkOffset
Number
10
false
selectedInstances
Array<string>
[]
false
state
LogsApplicationViewState
LogsApplicationViewStateLoadingInstances
false
limit
Number
1000
false
null
for no limit.Outputs
cc-logs-application-view:date-range-change
DateRange
range
whenever therange
changes.cc-logs-application-view:pause
DateRange
cc-logs-application-view:resume
DateRange
Type Definitions
Data/APIs
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/instances
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/instances/${params.instanceId}
GET api.clever-cloud.com/v4/orchestration/organisations/${params.id}/applications/${params.appId}/deployments/${params.deploymentId}
GET api.clever-cloud.com/v2/organisations/${params.id}/applications/${params.appId}/deployments/${params.deploymentId}
GET api.clever-cloud.com/v4/logs/organisations/${this._ownerId}/applications/${this._appId}/logs
The text was updated successfully, but these errors were encountered: