headergroup

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: 7 Imported by: 0

Documentation

Overview

Package headergroup implements the Azure ARM Headergroup service API version 1.0.0.

Test Infrastructure for AutoRest

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Headergroup
	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 Headergroup.

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 GreyscaleColors

type GreyscaleColors string

GreyscaleColors enumerates the values for greyscale colors.

const (
	// Black ...
	Black GreyscaleColors = "black"
	// GREY ...
	GREY GreyscaleColors = "GREY"
	// White ...
	White GreyscaleColors = "White"
)

func PossibleGreyscaleColorsValues

func PossibleGreyscaleColorsValues() []GreyscaleColors

PossibleGreyscaleColorsValues returns an array of possible values for the GreyscaleColors const type.

type HeaderClient

type HeaderClient struct {
	BaseClient
}

HeaderClient is the test Infrastructure for AutoRest

func NewHeaderClient

func NewHeaderClient() HeaderClient

NewHeaderClient creates an instance of the HeaderClient client.

func NewHeaderClientWithBaseURI

func NewHeaderClientWithBaseURI(baseURI string) HeaderClient

NewHeaderClientWithBaseURI creates an instance of the HeaderClient 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 (HeaderClient) CustomRequestID

func (client HeaderClient) CustomRequestID(ctx context.Context) (result autorest.Response, err error)

CustomRequestID send x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in the header of the request

func (HeaderClient) CustomRequestIDPreparer

func (client HeaderClient) CustomRequestIDPreparer(ctx context.Context) (*http.Request, error)

CustomRequestIDPreparer prepares the CustomRequestID request.

func (HeaderClient) CustomRequestIDResponder

func (client HeaderClient) CustomRequestIDResponder(resp *http.Response) (result autorest.Response, err error)

CustomRequestIDResponder handles the response to the CustomRequestID request. The method always closes the http.Response Body.

func (HeaderClient) CustomRequestIDSender

func (client HeaderClient) CustomRequestIDSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamBool

func (client HeaderClient) ParamBool(ctx context.Context, scenario string, value bool) (result autorest.Response, err error)

ParamBool send a post request with header values "scenario": "true", "value": true or "scenario": "false", "value": false Parameters: scenario - send a post request with header values "scenario": "true" or "false" value - send a post request with header values true or false

func (HeaderClient) ParamBoolPreparer

func (client HeaderClient) ParamBoolPreparer(ctx context.Context, scenario string, value bool) (*http.Request, error)

ParamBoolPreparer prepares the ParamBool request.

func (HeaderClient) ParamBoolResponder

func (client HeaderClient) ParamBoolResponder(resp *http.Response) (result autorest.Response, err error)

ParamBoolResponder handles the response to the ParamBool request. The method always closes the http.Response Body.

func (HeaderClient) ParamBoolSender

func (client HeaderClient) ParamBoolSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamByte

func (client HeaderClient) ParamByte(ctx context.Context, scenario string, value []byte) (result autorest.Response, err error)

ParamByte send a post request with header values "scenario": "valid", "value": "啊齄丂狛狜隣郎隣兀﨩" Parameters: scenario - send a post request with header values "scenario": "valid" value - send a post request with header values "啊齄丂狛狜隣郎隣兀﨩"

func (HeaderClient) ParamBytePreparer

func (client HeaderClient) ParamBytePreparer(ctx context.Context, scenario string, value []byte) (*http.Request, error)

ParamBytePreparer prepares the ParamByte request.

func (HeaderClient) ParamByteResponder

func (client HeaderClient) ParamByteResponder(resp *http.Response) (result autorest.Response, err error)

ParamByteResponder handles the response to the ParamByte request. The method always closes the http.Response Body.

func (HeaderClient) ParamByteSender

func (client HeaderClient) ParamByteSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamDate

func (client HeaderClient) ParamDate(ctx context.Context, scenario string, value date.Date) (result autorest.Response, err error)

ParamDate send a post request with header values "scenario": "valid", "value": "2010-01-01" or "scenario": "min", "value": "0001-01-01" Parameters: scenario - send a post request with header values "scenario": "valid" or "min" value - send a post request with header values "2010-01-01" or "0001-01-01"

func (HeaderClient) ParamDatePreparer

func (client HeaderClient) ParamDatePreparer(ctx context.Context, scenario string, value date.Date) (*http.Request, error)

