api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analysis added in v0.2.0

type Analysis struct {
	Proceed bool   `docstore:"proceed" json:"proceed"`
	Results string `docstore:"results" json:"results"` // markdown content

}

type BundleMeta

type BundleMeta struct {
	PatchName     string `json:"patch_name"`
	CurrentBranch string `json:"current_branch"`
	DirName       string `json:"dir_name"`
	DiffCmd       string `json:"diff_cmd"`
	Remote        string `json:"remote"`
	GitDirty      bool   `json:"git_dirty"`
}

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 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"`
	Meta     Meta     `docstore:"meta" json:"meta"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL