morecustombaseurigroup

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

Test Infrastructure for AutoRest

Index

Constants

View Source
const (
	// DefaultDNSSuffix is the default value for dns suffix
	DefaultDNSSuffix = "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
	SubscriptionID string
	DNSSuffix      string
}

BaseClient is the base client for Morecustombaseurigroup.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(subscriptionID string, dNSSuffix 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(subscriptionID string) PathsClient

NewPathsClient creates an instance of the PathsClient client.

func (PathsClient) GetEmpty

func (client PathsClient) GetEmpty(ctx context.Context, vault string, secret string, keyName string, keyVersion string) (result autorest.Response, err error)

GetEmpty get a 200 to test a valid base uri Parameters: vault - the vault name, e.g. https://myvault secret - secret value. keyName - the key name with value 'key1'. keyVersion - the key version. Default value 'v1'.

func (PathsClient) GetEmptyPreparer

func (client PathsClient) GetEmptyPreparer(ctx context.Context, vault string, secret string, keyName string, keyVersion 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