terraform

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBInstance

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

DBInstance represents an RDS database instance definition that can be cost-estimated.

func (*DBInstance) Components

func (inst *DBInstance) Components() []query.Component

Components returns the price component queries that make up this Instance.

type EFSFileSystem

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

EFSFileSystem represents an EFS that can be cost-estimated.

func (*EFSFileSystem) Components

func (v *EFSFileSystem) Components() []query.Component

Components returns the price component queries that make up the EFSFileSystem.

type EKSCluster

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

EKSCluster represents an EKSCluster instance definition that can be cost-estimated.

func (*EKSCluster) Components

func (inst *EKSCluster) Components() []query.Component

Components returns the price component queries that make up this Instance.

type ElastiCache

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

ElastiCache represents an ElastiCache instance definition that can be cost-estimated.

func (*ElastiCache) Components

func (inst *ElastiCache) Components() []query.Component

Components returns the price component queries that make up this Instance.

type ElastiCacheReplication

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

ElastiCacheReplication represents an ElastiCacheReplication instance definition that can be cost-estimated.

func (*ElastiCacheReplication) Components

func (inst *ElastiCacheReplication) Components() []query.Component

Components returns the price component queries that make up this Instance.

type ElasticIP

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

ElasticIP represents an ElasticIP instance definition that can be cost-estimated.

func (*ElasticIP) Components

func (inst *ElasticIP) Components() []query.Component

Components returns the price component queries that make up this Instance.

type FSxFileSystem

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

FSxFileSystem represents an EFS that can be cost-estimated.

func (*FSxFileSystem) Components

func (v *FSxFileSystem) Components() []query.Component

Components returns the price component queries that make up the FSxFileSystem.

type Instance

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

Instance represents an EC2 instance definition that can be cost-estimated.

func (*Instance) Components

func (inst *Instance) Components() []query.Component

Components returns the price component queries that make up this Instance.

type LB

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

LB represents a Load Balancer definition that can be cost-estimated.

func (*LB) Components

func (lb *LB) Components() []query.Component

Components returns the price component queries that make up this LB.

type NatGateway

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

NatGateway represents an NatGateway instance definition that can be cost-estimated.

func (*NatGateway) Components

func (inst *NatGateway) Components() []query.Component

Components returns the price component queries that make up this Instance.

type Provider

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

Provider is an implementation of the terraform.Provider, used to extract component queries from terraform resources.

func NewProvider

func NewProvider(key string, regionCode region.Code) (*Provider, error)

NewProvider returns a new Provider with the provided default region and a query key.

func (*Provider) Name

func (p *Provider) Name() string

Name returns the Provider's common name.

func (*Provider) ResourceComponents

func (p *Provider) ResourceComponents(rss map[string]terraform.Resource, tfRes terraform.Resource) []query.Component

ResourceComponents returns Component queries for a given terraform.Resource.

type Volume

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

Volume represents an EBS volume that can be cost-estimated.

func (*Volume) Components

func (v *Volume) Components() []query.Component

Components returns the price component queries that make up the Volume.

Jump to

Keyboard shortcuts

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