models

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 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 AddTopic

type AddTopic struct {

	/*  (Optional) */
	Topic *Topic `json:"topic"`

	/*  (Optional) */
	Target *Target `json:"target"`

	/* 归档相关的具体参数 (Optional) */
	ParameterList []ParameterList `json:"parameterList"`
}

type ConsumerGroup added in v1.0.5

type ConsumerGroup struct {

	/*  (Optional) */
	Id *int `json:"id"`

	/*  (Optional) */
	Name *string `json:"name"`

	/*  (Optional) */
	CreatedTime *string `json:"createdTime"`

	/*  (Optional) */
	Delete *string `json:"delete"`

	/*  (Optional) */
	TopicId *int64 `json:"topicId"`
}

type ParameterList added in v1.0.5

type ParameterList struct {

	/*  (Optional) */
	PKey *string `json:"pKey"`

	/*  (Optional) */
	PValue *string `json:"pValue"`
}

type Target added in v1.0.5

type Target struct {

	/* 需要归档的目的 (Optional) */
	Name *string `json:"name"`

	/* 当达到这个数据量时开始归档 (Optional) */
	RecordSize *int `json:"recordSize"`

	/* 进行归档任务的时间周期 (Optional) */
	Cycle *int `json:"cycle"`
}

type Topic added in v1.0.5

type Topic struct {

	/* 是否归档(0:未归档,1:已归档) (Optional) */
	Archived *int `json:"archived"`

	/* 数据写入后的保留时间 (Optional) */
	Lifecycle *int `json:"lifecycle"`

	/* 流数据总线中topic的名字 (Optional) */
	Name *string `json:"name"`

	/* 流数据总线shard的数量 (Optional) */
	ShardNum *int `json:"shardNum"`

	/* 备注 (Optional) */
	Remark *string `json:"remark"`
}

type TopicListInfo

type TopicListInfo struct {

	/* 是否归档(0:未归档,1:已归档) (Optional) */
	Archived int `json:"archived"`

	/* 创建topic的时间戳 (Optional) */
	CreatedTime string `json:"createdTime"`

	/* topic是否已删除(0:未删除,1:删除) (Optional) */
	Deleted int `json:"deleted"`

	/* topic的id值 (Optional) */
	Id int `json:"id"`

	/* 数据写入后的保留时间 (Optional) */
	Lifecycle int `json:"lifecycle"`

	/* 流数据总线中topic的名字 (Optional) */
	Name string `json:"name"`

	/* 对应kafka中的分区数 (Optional) */
	PartitionNum string `json:"partitionNum"`

	/* 备注 (Optional) */
	Remark string `json:"remark"`

	/* 流数据总线shard的数量 (Optional) */
	ShardNum string `json:"shardNum"`

	/* 0: 已创建, 1: 创建中 (Optional) */
	Status int `json:"status"`

	/* 对应kafka中的topic名字 (Optional) */
	TopicName string `json:"topicName"`

	/* 对应kafka中的uid (Optional) */
	Uid string `json:"uid"`

	/* 更新topic的时间戳 (Optional) */
	UpdatedTime string `json:"updatedTime"`

	/* 用户的userPin (Optional) */
	UserPin string `json:"userPin"`

	/*  (Optional) */
	DataSize string `json:"dataSize"`
}

Jump to

Keyboard shortcuts

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