client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaClient

type KafkaClient struct {
	core.JDCloudClient
}

func NewKafkaClient

func NewKafkaClient(credential *core.Credential) *KafkaClient

func (*KafkaClient) CreateInstance

func (c *KafkaClient) CreateInstance(request *kafka.CreateInstanceRequest) (*kafka.CreateInstanceResponse, error)

创建一个指定配置的kafka实例

func (*KafkaClient) DeleteInstance

func (c *KafkaClient) DeleteInstance(request *kafka.DeleteInstanceRequest) (*kafka.DeleteInstanceResponse, error)
删除按配置计费或包年包月已到期的kafka实例,包年包月未到期不可删除。

状态为创建中和变配中的不可删除。

func (*KafkaClient) DescribeInstance

查询kafka实例的详细信息

func (*KafkaClient) DescribeInstances

查询kafka实例列表

func (*KafkaClient) DisableLogger

func (c *KafkaClient) DisableLogger()

func (*KafkaClient) ModifyInstanceSpec

变更kafka实例的配置,实例为running状态才可变更配置

func (*KafkaClient) SetConfig

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

func (*KafkaClient) SetLogger

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

Jump to

Keyboard shortcuts

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