manager

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPageNum  = 1
	DefaultPageSize = 30
	MaxPageSize     = 10000
	MaxPageNum      = 99
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func New

func New(opts ...Option) (*Manager, error)

func (*Manager) EcsKey

func (m *Manager) EcsKey(instanceID string) string

func (*Manager) GetMetric

type Option

type Option func(manager *Manager) error

func NewCmsClient

func NewCmsClient(key, secret, region, endpoint string) Option

func NewCmsV2Client

func NewCmsV2Client(key, secret, region, endpoint string) Option

Jump to

Keyboard shortcuts

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