Documentation ¶
Index ¶
- Constants
- func InitDatabase(r *types.Database) resources.ResourceTranslator[*resourcespb.DatabaseResource]
- func InitKubernetesCluster(r *types.KubernetesCluster) resources.ResourceTranslator[*resourcespb.KubernetesClusterResource]
- func InitKubernetesNodePool(r *types.KubernetesNodePool) resources.ResourceTranslator[*resourcespb.KubernetesNodePoolResource]
- func InitNetworkInterface(r *types.NetworkInterface) resources.ResourceTranslator[*resourcespb.NetworkInterfaceResource]
- func InitNetworkInterfaceSecurityGroupAssociation(vn *types.NetworkInterfaceSecurityGroupAssociation) ...
- func InitNetworkSecurityGroup(r *types.NetworkSecurityGroup) resources.ResourceTranslator[*resourcespb.NetworkSecurityGroupResource]
- func InitObjectStorage(vn *types.ObjectStorage) resources.ResourceTranslator[*resourcespb.ObjectStorageResource]
- func InitObjectStorageObject(vn *types.ObjectStorageObject) resources.ResourceTranslator[*resourcespb.ObjectStorageObjectResource]
- func InitPublicIp(vn *types.PublicIp) resources.ResourceTranslator[*resourcespb.PublicIpResource]
- func InitResourceGroup(rg *types.ResourceGroup) resources.ResourceTranslator[*resourcespb.ResourceGroupResource]
- func InitRouteTable(vn *types.RouteTable) resources.ResourceTranslator[*resourcespb.RouteTableResource]
- func InitRouteTableAssociation(vn *types.RouteTableAssociation) resources.ResourceTranslator[*resourcespb.RouteTableAssociationResource]
- func InitSubnet(r *types.Subnet) resources.ResourceTranslator[*resourcespb.SubnetResource]
- func InitVault(vn *types.Vault) resources.ResourceTranslator[*resourcespb.VaultResource]
- func InitVaultAccessPolicy(vn *types.VaultAccessPolicy) resources.ResourceTranslator[*resourcespb.VaultAccessPolicyResource]
- func InitVaultSecret(vn *types.VaultSecret) resources.ResourceTranslator[*resourcespb.VaultSecretResource]
- func InitVirtualMachine(vn *types.VirtualMachine) resources.ResourceTranslator[*resourcespb.VirtualMachineResource]
- func InitVirtualNetwork(vn *types.VirtualNetwork) resources.ResourceTranslator[*resourcespb.VirtualNetworkResource]
- type AwsCallerIdentityData
- type AwsDatabase
- type AwsKubernetesCluster
- type AwsKubernetesNodePool
- type AwsNetworkInterface
- type AwsNetworkInterfaceSecurityGroupAssociation
- func (r AwsNetworkInterfaceSecurityGroupAssociation) FromState(state *output.TfState) (*resourcespb.NetworkInterfaceSecurityGroupAssociationResource, error)
- func (r AwsNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)
- func (r AwsNetworkInterfaceSecurityGroupAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
- type AwsNetworkSecurityGroup
- type AwsObjectStorage
- type AwsObjectStorageObject
- type AwsPublicIp
- type AwsRouteTable
- type AwsRouteTableAssociation
- type AwsSubnet
- func (r AwsSubnet) FromState(state *output.TfState) (*resourcespb.SubnetResource, error)
- func (r AwsSubnet) GetMainResourceName() (string, error)
- func (r AwsSubnet) GetSubnetId(zone int32) (string, error)
- func (r AwsSubnet) GetSubnetIds() []string
- func (r AwsSubnet) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
- type AwsVault
- type AwsVaultAccessPolicy
- type AwsVaultSecret
- type AwsVirtualMachine
- func (r AwsVirtualMachine) FromState(state *output.TfState) (*resourcespb.VirtualMachineResource, error)
- func (r AwsVirtualMachine) GetIdentity() string
- func (r AwsVirtualMachine) GetMainResourceName() (string, error)
- func (r AwsVirtualMachine) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
- type AwsVirtualNetwork
- func (r AwsVirtualNetwork) FromState(state *output.TfState) (*resourcespb.VirtualNetworkResource, error)
- func (r AwsVirtualNetwork) GetAssociatedInternetGateway() string
- func (r AwsVirtualNetwork) GetMainResourceName() (string, error)
- func (r AwsVirtualNetwork) Translate(resources.MultyContext) ([]output.TfBlock, error)
- type ResourceGroup
Constants ¶
View Source
const ( INGRESS = "ingress" EGRESS = "egress" BOTH = "both" ALLOW = "allow" DENY = "deny" )
Variables ¶
This section is empty.
Functions ¶
func InitDatabase ¶
func InitDatabase(r *types.Database) resources.ResourceTranslator[*resourcespb.DatabaseResource]
func InitKubernetesCluster ¶
func InitKubernetesCluster(r *types.KubernetesCluster) resources.ResourceTranslator[*resourcespb.KubernetesClusterResource]
func InitKubernetesNodePool ¶
func InitKubernetesNodePool(r *types.KubernetesNodePool) resources.ResourceTranslator[*resourcespb.KubernetesNodePoolResource]
func InitNetworkInterface ¶
func InitNetworkInterface(r *types.NetworkInterface) resources.ResourceTranslator[*resourcespb.NetworkInterfaceResource]
func InitNetworkInterfaceSecurityGroupAssociation ¶
func InitNetworkInterfaceSecurityGroupAssociation(vn *types.NetworkInterfaceSecurityGroupAssociation) resources.ResourceTranslator[*resourcespb.NetworkInterfaceSecurityGroupAssociationResource]
func InitNetworkSecurityGroup ¶
func InitNetworkSecurityGroup(r *types.NetworkSecurityGroup) resources.ResourceTranslator[*resourcespb.NetworkSecurityGroupResource]
func InitObjectStorage ¶
func InitObjectStorage(vn *types.ObjectStorage) resources.ResourceTranslator[*resourcespb.ObjectStorageResource]
func InitObjectStorageObject ¶
func InitObjectStorageObject(vn *types.ObjectStorageObject) resources.ResourceTranslator[*resourcespb.ObjectStorageObjectResource]
func InitPublicIp ¶
func InitPublicIp(vn *types.PublicIp) resources.ResourceTranslator[*resourcespb.PublicIpResource]
func InitResourceGroup ¶
func InitResourceGroup(rg *types.ResourceGroup) resources.ResourceTranslator[*resourcespb.ResourceGroupResource]
func InitRouteTable ¶
func InitRouteTable(vn *types.RouteTable) resources.ResourceTranslator[*resourcespb.RouteTableResource]
func InitRouteTableAssociation ¶
func InitRouteTableAssociation(vn *types.RouteTableAssociation) resources.ResourceTranslator[*resourcespb.RouteTableAssociationResource]
func InitSubnet ¶
func InitSubnet(r *types.Subnet) resources.ResourceTranslator[*resourcespb.SubnetResource]
func InitVault ¶
func InitVault(vn *types.Vault) resources.ResourceTranslator[*resourcespb.VaultResource]
func InitVaultAccessPolicy ¶
func InitVaultAccessPolicy(vn *types.VaultAccessPolicy) resources.ResourceTranslator[*resourcespb.VaultAccessPolicyResource]
func InitVaultSecret ¶
func InitVaultSecret(vn *types.VaultSecret) resources.ResourceTranslator[*resourcespb.VaultSecretResource]
func InitVirtualMachine ¶
func InitVirtualMachine(vn *types.VirtualMachine) resources.ResourceTranslator[*resourcespb.VirtualMachineResource]
func InitVirtualNetwork ¶
func InitVirtualNetwork(vn *types.VirtualNetwork) resources.ResourceTranslator[*resourcespb.VirtualNetworkResource]
Types ¶
type AwsCallerIdentityData ¶
type AwsCallerIdentityData struct {
*output.TerraformDataSource `hcl:",squash" default:"name=aws_caller_identity"`
}
type AwsDatabase ¶
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 (r AwsKubernetesCluster) FromState(state *output.TfState) (*resourcespb.KubernetesClusterResource, error)
func (AwsKubernetesCluster) GetMainResourceName ¶
func (r AwsKubernetesCluster) GetMainResourceName() (string, error)
func (AwsKubernetesCluster) Translate ¶
func (r AwsKubernetesCluster) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AwsKubernetesNodePool ¶
type AwsKubernetesNodePool struct {
*types.KubernetesNodePool
}
func (AwsKubernetesNodePool) FromState ¶
func (r AwsKubernetesNodePool) FromState(state *output.TfState) (*resourcespb.KubernetesNodePoolResource, error)
func (AwsKubernetesNodePool) GetMainResourceName ¶
func (r AwsKubernetesNodePool) GetMainResourceName() (string, error)
func (AwsKubernetesNodePool) Translate ¶
func (r AwsKubernetesNodePool) Translate(_ resources.MultyContext) ([]output.TfBlock, error)
type AwsNetworkInterface ¶
type AwsNetworkInterface struct {
*types.NetworkInterface
}
func (AwsNetworkInterface) FromState ¶
func (r AwsNetworkInterface) FromState(state *output.TfState) (*resourcespb.NetworkInterfaceResource, error)
func (AwsNetworkInterface) GetMainResourceName ¶
func (r AwsNetworkInterface) GetMainResourceName() (string, error)
func (AwsNetworkInterface) Translate ¶
func (r AwsNetworkInterface) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AwsNetworkInterfaceSecurityGroupAssociation ¶
type AwsNetworkInterfaceSecurityGroupAssociation struct {
*types.NetworkInterfaceSecurityGroupAssociation
}
func (AwsNetworkInterfaceSecurityGroupAssociation) FromState ¶
func (r AwsNetworkInterfaceSecurityGroupAssociation) FromState(state *output.TfState) (*resourcespb.NetworkInterfaceSecurityGroupAssociationResource, error)
func (AwsNetworkInterfaceSecurityGroupAssociation) GetMainResourceName ¶
func (r AwsNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)
func (AwsNetworkInterfaceSecurityGroupAssociation) Translate ¶
func (r AwsNetworkInterfaceSecurityGroupAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsNetworkSecurityGroup ¶
type AwsNetworkSecurityGroup struct {
*types.NetworkSecurityGroup
}
func (AwsNetworkSecurityGroup) FromState ¶
func (r AwsNetworkSecurityGroup) FromState(state *output.TfState) (*resourcespb.NetworkSecurityGroupResource, error)
func (AwsNetworkSecurityGroup) GetMainResourceName ¶
func (r AwsNetworkSecurityGroup) GetMainResourceName() (string, error)
func (AwsNetworkSecurityGroup) Translate ¶
func (r AwsNetworkSecurityGroup) Translate(_ resources.MultyContext) ([]output.TfBlock, error)
type AwsObjectStorage ¶
type AwsObjectStorage struct {
*types.ObjectStorage
}
func (AwsObjectStorage) FromState ¶
func (r AwsObjectStorage) FromState(state *output.TfState) (*resourcespb.ObjectStorageResource, error)
func (AwsObjectStorage) GetMainResourceName ¶
func (r AwsObjectStorage) GetMainResourceName() (string, error)
func (AwsObjectStorage) Translate ¶
func (r AwsObjectStorage) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsObjectStorageObject ¶
type AwsObjectStorageObject struct {
*types.ObjectStorageObject
}
func (AwsObjectStorageObject) FromState ¶
func (r AwsObjectStorageObject) FromState(state *output.TfState) (*resourcespb.ObjectStorageObjectResource, error)
func (AwsObjectStorageObject) GetMainResourceName ¶
func (r AwsObjectStorageObject) GetMainResourceName() (string, error)
func (AwsObjectStorageObject) Translate ¶
func (r AwsObjectStorageObject) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsPublicIp ¶
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 ¶
func (r AwsPublicIp) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsRouteTable ¶
type AwsRouteTable struct {
*types.RouteTable
}
func (AwsRouteTable) FromState ¶
func (r AwsRouteTable) FromState(state *output.TfState) (*resourcespb.RouteTableResource, error)
func (AwsRouteTable) GetMainResourceName ¶
func (r AwsRouteTable) GetMainResourceName() (string, error)
func (AwsRouteTable) Translate ¶
func (r AwsRouteTable) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsRouteTableAssociation ¶
type AwsRouteTableAssociation struct {
*types.RouteTableAssociation
}
func (AwsRouteTableAssociation) FromState ¶
func (r AwsRouteTableAssociation) FromState(state *output.TfState) (*resourcespb.RouteTableAssociationResource, error)
func (AwsRouteTableAssociation) GetMainResourceName ¶
func (r AwsRouteTableAssociation) GetMainResourceName() (string, error)
func (AwsRouteTableAssociation) Translate ¶
func (r AwsRouteTableAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsSubnet ¶
func (AwsSubnet) FromState ¶
func (r AwsSubnet) FromState(state *output.TfState) (*resourcespb.SubnetResource, error)
func (AwsSubnet) GetMainResourceName ¶
func (AwsSubnet) GetSubnetId ¶ added in v0.1.51
func (AwsSubnet) GetSubnetIds ¶ added in v0.1.51
type AwsVault ¶
func (AwsVault) FromState ¶
func (r AwsVault) FromState(state *output.TfState) (*resourcespb.VaultResource, error)
func (AwsVault) GetMainResourceName ¶
type AwsVaultAccessPolicy ¶
type AwsVaultAccessPolicy struct {
*types.VaultAccessPolicy
}
func (AwsVaultAccessPolicy) FromState ¶
func (r AwsVaultAccessPolicy) FromState(state *output.TfState) (*resourcespb.VaultAccessPolicyResource, error)
func (AwsVaultAccessPolicy) GetMainResourceName ¶
func (r AwsVaultAccessPolicy) GetMainResourceName() (string, error)
func (AwsVaultAccessPolicy) Translate ¶
func (r AwsVaultAccessPolicy) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsVaultSecret ¶
type AwsVaultSecret struct {
*types.VaultSecret
}
func (AwsVaultSecret) FromState ¶
func (r AwsVaultSecret) FromState(state *output.TfState) (*resourcespb.VaultSecretResource, error)
func (AwsVaultSecret) GetMainResourceName ¶
func (r AwsVaultSecret) GetMainResourceName() (string, error)
func (AwsVaultSecret) Translate ¶
func (r AwsVaultSecret) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AwsVirtualMachine ¶
type AwsVirtualMachine struct {
*types.VirtualMachine
}
func (AwsVirtualMachine) FromState ¶
func (r AwsVirtualMachine) FromState(state *output.TfState) (*resourcespb.VirtualMachineResource, error)
func (AwsVirtualMachine) GetIdentity ¶
func (r AwsVirtualMachine) GetIdentity() string
func (AwsVirtualMachine) GetMainResourceName ¶
func (r AwsVirtualMachine) GetMainResourceName() (string, error)
func (AwsVirtualMachine) Translate ¶
func (r AwsVirtualMachine) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AwsVirtualNetwork ¶
type AwsVirtualNetwork struct {
*types.VirtualNetwork
}
func (AwsVirtualNetwork) FromState ¶
func (r AwsVirtualNetwork) FromState(state *output.TfState) (*resourcespb.VirtualNetworkResource, error)
func (AwsVirtualNetwork) GetAssociatedInternetGateway ¶
func (r AwsVirtualNetwork) GetAssociatedInternetGateway() string
func (AwsVirtualNetwork) GetMainResourceName ¶
func (r AwsVirtualNetwork) GetMainResourceName() (string, error)
func (AwsVirtualNetwork) Translate ¶
func (r AwsVirtualNetwork) Translate(resources.MultyContext) ([]output.TfBlock, error)
type ResourceGroup ¶
type ResourceGroup struct {
*types.ResourceGroup
}
func (ResourceGroup) FromState ¶
func (rg ResourceGroup) FromState(_ *output.TfState) (*resourcespb.ResourceGroupResource, error)
func (ResourceGroup) GetMainResourceName ¶
func (rg ResourceGroup) GetMainResourceName() (string, error)
func (ResourceGroup) Translate ¶
func (rg ResourceGroup) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
Source Files ¶
- database.go
- kubernetes_cluster.go
- kubernetes_node_pool.go
- network_interface.go
- network_interface_security_group_association.go
- network_security_group.go
- object_storage.go
- object_storage_object.go
- public_ip.go
- resource_group.go
- route_table.go
- route_table_association.go
- subnet.go
- vault.go
- vault_access_policy.go
- vault_secret.go
- virtual_machine.go
- virtual_network.go
Click to show internal directories.
Click to hide internal directories.