ccs

package
v0.0.0-...-a452e60 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CcsHost = "ccs.api.qcloud.com"
	CcsPath = "/v2/index.php"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*common.Client
}

func NewClient

func NewClient(credential common.CredentialInterface, opts common.Opts) (*Client, error)

func NewClientFromEnv

func NewClientFromEnv() (*Client, error)

func (*Client) CreateClusterRoute

func (client *Client) CreateClusterRoute(args *CreateClusterRouteArgs) (*CreateClusterRouteResponse, error)

func (*Client) CreateClusterRouteTable

func (client *Client) CreateClusterRouteTable(args *CreateClusterRouteTableArgs) (*CreateClusterRouteTableResponse, error)

func (*Client) DeleteClusterRoute

func (client *Client) DeleteClusterRoute(args *DeleteClusterRouteArgs) (*DeleteClusterRouteResponse, error)

func (*Client) DeleteClusterRouteTable

func (client *Client) DeleteClusterRouteTable(args *DeleteClusterRouteTableArgs) (*DeleteClusterRouteTableResponse, error)

func (*Client) DescribeClusterRoute

func (client *Client) DescribeClusterRoute(args *DescribeClusterRouteArgs) (*DescribeClusterRouteResponse, error)

func (*Client) DescribeClusterRouteTable

func (client *Client) DescribeClusterRouteTable(args *DescribeClusterRouteTableArgs) (*DescribeClusterRouteTableResponse, error)

type CreateClusterRouteArgs

type CreateClusterRouteArgs struct {
	RouteTableName       string `qcloud_arg:"RouteTableName"`
	DestinationCidrBlock string `qcloud_arg:"DestinationCidrBlock"`
	GatewayIp            string `qcloud_arg:"GatewayIp"`
}

type CreateClusterRouteResponse

type CreateClusterRouteResponse struct {
	Response
}

type CreateClusterRouteTableArgs

type CreateClusterRouteTableArgs struct {
	RouteTableName            string `qcloud_arg:"RouteTableName"`
	RouteTableCidrBlock       string `qcloud_arg:"RouteTableCidrBlock"`
	VpcId                     string `qcloud_arg:"VpcId"`
	IgnoreClusterCIDRConflict int    `qcloud_arg:"IgnoreClusterCidrConflict"`
}

type CreateClusterRouteTableResponse

type CreateClusterRouteTableResponse struct {
	Response
}

type DeleteClusterRouteArgs

type DeleteClusterRouteArgs struct {
	RouteTableName       string `qcloud_arg:"RouteTableName"`
	DestinationCidrBlock string `qcloud_arg:"DestinationCidrBlock"`
	GatewayIp            string `qcloud_arg:"GatewayIp"`
}

type DeleteClusterRouteResponse

type DeleteClusterRouteResponse struct {
	Response
}

type DeleteClusterRouteTableArgs

type DeleteClusterRouteTableArgs struct {
	RouteTableName string `qcloud_arg:"RouteTableName"`
}

type DeleteClusterRouteTableResponse

type DeleteClusterRouteTableResponse struct {
	Response
}

type DescribeClusterRouteArgs

type DescribeClusterRouteArgs struct {
	RouteTableName string `qcloud_arg:"RouteTableName"`
}

type DescribeClusterRouteResponse

type DescribeClusterRouteResponse struct {
	Response
	Data struct {
		TotalCount int         `json:"TotalCount"`
		RouteSet   []RouteInfo `json:"RouteSet"`
	} `json:"data"`
}

type DescribeClusterRouteTableArgs

type DescribeClusterRouteTableArgs struct {
}

type DescribeClusterRouteTableResponse

type DescribeClusterRouteTableResponse struct {
	Response
	Data struct {
		TotalCount    int              `json:"TotalCount"`
		RouteTableSet []RouteTableInfo `json:"RouteTableSet"`
	} `json:"data"`
}

type Response

type Response struct {
	Code     int    `json:"code"`
	Message  string `json:"message"`
	CodeDesc string `json:"codeDesc"`
}

type RouteInfo

type RouteInfo struct {
	RouteTableName       string `json:"RouteTableName"`
	DestinationCidrBlock string `json:"DestinationCidrBlock"`
	GatewayIp            string `json:"GatewayIp"`
}

type RouteTableInfo

type RouteTableInfo struct {
	RouteTableName      string `json:"RouteTableName"`
	RouteTableCidrBlock string `json:"RouteTableCidrBlock"`
	VpcId               string `json:"VpcId"`
}

Jump to

Keyboard shortcuts

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