Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubSt ¶
type GithubSt struct { SourceOwner *string /* Name of the owner (user or org) of the repo to create the commit in. */ SourceRepo *string /* Name of repo to create the commit in. */ CommitMessage *string /* Content of the commit message. */ CommitBranch *string /* Name of branch to create the commit in. If it does not already exists, it will be created using the `base-branch` parameter */ BaseBranch *string /* Name of branch to create the `commit-branch` from. */ SourceFiles *string /* Comma-separated list of files to commit and their location. The local file is separated by its target location by a semi-colon. If the file should be in the same location with the same name, you can just put the file name and omit the repetition. Example: README.md,main.go:github/examples/commitpr/main.go */ AuthorName *string /* Name of the author of the commit */ AuthorEmail *string /* Email of the author of the commit. */ Client *github.Client /* github client */ Ctx context.Context /* backgound context */ }
type History ¶
type History struct { Id string `json:"id"` SyncId string `json:"syncId"` Target string `json:"target"` GitRootPath string `json:"gitRootPath"` SymlinkAddress string `json:"symlink_address"` Type string `json:"fileType"` Status string `json:"status"` Owner string `json:"owner"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Repo string `json:"repo"` GithubUsername string `json:"githubUsername"` RemarkMessage string `json:"remarkMessage"` Action string `json:"action"` }
type User ¶
type User struct { Id string `json:"id"` Owner string `json:"owner"` Cronjob int `json:"cronjob"` CreatedAt time.Time `json:"createdAt"` TotalSync int `json:"totalSync"` Auth bool `json:"auth"` Token string `json:"token"` Repo string `json:"repo"` Github string `json:"github"` Branch string `json:"branch"` EmailAddress string `json:"emailAddress"` Name string `json:"name"` Health string `json:"health"` UserDBPath string `json:"userDBPath"` SyncDBPath string `json:"syncDBPath"` SymlinkPath string `json:"symlinkPath"` }
Click to show internal directories.
Click to hide internal directories.