-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generator for timeline reference
- Loading branch information
Showing
11 changed files
with
569 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipChild --> | ||
## [The default resource timeline](#RelationshipChild) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipChild --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipChild-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipChild-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipChild-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|Resource is existing|k8s_audit|This state indicates the resource exits at the time| | ||
|Resource is deleted|k8s_audit|This state indicates the resource is deleted at the time.| | ||
|Resource is under deleting with graceful period|k8s_audit|This state indicates the resource is being deleted with grace period at the time.| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipChild-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipChild-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipChild-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipChild-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
|k8s_audit|An event that related to a resource but not changing the resource. This is often an error log for an operation to the resource.| | ||
|k8s_event|An event that related to a resource| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipChild-events-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipResourceCondition --> | ||
## [ condition - Status condition field timeline](#RelationshipResourceCondition) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipResourceCondition --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipResourceCondition-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipResourceCondition-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipResourceCondition-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|State is 'True'|k8s_audit|| | ||
|State is 'False'|k8s_audit|| | ||
|State is 'Unknown'|k8s_audit|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipResourceCondition-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOperation --> | ||
## [ operation - Operation timeline](#RelationshipOperation) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipOperation --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOperation-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipOperation-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOperation-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|Processing operation|compute_api|| | ||
|Operation is finished|compute_api|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipOperation-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipEndpointSlice --> | ||
## [ endpointslice - Endpoint serving state timeline](#RelationshipEndpointSlice) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipEndpointSlice --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipEndpointSlice-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipEndpointSlice-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipEndpointSlice-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|Endpoint is ready|k8s_audit|| | ||
|Endpoint is not ready|k8s_audit|| | ||
|Endpoint is being terminated|k8s_audit|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipEndpointSlice-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipContainer --> | ||
## [ container - Container timeline](#RelationshipContainer) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipContainer --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipContainer-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipContainer-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipContainer-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|Waiting for starting container|k8s_container|| | ||
|Container is not ready|k8s_container|| | ||
|Container is ready|k8s_container|| | ||
|Container exited with healthy exit code|k8s_container|| | ||
|Container exited with errornous exit code|k8s_container|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipContainer-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipContainer-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipContainer-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipContainer-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
|k8s_container|| | ||
|k8s_node|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipContainer-events-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNodeComponent --> | ||
## [ node-component - Node component timeline](#RelationshipNodeComponent) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipNodeComponent --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNodeComponent-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipNodeComponent-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNodeComponent-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
|k8s_node|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipNodeComponent-events-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOwnerReference --> | ||
## [ owns - Owning children timeline](#RelationshipOwnerReference) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipOwnerReference --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOwnerReference-aliases-header --> | ||
### Aliases | ||
|
||
This timeline can have the following aliases. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipOwnerReference-aliases-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipOwnerReference-aliases-table --> | ||
|Aliased timeline|Source log|Description| | ||
|---|---|---| | ||
|resource|k8s_audit|This timeline shows the events and revisions of the owning resources.| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipOwnerReference-aliases-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipPodBinding --> | ||
## [ binds - Pod binding timeline](#RelationshipPodBinding) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipPodBinding --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipPodBinding-aliases-header --> | ||
### Aliases | ||
|
||
This timeline can have the following aliases. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipPodBinding-aliases-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipPodBinding-aliases-table --> | ||
|Aliased timeline|Source log|Description| | ||
|---|---|---| | ||
|resource|k8s_audit|This timeline shows the binding subresources associated on a node| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipPodBinding-aliases-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup --> | ||
## [ neg - NEG timeline](#RelationshipNetworkEndpointGroup) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
|State is 'True'|network_api|| | ||
|State is 'False'|network_api|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipNetworkEndpointGroup-revisions-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup --> | ||
## [ mig - Managed instance group timeline](#RelationshipManagedInstanceGroup) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
|autoscaler|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipManagedInstanceGroup-events-table --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent --> | ||
## [ controlplane - Control plane component timeline](#RelationshipControlPlaneComponent) | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
|control_plane_component|| | ||
|
||
<!-- END GENERATED PART: relationship-element-header-RelationshipControlPlaneComponent-events-table --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{{define "relationship-template"}} | ||
{{range $index,$relationship := .Relationships }} | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}} --> | ||
## [{{with $relationship.HasVisibleChip}} {{$relationship.Label}} - {{end}}{{$relationship.LongName}}](#{{$relationship.ID}}) | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}} --> | ||
{{with $relationship.GeneratableRevisions}} | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-revisions-header --> | ||
### Revisions | ||
|
||
This timeline can have the following revisions. | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-revisions-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-revisions-table --> | ||
|State|Source log|Description| | ||
|---|---|---| | ||
{{range $index,$revision := $relationship.GeneratableRevisions}}|{{$revision.RevisionStateLabel}}|{{$revision.SourceLogTypeLabel}}|{{$revision.Description}}| | ||
{{end}} | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-revisions-table --> | ||
{{end}} | ||
{{with $relationship.GeneratableEvents}} | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-events-header --> | ||
### Events | ||
|
||
This timeline can have the following events. | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-events-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-events-table --> | ||
|Source log|Description| | ||
|---|---| | ||
{{range $index,$event := $relationship.GeneratableEvents}}|{{$event.SourceLogTypeLabel}}|{{$event.Description}}| | ||
{{end}} | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-events-table --> | ||
{{end}} | ||
{{with $relationship.GeneratableAliases}} | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-aliases-header --> | ||
### Aliases | ||
|
||
This timeline can have the following aliases. | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-aliases-header --> | ||
<!-- BEGIN GENERATED PART: relationship-element-header-{{$relationship.ID}}-aliases-table --> | ||
|Aliased timeline|Source log|Description| | ||
|---|---|---| | ||
{{range $index,$alias := $relationship.GeneratableAliases}}|{{$alias.AliasedTimelineRelationshipLabel}}|{{$alias.SourceLogTypeLabel}}|{{$alias.Description}}| | ||
{{end}} | ||
<!-- END GENERATED PART: relationship-element-header-{{$relationship.ID}}-aliases-table --> | ||
{{end}} | ||
|
||
{{end}} | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package model |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.