Documentation ¶
Overview ¶
Package report implements the Azure ARM Report service API version 1.0.0.
Test Infrastructure for AutoRest
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- func (client BaseClient) GetReport(ctx context.Context, qualifier string) (result SetInt32, err error)
- func (client BaseClient) GetReportPreparer(ctx context.Context, qualifier string) (*http.Request, error)
- func (client BaseClient) GetReportResponder(resp *http.Response) (result SetInt32, err error)
- func (client BaseClient) GetReportSender(req *http.Request) (*http.Response, error)
- type Error
- type SetInt32
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Report
DefaultBaseURI = "http://localhost:3000"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient ¶
BaseClient is the base client for Report.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BaseClient) GetReport ¶
func (client BaseClient) GetReport(ctx context.Context, qualifier string) (result SetInt32, err error)
GetReport get test coverage report Parameters: qualifier - if specified, qualifies the generated report further (e.g. '2.7' vs '3.5' in for Python). The only effect is, that generators that run all tests several times, can distinguish the generated reports.
func (BaseClient) GetReportPreparer ¶
func (client BaseClient) GetReportPreparer(ctx context.Context, qualifier string) (*http.Request, error)
GetReportPreparer prepares the GetReport request.
func (BaseClient) GetReportResponder ¶
func (client BaseClient) GetReportResponder(resp *http.Response) (result SetInt32, err error)
GetReportResponder handles the response to the GetReport request. The method always closes the http.Response Body.
func (BaseClient) GetReportSender ¶
GetReportSender sends the GetReport request. The method will close the http.Response Body if it receives an error.