endpoints

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLimitReached = errors.New("api limit reached")
)

Functions

This section is empty.

Types

type Caller

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

func NewCaller

func NewCaller(key, email string, accountID string) (*Caller, error)

func (*Caller) GetPlanContents

func (c *Caller) GetPlanContents(ctx context.Context, projectPlanIDs map[int][]int, outDir *string) (map[int]map[int][]int, error)

func (*Caller) GetPlans

func (c *Caller) GetPlans(ctx context.Context, projectIDs []int, outDir *string) (map[int][]int, error)

func (*Caller) GetProjects

func (c *Caller) GetProjects(ctx context.Context, outDir *string) ([]int, error)

func (*Caller) GetRequirementDocuments

func (c *Caller) GetRequirementDocuments(ctx context.Context, projectIDs []int, outDir *string) (map[int][]int, error)

func (*Caller) GetRequirements

func (c *Caller) GetRequirements(ctx context.Context, projectDocumentIDs map[int][]int, outDir *string) (map[int]map[int][]int, error)

func (*Caller) GetSuiteSections

func (c *Caller) GetSuiteSections(ctx context.Context, projectSuiteIDs map[int][]int, outDir *string) (map[int]map[int][]int, error)

func (*Caller) GetSuites

func (c *Caller) GetSuites(ctx context.Context, projectIDs []int, outDir *string) (map[int][]int, error)

func (*Caller) GetTestCases

func (c *Caller) GetTestCases(ctx context.Context, projectSuiteSectionIDs map[int]map[int][]int, outDir *string) error

Jump to

Keyboard shortcuts

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