bytegroup

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 bytegroup implements the Azure ARM Bytegroup 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 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

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Bytegroup.

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 ByteArray

type ByteArray struct {
	autorest.Response `json:"-"`
	Value             *[]byte `json:"value,omitempty"`
}

ByteArray ...

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

func (client ByteClient) GetEmptyPreparer(ctx context.Context) (*http.Request, error)

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

func (client ByteClient) GetEmptySender(req *http.Request) (*http.Response, error)

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

func (client ByteClient) GetInvalidPreparer(ctx context.Context) (*http.Request, error)

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

func (client ByteClient) GetInvalidSender(req *http.Request) (*http.Response, error)

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

func (client ByteClient) GetNonASCIIPreparer(ctx context.Context) (*http.Request, error)

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

func (client ByteClient) GetNonASCIISender(req *http.Request) (*http.Response, error)

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

func (client ByteClient) GetNullPreparer(ctx context.Context) (*http.Request, error)

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

func (client ByteClient) GetNullSender(req *http.Request) (*http.Response, error)

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

func (client ByteClient) PutNonASCIISender(req *http.Request) (*http.Response, error)

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

type Error

type Error struct {
	Status  *int32  `json:"status,omitempty"`
	Message *string `json:"message,omitempty"`
}

Error ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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