Documentation
¶
Index ¶
- Constants
- func GetEntitlementComponents(operation string) (string, string)
- func WithRateLimitAnnotations(ratelimitDescriptionAnnotations ...*v2.RateLimitDescription) annotations.Annotations
- type Config
- type Confluence
- func (c *Confluence) Asset(ctx context.Context, asset *v2.AssetRef) (string, io.ReadCloser, error)
- func (c *Confluence) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)
- func (c *Confluence) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
- func (c *Confluence) Validate(ctx context.Context) (annotations.Annotations, error)
Constants ¶
View Source
const ( // Confluence Cloud v1 API group endpoints default to 1000 with no // documented hard maximum. Previously 25; increased to reduce API // calls during the 2D user-listing scheme (groups → members). // The membersByGroupId endpoint enforces a maximum of 200. GroupPageSizeMaximum = 200 )
View Source
const ResourcesPageSize = 200
ResourcesPageSize controls the default page size for v1 API list operations. The membersByGroupId endpoint enforces a maximum of 200.
Variables ¶
This section is empty.
Functions ¶
func GetEntitlementComponents ¶
GetEntitlementComponents returns the operation and target in that order.
func WithRateLimitAnnotations ¶
func WithRateLimitAnnotations( ratelimitDescriptionAnnotations ...*v2.RateLimitDescription, ) annotations.Annotations
Types ¶
type Confluence ¶
type Confluence struct {
// contains filtered or unexported fields
}
func (*Confluence) Asset ¶
func (c *Confluence) Asset(ctx context.Context, asset *v2.AssetRef) (string, io.ReadCloser, error)
func (*Confluence) Metadata ¶
func (c *Confluence) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)
func (*Confluence) ResourceSyncers ¶
func (c *Confluence) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
func (*Confluence) Validate ¶
func (c *Confluence) Validate(ctx context.Context) (annotations.Annotations, error)
Click to show internal directories.
Click to hide internal directories.