Help us shape the future of Go! Take the 2026 Go Developer Survey

launchpad

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package launchpad contains the Launchpad bridge implementation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadProjectURL = errors.New("bad Launchpad project URL")

Functions

This section is empty.

Types

type LPBug

type LPBug struct {
	Title       string   `json:"title"`
	ID          int      `json:"id"`
	Owner       LPPerson `json:"owner_link"`
	Description string   `json:"description"`
	CreatedAt   string   `json:"date_created"`
	Messages    []LPMessage
}

LPBug describes a Launchpad bug.

type LPMessage

type LPMessage struct {
	Content   string   `json:"content"`
	CreatedAt string   `json:"date_created"`
	Owner     LPPerson `json:"owner_link"`
	ID        string   `json:"self_link"`
}

LPMessage describes a comment on a bug report

type LPPerson

type LPPerson struct {
	Name  string `json:"display_name"`
	Login string `json:"name"`
}

Person describes a person on Launchpad (a bug owner, a message author, ...).

type Launchpad

type Launchpad struct{}

func (*Launchpad) Configure

func (l *Launchpad) Configure(repo *cache.RepoCache, params core.BridgeParams, interactive bool) (core.Configuration, error)

func (Launchpad) LoginMetaKey

func (Launchpad) LoginMetaKey() string

func (*Launchpad) NewExporter

func (*Launchpad) NewExporter() core.Exporter

func (*Launchpad) NewImporter

func (*Launchpad) NewImporter() core.Importer

func (*Launchpad) Target

func (*Launchpad) Target() string

func (Launchpad) ValidParams

func (Launchpad) ValidParams() map[string]interface{}

func (*Launchpad) ValidateConfig

func (*Launchpad) ValidateConfig(conf core.Configuration) error

Jump to

Keyboard shortcuts

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