ParamDatePreparer prepares the ParamDate request.

func (HeaderClient) ParamDateResponder

func (client HeaderClient) ParamDateResponder(resp *http.Response) (result autorest.Response, err error)

ParamDateResponder handles the response to the ParamDate request. The method always closes the http.Response Body.

func (HeaderClient) ParamDateSender

func (client HeaderClient) ParamDateSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamDatetime

func (client HeaderClient) ParamDatetime(ctx context.Context, scenario string, value date.Time) (result autorest.Response, err error)

ParamDatetime send a post request with header values "scenario": "valid", "value": "2010-01-01T12:34:56Z" or "scenario": "min", "value": "0001-01-01T00:00:00Z" Parameters: scenario - send a post request with header values "scenario": "valid" or "min" value - send a post request with header values "2010-01-01T12:34:56Z" or "0001-01-01T00:00:00Z"

func (HeaderClient) ParamDatetimePreparer

func (client HeaderClient) ParamDatetimePreparer(ctx context.Context, scenario string, value date.Time) (*http.Request, error)

ParamDatetimePreparer prepares the ParamDatetime request.

func (HeaderClient) ParamDatetimeResponder

func (client HeaderClient) ParamDatetimeResponder(resp *http.Response) (result autorest.Response, err error)

ParamDatetimeResponder handles the response to the ParamDatetime request. The method always closes the http.Response Body.

func (HeaderClient) ParamDatetimeRfc1123

func (client HeaderClient) ParamDatetimeRfc1123(ctx context.Context, scenario string, value *date.TimeRFC1123) (result autorest.Response, err error)

ParamDatetimeRfc1123 send a post request with header values "scenario": "valid", "value": "Wed, 01 Jan 2010 12:34:56 GMT" or "scenario": "min", "value": "Mon, 01 Jan 0001 00:00:00 GMT" Parameters: scenario - send a post request with header values "scenario": "valid" or "min" value - send a post request with header values "Wed, 01 Jan 2010 12:34:56 GMT" or "Mon, 01 Jan 0001 00:00:00 GMT"

func (HeaderClient) ParamDatetimeRfc1123Preparer

func (client HeaderClient) ParamDatetimeRfc1123Preparer(ctx context.Context, scenario string, value *date.TimeRFC1123) (*http.Request, error)

ParamDatetimeRfc1123Preparer prepares the ParamDatetimeRfc1123 request.

func (HeaderClient) ParamDatetimeRfc1123Responder

func (client HeaderClient) ParamDatetimeRfc1123Responder(resp *http.Response) (result autorest.Response, err error)

ParamDatetimeRfc1123Responder handles the response to the ParamDatetimeRfc1123 request. The method always closes the http.Response Body.

func (HeaderClient) ParamDatetimeRfc1123Sender

func (client HeaderClient) ParamDatetimeRfc1123Sender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamDatetimeSender

func (client HeaderClient) ParamDatetimeSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamDouble

func (client HeaderClient) ParamDouble(ctx context.Context, scenario string, value float64) (result autorest.Response, err error)

ParamDouble send a post request with header values "scenario": "positive", "value": 7e120 or "scenario": "negative", "value": -3.0 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative" value - send a post request with header values 7e120 or -3.0

func (HeaderClient) ParamDoublePreparer

func (client HeaderClient) ParamDoublePreparer(ctx context.Context, scenario string, value float64) (*http.Request, error)

ParamDoublePreparer prepares the ParamDouble request.

func (HeaderClient) ParamDoubleResponder

func (client HeaderClient) ParamDoubleResponder(resp *http.Response) (result autorest.Response, err error)

ParamDoubleResponder handles the response to the ParamDouble request. The method always closes the http.Response Body.

func (HeaderClient) ParamDoubleSender

func (client HeaderClient) ParamDoubleSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamDuration

func (client HeaderClient) ParamDuration(ctx context.Context, scenario string, value string) (result autorest.Response, err error)

ParamDuration send a post request with header values "scenario": "valid", "value": "P123DT22H14M12.011S" Parameters: scenario - send a post request with header values "scenario": "valid" value - send a post request with header values "P123DT22H14M12.011S"

func (HeaderClient) ParamDurationPreparer

func (client HeaderClient) ParamDurationPreparer(ctx context.Context, scenario string, value string) (*http.Request, error)

