Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) GetPlugin(ctx context.Context, pluginName string) (*registry.Plugin, error)
- func (c *Client) GetPluginRelease(ctx context.Context, pluginName, version string) (*registry.PluginRelease, error)
- func (c *Client) GetPlugins(ctx context.Context) ([]string, error)
- func (c *Client) SendBatchRequest(ctx context.Context, batch *registry.BatchRequest) (*registry.BatchResponse, error)
- func (c *Client) UpdatePlugin(ctx context.Context, adminAccessToken, pluginName string) error
- func (c *Client) UpdatePluginRelease(ctx context.Context, adminAccessToken, pluginName, version string) error
- func (c *Client) UpdatePlugins(ctx context.Context, adminAccessToken string) error
- type ErrorResponse
Constants ¶
View Source
const ( DefaultStagingEndpoint = "https://registry-staging.go-semantic-release.xyz" DefaultProductionEndpoint = "https://registry.go-semantic-release.xyz" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetPluginRelease ¶
func (*Client) SendBatchRequest ¶
func (c *Client) SendBatchRequest(ctx context.Context, batch *registry.BatchRequest) (*registry.BatchResponse, error)
func (*Client) UpdatePlugin ¶ added in v1.5.0
func (*Client) UpdatePluginRelease ¶ added in v1.5.0
type ErrorResponse ¶
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
Click to show internal directories.
Click to hide internal directories.