client

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 9

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	spi.Client
}

func NewClient

func NewClient() (*Client, error)

func (*Client) BuildCanonicalizedHeaders

func (client *Client) BuildCanonicalizedHeaders(headers map[string]*string) (_result *string, _err error)

func (*Client) BuildCanonicalizedHeadersV4

func (client *Client) BuildCanonicalizedHeadersV4(headers map[string]*string, signedHeaderStr *string) (_result *string, _err error)

func (*Client) BuildCanonicalizedResource

func (client *Client) BuildCanonicalizedResource(pathname *string, query map[string]*string) (_result *string, _err error)

func (*Client) BuildCanonicalizedResourceV4

func (client *Client) BuildCanonicalizedResourceV4(query map[string]*string) (_result *string, _err error)

func (*Client) BuildRequest

func (client *Client) BuildRequest(context *spi.InterceptorContext) (_err error)

func (*Client) GetAuthorization

func (client *Client) GetAuthorization(pathname *string, method *string, query map[string]*string, headers map[string]*string, ak *string, secret *string) (_result *string, _err error)

func (*Client) GetAuthorizationV4

func (client *Client) GetAuthorizationV4(context *spi.InterceptorContext, date *string, contentHash *string, accessKeyId *string, accessKeySecret *string) (_result *string, _err error)

func (*Client) GetDateISO8601

func (client *Client) GetDateISO8601() (_result *string, _err error)

format: YYYYMMDDTHHMMSSZ

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(regionId *string, network *string, endpoint *string) (_result *string, _err error)

func (*Client) GetHost

func (client *Client) GetHost(network *string, project *string, endpoint *string) (_result *string, _err error)

func (*Client) GetRegion

func (client *Client) GetRegion(context *spi.InterceptorContext) (_result *string, _err error)

func (*Client) GetSignature

func (client *Client) GetSignature(pathname *string, method *string, query map[string]*string, headers map[string]*string, secret *string) (_result *string, _err error)

func (*Client) GetSignatureV4

func (client *Client) GetSignatureV4(context *spi.InterceptorContext, signatureAlgorithm *string, signedHeaderStr *string, date *string, scope *string, contentSha256 *string, signingkey []byte) (_result *string, _err error)

func (*Client) GetSignedHeaderStrV4

func (client *Client) GetSignedHeaderStrV4(headers map[string]*string) (_result *string, _err error)

func (*Client) GetSigningkeyV4

func (client *Client) GetSigningkeyV4(signatureAlgorithm *string, secret *string, region *string, date *string) (_result []byte, _err error)

func (*Client) Init

func (client *Client) Init() (_err error)

func (*Client) MakeContentHash

func (client *Client) MakeContentHash(content *string, signatureVersion *string) (_result *string, _err error)

func (*Client) ModifyConfiguration

func (client *Client) ModifyConfiguration(context *spi.InterceptorContext, attributeMap *spi.AttributeMap) (_err error)

func (*Client) ModifyRequest

func (client *Client) ModifyRequest(context *spi.InterceptorContext, attributeMap *spi.AttributeMap) (_err error)

func (*Client) ModifyResponse

func (client *Client) ModifyResponse(context *spi.InterceptorContext, attributeMap *spi.AttributeMap) (_err error)

Jump to

Keyboard shortcuts

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