common

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllProviders = []string{string(IBM), string(AWS)}
View Source
var AllProvidersStr = strings.Join(AllProviders, ", ")

Functions

This section is empty.

Types

type FabricateOptions added in v0.14.0

type FabricateOptions struct {
	NumVPCs       int
	SubnetsPerVPC int
}

type Provider added in v0.12.0

type Provider string
const (
	AWS Provider = "aws"
	IBM Provider = "ibm"
)

func (*Provider) Set added in v0.12.0

func (p *Provider) Set(v string) error

func (*Provider) String added in v0.12.0

func (p *Provider) String() string

func (*Provider) Type added in v0.12.0

func (p *Provider) Type() string

type ResourceModelMetadata added in v0.11.0

type ResourceModelMetadata struct {
	Version  string `json:"collector_version"`
	Provider string `json:"provider"`
}

type ResourcesContainerInf

type ResourcesContainerInf interface {
	CollectResourcesFromAPI() error
	PrintStats()
	ToJSONString() (string, error)
	AllRegions() []string
	GetResources() ResourcesModel
	Fabricate(opts *FabricateOptions)
}

ResourcesContainerInf is the interface common to all resources containers

type ResourcesModel added in v0.5.2

type ResourcesModel interface {
}

Jump to

Keyboard shortcuts

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