Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubAccessTokenResponse ¶
type GithubAccessTokenResponse struct { AccessToken string `json:"access_token"` Scope string `json:"scope"` TokenType string `json:"token_type"` Error string `json:"error"` ErrorDescription string `json:"error_description"` ErrorURI string `json:"error_uri"` }
GithubAccessTokenResponse -
type GithubClientResponse ¶
type GithubClientResponse struct {
ClientID string `json:"client_id"`
}
GithubClientResponse -
type MongoConnectionURL ¶
type MongoConnectionURL string
type NewInputTask ¶
type NewInputTask struct { Name string `json:"name"` Description string `json:"description"` Args map[string]interface{} `json:"args"` Schedule string `json:"schedule"` IsRepeatable bool `json:"isRepeatable"` Executor string `json:"executor"` EntryID cron.EntryID `json:"entryId"` }
NewInputTask - object to store all parameters for creating a new task
type PluginSetting ¶
type PluginSetting struct { Type string `json:"type" bson:"type"` RepoName string `json:"repo_name" bson:"repo_name"` Active bool `json:"active" bson:"active"` Description string `json:"description" bson:"description"` BuildFolderName string `json:"build_folder_name" bson:"build_folder_name"` }
PluginSetting for plugin
type Task ¶
type Task struct { TaskID string `json:"taskId" bson:"taskId"` EntryID cron.EntryID `json:"entryId" bson:"entryId"` Name string `json:"name" bson:"name"` Description string `json:"description" bson:"description"` Executor string `json:"executor" bson:"executor"` Schedule string `json:"schedule" bson:"schedule"` IsRepeatable bool `json:"isRepeatable" bson:"isRepeatable"` Enabled bool `json:"enabled" bson:"enabled"` Complete bool `json:"complete" bson:"complete"` Args map[string]interface{} `json:"args" bson:"args"` CreatedAt time.Time `json:"createdAt" bson:"createdAt"` UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"` DeletedAt time.Time `json:"deletedAt" bson:"deletedAt"` }
type TaskSearchOptions ¶
type TaskSearchOptions struct {
Enabled bool `json:"enabled"`
}
TaskSearchOptions -
type TaskerConfig ¶
type TaskerConfig struct { Type DBType `required:"true"` MongoConnectionURL MongoConnectionURL `required:"true"` }
type ToggleActiveSetting ¶
type User ¶
type User struct { Email string `json:"email" bson:"email"` Name string `json:"name" bson:"name"` UserName string `json:"username" bson:"username"` EncryptedAccessToken string `json:"-" bson:"accessToken"` AccessToken string `json:"-" bson:"-"` Bio string `json:"bio" bson:"bio"` GitHubURL string `json:"githubURL" bson:"githubURL"` }
func (*User) BeforeCreate ¶
func (*User) GetAccessToken ¶
type UserClaims ¶
type UserClaims struct { User jwt.StandardClaims }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.