Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the programmatic interface to the marketplace server API.
func NewClient ¶
func NewClient(address string, httpService httpservice.HTTPService) (*Client, error)
NewClient creates a client to the marketplace server at the given address.
func (*Client) GetPlugin ¶
func (c *Client) GetPlugin(filter *model.MarketplacePluginFilter, pluginVersion string) (*model.BaseMarketplacePlugin, error)
func (*Client) GetPlugins ¶
func (c *Client) GetPlugins(request *model.MarketplacePluginFilter) ([]*model.BaseMarketplacePlugin, error)
GetPlugins fetches the list of plugins from the configured server.
Click to show internal directories.
Click to hide internal directories.