ParamDurationPreparer prepares the ParamDuration request.

func (HeaderClient) ParamDurationResponder

func (client HeaderClient) ParamDurationResponder(resp *http.Response) (result autorest.Response, err error)

ParamDurationResponder handles the response to the ParamDuration request. The method always closes the http.Response Body.

func (HeaderClient) ParamDurationSender

func (client HeaderClient) ParamDurationSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamEnum

func (client HeaderClient) ParamEnum(ctx context.Context, scenario string, value GreyscaleColors) (result autorest.Response, err error)

ParamEnum send a post request with header values "scenario": "valid", "value": "GREY" or "scenario": "null", "value": null Parameters: scenario - send a post request with header values "scenario": "valid" or "null" or "empty" value - send a post request with header values 'GREY'

func (HeaderClient) ParamEnumPreparer

func (client HeaderClient) ParamEnumPreparer(ctx context.Context, scenario string, value GreyscaleColors) (*http.Request, error)

ParamEnumPreparer prepares the ParamEnum request.

func (HeaderClient) ParamEnumResponder

func (client HeaderClient) ParamEnumResponder(resp *http.Response) (result autorest.Response, err error)

ParamEnumResponder handles the response to the ParamEnum request. The method always closes the http.Response Body.

func (HeaderClient) ParamEnumSender

func (client HeaderClient) ParamEnumSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamExistingKey

func (client HeaderClient) ParamExistingKey(ctx context.Context, userAgent string) (result autorest.Response, err error)

ParamExistingKey send a post request with header value "User-Agent": "overwrite" Parameters: userAgent - send a post request with header value "User-Agent": "overwrite"

func (HeaderClient) ParamExistingKeyPreparer

func (client HeaderClient) ParamExistingKeyPreparer(ctx context.Context, userAgent string) (*http.Request, error)

ParamExistingKeyPreparer prepares the ParamExistingKey request.

func (HeaderClient) ParamExistingKeyResponder

func (client HeaderClient) ParamExistingKeyResponder(resp *http.Response) (result autorest.Response, err error)

ParamExistingKeyResponder handles the response to the ParamExistingKey request. The method always closes the http.Response Body.

func (HeaderClient) ParamExistingKeySender

func (client HeaderClient) ParamExistingKeySender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamFloat

func (client HeaderClient) ParamFloat(ctx context.Context, scenario string, value float64) (result autorest.Response, err error)

ParamFloat send a post request with header values "scenario": "positive", "value": 0.07 or "scenario": "negative", "value": -3.0 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative" value - send a post request with header values 0.07 or -3.0

func (HeaderClient) ParamFloatPreparer

func (client HeaderClient) ParamFloatPreparer(ctx context.Context, scenario string, value float64) (*http.Request, error)

ParamFloatPreparer prepares the ParamFloat request.

func (HeaderClient) ParamFloatResponder

func (client HeaderClient) ParamFloatResponder(resp *http.Response) (result autorest.Response, err error)

ParamFloatResponder handles the response to the ParamFloat request. The method always closes the http.Response Body.

func (HeaderClient) ParamFloatSender

func (client HeaderClient) ParamFloatSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamInteger

func (client HeaderClient) ParamInteger(ctx context.Context, scenario string, value int32) (result autorest.Response, err error)

ParamInteger send a post request with header values "scenario": "positive", "value": 1 or "scenario": "negative", "value": -2 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative" value - send a post request with header values 1 or -2

func (HeaderClient) ParamIntegerPreparer

func (client HeaderClient) ParamIntegerPreparer(ctx context.Context, scenario string, value int32) (*http.Request, error)

ParamIntegerPreparer prepares the ParamInteger request.

func (HeaderClient) ParamIntegerResponder

func (client HeaderClient) ParamIntegerResponder(resp *http.Response) (result autorest.Response, err error)

ParamIntegerResponder handles the response to the ParamInteger request. The method always closes the http.Response Body.

func (HeaderClient) ParamIntegerSender

func (client HeaderClient) ParamIntegerSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamLong

func (client HeaderClient) ParamLong(ctx context.Context, scenario string, value int64) (result autorest.Response, err error)

ParamLong send a post request with header values "scenario": "positive", "value": 105 or "scenario": "negative", "value": -2 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative" value - send a post request with header values 105 or -2

