vca

package
v0.9.208 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package vca defines the VCA services of BCE. The supported APIs are all defined in sub-package

Index

Constants

View Source
const (
	DEFAULT_SERVICE_DOMAIN = "vca." + bce.DEFAULT_REGION + "." + bce.DEFAULT_DOMAIN
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*bce.BceClient
}

Client of VCR service is a kind of BceClient, so derived from BceClient

func NewClient

func NewClient(ak, sk, endpoint string) (*Client, error)

NewClient make the VCR service client with default configuration. Use `cli.Config.xxx` to access the config or change it to non-default value.

func (*Client) GetMedia

func (c *Client) GetMedia(source string) (*api.GetMediaResult, error)

func (*Client) PutMedia

func (c *Client) PutMedia(args *api.PutMediaArgs) (*api.GetMediaResult, error)

Directories

Path Synopsis
Package api defines all APIs supported by the VCA service of BCE.
Package api defines all APIs supported by the VCA service of BCE.

Jump to

Keyboard shortcuts

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