ftpmasterapi

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.11.0

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

Client for the ftpmasters api

func NewClient added in v0.11.0

func NewClient(httpClient *http.Client) *Client

NewClient creates a new Client

func (*Client) GetDSCSInSuite added in v0.11.0

func (client *Client) GetDSCSInSuite(pkg, distribution string) ([]*DSC, error)

GetDSCSInSuite returns a list of DSCs matching pkg in distribution

func (*Client) GetSourcesInSuite added in v0.11.0

func (client *Client) GetSourcesInSuite(distribution string) ([]*Source, error)

GetSourcesInSuite returns all source packages in a suite

type DSC

type DSC struct {
	Component string `json:"component"`
	Filename  string `json:"filename"`
}

DSC api object as returned by dsc_in_suite

type Source added in v0.11.0

type Source struct {
	Source  string `json:"source"`
	Version string `json:"version"`
}

Source api object as returned by source_in_suite

Jump to

Keyboard shortcuts

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