filegroup

package
v0.0.0-...-4a6d4ce Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package filegroup implements the Azure ARM Filegroup service API version 1.0.0.

Test Infrastructure for AutoRest Swagger BAT

Index

Constants

View Source
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

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Filegroup.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

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

func (client FilesClient) GetEmptyFilePreparer(ctx context.Context) (*http.Request, error)

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

func (client FilesClient) GetEmptyFileSender(req *http.Request) (*http.Response, error)

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

func (client FilesClient) GetFileLargePreparer(ctx context.Context) (*http.Request, error)

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

func (client FilesClient) GetFileLargeSender(req *http.Request) (*http.Response, error)

GetFileLargeSender sends the GetFileLarge request. The method will close the http.Response Body if it receives an error.

func (FilesClient) GetFilePreparer

func (client FilesClient) GetFilePreparer(ctx context.Context) (*http.Request, error)

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

func (client FilesClient) GetFileSender(req *http.Request) (*http.Response, error)

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 ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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