xskyapi

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockVolumes

type BlockVolumes struct {
	BlockVolume []*blockVolume `json:"block_volumes"`
	Page        Paging         `json:"paging"`
}

type DfsQuotas

type DfsQuotas struct {
	DfsQuota []*dfsQuota `json:"dfs_quotas"`
	Page     Paging      `json:"paging"`
}

type FsFolders

type FsFolders struct {
	FsFolder []*fsFolder `json:"fs_folders"`
	Page     Paging      `json:"paging"`
}

type Instance

type Instance struct {
	config.InstanceConfig

	DssType         string            `toml:"dss_type"`
	Servers         []string          `toml:"servers"`
	TagKeys         []string          `toml:"tag_keys"`
	ResponseTimeout config.Duration   `toml:"response_timeout"`
	Parameters      map[string]string `toml:"parameters"`
	XmsAuthTokens   []string          `toml:"xms_auth_tokens"`
	tls.ClientConfig
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(slist *types.SampleList)

func (*Instance) Init

func (ins *Instance) Init() error

type OsBuckets

type OsBuckets struct {
	OsBucket []*osBucket `json:"os_buckets"`
	Page     Paging      `json:"paging"`
}

type OsUsers

type OsUsers struct {
	OsUser []*osUser `json:"os_users"`
	Page   Paging    `json:"paging"`
}

type Paging

type Paging struct {
	Count      int `json:"count"`
	Limit      int `json:"limit"`
	Offset     int `json:"offset"`
	TotalCount int `json:"total_count"`
}

type XskyApi

type XskyApi struct {
	config.PluginConfig
	Instances []*Instance `toml:"instances"`
}

func (*XskyApi) Clone

func (pt *XskyApi) Clone() inputs.Input

func (*XskyApi) GetInstances

func (pt *XskyApi) GetInstances() []inputs.Instance

func (*XskyApi) Name

func (pt *XskyApi) Name() string

Jump to

Keyboard shortcuts

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