Versions in this module Expand all Collapse all v0 v0.1.0 Feb 4, 2018 Changes in this version type Job + func (jo *Job) Stdin() io.Reader v0.0.1 Feb 3, 2018 Changes in this version + type Comment struct + func (co *Comment) Err() error + func (co *Comment) Raw() string + func (co *Comment) Type() Type + type Crontab struct + func Parse(rdr io.Reader, hasUser bool) (*Crontab, error) + func (ct *Crontab) Entries() []Entry + func (ct *Crontab) Err() error + func (ct *Crontab) Jobs() (jobs []*Job) + func (ct *Crontab) Raw() string + type Empty struct + func (em *Empty) Err() error + func (em *Empty) Raw() string + func (em *Empty) Type() Type + type Entry interface + Err func() error + Raw func() string + Type func() Type + type Env struct + func (env *Env) Err() error + func (env *Env) Key() string + func (env *Env) Raw() string + func (env *Env) Type() Type + func (env *Env) Val() string + type Invalid struct + func (er *Invalid) Err() error + func (er *Invalid) Raw() string + func (er *Invalid) Type() Type + type Job struct + func ParseJob(raw string, hasUser bool, env map[string]string) *Job + func (jo *Job) Command() string + func (jo *Job) Env() map[string]string + func (jo *Job) Err() error + func (jo *Job) Raw() string + func (jo *Job) Schedule() *Schedule + func (jo *Job) Type() Type + func (jo *Job) User() string + type Schedule struct + func ParseSchedule(raw string) (sche *Schedule, err error) + func (sche *Schedule) Match(t time.Time) bool + func (sche *Schedule) Raw() string + func (sche *Schedule) Warnings() []string + type Type int + const TypeComment + const TypeEmpty + const TypeEnv + const TypeInvalid + const TypeJob + func (i Type) String() string