export

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: AGPL-3.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 BuildsExporter

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

func NewBuildsExporter

func NewBuildsExporter(client *gqlclient.Client, http *http.Client) *BuildsExporter

func (*BuildsExporter) Export

func (ex *BuildsExporter) Export(ctx context.Context, dir string) error

type Exporter

type Exporter interface {
	Export(ctx context.Context, dir string) error
}

type GitExporter

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

func NewGitExporter

func NewGitExporter(client *gqlclient.Client, baseURL string) *GitExporter

func (*GitExporter) Export

func (ex *GitExporter) Export(ctx context.Context, dir string) error

type GitRepoInfo

type GitRepoInfo struct {
	Info
	Description *string            `json:"description"`
	Visibility  gitsrht.Visibility `json:"visibility"`
}

A subset of gitsrht.Repository which only contains the fields we want to export (i.e. the ones filled in by the GraphQL query)

type HgExporter

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

func NewHgExporter

func NewHgExporter(client *gqlclient.Client, baseURL string) *HgExporter

func (*HgExporter) Export

func (ex *HgExporter) Export(ctx context.Context, dir string) error

type HgRepoInfo

type HgRepoInfo struct {
	Info
	Description *string           `json:"description"`
	Visibility  hgsrht.Visibility `json:"visibility"`
}

A subset of hgsrht.Repository which only contains the fields we want to export (i.e. the ones filled in by the GraphQL query)

type Info added in v0.4.0

type Info struct {
	Service string `json:"service"`
	Name    string `json:"name"`
}

type JobInfo

type JobInfo struct {
	Info
	Id         int32                 `json:"id"`
	Status     string                `json:"status"`
	Note       *string               `json:"note,omitempty"`
	Tags       []string              `json:"tags"`
	Visibility buildssrht.Visibility `json:"visibility"`
}

type ListsExporter

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

func NewListsExporter

func NewListsExporter(client *gqlclient.Client, http *http.Client) *ListsExporter

func (*ListsExporter) Export

func (ex *ListsExporter) Export(ctx context.Context, dir string) error

type MailingListInfo

type MailingListInfo struct {
	Info
	Description *string  `json:"description"`
	PermitMime  []string `json:"permitMime"`
	RejectMime  []string `json:"rejectMime"`
}

A subset of listssrht.MailingList which only contains the fields we want to export (i.e. the ones filled in by the GraphQL query)

type MetaExporter

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

func NewMetaExporter

func NewMetaExporter(client *gqlclient.Client) *MetaExporter

func (*MetaExporter) Export

func (ex *MetaExporter) Export(ctx context.Context, dir string) error

type PasteExporter

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

func NewPasteExporter

func NewPasteExporter(client *gqlclient.Client, http *http.Client) *PasteExporter

func (*PasteExporter) Export

func (ex *PasteExporter) Export(ctx context.Context, dir string) error

type PasteInfo

type PasteInfo struct {
	Info
	Visibility pastesrht.Visibility `json:"visibility"`
}

type TodoExporter added in v0.4.0

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

func NewTodoExporter added in v0.4.0

func NewTodoExporter(client *gqlclient.Client, http *http.Client) *TodoExporter

func (*TodoExporter) Export added in v0.4.0

func (ex *TodoExporter) Export(ctx context.Context, dir string) error

type TrackerInfo added in v0.4.0

type TrackerInfo struct {
	Info
	Description *string             `json:"description"`
	Visibility  todosrht.Visibility `json:"visibility"`
}

Jump to

Keyboard shortcuts

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