ucloud

package
v0.0.0-...-acab7bc Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collector

func Collector(resource *resource, reloadTime *int, projectID string)

func List

func List() map[string]*UkafkaCluster

func NewResource

func NewResource() *resource

func Registry

func Registry(pri, pub string)

func Update

func Update() error

Types

type Resource

type Resource interface {
	Registry(string, string)
	Update() error
	List() map[string]*UkafkaCluster
}
var (
	DefaultResource Resource = ucloudResource
)

type UAuth

type UAuth struct {
	// contains filtered or unexported fields
}

func (*UAuth) GetBaseAccountZoneList

func (ua *UAuth) GetBaseAccountZoneList() (*uZoneInfo, error)

获取账号授权范围基本信息

func (*UAuth) GetUauthInfo

func (ua *UAuth) GetUauthInfo() (*ucloud.Config, *auth.Credential)

type UkafkaCluster

type UkafkaCluster struct {
	Zone                *zoneInfo
	ClusterInstanceId   string
	ClusterInstanceName string
	FrameworkVersion    string
	UHostCount          int
	BrokerIP            []string
	ZookeeperIP         []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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