Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Call(method string, params url.Values) ([]byte, error)
- func (c *Client) CreateTimer(dir string) error
- func (c *Client) DeleteTimer(dir string) error
- func (c *Client) Info() (map[string]interface{}, error)
- func (c *Client) PauseTimer(dir string) error
- func (c *Client) ReadTimer(dir string) (*timer.Timer, error)
- func (c *Client) ResetTimer(dir string, staged, unstaged bool) error
- func (c *Client) StageTimer(dir string, files map[string]*vcs.StagedFile) error
- type Init
- type Install
- type Pause
- type Pull
- type Punch
- type Push
- type Reset
- type Stage
- type Start
- type Status
- type Stop
- type Sum
- type Uninstall
- type Unstage
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequestFailed = errors.New("Couldn't reach background service, did you install it using 'glass install'?")
View Source
var ErrTimerNotFound = errors.New("Couldn't find timer for this project, did you start one using 'glass init' or 'glass start'?")
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateTimer ¶
func (*Client) DeleteTimer ¶
func (*Client) PauseTimer ¶
func (*Client) StageTimer ¶ added in v0.6.1
type Init ¶
type Init struct {
// contains filtered or unexported fields
}
func (*Init) Description ¶
type Install ¶
type Install struct {
// contains filtered or unexported fields
}
func NewInstall ¶
func NewInstall() *Install
func (*Install) Description ¶
type Pause ¶
type Pause struct {
// contains filtered or unexported fields
}
func (*Pause) Description ¶
type Pull ¶
type Pull struct {
// contains filtered or unexported fields
}
func (*Pull) Description ¶
type Punch ¶
type Punch struct {
// contains filtered or unexported fields
}
func (*Punch) Description ¶
type Push ¶
type Push struct {
// contains filtered or unexported fields
}
func (*Push) Description ¶
type Reset ¶
type Reset struct {
// contains filtered or unexported fields
}
func (*Reset) Description ¶
type Stage ¶ added in v0.6.1
type Stage struct {
// contains filtered or unexported fields
}
func (*Stage) Description ¶ added in v0.6.1
type Start ¶
type Start struct {
// contains filtered or unexported fields
}
func (*Start) Description ¶
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
func (*Status) Description ¶
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
func (*Stop) Description ¶
type Uninstall ¶
type Uninstall struct {
// contains filtered or unexported fields
}
func NewUninstall ¶
func NewUninstall() *Uninstall
func (*Uninstall) Description ¶
type Unstage ¶ added in v0.6.1
type Unstage struct {
// contains filtered or unexported fields
}
func NewUnstage ¶ added in v0.6.1
func NewUnstage() *Unstage
func (*Unstage) Description ¶ added in v0.6.1
Click to show internal directories.
Click to hide internal directories.