Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleMeta ¶
type Meta ¶ added in v0.2.0
type Meta struct {
Type string `docstore:"type" json:"type"` // pr, cli
PR int `docstore:"pr" json:"pr"`
Repo string `docstore:"repo" json:"repo"`
Org string `docstore:"org" json:"org"`
PRURL string `docstore:"pr_url" json:"pr_url"`
Commit string `docstore:"commit" json:"commit"`
Branch string `docstore:"branch" json:"branch"`
DirName string `docstore:"dir_name" json:"dir_name"`
DiffCmd string `docstore:"diff_cmd" json:"diff_cmd"`
Remote string `docstore:"remote" json:"remote"`
GitDirty bool `docstore:"git_dirty" json:"git_dirty"`
}
type StatusMeta ¶ added in v0.3.0
type UserInspectorResult ¶ added in v0.2.0
type UserInspectorResult struct {
User string `docstore:"user" json:"user"` // Primary key
Sort string `docstore:"sort" json:"sort"` // Sort key (epoch timestamp)
TTL int64 `docstore:"ttl" json:"ttl"` // TTL (epoch expiration timestamp)
Analysis *Analysis `docstore:"analysis" json:"analysis,omitempty"`
Meta Meta `docstore:"meta" json:"meta"`
StatusMeta StatusMeta `docstore:"status_meta" json:"statusMeta"` // Status and metadata
}
UserInspectorResult represents the structure for our DynamoDB table
type WorkspaceApp ¶ added in v0.2.0
type WorkspaceApp struct {
Workspace string `docstore:"workspace" json:"workspace"` // Primary key
UserOrg string `docstore:"user_org" json:"user_org"` // Sort key
}
WorkspaceApp represents the workspace-gh-app table structure
type WorkspaceInspectorResult ¶ added in v0.2.0
type WorkspaceInspectorResult struct {
Workspace string `docstore:"workspace" json:"workspace"` // Primary key (fixed json tag)
Sort string `docstore:"sort" json:"sort"` // Sort key (epoch timestamp)
TTL int64 `docstore:"ttl" json:"ttl"` // TTL (epoch expiration timestamp)
Analysis Analysis `docstore:"analysis" json:"analysis"`
Meta Meta `docstore:"meta" json:"meta"`
}
WorkspaceInspectorResult represents the workspace-inspector-results table structure
Click to show internal directories.
Click to hide internal directories.