custombaseurlgroup

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

Documentation

Overview

Package custombaseurlgroup implements the Azure ARM Custombaseurlgroup service API version 1.0.0.

Test Infrastructure for AutoRest

Index

Constants

View Source
const (
	// DefaultHost is the default value for host
	DefaultHost = "host"
)

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
	Host string
}

BaseClient is the base client for Custombaseurlgroup.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(host string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type Error

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

Error ...

type PathsClient

type PathsClient struct {
	BaseClient
}

PathsClient is the test Infrastructure for AutoRest

func NewPathsClient

func NewPathsClient() PathsClient

NewPathsClient creates an instance of the PathsClient client.

func (PathsClient) GetEmpty

func (client PathsClient) GetEmpty(ctx context.Context, accountName string) (result autorest.Response, err error)

GetEmpty get a 200 to test a valid base uri Parameters: accountName - account Name

func (PathsClient) GetEmptyPreparer

func (client PathsClient) GetEmptyPreparer(ctx context.Context, accountName string) (*http.Request, error)

GetEmptyPreparer prepares the GetEmpty request.

func (PathsClient) GetEmptyResponder

func (client PathsClient) GetEmptyResponder(resp *http.Response) (result autorest.Response, err error)

GetEmptyResponder handles the response to the GetEmpty request. The method always closes the http.Response Body.

func (PathsClient) GetEmptySender

func (client PathsClient) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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