client

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 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 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