Documentation
¶
Index ¶
- Constants
- type CalendarGetEventSuccess
- type CalendarGetEvents
- type CalendarGetEventsContext
- type CalendarGetEventsError
- type CalendarGetEventsRequest
- type CalendarGetEventsRequestPort
- type CalendarGetEventsSettings
- type CalendarRegisterChannel
- type CalendarRegisterWebhook
- func (h *CalendarRegisterWebhook) GetInfo() module.ComponentInfo
- func (h *CalendarRegisterWebhook) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) error
- func (h *CalendarRegisterWebhook) Instance() module.Component
- func (h *CalendarRegisterWebhook) Ports() []module.NodePort
- type CalendarRegisterWebhookContext
- type CalendarRegisterWebhookError
- type CalendarRegisterWebhookRequest
- type CalendarRegisterWebhookRequestCalendar
- type CalendarRegisterWebhookSettings
- type CalendarRegisterWebhookSuccess
- type ClientConfig
- type ExchangeAuthCode
- type ExchangeAuthCodeInContext
- type ExchangeAuthCodeInMessage
- type ExchangeAuthCodeOutMessage
- type GetAuthUrl
- type GetAuthUrlInContext
- type GetAuthUrlInMessage
- type GetAuthUrlOutMessage
- type Token
Constants ¶
View Source
const ( CalendarGetEventsComponent = "google_calendar_get_events" SettingsPort = "settings" )
View Source
const CalendarRegisterWebhookComponent = "google_calendar_register_webhook"
View Source
const ExchangeAutCodeComponent = "google_exchange_auth_code"
View Source
const GetAuthUrlComponent = "google_get_auth_url"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarGetEventSuccess ¶ added in v0.1.5
type CalendarGetEventSuccess struct {
Context CalendarGetEventsContext `json:"context"`
Request CalendarGetEventsRequest `json:"request"`
Results calendar.Events `json:"results"`
}
type CalendarGetEvents ¶
type CalendarGetEvents struct {
// contains filtered or unexported fields
}
func (*CalendarGetEvents) GetInfo ¶
func (c *CalendarGetEvents) GetInfo() module.ComponentInfo
func (*CalendarGetEvents) Instance ¶
func (c *CalendarGetEvents) Instance() module.Component
func (*CalendarGetEvents) Ports ¶
func (c *CalendarGetEvents) Ports() []module.NodePort
type CalendarGetEventsContext ¶
type CalendarGetEventsContext any
type CalendarGetEventsError ¶
type CalendarGetEventsError struct {
Context CalendarGetEventsContext `json:"context"`
Request CalendarGetEventsRequest `json:"request"`
Error string `json:"error"`
}
type CalendarGetEventsRequest ¶
type CalendarGetEventsRequest struct {
CalendarId string `json:"calendarId" required:"true" default:"primary" minLength:"1" title:"Calendar ID" propertyOrder:"1"`
ShowDeleted bool `json:"showDeleted" required:"true" title:"Show deleted events" default:"true" propertyOrder:"2"`
StartDate time.Time `json:"startDate" title:"Start date" propertyOrder:"3"`
EndDate time.Time `json:"endDate" title:"End date" propertyOrder:"4"`
SyncToken string `json:"syncToken" title:"Sync Token" propertyOrder:"5"`
Token Token `json:"token" required:"true" title:"Auth Token" propertyOrder:"6"`
Config ClientConfig `json:"config" required:"true" title:"Client credentials" propertyOrder:"7"`
}
type CalendarGetEventsRequestPort ¶
type CalendarGetEventsRequestPort struct {
Context CalendarGetEventsContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
Request CalendarGetEventsRequest `json:"request" title:"Request" propertyOrder:"2"`
}
type CalendarGetEventsSettings ¶
type CalendarGetEventsSettings struct {
EnableErrorPort bool `` /* 153-byte string literal not displayed */
}
type CalendarRegisterChannel ¶ added in v0.1.5
type CalendarRegisterChannel struct {
ID string `json:"id" required:"true" title:"ID" description:"A UUID or similar unique string that identifies this channel."`
Type string `` /* 274-byte string literal not displayed */
Address string `json:"address" required:"true" title:"Address" description:"The address where notifications are delivered for this channel."`
Expiration int64 `` /* 148-byte string literal not displayed */
ResourceId string `` /* 161-byte string literal not displayed */
ResourceUri string `json:"resourceUri" title:"ResourceURI" description:"A version-specific identifier for the watched resource."`
Token string `` /* 149-byte string literal not displayed */
}
type CalendarRegisterWebhook ¶ added in v0.1.5
type CalendarRegisterWebhook struct {
// contains filtered or unexported fields
}
func (*CalendarRegisterWebhook) GetInfo ¶ added in v0.1.5
func (h *CalendarRegisterWebhook) GetInfo() module.ComponentInfo
func (*CalendarRegisterWebhook) Instance ¶ added in v0.1.5
func (h *CalendarRegisterWebhook) Instance() module.Component
func (*CalendarRegisterWebhook) Ports ¶ added in v0.1.5
func (h *CalendarRegisterWebhook) Ports() []module.NodePort
type CalendarRegisterWebhookContext ¶ added in v0.1.5
type CalendarRegisterWebhookContext any
type CalendarRegisterWebhookError ¶ added in v0.1.5
type CalendarRegisterWebhookError struct {
Context CalendarRegisterWebhookContext `json:"context"`
Request CalendarRegisterWebhookRequest `json:"request"`
Error string `json:"error"`
}
type CalendarRegisterWebhookRequest ¶ added in v0.1.5
type CalendarRegisterWebhookRequest struct {
Context CalendarRegisterWebhookContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
Calendar CalendarRegisterWebhookRequestCalendar `json:"calendar" required:"true" title:"Calendar" propertyOrder:"2"`
Channel CalendarRegisterChannel `json:"channel" required:"true" title:"Channel" propertyOrder:"3"`
Token Token `json:"token" required:"true" title:"Token" propertyOrder:"4"`
}
type CalendarRegisterWebhookRequestCalendar ¶ added in v0.1.5
type CalendarRegisterWebhookRequestCalendar struct {
ID string `json:"id" required:"true" title:"Calendar ID" description:"Google Calendar ID to be watched"`
}
type CalendarRegisterWebhookSettings ¶ added in v0.1.5
type CalendarRegisterWebhookSettings struct {
EnableErrorPort bool `` /* 137-byte string literal not displayed */
}
type CalendarRegisterWebhookSuccess ¶ added in v0.1.5
type CalendarRegisterWebhookSuccess struct {
Context CalendarRegisterWebhookContext `json:"context"`
Request CalendarRegisterWebhookRequest `json:"request"`
}
type ClientConfig ¶
type ExchangeAuthCode ¶
type ExchangeAuthCode struct {
}
func (*ExchangeAuthCode) GetInfo ¶
func (a *ExchangeAuthCode) GetInfo() module.ComponentInfo
func (*ExchangeAuthCode) Instance ¶
func (a *ExchangeAuthCode) Instance() module.Component
func (*ExchangeAuthCode) Ports ¶
func (a *ExchangeAuthCode) Ports() []module.NodePort
type ExchangeAuthCodeInContext ¶
type ExchangeAuthCodeInContext any
type ExchangeAuthCodeInMessage ¶
type ExchangeAuthCodeInMessage struct {
Context ExchangeAuthCodeInContext `json:"context" title:"Context" configurable:"true" propertyOrder:"1"`
Config ClientConfig `json:"config" title:"Config" required:"true" description:"Client Config" propertyOrder:"2"`
AuthCode string `json:"authCode" required:"true" title:"Authorisation code" propertyOrder:"3"`
}
type ExchangeAuthCodeOutMessage ¶
type ExchangeAuthCodeOutMessage struct {
Context ExchangeAuthCodeInContext `json:"context" title:"Context" propertyOrder:"1"`
Token Token `json:"token" propertyOrder:"2"`
}
type GetAuthUrl ¶
type GetAuthUrl struct {
}
func (*GetAuthUrl) GetInfo ¶
func (a *GetAuthUrl) GetInfo() module.ComponentInfo
func (*GetAuthUrl) Instance ¶
func (a *GetAuthUrl) Instance() module.Component
func (*GetAuthUrl) Ports ¶
func (a *GetAuthUrl) Ports() []module.NodePort
type GetAuthUrlInContext ¶
type GetAuthUrlInContext any
type GetAuthUrlInMessage ¶
type GetAuthUrlInMessage struct {
Context GetAuthUrlInContext `json:"context" title:"Context" configurable:"true" propertyOrder:"1"`
Config ClientConfig `json:"config" required:"true" title:"Client credentials" propertyOrder:"2"`
AccessType string `json:"accessType" title:"Type of access" enum:"offline,online" enumTitles:"Offline,Online" required:"true" propertyOrder:"3"`
ApprovalForce bool `json:"approvalForce" title:"ApprovalForce" required:"true" propertyOrder:"4"`
}
type GetAuthUrlOutMessage ¶
type GetAuthUrlOutMessage struct {
Context GetAuthUrlInContext `json:"context"`
AuthUrl string `json:"authUrl" format:"uri"`
}
type Token ¶
type Token struct {
AccessToken string `json:"access_token" required:"true" minLength:"1" title:"AccessToken" description:"Token that authorizes and authenticates"`
TokenType string `` /* 142-byte string literal not displayed */
RefreshToken string `` /* 170-byte string literal not displayed */
Expiry time.Time `` /* 264-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.