tke

package
v0.20.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TkeSdkToGetCredentials = "DescribeClusterSecurityInfo"
	TkeSdkToBindLb         = "BindMasterVipLoadBalancer"
	TkeSdkToGetMasterVip   = "GetMasterVip"
	HttpScheme             = "https://"
	TkeClusterPort         = ":443"
)

Variables

This section is empty.

Functions

func NewTkeCluster

func NewTkeCluster(clusterId, tkeClusterId, tkeClusterRegion string) external_cluster.ExternalCluster

Types

type BindMasterVipLoadBalanceResponse

type BindMasterVipLoadBalanceResponse struct {
	Response
	Data interface{}
}

type BindMasterVipLoadBalancerArgs

type BindMasterVipLoadBalancerArgs struct {
	ClusterId string `qcloud_arg:"clusterId"`
	SubnetId  string `qcloud_arg:"subnetId"`
}

type Client

type Client struct {
	*common.Client
}

func NewClient

func NewClient(tkeClusterRegion, method string) (*Client, error)

type DescribeClusterSecurityInfoArgs

type DescribeClusterSecurityInfoArgs struct {
	ClusterId string `qcloud_arg:"clusterId"`
}

type DescribeClusterSecurityInfoRespData

type DescribeClusterSecurityInfoRespData struct {
	UserName                string `json:"userName"`
	Domain                  string `json:"domain"`
	CertificationAuthority  string `json:"certificationAuthority"`
	PgwEndpoint             string `json:"pgwEndpoint"`
	ClusterExternalEndpoint string `json:"clusterExternalEndpoint"`
	Password                string `json:"password"`
}

type DescribeClusterSecurityInfoResponse

type DescribeClusterSecurityInfoResponse struct {
	Response
	Data DescribeClusterSecurityInfoRespData `json:"data"`
}

type GetMasterVipArgs

type GetMasterVipArgs struct {
	ClusterId string `qcloud_arg:"clusterId"`
}

type GetMasterVipRespData

type GetMasterVipRespData struct {
	Status string `json:"status"`
}

type GetMasterVipResponse

type GetMasterVipResponse struct {
	Response
	Data GetMasterVipRespData
}

type Response

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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