connector

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linear

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

func New

func New(ctx context.Context, apiKey string, skipProjects bool, ticketSchemaTeamIDs []string) (*Linear, error)

New returns the Linear connector.

func (*Linear) BulkCreateTickets added in v0.0.10

func (*Linear) BulkGetTickets added in v0.0.10

func (*Linear) CreateTicket added in v0.0.10

func (ln *Linear) CreateTicket(ctx context.Context, ticket *v2.Ticket, schema *v2.TicketSchema) (*v2.Ticket, annotations.Annotations, error)

func (*Linear) GetTicket added in v0.0.10

func (ln *Linear) GetTicket(ctx context.Context, ticketId string) (*v2.Ticket, annotations.Annotations, error)

func (*Linear) GetTicketSchema added in v0.0.10

func (ln *Linear) GetTicketSchema(ctx context.Context, schemaID string) (*v2.TicketSchema, annotations.Annotations, error)

func (*Linear) ListTicketSchemas added in v0.0.10

func (ln *Linear) ListTicketSchemas(ctx context.Context, p *pagination.Token) ([]*v2.TicketSchema, string, annotations.Annotations, error)

ListTicketSchemas lists all the ticket schemas for Linear Issues.

Linear Issues currently vary only by Workflow State per Team.

func (*Linear) Metadata

func (ln *Linear) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Linear) ResourceSyncers

func (ln *Linear) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Linear) Validate

func (ln *Linear) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the Linear API to assure that the API key is valid.

Jump to

Keyboard shortcuts

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