Documentation ¶
Overview ¶
Package bytegroup implements the Azure ARM Bytegroup service API version 1.0.0.
Test Infrastructure for AutoRest Swagger BAT
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type ByteArray
- type ByteClient
- func (client ByteClient) GetEmpty(ctx context.Context) (result ByteArray, err error)
- func (client ByteClient) GetEmptyPreparer(ctx context.Context) (*http.Request, error)
- func (client ByteClient) GetEmptyResponder(resp *http.Response) (result ByteArray, err error)
- func (client ByteClient) GetEmptySender(req *http.Request) (*http.Response, error)
- func (client ByteClient) GetInvalid(ctx context.Context) (result ByteArray, err error)
- func (client ByteClient) GetInvalidPreparer(ctx context.Context) (*http.Request, error)
- func (client ByteClient) GetInvalidResponder(resp *http.Response) (result ByteArray, err error)
- func (client ByteClient) GetInvalidSender(req *http.Request) (*http.Response, error)
- func (client ByteClient) GetNonASCII(ctx context.Context) (result ByteArray, err error)
- func (client ByteClient) GetNonASCIIPreparer(ctx context.Context) (*http.Request, error)
- func (client ByteClient) GetNonASCIIResponder(resp *http.Response) (result ByteArray, err error)
- func (client ByteClient) GetNonASCIISender(req *http.Request) (*http.Response, error)
- func (client ByteClient) GetNull(ctx context.Context) (result ByteArray, err error)
- func (client ByteClient) GetNullPreparer(ctx context.Context) (*http.Request, error)
- func (client ByteClient) GetNullResponder(resp *http.Response) (result ByteArray, err error)
- func (client ByteClient) GetNullSender(req *http.Request) (*http.Response, error)
- func (client ByteClient) PutNonASCII(ctx context.Context, byteBody []byte) (result autorest.Response, err error)
- func (client ByteClient) PutNonASCIIPreparer(ctx context.Context, byteBody []byte) (*http.Request, error)
- func (client ByteClient) PutNonASCIIResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ByteClient) PutNonASCIISender(req *http.Request) (*http.Response, error)
- type Error
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Bytegroup
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 Bytegroup.
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 ByteClient ¶
type ByteClient struct {
BaseClient
}
ByteClient is the test Infrastructure for AutoRest Swagger BAT
func NewByteClient ¶
func NewByteClient() ByteClient
NewByteClient creates an instance of the ByteClient client.
func NewByteClientWithBaseURI ¶
func NewByteClientWithBaseURI(baseURI string) ByteClient
NewByteClientWithBaseURI creates an instance of the ByteClient 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 (ByteClient) GetEmpty ¶
func (client ByteClient) GetEmpty(ctx context.Context) (result ByteArray, err error)
GetEmpty get empty byte value ”
func (ByteClient) GetEmptyPreparer ¶
GetEmptyPreparer prepares the GetEmpty request.
func (ByteClient) GetEmptyResponder ¶
func (client ByteClient) GetEmptyResponder(resp *http.Response) (result ByteArray, err error)
GetEmptyResponder handles the response to the GetEmpty request. The method always closes the http.Response Body.
func (ByteClient) GetEmptySender ¶
GetEmptySender sends the GetEmpty request. The method will close the http.Response Body if it receives an error.
func (ByteClient) GetInvalid ¶
func (client ByteClient) GetInvalid(ctx context.Context) (result ByteArray, err error)
GetInvalid get invalid byte value ':::SWAGGER::::'
func (ByteClient) GetInvalidPreparer ¶
GetInvalidPreparer prepares the GetInvalid request.
func (ByteClient) GetInvalidResponder ¶
func (client ByteClient) GetInvalidResponder(resp *http.Response) (result ByteArray, err error)
GetInvalidResponder handles the response to the GetInvalid request. The method always closes the http.Response Body.
func (ByteClient) GetInvalidSender ¶
GetInvalidSender sends the GetInvalid request. The method will close the http.Response Body if it receives an error.
func (ByteClient) GetNonASCII ¶
func (client ByteClient) GetNonASCII(ctx context.Context) (result ByteArray, err error)
GetNonASCII get non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
func (ByteClient) GetNonASCIIPreparer ¶
GetNonASCIIPreparer prepares the GetNonASCII request.
func (ByteClient) GetNonASCIIResponder ¶
func (client ByteClient) GetNonASCIIResponder(resp *http.Response) (result ByteArray, err error)
GetNonASCIIResponder handles the response to the GetNonASCII request. The method always closes the http.Response Body.
func (ByteClient) GetNonASCIISender ¶
GetNonASCIISender sends the GetNonASCII request. The method will close the http.Response Body if it receives an error.
func (ByteClient) GetNull ¶
func (client ByteClient) GetNull(ctx context.Context) (result ByteArray, err error)
GetNull get null byte value
func (ByteClient) GetNullPreparer ¶
GetNullPreparer prepares the GetNull request.
func (ByteClient) GetNullResponder ¶
func (client ByteClient) GetNullResponder(resp *http.Response) (result ByteArray, err error)
GetNullResponder handles the response to the GetNull request. The method always closes the http.Response Body.
func (ByteClient) GetNullSender ¶
GetNullSender sends the GetNull request. The method will close the http.Response Body if it receives an error.
func (ByteClient) PutNonASCII ¶
func (client ByteClient) PutNonASCII(ctx context.Context, byteBody []byte) (result autorest.Response, err error)
PutNonASCII put non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6) Parameters: byteBody - base64-encoded non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
func (ByteClient) PutNonASCIIPreparer ¶
func (client ByteClient) PutNonASCIIPreparer(ctx context.Context, byteBody []byte) (*http.Request, error)
PutNonASCIIPreparer prepares the PutNonASCII request.
func (ByteClient) PutNonASCIIResponder ¶
func (client ByteClient) PutNonASCIIResponder(resp *http.Response) (result autorest.Response, err error)
PutNonASCIIResponder handles the response to the PutNonASCII request. The method always closes the http.Response Body.
func (ByteClient) PutNonASCIISender ¶
PutNonASCIISender sends the PutNonASCII request. The method will close the http.Response Body if it receives an error.