client

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NcClient

type NcClient struct {
	core.JDCloudClient
}

func NewNcClient

func NewNcClient(credential *core.Credential) *NcClient

func (*NcClient) AssociateElasticIp

func (c *NcClient) AssociateElasticIp(request *nc.AssociateElasticIpRequest) (*nc.AssociateElasticIpResponse, error)

容器绑定公网IP 绑定的是主网卡、主内网IP对应的弹性IP

func (*NcClient) CreateContainers

func (c *NcClient) CreateContainers(request *nc.CreateContainersRequest) (*nc.CreateContainersResponse, error)

创建一台或多台指定配置的实例

func (*NcClient) CreateSecret

func (c *NcClient) CreateSecret(request *nc.CreateSecretRequest) (*nc.CreateSecretResponse, error)

创建 secret

func (*NcClient) DeleteContainer

func (c *NcClient) DeleteContainer(request *nc.DeleteContainerRequest) (*nc.DeleteContainerResponse, error)

删除单个实例

func (*NcClient) DeleteSecret

func (c *NcClient) DeleteSecret(request *nc.DeleteSecretRequest) (*nc.DeleteSecretResponse, error)

删除 secret

func (*NcClient) DescribeContainer

func (c *NcClient) DescribeContainer(request *nc.DescribeContainerRequest) (*nc.DescribeContainerResponse, error)

查询容器详情

func (*NcClient) DescribeContainers

func (c *NcClient) DescribeContainers(request *nc.DescribeContainersRequest) (*nc.DescribeContainersResponse, error)

查询容器列表

func (*NcClient) DescribeQuota

func (c *NcClient) DescribeQuota(request *nc.DescribeQuotaRequest) (*nc.DescribeQuotaResponse, error)

查询资源的配额

func (*NcClient) DescribeSecret

func (c *NcClient) DescribeSecret(request *nc.DescribeSecretRequest) (*nc.DescribeSecretResponse, error)

查询 secret 详情

func (*NcClient) DescribeSecrets

func (c *NcClient) DescribeSecrets(request *nc.DescribeSecretsRequest) (*nc.DescribeSecretsResponse, error)

查询secret列表

func (*NcClient) DisassociateElasticIp

func (c *NcClient) DisassociateElasticIp(request *nc.DisassociateElasticIpRequest) (*nc.DisassociateElasticIpResponse, error)

容器解绑公网IP 解绑的是主网卡、主内网IP对应的弹性IP

func (*NcClient) GetLogs

func (c *NcClient) GetLogs(request *nc.GetLogsRequest) (*nc.GetLogsResponse, error)

查询容器日志

func (*NcClient) ModifyContainerAttribute

func (c *NcClient) ModifyContainerAttribute(request *nc.ModifyContainerAttributeRequest) (*nc.ModifyContainerAttributeResponse, error)

修改容器属性

func (*NcClient) SetConfig

func (c *NcClient) SetConfig(config *core.Config)

func (*NcClient) SetLogger

func (c *NcClient) SetLogger(logger core.Logger)

func (*NcClient) StartContainer

func (c *NcClient) StartContainer(request *nc.StartContainerRequest) (*nc.StartContainerResponse, error)

启动单个实例

func (*NcClient) StopContainer

func (c *NcClient) StopContainer(request *nc.StopContainerRequest) (*nc.StopContainerResponse, error)

停止单个实例

Jump to

Keyboard shortcuts

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