Documentation
¶
Index ¶
- type Client
- type Options
- type PageResponse
- type Poller
- func (poller Poller) PollConfluence(ctx context.Context, credentials projectintegrations.Credentials, ...) (projectintegrations.PollResult, error)
- func (poller Poller) PollConfluenceWithProgress(ctx context.Context, credentials projectintegrations.Credentials, ...) (projectintegrations.PollResult, error)
- type SearchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) GetPage ¶
func (client Client) GetPage(ctx context.Context, credentials projectintegrations.Credentials, pageID string, bodyRepresentation string) (PageResponse, error)
func (Client) SearchPages ¶
func (client Client) SearchPages(ctx context.Context, credentials projectintegrations.Credentials, cql string, limit int, cursor ...string) (SearchResponse, error)
type PageResponse ¶
type PageResponse struct {
Raw json.RawMessage
}
type Poller ¶
type Poller struct {
Client Client
}
func (Poller) PollConfluence ¶
func (poller Poller) PollConfluence(ctx context.Context, credentials projectintegrations.Credentials, plan projectintegrations.ConfluenceQueryPlan) (projectintegrations.PollResult, error)
func (Poller) PollConfluenceWithProgress ¶
func (poller Poller) PollConfluenceWithProgress(ctx context.Context, credentials projectintegrations.Credentials, plan projectintegrations.ConfluenceQueryPlan, progress projectintegrations.PollProgressFunc) (projectintegrations.PollResult, error)
type SearchResponse ¶
type SearchResponse struct {
Results []json.RawMessage `json:"results"`
Links map[string]string `json:"_links,omitempty"`
}
func (SearchResponse) NextCursor ¶
func (response SearchResponse) NextCursor() string
Click to show internal directories.
Click to hide internal directories.