func (HeaderClient) ParamLongPreparer

func (client HeaderClient) ParamLongPreparer(ctx context.Context, scenario string, value int64) (*http.Request, error)

ParamLongPreparer prepares the ParamLong request.

func (HeaderClient) ParamLongResponder

func (client HeaderClient) ParamLongResponder(resp *http.Response) (result autorest.Response, err error)

ParamLongResponder handles the response to the ParamLong request. The method always closes the http.Response Body.

func (HeaderClient) ParamLongSender

func (client HeaderClient) ParamLongSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamProtectedKey

func (client HeaderClient) ParamProtectedKey(ctx context.Context, contentType string) (result autorest.Response, err error)

ParamProtectedKey send a post request with header value "Content-Type": "text/html" Parameters: contentType - send a post request with header value "Content-Type": "text/html"

func (HeaderClient) ParamProtectedKeyPreparer

func (client HeaderClient) ParamProtectedKeyPreparer(ctx context.Context, contentType string) (*http.Request, error)

ParamProtectedKeyPreparer prepares the ParamProtectedKey request.

func (HeaderClient) ParamProtectedKeyResponder

func (client HeaderClient) ParamProtectedKeyResponder(resp *http.Response) (result autorest.Response, err error)

ParamProtectedKeyResponder handles the response to the ParamProtectedKey request. The method always closes the http.Response Body.

func (HeaderClient) ParamProtectedKeySender

func (client HeaderClient) ParamProtectedKeySender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ParamString

func (client HeaderClient) ParamString(ctx context.Context, scenario string, value string) (result autorest.Response, err error)

ParamString send a post request with header values "scenario": "valid", "value": "The quick brown fox jumps over the lazy dog" or "scenario": "null", "value": null or "scenario": "empty", "value": "" Parameters: scenario - send a post request with header values "scenario": "valid" or "null" or "empty" value - send a post request with header values "The quick brown fox jumps over the lazy dog" or null or ""

func (HeaderClient) ParamStringPreparer

func (client HeaderClient) ParamStringPreparer(ctx context.Context, scenario string, value string) (*http.Request, error)

ParamStringPreparer prepares the ParamString request.

func (HeaderClient) ParamStringResponder

func (client HeaderClient) ParamStringResponder(resp *http.Response) (result autorest.Response, err error)

ParamStringResponder handles the response to the ParamString request. The method always closes the http.Response Body.

func (HeaderClient) ParamStringSender

func (client HeaderClient) ParamStringSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseBool

