aws_resources

package
v0.1.48 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INGRESS = "ingress"
	EGRESS  = "egress"
	BOTH    = "both"
	ALLOW   = "allow"
	DENY    = "deny"
)

Variables

This section is empty.

Functions

Types

type AwsCallerIdentityData

type AwsCallerIdentityData struct {
	*output.TerraformDataSource `hcl:",squash" default:"name=aws_caller_identity"`
}

type AwsDatabase

type AwsDatabase struct {
	*types.Database
}

func (AwsDatabase) FromState

func (r AwsDatabase) FromState(state *output.TfState) (*resourcespb.DatabaseResource, error)

func (AwsDatabase) GetMainResourceName

func (r AwsDatabase) GetMainResourceName() (string, error)

func (AwsDatabase) Translate

func (r AwsDatabase) Translate(_ resources.MultyContext) ([]output.TfBlock, error)

type AwsKubernetesCluster

type AwsKubernetesCluster struct {
	*types.KubernetesCluster
}

func (AwsKubernetesCluster) FromState

func (AwsKubernetesCluster) GetMainResourceName

func (r AwsKubernetesCluster) GetMainResourceName() (string, error)

func (AwsKubernetesCluster) Translate

type AwsKubernetesNodePool

type AwsKubernetesNodePool struct {
	*types.KubernetesNodePool
}

func (AwsKubernetesNodePool) FromState

func (AwsKubernetesNodePool) GetMainResourceName

func (r AwsKubernetesNodePool) GetMainResourceName() (string, error)

func (AwsKubernetesNodePool) Translate

type AwsNetworkInterface

type AwsNetworkInterface struct {
	*types.NetworkInterface
}

func (AwsNetworkInterface) FromState

func (AwsNetworkInterface) GetMainResourceName

func (r AwsNetworkInterface) GetMainResourceName() (string, error)

func (AwsNetworkInterface) Translate

type AwsNetworkInterfaceSecurityGroupAssociation

type AwsNetworkInterfaceSecurityGroupAssociation struct {
	*types.NetworkInterfaceSecurityGroupAssociation
}

func (AwsNetworkInterfaceSecurityGroupAssociation) FromState

func (AwsNetworkInterfaceSecurityGroupAssociation) GetMainResourceName

func (r AwsNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)

func (AwsNetworkInterfaceSecurityGroupAssociation) Translate

type AwsNetworkSecurityGroup

type AwsNetworkSecurityGroup struct {
	*types.NetworkSecurityGroup
}

func (AwsNetworkSecurityGroup) FromState

func (AwsNetworkSecurityGroup) GetMainResourceName

func (r AwsNetworkSecurityGroup) GetMainResourceName() (string, error)

func (AwsNetworkSecurityGroup) Translate

type AwsObjectStorage

type AwsObjectStorage struct {
	*types.ObjectStorage
}

func (AwsObjectStorage) FromState

func (AwsObjectStorage) GetMainResourceName

func (r AwsObjectStorage) GetMainResourceName() (string, error)

func (AwsObjectStorage) Translate

type AwsObjectStorageObject

type AwsObjectStorageObject struct {
	*types.ObjectStorageObject
}

func (AwsObjectStorageObject) FromState

func (AwsObjectStorageObject) GetMainResourceName

func (r AwsObjectStorageObject) GetMainResourceName() (string, error)

func (AwsObjectStorageObject) Translate

type AwsPublicIp

type AwsPublicIp struct {
	*types.PublicIp
}

func (AwsPublicIp) FromState

func (r AwsPublicIp) FromState(state *output.TfState) (*resourcespb.PublicIpResource, error)

func (AwsPublicIp) GetMainResourceName

func (r AwsPublicIp) GetMainResourceName() (string, error)

func (AwsPublicIp) Translate

type AwsRegionData

type AwsRegionData struct {
	*output.TerraformDataSource `hcl:",squash" default:"name=aws_region"`
}

type AwsRouteTable

type AwsRouteTable struct {
	*types.RouteTable
}

func (AwsRouteTable) FromState

func (AwsRouteTable) GetMainResourceName

func (r AwsRouteTable) GetMainResourceName() (string, error)

func (AwsRouteTable) Translate

type AwsRouteTableAssociation

type AwsRouteTableAssociation struct {
	*types.RouteTableAssociation
}

func (AwsRouteTableAssociation) FromState

func (AwsRouteTableAssociation) GetMainResourceName

