integergroup

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 integergroup implements the Azure ARM Integergroup service API version 1.0.0.

Test Infrastructure for AutoRest

Index

Constants

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

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 Int32

type Int32 struct {
	autorest.Response `json:"-"`
	Value             *int32 `json:"value,omitempty"`
}

Int32 ...

type Int64

type Int64 struct {
	autorest.Response `json:"-"`
	Value             *int64 `json:"value,omitempty"`
}

Int64 ...

type IntClient

type IntClient struct {
	BaseClient
}

IntClient is the test Infrastructure for AutoRest

func NewIntClient

func NewIntClient() IntClient

NewIntClient creates an instance of the IntClient client.

func NewIntClientWithBaseURI

func NewIntClientWithBaseURI(baseURI string) IntClient

NewIntClientWithBaseURI creates an instance of the IntClient 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 (IntClient) GetInvalid

func (client IntClient) GetInvalid(ctx context.Context) (result Int32, err error)

GetInvalid get invalid Int value

func (IntClient) GetInvalidPreparer

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

GetInvalidPreparer prepares the GetInvalid request.

func (IntClient) GetInvalidResponder

func (client IntClient) GetInvalidResponder(resp *http.Response) (result Int32, err error)

GetInvalidResponder handles the response to the GetInvalid request. The method always closes the http.Response Body.

func (IntClient) GetInvalidSender

func (client IntClient) 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 (IntClient) GetInvalidUnixTime

func (client IntClient) GetInvalidUnixTime(ctx context.Context) (result UnixTime, err error)

GetInvalidUnixTime get invalid Unix time value

func (IntClient) GetInvalidUnixTimePreparer

func (client IntClient) GetInvalidUnixTimePreparer(ctx context.Context) (*http.Request, error)

GetInvalidUnixTimePreparer prepares the GetInvalidUnixTime request.

func (IntClient) GetInvalidUnixTimeResponder

func (client IntClient) GetInvalidUnixTimeResponder(resp *http.Response) (result UnixTime, err error)

GetInvalidUnixTimeResponder handles the response to the GetInvalidUnixTime request. The method always closes the http.Response Body.

func (IntClient) GetInvalidUnixTimeSender

func (client IntClient) GetInvalidUnixTimeSender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetNull

func (client IntClient) GetNull(ctx context.Context) (result Int32, err error)

GetNull get null Int value

func (IntClient) GetNullPreparer

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

GetNullPreparer prepares the GetNull request.

func (IntClient) GetNullResponder

func (client IntClient) GetNullResponder(resp *http.Response) (result Int32, err error)

GetNullResponder handles the response to the GetNull request. The method always closes the http.Response Body.

func (IntClient) GetNullSender

func (client IntClient) 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 (IntClient) GetNullUnixTime

func (client IntClient) GetNullUnixTime(ctx context.Context) (result UnixTime, err error)

GetNullUnixTime get null Unix time value

func (IntClient) GetNullUnixTimePreparer

func (client IntClient) GetNullUnixTimePreparer(ctx context.Context) (*http.Request, error)

GetNullUnixTimePreparer prepares the GetNullUnixTime request.

func (IntClient) GetNullUnixTimeResponder

func (client IntClient) GetNullUnixTimeResponder(resp *http.Response) (result UnixTime, err error)

GetNullUnixTimeResponder handles the response to the GetNullUnixTime request. The method always closes the http.Response Body.

func (IntClient) GetNullUnixTimeSender

func (client IntClient) GetNullUnixTimeSender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetOverflowInt32

func (client IntClient) GetOverflowInt32(ctx context.Context) (result Int32, err error)

GetOverflowInt32 get overflow Int32 value

func (IntClient) GetOverflowInt32Preparer

func (client IntClient) GetOverflowInt32Preparer(ctx context.Context) (*http.Request, error)

GetOverflowInt32Preparer prepares the GetOverflowInt32 request.

func (IntClient) GetOverflowInt32Responder

func (client IntClient) GetOverflowInt32Responder(resp *http.Response) (result Int32, err error)

GetOverflowInt32Responder handles the response to the GetOverflowInt32 request. The method always closes the http.Response Body.

func (IntClient) GetOverflowInt32Sender

func (client IntClient) GetOverflowInt32Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetOverflowInt64

func (client IntClient) GetOverflowInt64(ctx context.Context) (result Int64, err error)

GetOverflowInt64 get overflow Int64 value

func (IntClient) GetOverflowInt64Preparer

func (client IntClient) GetOverflowInt64Preparer(ctx context.Context) (*http.Request, error)

GetOverflowInt64Preparer prepares the GetOverflowInt64 request.

func (IntClient) GetOverflowInt64Responder

func (client IntClient) GetOverflowInt64Responder(resp *http.Response) (result Int64, err error)

GetOverflowInt64Responder handles the response to the GetOverflowInt64 request. The method always closes the http.Response Body.

func (IntClient) GetOverflowInt64Sender

func (client IntClient) GetOverflowInt64Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetUnderflowInt32

func (client IntClient) GetUnderflowInt32(ctx context.Context) (result Int32, err error)

GetUnderflowInt32 get underflow Int32 value

func (IntClient) GetUnderflowInt32Preparer

func (client IntClient) GetUnderflowInt32Preparer(ctx context.Context) (*http.Request, error)

GetUnderflowInt32Preparer prepares the GetUnderflowInt32 request.

func (IntClient) GetUnderflowInt32Responder

func (client IntClient) GetUnderflowInt32Responder(resp *http.Response) (result Int32, err error)

