aliyun

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct{}

func NewDetector

func NewDetector() *Detector

func (*Detector) Detect

func (d *Detector) Detect(ctx context.Context) (*core.Provider, error)

func (*Detector) Fetchers

func (d *Detector) Fetchers() []core.ResourceFetcher

func (*Detector) Name

func (d *Detector) Name() string

func (*Detector) ResourceTypes

func (d *Detector) ResourceTypes() []string

type ECSFetcher

type ECSFetcher struct{}

func (*ECSFetcher) Fetch

func (f *ECSFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*ECSFetcher) ResourceType

func (f *ECSFetcher) ResourceType() string

type OSSFetcher

type OSSFetcher struct{}

func (*OSSFetcher) Fetch

func (f *OSSFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*OSSFetcher) ResourceType

func (f *OSSFetcher) ResourceType() string

type PolarDBFetcher

type PolarDBFetcher struct{}

PolarDBFetcher fetches PolarDB clusters.

func (*PolarDBFetcher) Fetch

func (f *PolarDBFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*PolarDBFetcher) ResourceType

func (f *PolarDBFetcher) ResourceType() string

type RDSFetcher

type RDSFetcher struct{}

func (*RDSFetcher) Fetch

func (f *RDSFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*RDSFetcher) ResourceType

func (f *RDSFetcher) ResourceType() string

type TairFetcher

type TairFetcher struct{}

TairFetcher fetches Tair (Redis-compatible) instances via the r-kvstore API.

func (*TairFetcher) Fetch

func (f *TairFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*TairFetcher) ResourceType

func (f *TairFetcher) ResourceType() string

type VPCFetcher

type VPCFetcher struct{}

func (*VPCFetcher) Fetch

func (f *VPCFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*VPCFetcher) ResourceType

func (f *VPCFetcher) ResourceType() string

type VSwitchFetcher

type VSwitchFetcher struct{}

VSwitchFetcher fetches VSwitches (aliyun's equivalent of a subnet).

func (*VSwitchFetcher) Fetch

func (f *VSwitchFetcher) Fetch(ctx context.Context, p *core.Provider) ([]core.Resource, error)

func (*VSwitchFetcher) ResourceType

func (f *VSwitchFetcher) ResourceType() string

Jump to

Keyboard shortcuts

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