func (client HeaderClient) ResponseBool(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseBool get a response with header value "value": true or false Parameters: scenario - send a post request with header values "scenario": "true" or "false"

func (HeaderClient) ResponseBoolPreparer

func (client HeaderClient) ResponseBoolPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseBoolPreparer prepares the ResponseBool request.

func (HeaderClient) ResponseBoolResponder

func (client HeaderClient) ResponseBoolResponder(resp *http.Response) (result autorest.Response, err error)

ResponseBoolResponder handles the response to the ResponseBool request. The method always closes the http.Response Body.

func (HeaderClient) ResponseBoolSender

func (client HeaderClient) ResponseBoolSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseByte

func (client HeaderClient) ResponseByte(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseByte get a response with header values "啊齄丂狛狜隣郎隣兀﨩" Parameters: scenario - send a post request with header values "scenario": "valid"

func (HeaderClient) ResponseBytePreparer

func (client HeaderClient) ResponseBytePreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseBytePreparer prepares the ResponseByte request.

func (HeaderClient) ResponseByteResponder

func (client HeaderClient) ResponseByteResponder(resp *http.Response) (result autorest.Response, err error)

ResponseByteResponder handles the response to the ResponseByte request. The method always closes the http.Response Body.

func (HeaderClient) ResponseByteSender

func (client HeaderClient) ResponseByteSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseDate

func (client HeaderClient) ResponseDate(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseDate get a response with header values "2010-01-01" or "0001-01-01" Parameters: scenario - send a post request with header values "scenario": "valid" or "min"

func (HeaderClient) ResponseDatePreparer

func (client HeaderClient) ResponseDatePreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseDatePreparer prepares the ResponseDate request.

func (HeaderClient) ResponseDateResponder

func (client HeaderClient) ResponseDateResponder(resp *http.Response) (result autorest.Response, err error)

ResponseDateResponder handles the response to the ResponseDate request. The method always closes the http.Response Body.

func (HeaderClient) ResponseDateSender

func (client HeaderClient) ResponseDateSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseDatetime

func (client HeaderClient) ResponseDatetime(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseDatetime get a response with header values "2010-01-01T12:34:56Z" or "0001-01-01T00:00:00Z" Parameters: scenario - send a post request with header values "scenario": "valid" or "min"

func (HeaderClient) ResponseDatetimePreparer

func (client HeaderClient) ResponseDatetimePreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseDatetimePreparer prepares the ResponseDatetime request.

func (HeaderClient) ResponseDatetimeResponder

func (client HeaderClient) ResponseDatetimeResponder(resp *http.Response) (result autorest.Response, err error)

ResponseDatetimeResponder handles the response to the ResponseDatetime request. The method always closes the http.Response Body.

func (HeaderClient) ResponseDatetimeRfc1123

func (client HeaderClient) ResponseDatetimeRfc1123(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseDatetimeRfc1123 get a response with header values "Wed, 01 Jan 2010 12:34:56 GMT" or "Mon, 01 Jan 0001 00:00:00 GMT" Parameters: scenario - send a post request with header values "scenario": "valid" or "min"

func (HeaderClient) ResponseDatetimeRfc1123Preparer

func (client HeaderClient) ResponseDatetimeRfc1123Preparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseDatetimeRfc1123Preparer prepares the ResponseDatetimeRfc1123 request.

func (HeaderClient) ResponseDatetimeRfc1123Responder

func (client HeaderClient) ResponseDatetimeRfc1123Responder(resp *http.Response) (result autorest.Response, err error)

ResponseDatetimeRfc1123Responder handles the response to the ResponseDatetimeRfc1123 request. The method always closes the http.Response Body.

func (HeaderClient) ResponseDatetimeRfc1123Sender

func (client HeaderClient) ResponseDatetimeRfc1123Sender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseDatetimeSender

func (client HeaderClient) ResponseDatetimeSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseDouble

func (client HeaderClient) ResponseDouble(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseDouble get a response with header value "value": 7e120 or -3.0 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative"

func (HeaderClient) ResponseDoublePreparer

func (client HeaderClient) ResponseDoublePreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseDoublePreparer prepares the ResponseDouble request.

func (HeaderClient) ResponseDoubleResponder

func (client HeaderClient) ResponseDoubleResponder(resp *http.Response) (result autorest.Response, err error)

ResponseDoubleResponder handles the response to the ResponseDouble request. The method always closes the http.Response Body.

func (HeaderClient) ResponseDoubleSender

func (client HeaderClient) ResponseDoubleSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseDuration

func (client HeaderClient) ResponseDuration(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseDuration get a response with header values "P123DT22H14M12.011S" Parameters: scenario - send a post request with header values "scenario": "valid"

func (HeaderClient) ResponseDurationPreparer

func (client HeaderClient) ResponseDurationPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseDurationPreparer prepares the ResponseDuration request.

func (HeaderClient) ResponseDurationResponder

func (client HeaderClient) ResponseDurationResponder(resp *http.Response) (result autorest.Response, err error)

ResponseDurationResponder handles the response to the ResponseDuration request. The method always closes the http.Response Body.

func (HeaderClient) ResponseDurationSender

func (client HeaderClient) ResponseDurationSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseEnum

func (client HeaderClient) ResponseEnum(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseEnum get a response with header values "GREY" or null Parameters: scenario - send a post request with header values "scenario": "valid" or "null" or "empty"

func (HeaderClient) ResponseEnumPreparer

func (client HeaderClient) ResponseEnumPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseEnumPreparer prepares the ResponseEnum request.

func (HeaderClient) ResponseEnumResponder

func (client HeaderClient) ResponseEnumResponder(resp *http.Response) (result autorest.Response, err error)

ResponseEnumResponder handles the response to the ResponseEnum request. The method always closes the http.Response Body.

func (HeaderClient) ResponseEnumSender

func (client HeaderClient) ResponseEnumSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseExistingKey

func (client HeaderClient) ResponseExistingKey(ctx context.Context) (result autorest.Response, err error)

ResponseExistingKey get a response with header value "User-Agent": "overwrite"

func (HeaderClient) ResponseExistingKeyPreparer

func (client HeaderClient) ResponseExistingKeyPreparer(ctx context.Context) (*http.Request, error)

ResponseExistingKeyPreparer prepares the ResponseExistingKey request.

func (HeaderClient) ResponseExistingKeyResponder

func (client HeaderClient) ResponseExistingKeyResponder(resp *http.Response) (result autorest.Response, err error)

ResponseExistingKeyResponder handles the response to the ResponseExistingKey request. The method always closes the http.Response Body.

func (HeaderClient) ResponseExistingKeySender

func (client HeaderClient) ResponseExistingKeySender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseFloat

func (client HeaderClient) ResponseFloat(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseFloat get a response with header value "value": 0.07 or -3.0 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative"

func (HeaderClient) ResponseFloatPreparer

func (client HeaderClient) ResponseFloatPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseFloatPreparer prepares the ResponseFloat request.

func (HeaderClient) ResponseFloatResponder

func (client HeaderClient) ResponseFloatResponder(resp *http.Response) (result autorest.Response, err error)

ResponseFloatResponder handles the response to the ResponseFloat request. The method always closes the http.Response Body.

func (HeaderClient) ResponseFloatSender

func (client HeaderClient) ResponseFloatSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseInteger

func (client HeaderClient) ResponseInteger(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseInteger get a response with header value "value": 1 or -2 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative"

func (HeaderClient) ResponseIntegerPreparer

func (client HeaderClient) ResponseIntegerPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseIntegerPreparer prepares the ResponseInteger request.

func (HeaderClient) ResponseIntegerResponder

func (client HeaderClient) ResponseIntegerResponder(resp *http.Response) (result autorest.Response, err error)

ResponseIntegerResponder handles the response to the ResponseInteger request. The method always closes the http.Response Body.

func (HeaderClient) ResponseIntegerSender

func (client HeaderClient) ResponseIntegerSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseLong

func (client HeaderClient) ResponseLong(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseLong get a response with header value "value": 105 or -2 Parameters: scenario - send a post request with header values "scenario": "positive" or "negative"

func (HeaderClient) ResponseLongPreparer

func (client HeaderClient) ResponseLongPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseLongPreparer prepares the ResponseLong request.

func (HeaderClient) ResponseLongResponder

func (client HeaderClient) ResponseLongResponder(resp *http.Response) (result autorest.Response, err error)

ResponseLongResponder handles the response to the ResponseLong request. The method always closes the http.Response Body.

func (HeaderClient) ResponseLongSender

func (client HeaderClient) ResponseLongSender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseProtectedKey

func (client HeaderClient) ResponseProtectedKey(ctx context.Context) (result autorest.Response, err error)

ResponseProtectedKey get a response with header value "Content-Type": "text/html"

func (HeaderClient) ResponseProtectedKeyPreparer

func (client HeaderClient) ResponseProtectedKeyPreparer(ctx context.Context) (*http.Request, error)

ResponseProtectedKeyPreparer prepares the ResponseProtectedKey request.

func (HeaderClient) ResponseProtectedKeyResponder

func (client HeaderClient) ResponseProtectedKeyResponder(resp *http.Response) (result autorest.Response, err error)

ResponseProtectedKeyResponder handles the response to the ResponseProtectedKey request. The method always closes the http.Response Body.

func (HeaderClient) ResponseProtectedKeySender

func (client HeaderClient) ResponseProtectedKeySender(req *http.Request) (*http.Response, error)

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

func (HeaderClient) ResponseString

func (client HeaderClient) ResponseString(ctx context.Context, scenario string) (result autorest.Response, err error)

ResponseString get a response with header values "The quick brown fox jumps over the lazy dog" or null or "" Parameters: scenario - send a post request with header values "scenario": "valid" or "null" or "empty"

func (HeaderClient) ResponseStringPreparer

func (client HeaderClient) ResponseStringPreparer(ctx context.Context, scenario string) (*http.Request, error)

ResponseStringPreparer prepares the ResponseString request.

func (HeaderClient) ResponseStringResponder

func (client HeaderClient) ResponseStringResponder(resp *http.Response) (result autorest.Response, err error)

ResponseStringResponder handles the response to the ResponseString request. The method always closes the http.Response Body.

func (HeaderClient) ResponseStringSender

func (client HeaderClient) ResponseStringSender(req *http.Request) (*http.Response, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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