Documentation ¶
Index ¶
- func GetResourceGroupName(name string) string
- 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(r *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 AzureClientConfig
- type AzureDatabase
- type AzureKubernetesCluster
- type AzureKubernetesNodePool
- type AzureNetworkInterface
- type AzureNetworkInterfaceSecurityGroupAssociation
- func (r AzureNetworkInterfaceSecurityGroupAssociation) FromState(state *output.TfState) (*resourcespb.NetworkInterfaceSecurityGroupAssociationResource, error)
- func (r AzureNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)
- func (r AzureNetworkInterfaceSecurityGroupAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
- type AzureNetworkSecurityGroup
- type AzureObjectStorage
- type AzureObjectStorageObject
- type AzurePublicIp
- type AzureResourceGroup
- type AzureRouteTable
- type AzureRouteTableAssociation
- type AzureSubnet
- type AzureVault
- type AzureVaultAccessPolicy
- func (r AzureVaultAccessPolicy) FromState(state *output.TfState) (*resourcespb.VaultAccessPolicyResource, error)
- func (r AzureVaultAccessPolicy) GetAccessPolicyRules() *vault.AzureKeyVaultPermissions
- func (r AzureVaultAccessPolicy) GetMainResourceName() (string, error)
- func (r AzureVaultAccessPolicy) Translate(resources.MultyContext) ([]output.TfBlock, error)
- type AzureVaultSecret
- type AzureVirtualMachine
- type AzureVirtualNetwork
- func (r AzureVirtualNetwork) FromState(state *output.TfState) (*resourcespb.VirtualNetworkResource, error)
- func (r AzureVirtualNetwork) GetAssociatedRouteTableId() string
- func (r AzureVirtualNetwork) GetMainResourceName() (string, error)
- func (r AzureVirtualNetwork) Translate(resources.MultyContext) ([]output.TfBlock, error)
- type ResourceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceGroupName ¶
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(r *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 AzureClientConfig ¶
type AzureClientConfig struct {
*output.TerraformDataSource `hcl:",squash" default:"name=azurerm_client_config"`
}
type AzureDatabase ¶
func (AzureDatabase) FromState ¶
func (r AzureDatabase) FromState(state *output.TfState) (*resourcespb.DatabaseResource, error)
func (AzureDatabase) GetMainResourceName ¶
func (r AzureDatabase) GetMainResourceName() (string, error)
func (AzureDatabase) Translate ¶
func (r AzureDatabase) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureKubernetesCluster ¶
type AzureKubernetesCluster struct {
*types.KubernetesCluster
}
func (AzureKubernetesCluster) FromState ¶
func (r AzureKubernetesCluster) FromState(state *output.TfState) (*resourcespb.KubernetesClusterResource, error)
func (AzureKubernetesCluster) GetMainResourceName ¶
func (r AzureKubernetesCluster) GetMainResourceName() (string, error)
func (AzureKubernetesCluster) Translate ¶
func (r AzureKubernetesCluster) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureKubernetesNodePool ¶
type AzureKubernetesNodePool struct {
*types.KubernetesNodePool
}
func (AzureKubernetesNodePool) FromState ¶
func (r AzureKubernetesNodePool) FromState(state *output.TfState) (*resourcespb.KubernetesNodePoolResource, error)
func (AzureKubernetesNodePool) GetMainResourceName ¶
func (r AzureKubernetesNodePool) GetMainResourceName() (string, error)
func (AzureKubernetesNodePool) Translate ¶
func (r AzureKubernetesNodePool) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureNetworkInterface ¶
type AzureNetworkInterface struct {
*types.NetworkInterface
}
func (AzureNetworkInterface) FromState ¶
func (r AzureNetworkInterface) FromState(_ *output.TfState) (*resourcespb.NetworkInterfaceResource, error)
func (AzureNetworkInterface) GetMainResourceName ¶
func (r AzureNetworkInterface) GetMainResourceName() (string, error)
func (AzureNetworkInterface) Translate ¶
func (r AzureNetworkInterface) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureNetworkInterfaceSecurityGroupAssociation ¶
type AzureNetworkInterfaceSecurityGroupAssociation struct {
*types.NetworkInterfaceSecurityGroupAssociation
}
func (AzureNetworkInterfaceSecurityGroupAssociation) FromState ¶
func (r AzureNetworkInterfaceSecurityGroupAssociation) FromState(state *output.TfState) (*resourcespb.NetworkInterfaceSecurityGroupAssociationResource, error)
func (AzureNetworkInterfaceSecurityGroupAssociation) GetMainResourceName ¶
func (r AzureNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)
func (AzureNetworkInterfaceSecurityGroupAssociation) Translate ¶
func (r AzureNetworkInterfaceSecurityGroupAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureNetworkSecurityGroup ¶
type AzureNetworkSecurityGroup struct {
*types.NetworkSecurityGroup
}
func (AzureNetworkSecurityGroup) FromState ¶
func (r AzureNetworkSecurityGroup) FromState(_ *output.TfState) (*resourcespb.NetworkSecurityGroupResource, error)
func (AzureNetworkSecurityGroup) GetMainResourceName ¶
func (r AzureNetworkSecurityGroup) GetMainResourceName() (string, error)
func (AzureNetworkSecurityGroup) Translate ¶
func (r AzureNetworkSecurityGroup) Translate(_ resources.MultyContext) ([]output.TfBlock, error)
type AzureObjectStorage ¶
type AzureObjectStorage struct {
*types.ObjectStorage
}
func (AzureObjectStorage) FromState ¶
func (r AzureObjectStorage) FromState(state *output.TfState) (*resourcespb.ObjectStorageResource, error)
func (AzureObjectStorage) GetMainResourceName ¶
func (r AzureObjectStorage) GetMainResourceName() (string, error)
func (AzureObjectStorage) Translate ¶
func (r AzureObjectStorage) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureObjectStorageObject ¶
type AzureObjectStorageObject struct {
*types.ObjectStorageObject
}
func (AzureObjectStorageObject) FromState ¶
func (r AzureObjectStorageObject) FromState(state *output.TfState) (*resourcespb.ObjectStorageObjectResource, error)
func (AzureObjectStorageObject) GetMainResourceName ¶
func (r AzureObjectStorageObject) GetMainResourceName() (string, error)
func (AzureObjectStorageObject) Translate ¶
func (r AzureObjectStorageObject) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzurePublicIp ¶
func (AzurePublicIp) FromState ¶
func (r AzurePublicIp) FromState(state *output.TfState) (*resourcespb.PublicIpResource, error)
func (AzurePublicIp) GetMainResourceName ¶
func (r AzurePublicIp) GetMainResourceName() (string, error)
func (AzurePublicIp) Translate ¶
func (r AzurePublicIp) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureResourceGroup ¶
type AzureResourceGroup struct { *common.AzResource `hcl:",squash" default:"name=azurerm_resource_group"` Location string `hcl:"location"` }
type AzureRouteTable ¶
type AzureRouteTable struct {
*types.RouteTable
}
func (AzureRouteTable) FromState ¶
func (r AzureRouteTable) FromState(state *output.TfState) (*resourcespb.RouteTableResource, error)
func (AzureRouteTable) GetMainResourceName ¶
func (r AzureRouteTable) GetMainResourceName() (string, error)
func (AzureRouteTable) Translate ¶
func (r AzureRouteTable) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureRouteTableAssociation ¶
type AzureRouteTableAssociation struct {
*types.RouteTableAssociation
}
func (AzureRouteTableAssociation) FromState ¶
func (r AzureRouteTableAssociation) FromState(state *output.TfState) (*resourcespb.RouteTableAssociationResource, error)
func (AzureRouteTableAssociation) GetMainResourceName ¶
func (r AzureRouteTableAssociation) GetMainResourceName() (string, error)
func (AzureRouteTableAssociation) Translate ¶
func (r AzureRouteTableAssociation) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureSubnet ¶
func (AzureSubnet) FromState ¶
func (r AzureSubnet) FromState(state *output.TfState) (*resourcespb.SubnetResource, error)
func (AzureSubnet) GetMainResourceName ¶
func (r AzureSubnet) GetMainResourceName() (string, error)
func (AzureSubnet) Translate ¶
func (r AzureSubnet) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)
type AzureVault ¶
func (AzureVault) FromState ¶
func (r AzureVault) FromState(state *output.TfState) (*resourcespb.VaultResource, error)
func (AzureVault) GetMainResourceName ¶
func (r AzureVault) GetMainResourceName() (string, error)
func (AzureVault) Translate ¶
func (r AzureVault) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureVaultAccessPolicy ¶
type AzureVaultAccessPolicy struct {
*types.VaultAccessPolicy
}
func (AzureVaultAccessPolicy) FromState ¶
func (r AzureVaultAccessPolicy) FromState(state *output.TfState) (*resourcespb.VaultAccessPolicyResource, error)
func (AzureVaultAccessPolicy) GetAccessPolicyRules ¶
func (r AzureVaultAccessPolicy) GetAccessPolicyRules() *vault.AzureKeyVaultPermissions
func (AzureVaultAccessPolicy) GetMainResourceName ¶
func (r AzureVaultAccessPolicy) GetMainResourceName() (string, error)
func (AzureVaultAccessPolicy) Translate ¶
func (r AzureVaultAccessPolicy) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureVaultSecret ¶
type AzureVaultSecret struct {
*types.VaultSecret
}
func (AzureVaultSecret) FromState ¶
func (r AzureVaultSecret) FromState(state *output.TfState) (*resourcespb.VaultSecretResource, error)
func (AzureVaultSecret) GetMainResourceName ¶
func (r AzureVaultSecret) GetMainResourceName() (string, error)
func (AzureVaultSecret) Translate ¶
func (r AzureVaultSecret) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureVirtualMachine ¶
type AzureVirtualMachine struct {
*types.VirtualMachine
}
func (AzureVirtualMachine) FromState ¶
func (r AzureVirtualMachine) FromState(state *output.TfState) (*resourcespb.VirtualMachineResource, error)
func (AzureVirtualMachine) GetMainResourceName ¶
func (r AzureVirtualMachine) GetMainResourceName() (string, error)
func (AzureVirtualMachine) Translate ¶
func (r AzureVirtualMachine) Translate(resources.MultyContext) ([]output.TfBlock, error)
type AzureVirtualNetwork ¶
type AzureVirtualNetwork struct {
*types.VirtualNetwork
}
func (AzureVirtualNetwork) FromState ¶
func (r AzureVirtualNetwork) FromState(state *output.TfState) (*resourcespb.VirtualNetworkResource, error)
func (AzureVirtualNetwork) GetAssociatedRouteTableId ¶
func (r AzureVirtualNetwork) GetAssociatedRouteTableId() string
func (AzureVirtualNetwork) GetMainResourceName ¶
func (r AzureVirtualNetwork) GetMainResourceName() (string, error)
func (AzureVirtualNetwork) Translate ¶
func (r AzureVirtualNetwork) 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.