func (r AwsRouteTableAssociation) GetMainResourceName() (string, error)

func (AwsRouteTableAssociation) Translate

type AwsSubnet

type AwsSubnet struct {
	*types.Subnet
}

func (AwsSubnet) FromState

func (r AwsSubnet) FromState(state *output.TfState) (*resourcespb.SubnetResource, error)

func (AwsSubnet) GetMainResourceName

func (r AwsSubnet) GetMainResourceName() (string, error)

func (AwsSubnet) Translate

func (r AwsSubnet) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

type AwsVault

type AwsVault struct {
	*types.Vault
}

func (AwsVault) FromState

func (r AwsVault) FromState(state *output.TfState) (*resourcespb.VaultResource, error)

func (AwsVault) GetMainResourceName

func (r AwsVault) GetMainResourceName() (string, error)

func (AwsVault) Translate

func (r AwsVault) Translate(resources.MultyContext) ([]output.TfBlock, error)

type AwsVaultAccessPolicy

type AwsVaultAccessPolicy struct {
	*types.VaultAccessPolicy
}

func (AwsVaultAccessPolicy) FromState

func (AwsVaultAccessPolicy) GetMainResourceName

func (r AwsVaultAccessPolicy) GetMainResourceName() (string, error)

func (AwsVaultAccessPolicy) Translate

type AwsVaultSecret

type AwsVaultSecret struct {
	*types.VaultSecret
}

func (AwsVaultSecret) FromState

func (AwsVaultSecret) GetMainResourceName

func (r AwsVaultSecret) GetMainResourceName() (string, error)

func (AwsVaultSecret) Translate

type AwsVirtualMachine

type AwsVirtualMachine struct {
	*types.VirtualMachine
}

func (AwsVirtualMachine) FromState

func (AwsVirtualMachine) GetIdentity

func (r AwsVirtualMachine) GetIdentity() string

func (AwsVirtualMachine) GetMainResourceName

func (r AwsVirtualMachine) GetMainResourceName() (string, error)

func (AwsVirtualMachine) Translate

type AwsVirtualNetwork

type AwsVirtualNetwork struct {
	*types.VirtualNetwork
}

func (AwsVirtualNetwork) FromState

func (AwsVirtualNetwork) GetAssociatedInternetGateway

func (r AwsVirtualNetwork) GetAssociatedInternetGateway() string

func (AwsVirtualNetwork) GetMainResourceName

func (r AwsVirtualNetwork) GetMainResourceName() (string, error)

func (AwsVirtualNetwork) Translate

type KubeConfig

type KubeConfig struct {
	ApiVersion     string                   `yaml:"apiVersion"`
	Clusters       []NamedKubeConfigCluster `yaml:"clusters"`
	Contexts       []NamedKubeConfigContext `yaml:"contexts"`
	CurrentContext string                   `yaml:"current-context"`
	Users          []KubeConfigUser         `yaml:"users"`
	Kind           string                   `yaml:"kind"`
}

type KubeConfigCluster

type KubeConfigCluster struct {
	CertificateAuthorityData string `yaml:"certificate-authority-data"`
	Server                   string `yaml:"server"`
}

type KubeConfigContext

type KubeConfigContext struct {
	User    string `yaml:"user"`
	Cluster string `yaml:"cluster"`
}

type KubeConfigExec

type KubeConfigExec struct {
	ApiVersion      string   `yaml:"apiVersion"`
	Command         string   `yaml:"command"`
	Args            []string `yaml:"args"`
	InteractiveMode string   `yaml:"interactiveMode"`
}

type KubeConfigUser

type KubeConfigUser struct {
	Name string `yaml:"name"`
	User struct {
		Exec KubeConfigExec `yaml:"exec"`
	} `yaml:"user"`
}

type NamedKubeConfigCluster

type NamedKubeConfigCluster struct {
	Name    string            `yaml:"name"`
	Cluster KubeConfigCluster `yaml:"cluster"`
}

type NamedKubeConfigContext

type NamedKubeConfigContext struct {
	Name    string            `yaml:"name"`
	Context KubeConfigContext `yaml:"context"`
}

type ResourceGroup

type ResourceGroup struct {
	*types.ResourceGroup
}

func (ResourceGroup) FromState

func (ResourceGroup) GetMainResourceName

func (rg ResourceGroup) GetMainResourceName() (string, error)

func (ResourceGroup) Translate

func (rg ResourceGroup) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

Jump to

Keyboard shortcuts

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