GetUnderflowInt32Responder handles the response to the GetUnderflowInt32 request. The method always closes the http.Response Body.

func (IntClient) GetUnderflowInt32Sender

func (client IntClient) GetUnderflowInt32Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetUnderflowInt64

func (client IntClient) GetUnderflowInt64(ctx context.Context) (result Int64, err error)

GetUnderflowInt64 get underflow Int64 value

func (IntClient) GetUnderflowInt64Preparer

func (client IntClient) GetUnderflowInt64Preparer(ctx context.Context) (*http.Request, error)

GetUnderflowInt64Preparer prepares the GetUnderflowInt64 request.

func (IntClient) GetUnderflowInt64Responder

func (client IntClient) GetUnderflowInt64Responder(resp *http.Response) (result Int64, err error)

GetUnderflowInt64Responder handles the response to the GetUnderflowInt64 request. The method always closes the http.Response Body.

func (IntClient) GetUnderflowInt64Sender

func (client IntClient) GetUnderflowInt64Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) GetUnixTime

func (client IntClient) GetUnixTime(ctx context.Context) (result UnixTime, err error)

GetUnixTime get datetime encoded as Unix time value

func (IntClient) GetUnixTimePreparer

func (client IntClient) GetUnixTimePreparer(ctx context.Context) (*http.Request, error)

GetUnixTimePreparer prepares the GetUnixTime request.

func (IntClient) GetUnixTimeResponder

func (client IntClient) GetUnixTimeResponder(resp *http.Response) (result UnixTime, err error)

GetUnixTimeResponder handles the response to the GetUnixTime request. The method always closes the http.Response Body.

func (IntClient) GetUnixTimeSender

func (client IntClient) GetUnixTimeSender(req *http.Request) (*http.Response, error)

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

func (IntClient) PutMax32

func (client IntClient) PutMax32(ctx context.Context, intBody int32) (result autorest.Response, err error)

PutMax32 put max int32 value

func (IntClient) PutMax32Preparer

func (client IntClient) PutMax32Preparer(ctx context.Context, intBody int32) (*http.Request, error)

PutMax32Preparer prepares the PutMax32 request.

func (IntClient) PutMax32Responder

func (client IntClient) PutMax32Responder(resp *http.Response) (result autorest.Response, err error)

PutMax32Responder handles the response to the PutMax32 request. The method always closes the http.Response Body.

func (IntClient) PutMax32Sender

func (client IntClient) PutMax32Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) PutMax64

func (client IntClient) PutMax64(ctx context.Context, intBody int64) (result autorest.Response, err error)

PutMax64 put max int64 value

func (IntClient) PutMax64Preparer

func (client IntClient) PutMax64Preparer(ctx context.Context, intBody int64) (*http.Request, error)

PutMax64Preparer prepares the PutMax64 request.

func (IntClient) PutMax64Responder

func (client IntClient) PutMax64Responder(resp *http.Response) (result autorest.Response, err error)

PutMax64Responder handles the response to the PutMax64 request. The method always closes the http.Response Body.

func (IntClient) PutMax64Sender

func (client IntClient) PutMax64Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) PutMin32

func (client IntClient) PutMin32(ctx context.Context, intBody int32) (result autorest.Response, err error)

PutMin32 put min int32 value

func (IntClient) PutMin32Preparer

func (client IntClient) PutMin32Preparer(ctx context.Context, intBody int32) (*http.Request, error)

PutMin32Preparer prepares the PutMin32 request.

func (IntClient) PutMin32Responder

func (client IntClient) PutMin32Responder(resp *http.Response) (result autorest.Response, err error)

PutMin32Responder handles the response to the PutMin32 request. The method always closes the http.Response Body.

func (IntClient) PutMin32Sender

func (client IntClient) PutMin32Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) PutMin64

func (client IntClient) PutMin64(ctx context.Context, intBody int64) (result autorest.Response, err error)

PutMin64 put min int64 value

func (IntClient) PutMin64Preparer

func (client IntClient) PutMin64Preparer(ctx context.Context, intBody int64) (*http.Request, error)

PutMin64Preparer prepares the PutMin64 request.

func (IntClient) PutMin64Responder

func (client IntClient) PutMin64Responder(resp *http.Response) (result autorest.Response, err error)

PutMin64Responder handles the response to the PutMin64 request. The method always closes the http.Response Body.

func (IntClient) PutMin64Sender

func (client IntClient) PutMin64Sender(req *http.Request) (*http.Response, error)

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

func (IntClient) PutUnixTimeDate

func (client IntClient) PutUnixTimeDate(ctx context.Context, intBody date.UnixTime) (result autorest.Response, err error)

PutUnixTimeDate put datetime encoded as Unix time

func (IntClient) PutUnixTimeDatePreparer

func (client IntClient) PutUnixTimeDatePreparer(ctx context.Context, intBody date.UnixTime) (*http.Request, error)

PutUnixTimeDatePreparer prepares the PutUnixTimeDate request.

func (IntClient) PutUnixTimeDateResponder

func (client IntClient) PutUnixTimeDateResponder(resp *http.Response) (result autorest.Response, err error)

PutUnixTimeDateResponder handles the response to the PutUnixTimeDate request. The method always closes the http.Response Body.

func (IntClient) PutUnixTimeDateSender

func (client IntClient) PutUnixTimeDateSender(req *http.Request) (*http.Response, error)

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

type UnixTime

type UnixTime struct {
	autorest.Response `json:"-"`
	Value             *date.UnixTime `json:"value,omitempty"`
}

UnixTime ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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