Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientFactory = func() (calendar.CalendarClientInterface, error) { return calendar.NewClient(context.Background()) }
ClientFactory is the function used to create Calendar clients. Override in tests to inject mocks.
Functions ¶
func NewCommand ¶
NewCommand returns the calendar command with all subcommands
Types ¶
type EventListOptions ¶ added in v1.0.30
type EventListOptions struct {
CalendarID string
TimeMin string // RFC3339 format
TimeMax string // RFC3339 format
MaxResults int64
JSONOutput bool
Header string // Header message to print (empty to show count-based header)
EmptyMessage string // Message when no events found
}
EventListOptions configures how events are listed and displayed.
Click to show internal directories.
Click to hide internal directories.