Documentation ¶
Overview ¶
Package filegroup implements the Azure ARM Filegroup service API version 1.0.0.
Test Infrastructure for AutoRest Swagger BAT
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type Error
- type FilesClient
- func (client FilesClient) GetEmptyFile(ctx context.Context) (result ReadCloser, err error)
- func (client FilesClient) GetEmptyFilePreparer(ctx context.Context) (*http.Request, error)
- func (client FilesClient) GetEmptyFileResponder(resp *http.Response) (result ReadCloser, err error)
- func (client FilesClient) GetEmptyFileSender(req *http.Request) (*http.Response, error)
- func (client FilesClient) GetFile(ctx context.Context) (result ReadCloser, err error)
- func (client FilesClient) GetFileLarge(ctx context.Context) (result ReadCloser, err error)
- func (client FilesClient) GetFileLargePreparer(ctx context.Context) (*http.Request, error)
- func (client FilesClient) GetFileLargeResponder(resp *http.Response) (result ReadCloser, err error)
- func (client FilesClient) GetFileLargeSender(req *http.Request) (*http.Response, error)
- func (client FilesClient) GetFilePreparer(ctx context.Context) (*http.Request, error)
- func (client FilesClient) GetFileResponder(resp *http.Response) (result ReadCloser, err error)
- func (client FilesClient) GetFileSender(req *http.Request) (*http.Response, error)
- type ReadCloser
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Filegroup
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 Filegroup.
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).
type Error ¶
type Error struct { Status *int32 `json:"status,omitempty"` Message *string `json:"message,omitempty"` }
Error ...
type FilesClient ¶
type FilesClient struct {
BaseClient
}
FilesClient is the test Infrastructure for AutoRest Swagger BAT
func NewFilesClient ¶
func NewFilesClient() FilesClient
NewFilesClient creates an instance of the FilesClient client.
func NewFilesClientWithBaseURI ¶
func NewFilesClientWithBaseURI(baseURI string) FilesClient
NewFilesClientWithBaseURI creates an instance of the FilesClient 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 (FilesClient) GetEmptyFile ¶
func (client FilesClient) GetEmptyFile(ctx context.Context) (result ReadCloser, err error)
GetEmptyFile get empty file
func (FilesClient) GetEmptyFilePreparer ¶
GetEmptyFilePreparer prepares the GetEmptyFile request.
func (FilesClient) GetEmptyFileResponder ¶
func (client FilesClient) GetEmptyFileResponder(resp *http.Response) (result ReadCloser, err error)
GetEmptyFileResponder handles the response to the GetEmptyFile request. The method always closes the http.Response Body.
func (FilesClient) GetEmptyFileSender ¶
GetEmptyFileSender sends the GetEmptyFile request. The method will close the http.Response Body if it receives an error.
func (FilesClient) GetFile ¶
func (client FilesClient) GetFile(ctx context.Context) (result ReadCloser, err error)
GetFile get file
func (FilesClient) GetFileLarge ¶
func (client FilesClient) GetFileLarge(ctx context.Context) (result ReadCloser, err error)
GetFileLarge get a large file
func (FilesClient) GetFileLargePreparer ¶
GetFileLargePreparer prepares the GetFileLarge request.
func (FilesClient) GetFileLargeResponder ¶
func (client FilesClient) GetFileLargeResponder(resp *http.Response) (result ReadCloser, err error)
GetFileLargeResponder handles the response to the GetFileLarge request. The method always closes the http.Response Body.
func (FilesClient) GetFileLargeSender ¶
GetFileLargeSender sends the GetFileLarge request. The method will close the http.Response Body if it receives an error.
func (FilesClient) GetFilePreparer ¶
GetFilePreparer prepares the GetFile request.
func (FilesClient) GetFileResponder ¶
func (client FilesClient) GetFileResponder(resp *http.Response) (result ReadCloser, err error)
GetFileResponder handles the response to the GetFile request. The method always closes the http.Response Body.
func (FilesClient) GetFileSender ¶
GetFileSender sends the GetFile request. The method will close the http.Response Body if it receives an error.
type ReadCloser ¶
type ReadCloser struct { autorest.Response `json:"-"` Value *io.ReadCloser `json:"value,omitempty"` }
ReadCloser ...