providers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Github

type Github interface {
	// ListRepositoryProjects for when the project is on a repository.
	ListRepositoryProjects(ctx context.Context, owner, repo string, opts *models.ListOptions) ([]*models.Project, error)
	// ListOrganizationProjects for when the project is on an organization.
	ListOrganizationProjects(ctx context.Context, org string, opts *models.ListOptions) ([]*models.Project, error)
	// GetProject should work once the project ID is known.
	GetProject(ctx context.Context, id int64) (*models.Project, error)
	// GetProjectData returns all the data for a project to show the project management page.
	GetProjectData(ctx context.Context, id int64) (*models.ProjectData, error)
	// LoadRest will fetch the rest of the cards if there are any.
	LoadRest(ctx context.Context, columnID int64, list *tview.List) error
	// MoveAnIssue into a new column.
	MoveAnIssue(ctx context.Context, cardID int64, columnID int64) error
}

Github provides github specific api

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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