connector

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourcesPageSize int64 = 50

Functions

func WithRateLimitAnnotations

func WithRateLimitAnnotations(rateLimitInfo ...RateLimitInfo) annotations.Annotations

Types

type CrowdStrike

type CrowdStrike struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, clientId, clientSecret string, region string) (*CrowdStrike, error)

New returns the CrowdStrike connector.

func (*CrowdStrike) Metadata

func (o *CrowdStrike) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

func (*CrowdStrike) ResourceSyncers

func (o *CrowdStrike) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*CrowdStrike) Validate

Validates that the user has access to all relevant endpoints.

type RateLimitInfo

type RateLimitInfo struct {
	Limit     int64
	Remaining int64
}

func NewRateLimitInfo

func NewRateLimitInfo(limit, remaining int64) RateLimitInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL